mathlib documentation

group_theory.perm.basic

The group of permutations (self-equivalences) of a type α #

This file defines the group structure on equiv.perm α.

@[instance]
def equiv.perm.perm_group {α : Type u} :
Equations
theorem equiv.perm.mul_apply {α : Type u} (f g : equiv.perm α) (x : α) :
(f * g) x = f (g x)
theorem equiv.perm.one_apply {α : Type u} (x : α) :
1 x = x
@[simp]
theorem equiv.perm.inv_apply_self {α : Type u} (f : equiv.perm α) (x : α) :
f⁻¹ (f x) = x
@[simp]
theorem equiv.perm.apply_inv_self {α : Type u} (f : equiv.perm α) (x : α) :
f (f⁻¹ x) = x
theorem equiv.perm.one_def {α : Type u} :
theorem equiv.perm.mul_def {α : Type u} (f g : equiv.perm α) :
f * g = equiv.trans g f
theorem equiv.perm.inv_def {α : Type u} (f : equiv.perm α) :
@[simp]
theorem equiv.perm.coe_mul {α : Type u} (f g : equiv.perm α) :
f * g = f g
@[simp]
theorem equiv.perm.coe_one {α : Type u} :
theorem equiv.perm.eq_inv_iff_eq {α : Type u} {f : equiv.perm α} {x y : α} :
x = f⁻¹ y f x = y
theorem equiv.perm.inv_eq_iff_eq {α : Type u} {f : equiv.perm α} {x y : α} :
f⁻¹ x = y x = f y
theorem equiv.perm.gpow_apply_comm {α : Type u_1} (σ : equiv.perm α) (m n : ) {x : α} :
^ m) (^ n) x) = ^ n) (^ m) x)

Lemmas about mixing perm with equiv. Because we have multiple ways to express equiv.refl, equiv.symm, and equiv.trans, we want simp lemmas for every combination. The assumption made here is that if you're using the group structure, you want to preserve it after simp.

@[simp]
theorem equiv.perm.trans_one {α : Sort u_1} {β : Type u_2} (e : α β) :
e.trans 1 = e
@[simp]
theorem equiv.perm.mul_refl {α : Type u} (e : equiv.perm α) :
e * equiv.refl α = e
@[simp]
theorem equiv.perm.one_symm {α : Type u} :
@[simp]
theorem equiv.perm.refl_inv {α : Type u} :
@[simp]
theorem equiv.perm.one_trans {α : Type u_1} {β : Sort u_2} (e : α β) :
@[simp]
theorem equiv.perm.refl_mul {α : Type u} (e : equiv.perm α) :
(equiv.refl α) * e = e
@[simp]
theorem equiv.perm.inv_trans {α : Type u} (e : equiv.perm α) :
@[simp]
theorem equiv.perm.mul_symm {α : Type u} (e : equiv.perm α) :
e * equiv.symm e = 1
@[simp]
theorem equiv.perm.trans_inv {α : Type u} (e : equiv.perm α) :
@[simp]
theorem equiv.perm.symm_mul {α : Type u} (e : equiv.perm α) :
(equiv.symm e) * e = 1

Lemmas about equiv.perm.sum_congr re-expressed via the group structure.

@[simp]
theorem equiv.perm.sum_congr_mul {α : Type u_1} {β : Type u_2} (e : equiv.perm α) (f : equiv.perm β) (g : equiv.perm α) (h : equiv.perm β) :
(e.sum_congr f) * g.sum_congr h = (e * g).sum_congr (f * h)
@[simp]
theorem equiv.perm.sum_congr_inv {α : Type u_1} {β : Type u_2} (e : equiv.perm α) (f : equiv.perm β) :
@[simp]
theorem equiv.perm.sum_congr_one {α : Type u_1} {β : Type u_2} :
1.sum_congr 1 = 1
@[simp]
theorem equiv.perm.sum_congr_hom_apply (α : Type u_1) (β : Type u_2) (a : equiv.perm α × equiv.perm β) :
def equiv.perm.sum_congr_hom (α : Type u_1) (β : Type u_2) :

equiv.perm.sum_congr as a monoid_hom, with its two arguments bundled into a single prod.

This is particularly useful for its monoid_hom.range projection, which is the subgroup of permutations which do not exchange elements between α and β.

Equations
@[simp]
theorem equiv.perm.sum_congr_swap_one {α : Type u_1} {β : Type u_2} [decidable_eq α] [decidable_eq β] (i j : α) :
@[simp]
theorem equiv.perm.sum_congr_one_swap {α : Type u_1} {β : Type u_2} [decidable_eq α] [decidable_eq β] (i j : β) :

Lemmas about equiv.perm.sigma_congr_right re-expressed via the group structure.

@[simp]
theorem equiv.perm.sigma_congr_right_mul {α : Type u_1} {β : α → Type u_2} (F G : Π (a : α), equiv.perm (β a)) :
@[simp]
theorem equiv.perm.sigma_congr_right_inv {α : Type u_1} {β : α → Type u_2} (F : Π (a : α), equiv.perm (β a)) :
@[simp]
theorem equiv.perm.sigma_congr_right_one {α : Type u_1} {β : α → Type u_2} :
@[simp]
theorem equiv.perm.sigma_congr_right_hom_apply {α : Type u_1} (β : α → Type u_2) (F : Π (a : α), equiv.perm ((λ (a : α), β a) a)) :
def equiv.perm.sigma_congr_right_hom {α : Type u_1} (β : α → Type u_2) :
(Π (a : α), equiv.perm (β a)) →* equiv.perm (Σ (a : α), β a)

equiv.perm.sigma_congr_right as a monoid_hom.

This is particularly useful for its monoid_hom.range projection, which is the subgroup of permutations which do not exchange elements between fibers.

Equations
@[simp]
theorem equiv.perm.subtype_congr_hom_apply {α : Type u} (p : α → Prop) [decidable_pred p] (pair : equiv.perm {a // p a} × equiv.perm {a // ¬p a}) :
def equiv.perm.subtype_congr_hom {α : Type u} (p : α → Prop) [decidable_pred p] :
equiv.perm {a // p a} × equiv.perm {a // ¬p a} →* equiv.perm α

equiv.perm.subtype_congr as a monoid_hom.

Equations
@[simp]
theorem equiv.perm.perm_congr_eq_mul {α : Type u} (e p : equiv.perm α) :

If e is also a permutation, we can write perm_congr completely in terms of the group structure.

Lemmas about equiv.perm.extend_domain re-expressed via the group structure.

@[simp]
theorem equiv.perm.extend_domain_one {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] (f : α subtype p) :
@[simp]
theorem equiv.perm.extend_domain_inv {α : Type u} {β : Type v} (e : equiv.perm α) {p : β → Prop} [decidable_pred p] (f : α subtype p) :
@[simp]
theorem equiv.perm.extend_domain_mul {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] (f : α subtype p) (e e' : equiv.perm α) :
@[simp]
theorem equiv.perm.extend_domain_hom_apply {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] (f : α subtype p) (e : equiv.perm α) :
def equiv.perm.extend_domain_hom {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] (f : α subtype p) :

extend_domain as a group homomorphism

Equations
theorem equiv.perm.extend_domain_hom_injective {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] (f : α subtype p) :
@[simp]
theorem equiv.perm.extend_domain_eq_one_iff {α : Type u} {β : Type v} {p : β → Prop} [decidable_pred p] {e : equiv.perm α} {f : α subtype p} :
e.extend_domain f = 1 e = 1
def equiv.perm.subtype_perm {α : Type u} (f : equiv.perm α) {p : α → Prop} (h : ∀ (x : α), p x p (f x)) :
equiv.perm {x // p x}

If the permutation f fixes the subtype {x // p x}, then this returns the permutation on {x // p x} induced by f.

Equations
@[simp]
theorem equiv.perm.subtype_perm_apply {α : Type u} (f : equiv.perm α) {p : α → Prop} (h : ∀ (x : α), p x p (f x)) (x : {x // p x}) :
(f.subtype_perm h) x = f x, _⟩
@[simp]
theorem equiv.perm.subtype_perm_one {α : Type u} (p : α → Prop) (h : ∀ (x : α), p x p (1 x)) :
def equiv.perm.of_subtype {α : Type u} {p : α → Prop} [decidable_pred p] :

The inclusion map of permutations on a subtype of α into permutations of α, fixing the other points.

Equations
theorem equiv.perm.of_subtype_subtype_perm {α : Type u} {f : equiv.perm α} {p : α → Prop} [decidable_pred p] (h₁ : ∀ (x : α), p x p (f x)) (h₂ : ∀ (x : α), f x xp x) :
theorem equiv.perm.of_subtype_apply_of_mem {α : Type u} {p : α → Prop} [decidable_pred p] (f : equiv.perm (subtype p)) {x : α} (hx : p x) :
@[simp]
theorem equiv.perm.of_subtype_apply_coe {α : Type u} {p : α → Prop} [decidable_pred p] (f : equiv.perm (subtype p)) (x : subtype p) :
theorem equiv.perm.of_subtype_apply_of_not_mem {α : Type u} {p : α → Prop} [decidable_pred p] (f : equiv.perm (subtype p)) {x : α} (hx : ¬p x) :
theorem equiv.perm.mem_iff_of_subtype_apply_mem {α : Type u} {p : α → Prop} [decidable_pred p] (f : equiv.perm (subtype p)) (x : α) :
@[simp]
theorem equiv.perm.subtype_perm_of_subtype {α : Type u} {p : α → Prop} [decidable_pred p] (f : equiv.perm (subtype p)) :
@[simp]
theorem equiv.perm.default_perm {n : Type u_1} :
def equiv.perm.via_embedding {α : Type u} {β : Type v} (e : equiv.perm α) (ι : α β) :

Noncomputable version of equiv.perm.via_fintype_embedding that does not assume fintype

Equations
theorem equiv.perm.via_embedding_apply {α : Type u} {β : Type v} (e : equiv.perm α) (ι : α β) (x : α) :
(e.via_embedding ι) (ι x) = ι (e x)
theorem equiv.perm.via_embedding_apply_of_not_mem {α : Type u} {β : Type v} (e : equiv.perm α) (ι : α β) (x : β) (hx : x set.range ι) :
(e.via_embedding ι) x = x
def equiv.perm.via_embedding_hom {α : Type u} {β : Type v} (ι : α β) :

via_embedding as a group homomorphism

Equations
theorem equiv.perm.via_embedding_hom_apply {α : Type u} {β : Type v} (e : equiv.perm α) (ι : α β) :
@[simp]
theorem equiv.swap_inv {α : Type u} [decidable_eq α] (x y : α) :
@[simp]
theorem equiv.swap_mul_self {α : Type u} [decidable_eq α] (i j : α) :
(equiv.swap i j) * equiv.swap i j = 1
theorem equiv.swap_mul_eq_mul_swap {α : Type u} [decidable_eq α] (f : equiv.perm α) (x y : α) :
(equiv.swap x y) * f = f * equiv.swap (f⁻¹ x) (f⁻¹ y)
theorem equiv.mul_swap_eq_swap_mul {α : Type u} [decidable_eq α] (f : equiv.perm α) (x y : α) :
f * equiv.swap x y = (equiv.swap (f x) (f y)) * f
theorem equiv.swap_apply_apply {α : Type u} [decidable_eq α] (f : equiv.perm α) (x y : α) :
equiv.swap (f x) (f y) = (f * equiv.swap x y) * f⁻¹
@[simp]
theorem equiv.swap_mul_self_mul {α : Type u} [decidable_eq α] (i j : α) (σ : equiv.perm α) :
(equiv.swap i j) * (equiv.swap i j) * σ = σ

Left-multiplying a permutation with swap i j twice gives the original permutation.

This specialization of swap_mul_self is useful when using cosets of permutations.

@[simp]
theorem equiv.mul_swap_mul_self {α : Type u} [decidable_eq α] (i j : α) (σ : equiv.perm α) :
* equiv.swap i j) * equiv.swap i j = σ

Right-multiplying a permutation with swap i j twice gives the original permutation.

This specialization of swap_mul_self is useful when using cosets of permutations.

@[simp]
theorem equiv.swap_mul_involutive {α : Type u} [decidable_eq α] (i j : α) :

A stronger version of mul_right_injective

@[simp]
theorem equiv.mul_swap_involutive {α : Type u} [decidable_eq α] (i j : α) :

A stronger version of mul_left_injective

@[simp]
theorem equiv.swap_eq_one_iff {α : Type u} [decidable_eq α] {i j : α} :
equiv.swap i j = 1 i = j
theorem equiv.swap_mul_eq_iff {α : Type u} [decidable_eq α] {i j : α} {σ : equiv.perm α} :
(equiv.swap i j) * σ = σ i = j
theorem equiv.mul_swap_eq_iff {α : Type u} [decidable_eq α] {i j : α} {σ : equiv.perm α} :
σ * equiv.swap i j = σ i = j
theorem equiv.swap_mul_swap_mul_swap {α : Type u} [decidable_eq α] {x y z : α} (hwz : x y) (hxz : x z) :