theorem
Hex.Perm.cycleType_eq_mathlib
{n : ℕ}
(p : Perm n)
:
↑p.cycleType.toList = Equiv.Perm.cycleType p.toEquiv + Multiset.replicate (n - (Equiv.Perm.support p.toEquiv).card) 1
The complete executable cycle type is Mathlib's nontrivial cycle type with one entry for each fixed point.