Skip to content

Commit bfefa91

Browse files
fix(Algebra/MonoidAlgebra/Defs): rename AddMonoidAlgebra.coeff_zero_zero (#41783)
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: YaelDillies <14090593+YaelDillies@users.noreply.github.com>
1 parent 9944fe2 commit bfefa91

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Mathlib/Algebra/MonoidAlgebra/Defs.lean

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,12 @@ instance one : One R[M] where one := single 1 1
468468
@[to_additive (dont_translate := R) one_def]
469469
lemma one_def : (1 : R[M]) = single 1 1 := rfl
470470

471-
@[to_additive (attr := simp) (dont_translate := R)]
471+
@[to_additive (attr := simp) (dont_translate := R) coeff_one_zero]
472472
lemma coeff_one_one : (1 : R[M]).coeff 1 = 1 := by simp [one_def]
473473

474+
@[deprecated (since := "2026-07-15")]
475+
alias _root_.AddMonoidAlgebra.coeff_zero_zero := AddMonoidAlgebra.coeff_one_zero
476+
474477
end One
475478

476479
section Mul

0 commit comments

Comments
 (0)