Commit 2025-10-14 00:50 1d032835
View on Github →chore(MonoidAlgebra/Defs): reorder, rename variables (#29207)
Sort the declarations according to typeclass assumptions, and according to the order in which we need them to be for #25273.
Rename the semiring variable to R and the monoid one to M. Simultaneously golf. The rename is motivated by the idea that variables should reflect the generality, if such generality is used, and indeed such generality is definitely used since polynomials over a ring are the same thing as AddMonoidAlgebra R ℕ, and we neither have R a field nor ℕ a group. Furthermore, the file isn't entirely consistent with its use of variables to begin with, and that was causing me issues when resectioning.