fix: `CommRing` multivariate polynomials (#8016) This PR fixes several issues in the `CommRing` multivariate polynomial library: 1. Replaces the previous array type with the universe polymorphic `RArray`. 2. Properly eliminates cancelled monomials. 3. Sorts monomials in decreasing order. 4. Marks the parameter `p` of the `IsCharP` class as an output parameter. 5. Adds `LawfulBEq` instances for the types `Power`, `Mon`, and `Poly`.
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean (documentation source: doc/make/index.md).