Auxiliary results on permutations #
Cycles of a permutation #
The cycles of a permutation f : X → X are defined as the equivalence classes of X quotiented
by the equivalence relation of being in the same cycle: x₁ ∼ x₂ ↔ ∃ k : ℤ, fᵏ x₁ = x₂.
To avoid working with cardinalities of quotients, we introduce a lemma that enables us to work with
cardinalities of finite sets instead. For a permutation f, we can construct a set of
representatives of its cycles, that is, a set that contains exactly one element of X from every
cycle of f. The number of cycles of f is equal to the cardinality of any such set of
representatives of its cycles.
The number of cycles in the permutation f. Cycles with only a single element are also
counted, e.g., c[0, 1] : Equiv.Perm (Fin 3) has two cycles.
Equations
Instances For
The number of cycles of a permutation f : X → X is equal to the cardinality of any set of
representatives of its cycles. That is, any set that contains exactly one element of X from
every cycle of f.
Powers of a permutation #
Repeatedly applying a permutation of a finite set on some element will eventually result in that
same element. If fⁿ⁺¹ x = x, then for any k ∈ ℤ, we have fᵏ x = fᵐ x for some
m ∈ {0, ..., n}.
Contraction or expansion of a domain of a permutation #
We can contract a permutation f on Fin (n + 1) by removing n from the domain and remapping
f⁻¹ n ↦ f n. We get a permutation on Fin n. We can expand a permutation f on Fin n by
adding n to the domain and defining f n = n. We get a permutation on Fin (n + 1).
For any permutation f of Fin (n + 1), if f i = n for some i < n, then f (f i) < n.
A function that takes a permutation f of Fin (n + 1) and returns a permutation of Fin n
that behaves exactly the same as f on all inputs except on f⁻¹ n, where it returns f n,
and n, which is no longer a valid input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A function that takes a permutation f of Fin n and returns a permutation of Fin (n + 1)
that behaves exactly the same as f on all inputs except on n, where it returns n.
Equations
- One or more equations did not get rendered due to their size.