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 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
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
Alias of the reverse direction of Monoid.exponent_ne_zero
.
Alias of the reverse direction of Monoid.exponent_pos
.
The exponent is zero iff for all nonzero n
, one can find a g
such that g ^ n ≠ 1
.
The exponent is zero iff for all nonzero n
, one can find a g
such that
n • g ≠ 0
.
Alias of the reverse direction of Monoid.exponent_dvd_iff_forall_pow_eq_one
.
If two commuting elements x
and y
of a monoid have order n
and m
, there is an element
of order lcm n m
. The result actually gives an explicit (computable) element, written as the
product of a power of x
and a power of y
. See also the result below if you don't need the
explicit formula.
If two commuting elements x
and y
of an additive monoid have order n
and m
,
there is an element of order lcm n m
. The result actually gives an explicit (computable) element,
written as the sum of a multiple of x
and a multiple of y
. See also the result below if you
don't need the explicit formula.
If two commuting elements x
and y
of a monoid have order n
and m
, then there is an
element of order lcm n m
that lies in the subgroup generated by x
and y
.
If two commuting elements x
and y
of an additive monoid have order n
and m
,
then there is an element of order lcm n m
that lies in the additive subgroup generated by x
and y
.
A nontrivial monoid has prime exponent p
if and only if every non-identity element has
order p
.
Alias of Monoid.lcm_orderOf_eq_exponent
.
If there exists an injective, multiplication-preserving map from G
to H
,
then the exponent of G
divides the exponent of H
.
If there exists an injective, addition-preserving map from G
to H
,
then the exponent of G
divides the exponent of H
.
If f : M₁ →⋆ M₂
is surjective, then the exponent of M₂
divides the exponent of M₁
.
The exponent of finite product of monoids is the Finset.lcm
of the exponents of the
constituent monoids.
The exponent of finite product of additive monoids is the Finset.lcm
of the
exponents of the constituent additive monoids.
The exponent of product of two monoids is the lcm
of the exponents of the
individuaul monoids.
The exponent of product of two additive monoids is the lcm
of the exponents of the individuaul additive monoids.
Properties of monoids with exponent two #
In a cancellative monoid of exponent two, all elements commute.
Any cancellative monoid of exponent two is abelian.
Equations
Instances For
Any additive group of exponent two is abelian.
Equations
Instances For
In a group of exponent two, every element is its own inverse.
Any group of exponent two is abelian.
Equations
Instances For
Any additive group of exponent two is abelian.