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.ExponentExists
is a predicate on a monoidG
saying that there is some positiven
such thatg ^ n = 1
for allg ∈ G
.Monoid.exponent
defines the exponent of a monoidG
as the minimal positiven
such thatg ^ n = 1
for allg ∈ G
, by convention it is0
if no suchn
exists.AddMonoid.ExponentExists
the additive version ofMonoid.ExponentExists
.AddMonoid.exponent
the additive version ofMonoid.exponent
.
Main results #
Monoid.lcm_order_eq_exponent
: For a finite left cancel monoidG
, the exponent is equal to theFinset.lcm
of 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_pi
andMonoid.exponent_prod
: The exponent of a finite product of monoids is the least common multiple (Finset.lcm
andlcm
, 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.