Variations on non-zero divisors in add_monoid_algebras #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file studies the interaction between typeclass assumptions on two Types R and A and
whether add_monoid_algebra R A has non-zero zero-divisors.  For some background on related
questions, see Kaplansky's Conjectures,
especially the zero divisor conjecture.
Conjecture.
Let K be a field, and G a torsion-free group. The group ring K[G] does not contain
nontrivial zero divisors, that is, it is a domain.
We formalize in this file the well-known result that if R is a field and A is a left-ordered
group, then R[A] contains no non-zero zero-divisors.  Some of these assumptions can be trivially
weakened: below we mention what assumptions are sufficient for the proofs in this file.
Main results #
no_zero_divisors.of_left_orderedshows that ifRis a semiring with no non-zero zero-divisors,Ais a linearly ordered, add right cancel semigroup with strictly monotone left addition, thenadd_monoid_algebra R Ahas no non-zero zero-divisors.no_zero_divisors.of_right_orderedshows that ifRis a semiring with no non-zero zero-divisors,Ais a linearly ordered, add left cancel semigroup with strictly monotone right addition, thenadd_monoid_algebra R Ahas no non-zero zero-divisors.
The conditions on A imposed in no_zero_divisors.of_left_ordered are sometimes referred to as
left-ordered.
The conditions on A imposed in no_zero_divisors.of_right_ordered are sometimes referred to as
right-ordered.
These conditions are sufficient, but not necessary.  As mentioned above, Kaplansky's Conjecture
asserts that A being torsion-free may be enough.
The coefficient of a monomial in a product f * g that can be reached in at most one way
as a product of monomials in the supports of f and g is a product.
If R is a semiring with no non-trivial zero-divisors and A is a left-ordered add right
cancel semigroup, then add_monoid_algebra R A also contains no non-zero zero-divisors.
If R is a semiring with no non-trivial zero-divisors and A is a right-ordered add left
cancel semigroup, then add_monoid_algebra R A also contains no non-zero zero-divisors.