Possible cycle types of permutations #
- For
m : Multiset ℕ
,Equiv.Perm.exists_with_cycleType_iff m
proves that there are permutations with cycleTypem
if and only if its sum is at mostFintype.card α
and its members are at least 2.
theorem
List.exists_pw_disjoint_with_card
{α : Type u_2}
[Fintype α]
{c : List ℕ}
(hc : c.sum ≤ Fintype.card α)
:
For any c : List ℕ
whose sum is at most Fintype.card α
,
we can find o : List (List α)
whose members have no duplicate,
whose lengths given by c
, and which are pairwise disjoint
theorem
Equiv.Perm.exists_with_cycleType_iff
(α : Type u_1)
[DecidableEq α]
[Fintype α]
{m : Multiset ℕ}
:
There are permutations with cycleType m
if and only if
its sum is at most Fintype.card α
and its members are at least 2.