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.Option

10 declarations. Mathlib docs · Source

theorem Equiv.optionCongr_one E0 #

∀ {α : Type u_1}, Equiv.optionCongr 1 = 1

theorem Equiv.optionCongr_swap E0 #

∀ {α : Type u_1} [inst : DecidableEq α] (x y : α), Equiv.optionCongr (Equiv.swap x y) = Equiv.swap (some x) (some y)

theorem Equiv.optionCongr_sign E0 #

∀ {α : Type u_1} [inst : DecidableEq α] [inst_1 : Fintype α] (e : Equiv.Perm α),
  Equiv.Perm.sign (Equiv.optionCongr e) = Equiv.Perm.sign e

theorem map_equiv_removeNone E0 #

∀ {α : Type u_1} [inst : DecidableEq α] (σ : Equiv.Perm (Option α)),
  (Equiv.removeNone σ).optionCongr = Equiv.swap none (σ none) * σ

def Equiv.Perm.decomposeOption E1 #

{α : Type u_1} → [DecidableEq α] → Equiv.Perm (Option α) ≃ Option α × Equiv.Perm α

Permutations of Option α are equivalent to fixing an Option α and permuting the remaining with a Perm α. The fixed Option α is swapped with none.

theorem Equiv.Perm.decomposeOption_symm_apply E0 #

∀ {α : Type u_1} [inst : DecidableEq α] (i : Option α × Equiv.Perm α),
  Equiv.Perm.decomposeOption.symm i = Equiv.swap none i.1 * Equiv.optionCongr i.2

theorem Equiv.Perm.decomposeOption_apply E0 #

∀ {α : Type u_1} [inst : DecidableEq α] (σ : Equiv.Perm (Option α)),
  Equiv.Perm.decomposeOption σ = (σ none, Equiv.removeNone σ)

theorem Equiv.Perm.decomposeOption_symm_of_none_apply E0 #

∀ {α : Type u_1} [inst : DecidableEq α] (e : Equiv.Perm α) (i : Option α),
  (Equiv.Perm.decomposeOption.symm (none, e)) i = Option.map (⇑e) i

theorem Equiv.Perm.decomposeOption_symm_sign E1 #

∀ {α : Type u_1} [inst : DecidableEq α] [inst_1 : Fintype α] (e : Equiv.Perm α),
  Equiv.Perm.sign (Equiv.Perm.decomposeOption.symm (none, e)) = Equiv.Perm.sign e

theorem Finset.univ_perm_option E1 #

∀ {α : Type u_1} [inst : DecidableEq α] [inst_1 : Fintype α],
  Finset.univ = Finset.map Equiv.Perm.decomposeOption.symm.toEmbedding Finset.univ

The set of all permutations of Option α can be constructed by augmenting the set of permutations of α by each element of Option α in turn.