Order of an element #
This file defines the order of an element of a finite group. For a finite group G
the order of
x ∈ G
is the minimal n ≥ 1
such that x ^ n = 1
.
Main definitions #
IsOfFinOrder
is a predicate on an elementx
of a monoidG
saying thatx
is of finite order.IsOfFinAddOrder
is the additive analogue ofIsOfFinOrder
.orderOf x
defines the order of an elementx
of a monoidG
, by convention its value is0
ifx
has infinite order.addOrderOf
is the additive analogue oforderOf
.
Tags #
order of an element
IsOfFinAddOrder
is a predicate on an element a
of an
additive monoid to be of finite order, i.e. there exists n ≥ 1
such that n • a = 0
.
Equations
- IsOfFinAddOrder x = (0 ∈ Function.periodicPts ((fun x x_1 => x + x_1) x))
Instances For
IsOfFinOrder
is a predicate on an element x
of a monoid to be of finite order, i.e. there
exists n ≥ 1
such that x ^ n = 1
.
Equations
- IsOfFinOrder x = (1 ∈ Function.periodicPts ((fun x x_1 => x * x_1) x))
Instances For
See also injective_nsmul_iff_not_isOfFinAddOrder
.
See also injective_pow_iff_not_isOfFinOrder
.
Elements of finite order are of finite order in submonoids.
Elements of finite order are of finite order in submonoids.
The image of an element of finite additive order has finite additive order.
The image of an element of finite order has finite order.
If a direct product has finite additive order then so does each component.
If a direct product has finite order then so does each component.
0 is of finite order in any additive monoid.
1 is of finite order in any monoid.
The additive submonoid generated by an element is an additive group if that element has finite order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The submonoid generated by an element is a group if that element has finite order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
addOrderOf a
is the order of the element a
, i.e. the n ≥ 1
, s.t. n • a = 0
if it
exists. Otherwise, i.e. if a
is of infinite order, then addOrderOf a
is 0
by convention.
Equations
- addOrderOf x = Function.minimalPeriod (fun x => x + x) 0
Instances For
A group element has finite additive order iff its order is positive.
A group element has finite order iff its order is positive.
Commuting elements of finite additive order are closed under addition.
Commuting elements of finite order are closed under multiplication.
If each prime factor of
addOrderOf x
has higher multiplicity in addOrderOf y
, and x
commutes with y
,
then x + y
has the same order as y
.
If each prime factor of orderOf x
has higher multiplicity in orderOf y
, and x
commutes
with y
, then x * y
has the same order as y
.
Equations
- exists_addOrderOf_eq_prime_pow_iff.match_1 motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
Equations
- exists_addOrderOf_eq_prime_pow_iff.match_2 motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
Inverses of elements of finite additive order have finite additive order.
Inverses of elements of finite order have finite order.
Inverses of elements of finite additive order have finite additive order.
Inverses of elements of finite order have finite order.
Elements of finite additive order are closed under addition.
Elements of finite order are closed under multiplication.
Equations
- sum_card_addOrderOf_eq_card_nsmul_eq_zero.match_1 x motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
This is the same as addOrderOf_pos'
but with one fewer explicit
assumption since this is automatic in case of a finite cancellative additive monoid.
This is the same as orderOf_pos'
but with one fewer explicit assumption since this is
automatic in case of a finite cancellative monoid.
This is the same as addOrderOf_nsmul'
and
addOrderOf_nsmul
but with one assumption less which is automatic in the case of a
finite cancellative additive monoid.
This is the same as orderOf_pow'
and orderOf_pow''
but with one assumption less which is
automatic in the case of a finite cancellative monoid.
Equations
- decidableMultiples = Classical.decPred fun x => x ∈ AddSubmonoid.multiples x
Equations
- decidablePowers = Classical.decPred fun x => x ∈ Submonoid.powers x
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The equivalence between Fin (addOrderOf a)
and
AddSubmonoid.multiples a
, sending i
to i • a
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The equivalence between Fin (orderOf x)
and Submonoid.powers x
, sending i
to x ^ i
."
Equations
- One or more equations did not get rendered due to their size.
Instances For
The equivalence between Submonoid.multiples
of two elements a, b
of the same additive order,
mapping i • a
to i • b
.
Equations
- multiplesEquivMultiples h = (finEquivMultiples x).symm.trans ((Fin.castIso h).trans (finEquivMultiples y))
Instances For
The equivalence between Submonoid.powers
of two elements x, y
of the same order, mapping
x ^ i
to y ^ i
.
Equations
- powersEquivPowers h = (finEquivPowers x).symm.trans ((Fin.castIso h).trans (finEquivPowers y))
Instances For
Equations
- instFintypeSubtypeMemAddSubmonoidToAddZeroClassToAddMonoidInstMembershipInstSetLikeAddSubmonoidPowers = inferInstanceAs (Fintype { y // y ∈ AddSubmonoid.multiples x })
Equations
- instFintypeSubtypeMemSubmonoidToMulOneClassToMonoidInstMembershipInstSetLikeSubmonoidPowers = inferInstanceAs (Fintype { y // y ∈ Submonoid.powers x })
Equations
- mem_multiples_iff_mem_zmultiples.match_2 motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
Equations
- mem_multiples_iff_mem_zmultiples.match_1 motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
Equations
- decidableZmultiples = Classical.decPred fun x => x ∈ AddSubgroup.zmultiples x
Equations
- decidableZpowers = Classical.decPred fun x => x ∈ Subgroup.zpowers x
The equivalence between Fin (addOrderOf a)
and
Subgroup.zmultiples a
, sending i
to i • a
.
Equations
- finEquivZmultiples x = (finEquivMultiples x).trans (Equiv.Set.ofEq (_ : ↑(AddSubmonoid.multiples x) = ↑(AddSubgroup.zmultiples x)))
Instances For
The equivalence between Fin (orderOf x)
and Subgroup.zpowers x
, sending i
to x ^ i
.
Equations
- finEquivZpowers x = (finEquivPowers x).trans (Equiv.Set.ofEq (_ : ↑(Submonoid.powers x) = ↑(Subgroup.zpowers x)))
Instances For
The equivalence between Subgroup.zmultiples
of two elements a, b
of the same additive order,
mapping i • a
to i • b
.
Equations
- zmultiplesEquivZmultiples h = (finEquivZmultiples x).symm.trans ((Fin.castIso h).trans (finEquivZmultiples y))
Instances For
The equivalence between Subgroup.zpowers
of two elements x, y
of the same order, mapping
x ^ i
to y ^ i
.
Equations
- zpowersEquivZpowers h = (finEquivZpowers x).symm.trans ((Fin.castIso h).trans (finEquivZpowers y))
Instances For
See also Nat.card_zmultiples'
.
See also Nat.card_zpowers'
.
If gcd(|G|,n)=1
then the smul by n
is a bijection
Equations
- One or more equations did not get rendered due to their size.
Instances For
If gcd(|G|,n)=1
then the n
th power map is a bijection
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- gcd_nsmul_card_eq_zero_iff.match_1 motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
A nonempty idempotent subset of a finite cancellative add monoid is a submonoid
Equations
- One or more equations did not get rendered due to their size.
Instances For
A nonempty idempotent subset of a finite cancellative monoid is a submonoid
Equations
- One or more equations did not get rendered due to their size.
Instances For
A nonempty idempotent subset of a finite add group is a subgroup
Equations
- One or more equations did not get rendered due to their size.
Instances For
A nonempty idempotent subset of a finite group is a subgroup
Equations
- One or more equations did not get rendered due to their size.
Instances For
If S
is a nonempty subset of a finite add group G
, then |G| • S
is a subgroup
Equations
- One or more equations did not get rendered due to their size.
Instances For
If S
is a nonempty subset of a finite group G
, then S ^ |G|
is a subgroup
Equations
- One or more equations did not get rendered due to their size.