Exponent of a group #
This file defines the exponent of a group, or more generally a monoid. For a group G it is defined
to be the minimal n≥1 such that g ^ n = 1 for all g ∈ G. For a finite group G,
it is equal to the lowest common multiple of the order of all elements of the group G.
Main definitions #
Monoid.ExponentExistsis a predicate on a monoidGsaying that there is some positivensuch thatg ^ n = 1for allg ∈ G.Monoid.exponentdefines the exponent of a monoidGas the minimal positivensuch thatg ^ n = 1for allg ∈ G, by convention it is0if no suchnexists.AddMonoid.ExponentExiststhe additive version ofMonoid.ExponentExists.AddMonoid.exponentthe additive version ofMonoid.exponent.
Main results #
Monoid.lcm_order_eq_exponent: For a finite left cancel monoidG, the exponent is equal to theFinset.lcmof the order of its elements.Monoid.exponent_eq_iSup_orderOf('): For a commutative cancel monoid, the exponent is equal to⨆ g : G, orderOf g(or zero if it has any order-zero elements).Monoid.exponent_piandMonoid.exponent_prod: The exponent of a finite product of monoids is the least common multiple (Finset.lcmandlcm, respectively) of the exponents of the constituent monoids.MonoidHom.exponent_dvd: Iff : M₁ →⋆ M₂is surjective, then the exponent ofM₂divides the exponent ofM₁.
TODO #
- Refactor the characteristic of a ring to be the exponent of its underlying additive group.
The exponent of an additive group is the smallest positive integer n such that
n • g = 0 for all g ∈ G if it exists, otherwise it is zero by convention.
Equations
- AddMonoid.exponent G = if h : AddMonoid.ExponentExists G then Nat.find h else 0
Instances For
The exponent of a group is the smallest positive integer n such that g ^ n = 1 for all
g ∈ G if it exists, otherwise it is zero by convention.
Equations
- Monoid.exponent G = if h : Monoid.ExponentExists G then Nat.find h else 0
Instances For
Equations
- (_ : motive x) = (_ : motive x)
Instances For
A nontrivial monoid has prime exponent p if and only if every non-identity element has
order p.
If f : M₁ →⋆ M₂ is surjective, then the exponent of M₂ divides the exponent of M₁.
The exponent of finite product of additive monoids is the Finset.lcm of the
exponents of the constituent additive monoids.
The exponent of finite product of monoids is the Finset.lcm of the exponents of the
constituent monoids.
The exponent of product of two additive monoids is the lcm
of the exponents of the individuaul additive monoids.
The exponent of product of two monoids is the lcm of the exponents of the
individuaul monoids.