Commit 2023-09-16 19:24 2f19a6b1

View on Github →

feat(AddMonoidAlgebra*): add notation R[A] for addMonoidAlgebra R A (#7203) Introduce the notation R[A] for AddMonoidAlgebra R A. This is to align Mathlibs notation with the standard notation for group ring. The notation is scoped in AddMonoidAlgebra and there is no analogous notation for MonoidAlgebra. I only used the notation for single-character R and As and only in the range [a-zA-Z]. The extra lines are all in Mathlib/Algebra/MonoidAlgebra/Basic.lean. They are accounted for by extra text in the doc-module and the actual notation. Affected files:

Counterexamples/ZeroDivisorsInAddMonoidAlgebras
Algebra/AlgebraicCard
Algebra/MonoidAlgebra/Basic
Algebra/MonoidAlgebra/Degree
Algebra/MonoidAlgebra/Division
Algebra/MonoidAlgebra/Grading
Algebra/MonoidAlgebra/NoZeroDivisors
Algebra/MonoidAlgebra/Support
Data/Polynomial/AlgebraMap
Data/Polynomial/Basic
Data/Polynomial/Eval
Data/Polynomial/Laurent
RingTheory/FiniteType

Estimated changes

modified theorem AddMonoidAlgebra.algHom_ext
modified def AddMonoidAlgebra.lift
modified theorem AddMonoidAlgebra.mul_apply
modified theorem AddMonoidAlgebra.mul_def
modified def AddMonoidAlgebra.of'
modified def AddMonoidAlgebra.of
modified theorem AddMonoidAlgebra.one_def
modified theorem AddMonoidAlgebra.sum_single