Documentation

HexPermGroupTheory.Cycles.Type

theorem Hex.Perm.Cycle.split_ones (xs : List ℕ) (hp : ∀ x ∈ xs, 0 < x) :
↑xs = ↑(List.filter (fun (x : ℕ) => decide (1 < x)) xs) + Multiset.replicate (List.count 1 xs) 1

The complete executable cycle type is Mathlib's nontrivial cycle type with one entry for each fixed point.

theorem Hex.Perm.cycleType_conj {n : ℕ} (p q : Perm n) :

Conjugation preserves the sorted cycle type, including fixed points.