The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.GroupTheory.Perm.DomMulAct

10 declarations. Mathlib docs · Source

Subgroup of Equiv.Perm α preserving a function

Let α and ι by types and let f : α → ι

  • DomMulAct.mem_stabilizer_iff proves that the stabilizer of f : α → ι in (Equiv.Perm α)ᵈᵐᵃ is the set of g : (Equiv.Perm α)ᵈᵐᵃ such that f ∘ (mk.symm g) = f.

    The natural equivalence from stabilizer (Perm α)ᵈᵐᵃ f to { g : Perm α // p ∘ g = f } can be obtained as subtypeEquiv mk.symm (fun _ => mem_stabilizer_iff)

  • DomMulAct.stabilizerMulEquiv is the MulEquiv from the MulOpposite of this stabilizer to the product, for i : ι, of Equiv.Perm {a // f a = i}.

  • Under Fintype α and Fintype ι, DomMulAct.stabilizer_card p computes the cardinality of the type of permutations preserving p : Fintype.card {g : Perm α // f ∘ g = f} = ∏ i, (Fintype.card {a // f a = i})!.

  • Without Fintype ι, DomMulAct.stabilizer_card' p gives an equivalent formula, where the product is restricted to Finset.univ.image f.

theorem DomMulAct.mem_stabilizer_iff E0 #

∀ {α : Type u_1} {ι : Type u_2} {f : α → ι} {g : (Equiv.Perm α)ᵈᵐᵃ},
  g ∈ MulAction.stabilizer (Equiv.Perm α)ᵈᵐᵃ f ↔ f ∘ ⇑(DomMulAct.mk.symm g) = f

def DomMulAct.stabilizerEquiv_invFun E1 #

{α : Type u_1} → {ι : Type u_2} → {f : α → ι} → ((i : ι) → Equiv.Perm { a // f a = i }) → α → α

The invFun component of MulEquiv from MulAction.stabilizer (Perm α) f to the product of the Equiv.Perm {a // f a = i}.

theorem DomMulAct.stabilizerEquiv_invFun_eq E0 #

∀ {α : Type u_1} {ι : Type u_2} {f : α → ι} (g : (i : ι) → Equiv.Perm { a // f a = i }) {a : α} {i : ι} (h : f a = i),
  DomMulAct.stabilizerEquiv_invFun g a = ↑((g i) ⟨a, h⟩)

theorem DomMulAct.comp_stabilizerEquiv_invFun E1 #

∀ {α : Type u_1} {ι : Type u_2} {f : α → ι} (g : (i : ι) → Equiv.Perm { a // f a = i }) (a : α),
  f (DomMulAct.stabilizerEquiv_invFun g a) = f a

def DomMulAct.stabilizerEquiv_invFun_aux E0 #

{α : Type u_1} → {ι : Type u_2} → {f : α → ι} → ((i : ι) → Equiv.Perm { a // f a = i }) → Equiv.Perm α

The invFun component of MulEquiv from MulAction.stabilizer (Perm α) p to the product of the Equiv.Perm {a | f a = i} (as an Equiv.Perm α).

def DomMulAct.stabilizerMulEquiv E1 #

{α : Type u_1} →
  {ι : Type u_2} →
    (f : α → ι) → (↥(MulAction.stabilizer (Equiv.Perm α)ᵈᵐᵃ f))ᵐᵒᵖ ≃* ((i : ι) → Equiv.Perm { a // f a = i })

The MulEquiv from the MulOpposite of MulAction.stabilizer (Perm α)ᵈᵐᵃ f to the product of the Equiv.Perm {a // f a = i}

theorem DomMulAct.stabilizerMulEquiv_apply E0 #

∀ {α : Type u_1} {ι : Type u_2} {f : α → ι} (g : (↥(MulAction.stabilizer (Equiv.Perm α)ᵈᵐᵃ f))ᵐᵒᵖ) {a : α} {i : ι}
  (h : f a = i), ↑(((DomMulAct.stabilizerMulEquiv f) g i) ⟨a, h⟩) = (DomMulAct.mk.symm ↑(MulOpposite.unop g)) a

theorem DomMulAct.stabilizer_card E1 #

∀ {α : Type u_1} {ι : Type u_2} (f : α → ι) [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : DecidableEq ι]
  [inst_3 : Fintype ι], Fintype.card { g // f ∘ ⇑g = f } = ∏ i, (Fintype.card { a // f a = i }).factorial

The cardinality of the type of permutations preserving a function

theorem DomMulAct.stabilizer_ncard E1 #

∀ {α : Type u_1} {ι : Type u_2} (f : α → ι) [Finite α] [inst : Fintype ι],
  {g | f ∘ ⇑g = f}.ncard = ∏ i, {a | f a = i}.ncard.factorial

The cardinality of the set of permutations preserving a function

theorem DomMulAct.stabilizer_card' E1 #

∀ {α : Type u_1} {ι : Type u_2} (f : α → ι) [inst : Fintype α] [inst_1 : DecidableEq α] [inst_2 : DecidableEq ι],
  Fintype.card { g // f ∘ ⇑g = f } = ∏ i ∈ Finset.image f Finset.univ, (Fintype.card { a // f a = i }).factorial

The cardinality of the type of permutations preserving a function (without the finiteness assumption on target)