Zulip Chat Archive
Stream: mathlib4
Topic: Redefining polynomial
Yaël Dillies (Aug 14 2025 at 03:56):
Adam Topaz said:
Yeah, I agree with that…. unless we want to redefine
Polynomial;)
I am considering doing just that, actually, but I am not sure it will go in the direction you are thinking
Johan Commelin (Aug 14 2025 at 06:57):
What is the direction you are thinking of?
Yaël Dillies (Aug 14 2025 at 13:10):
Johan Commelin said:
What is the direction you are thinking of?
My current flight plan is:
- Make docs#MonoidAlgebra irreducible. This is #25273.
- Redefine
Polynomial R := AddMonoidAlgebra R ℕ - Generalise as much
Polynomial/MvPolynomialAPI toAddMonoidAlgebra, potentially removing thePolynomial/MvPolynomialspecial cases - Consider whether there is still enough duplicated
Polynomial/MvPolynomialAPI that it is worth redefining againPolynomial R := MvPolynomial R Unit := AddMonoidAlgebra R (Unit →₀ ℕ). I expect the answer will be "no".
Notification Bot (Aug 14 2025 at 13:28):
A message was moved here from #mathlib4 > Notation for polynomial variables by Eric Wieser.
Jovan Gerbscheid (Aug 17 2025 at 20:51):
Note that the proposed fix in #mathlib4 > to_additive on AddMonoidWithOne may help to define AddMonoidAlgebra from MonoidAlgebra automatically.
Last updated: Dec 20 2025 at 21:32 UTC