Cycle Types #
In this file we define the cycle type of a permutation.
Main definitions #
Equiv.Perm.cycleType σ
whereσ
is a permutation of aFintype
Equiv.Perm.partition σ
whereσ
is a permutation of aFintype
Main results #
sum_cycleType
: The sum ofσ.cycleType
equalsσ.support.card
lcm_cycleType
: The lcm ofσ.cycleType
equalsorderOf σ
isConj_iff_cycleType_eq
: Two permutations are conjugate if and only if they have the same cycle type.exists_prime_orderOf_dvd_card
: For every primep
dividing the order of a finite groupG
there exists an element of orderp
inG
. This is known as Cauchy's theorem.
The cycle type of a permutation
Instances For
The number of fixed points of a p ^ n
-th root of the identity function over a finite set
and the set's cardinality have the same residue modulo p
, where p
is a prime.
Given a vector v
of length n
, make a vector of length n + 1
whose product is 1
,
by appending the inverse of the product of v
.
Instances For
Given a vector v
of length n
whose product is 1, make a vector of length n - 1
,
by deleting the last entry of v
.
Instances For
Rotate a vector whose product is 1.
Instances For
For every prime p
dividing the order of a finite additive group G
there exists an element of
order p
in G
. This is the additive version of Cauchy's theorem.
The partition corresponding to a permutation
Instances For
3-cycles #
A three-cycle is a cycle of length 3.