Mathlib.GroupTheory.Perm.Cycle.PossibleTypes
2 declarations. Mathlib docs · Source
Possible cycle types of permutations
- For
m : Multiset ℕ,Equiv.Perm.exists_with_cycleType_iff mproves that there are permutations with cycleTypemif and only if its sum is at mostFintype.card αand its members are at least 2.
theorem List.exists_pw_disjoint_with_card E1 #
∀ {α : Type u_2} [inst : Fintype α] {c : List ℕ},
c.sum ≤ Fintype.card α → ∃ o, List.map List.length o = c ∧ (∀ s ∈ o, s.Nodup) ∧ List.Pairwise List.Disjoint o
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 E0 #
∀ (α : Type u_1) [inst : DecidableEq α] [inst_1 : Fintype α] {m : Multiset ℕ},
(∃ g, g.cycleType = m) ↔ m.sum ≤ Fintype.card α ∧ ∀ a ∈ m, 2 ≤ a
There are permutations with cycleType m if and only if
its sum is at most Fintype.card α and its members are at least 2.