Commit 2023-09-18 15:32 86fa7890
View on Github →feat: TwoUniqueProds (#7169)
- Introduce
TwoUniqueProds/Sums
: letR[G]
be a monoid algebra over a semiringR
without zero-divisors. A natural sufficient condition forR[G]
to have no zero-divisors is thatG
hasUniqueProds
, as is shown by MonoidAlgebra.instNoZeroDivisorsOfUniqueProds. Similarly, a natural sufficient condition forR[G]
to have only trivial units (of the formrg
withr
a unit inR
andg
a unit inG
) is thatG
hasTwoUniqueProds
, but we don't prove this yet in this PR.TwoUniqueProds G
is also a natural sufficient condition in order for factors of a homogeneous element in an algebra graded byG
without zero-divisors to themselves be homogeneous. - Show
TwoUniqueProds
impliesUniqueProds
:TwoUniqueProds.toUniqueProds
- Strengthen
of_Covariant_right/left
to haveTwoUniqueProds
as conclusion - Extract
of_image_filter
from 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 G
instance from NoZeroDivisors.lean to UniqueProds.lean and strengthen toTwoUniqueSums
New lemmas about UniqueMul: of_card_le_one
,iff_card_le_one
,UniqueMul_of_TwoUniqueMul