Commit 2025-06-01 19:52 cf132bfd
View on Github →feat(RingTheory/Radical): generalise and fill in TODOs (#25335)
- Generalise some lemmas from unique factorisation domains to unique factorisation monoids, with the additional consequence that they no longer require addition to be defined.
- Fill in TODOs for
radical (radical a) = radical aand connectingUFM.primeFactorstoNat.primeFactors - Style changes
The large-import is due to importing
IsRadicalfor the definition ofradical, and importing primality facts for natural numbers. The former is an obviously useful change to make, and the latter isn't necessary but the alternative is to have a separate file for radical on nat (which would be very short and a bit silly) or import RingTheory in Data/Nat, which would be undesirable. Upstreamed from the ABC-Exceptions project