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_1 : G) => x + x_1)
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_1 : G) => x * x_1)
Instances For
Alias of the forward direction of isOfFinOrder_iff_pow_eq_one
.
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_1 : G) => x + x_1) 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.
If the order of x
is finite, then x
is a unit with inverse x ^ (orderOf x - 1)
.
Equations
Instances For
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
- (_ : motive x) = (_ : motive x)
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
Equations
- (_ : motive x ij) = (_ : motive x ij)
Instances For
Equations
- (_ : motive x ij) = (_ : motive x ij)
Instances For
Equations
- (_ : motive x) = (_ : motive x)
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
See also addOrder_eq_card_multiples
.
See also orderOf_eq_card_powers
.
Inverses of elements of finite additive order have finite additive order.
Inverses of elements of finite order have finite order.
Alias of the forward direction of isOfFinOrder_inv_iff
.
Inverses of elements of finite order have finite order.
Alias of the reverse direction of isOfFinOrder_inv_iff
.
Inverses of elements of finite order have finite order.
Equations
- (_ : motive x) = (_ : motive x)
Instances For
Equations
- (_ : motive x) = (_ : motive x)
Instances For
The equivalence between Fin (addOrderOf a)
and
Subgroup.zmultiples a
, sending i
to i • a
.
Equations
- finEquivZMultiples x hx = (finEquivMultiples x hx).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 hx = (finEquivPowers x hx).trans (Equiv.Set.ofEq (_ : ↑(Submonoid.powers x) = ↑(Subgroup.zpowers x)))
Instances For
Elements of finite additive order are closed under addition.
Elements of finite order are closed under multiplication.
Equations
- (_ : motive x) = (_ : motive x)
Instances For
This is the same as IsOfFinAddOrder.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 IsOfFinOrder.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.
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 (_ : IsOfFinAddOrder x)).symm.trans ((Fin.castIso h).trans (finEquivMultiples y (_ : IsOfFinAddOrder 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 (_ : IsOfFinOrder x)).symm.trans ((Fin.castIso h).trans (finEquivPowers y (_ : IsOfFinOrder y)))
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 (_ : IsOfFinAddOrder x)).symm.trans ((Fin.castIso h).trans (finEquivZMultiples y (_ : IsOfFinAddOrder 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 (_ : IsOfFinOrder x)).symm.trans ((Fin.castIso h).trans (finEquivZPowers y (_ : IsOfFinOrder y)))
Instances For
See also Nat.card_subgroup
.
See also Nat.card_addSubgroupZPowers
.
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
- (_ : motive x) = (_ : motive x)
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.