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 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.
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.
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.
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
- commMonoidOfExponentTwo hG = { toMonoid := inst✝¹, mul_comm := ⋯ }
Instances For
Any additive group of exponent two is abelian.
Equations
- addCommMonoidOfExponentTwo hG = { toAddMonoid := inst✝¹, add_comm := ⋯ }
Instances For
In a group of exponent two, every element is its own inverse.
Alias of add_notMem_of_addOrderOf_eq_two.
Alias of add_notMem_of_exponent_two.
Alias of mul_notMem_of_exponent_two.