Commit 2023-09-18 15:32 86fa7890
View on Github →feat: TwoUniqueProds (#7169)
- Introduce
TwoUniqueProds/Sums: letR[G]be a monoid algebra over a semiringRwithout zero-divisors. A natural sufficient condition forR[G]to have no zero-divisors is thatGhasUniqueProds, as is shown by MonoidAlgebra.instNoZeroDivisorsOfUniqueProds. Similarly, a natural sufficient condition forR[G]to have only trivial units (of the formrgwithra unit inRandga unit inG) is thatGhasTwoUniqueProds, but we don't prove this yet in this PR.TwoUniqueProds Gis also a natural sufficient condition in order for factors of a homogeneous element in an algebra graded byGwithout zero-divisors to themselves be homogeneous. - Show
TwoUniqueProdsimpliesUniqueProds:TwoUniqueProds.toUniqueProds - Strengthen
of_Covariant_right/leftto haveTwoUniqueProdsas conclusion - Extract
of_image_filterfrom the proof of the instanceUniqueProds (∀ i, G i)and use it also in the proof ofTwoUniqueProds (∀ i, G i) - Use some private defs (starting from
private abbrev I) to transfer(Two)UniqueProds (∀ i, G i)instances to(Two)UniqueProds (G × H) - Move the
[Module ℚ G] : UniqueSums Ginstance from NoZeroDivisors.lean to UniqueProds.lean and strengthen toTwoUniqueSumsNew lemmas about UniqueMul: of_card_le_one,iff_card_le_one,UniqueMul_of_TwoUniqueMul