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.Coset.Defs

69 declarations and 1 deprecated aliases. Mathlib docs · Source

Cosets

This file develops the basic theory of left and right cosets.

When G is a group and a : G, s : Set G, with open scoped Pointwise we can write:

  • the left coset of s by a as a • s
  • the right coset of s by a as MulOpposite.op a • s (or op a • s with open MulOpposite, or s <• a with open scoped Pointwise RightActions)

If instead G is an additive group, we can write (with open scoped Pointwise still)

  • the left coset of s by a as a +ᵥ s
  • the right coset of s by a as AddOpposite.op a +ᵥ s (or op a +ᵥ s with open AddOpposite, or s <+ᵥ a with open scoped Pointwise RightActions)

Main definitions

  • QuotientGroup.quotient s: the quotient type representing the left cosets with respect to a subgroup s, for an AddGroup this is QuotientAddGroup.quotient s.
  • QuotientGroup.mk: the canonical map from α to α/s for a subgroup s of α, for an AddGroup this is QuotientAddGroup.mk.

Notation

  • G ⧸ H is the quotient of the (additive) group G by the (additive) subgroup H

TODO

Properly merge with pointwise actions on sets, by renaming and deduplicating lemmas as appropriate.

def QuotientGroup.leftRel E1 #

{α : Type u_1} → [inst : Group α] → Subgroup α → Setoid α

The equivalence relation corresponding to the partition of a group by left cosets of a subgroup.

def QuotientAddGroup.leftRel E1 #

{α : Type u_1} → [inst : AddGroup α] → AddSubgroup α → Setoid α

The equivalence relation corresponding to the partition of a group by left cosets of a subgroup.

theorem QuotientAddGroup.leftRel_apply E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {x y : α}, (QuotientAddGroup.leftRel s) x y ↔ -x + y ∈ s

theorem QuotientGroup.leftRel_apply E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {x y : α}, (QuotientGroup.leftRel s) x y ↔ x⁻¹ * y ∈ s

theorem QuotientGroup.leftRel_eq E0 #

∀ {α : Type u_1} [inst : Group α] (s : Subgroup α), ⇑(QuotientGroup.leftRel s) = fun x y ↦ x⁻¹ * y ∈ s

theorem QuotientAddGroup.leftRel_eq E0 #

∀ {α : Type u_1} [inst : AddGroup α] (s : AddSubgroup α), ⇑(QuotientAddGroup.leftRel s) = fun x y ↦ -x + y ∈ s

instance QuotientAddGroup.leftRelDecidable E0 #

{α : Type u_1} →
  [inst : AddGroup α] → (s : AddSubgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableRel ⇑(QuotientAddGroup.leftRel s)

instance QuotientGroup.leftRelDecidable E0 #

{α : Type u_1} →
  [inst : Group α] → (s : Subgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableRel ⇑(QuotientGroup.leftRel s)

instance QuotientGroup.instHasQuotientSubgroup E0 #

{α : Type u_1} → [inst : Group α] → HasQuotient α (Subgroup α)

α ⧸ s is the quotient type representing the left cosets of s. If s is a normal subgroup, α ⧸ s is a group

instance QuotientAddGroup.instHasQuotientAddSubgroup E0 #

{α : Type u_1} → [inst : AddGroup α] → HasQuotient α (AddSubgroup α)

α ⧸ s is the quotient type representing the left cosets of s. If s is a normal subgroup, α ⧸ s is a group

instance QuotientAddGroup.instDecidableEqQuotientAddSubgroupOfDecidablePredMem E0 #

{α : Type u_1} → [inst : AddGroup α] → (s : AddSubgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableEq (α ⧸ s)

instance QuotientGroup.instDecidableEqQuotientSubgroupOfDecidablePredMem E0 #

{α : Type u_1} → [inst : Group α] → (s : Subgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableEq (α ⧸ s)

def QuotientGroup.rightRel E1 #

{α : Type u_1} → [inst : Group α] → Subgroup α → Setoid α

The equivalence relation corresponding to the partition of a group by right cosets of a subgroup.

def QuotientAddGroup.rightRel E1 #

{α : Type u_1} → [inst : AddGroup α] → AddSubgroup α → Setoid α

The equivalence relation corresponding to the partition of a group by right cosets of a subgroup.

theorem QuotientAddGroup.rightRel_apply E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {x y : α}, (QuotientAddGroup.rightRel s) x y ↔ y + -x ∈ s

theorem QuotientGroup.rightRel_apply E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {x y : α}, (QuotientGroup.rightRel s) x y ↔ y * x⁻¹ ∈ s

theorem QuotientGroup.rightRel_eq E0 #

∀ {α : Type u_1} [inst : Group α] (s : Subgroup α), ⇑(QuotientGroup.rightRel s) = fun x y ↦ y * x⁻¹ ∈ s

theorem QuotientAddGroup.rightRel_eq E0 #

∀ {α : Type u_1} [inst : AddGroup α] (s : AddSubgroup α), ⇑(QuotientAddGroup.rightRel s) = fun x y ↦ y + -x ∈ s

instance QuotientAddGroup.rightRelDecidable E0 #

{α : Type u_1} →
  [inst : AddGroup α] →
    (s : AddSubgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableRel ⇑(QuotientAddGroup.rightRel s)

instance QuotientGroup.rightRelDecidable E0 #

{α : Type u_1} →
  [inst : Group α] → (s : Subgroup α) → [DecidablePred fun x ↦ x ∈ s] → DecidableRel ⇑(QuotientGroup.rightRel s)

def QuotientGroup.quotientRightRelEquivQuotientLeftRel E1 #

{α : Type u_1} → [inst : Group α] → (s : Subgroup α) → Quotient (QuotientGroup.rightRel s) ≃ α ⧸ s

Right cosets are in bijection with left cosets.

def QuotientAddGroup.quotientRightRelEquivQuotientLeftRel E1 #

{α : Type u_1} → [inst : AddGroup α] → (s : AddSubgroup α) → Quotient (QuotientAddGroup.rightRel s) ≃ α ⧸ s

Right cosets are in bijection with left cosets.

abbrev QuotientGroup.mk E3 #

{α : Type u_1} → [inst : Group α] → {s : Subgroup α} → α → α ⧸ s

The canonical map from a group α to the quotient α ⧸ s.

abbrev QuotientAddGroup.mk E3 #

{α : Type u_1} → [inst : AddGroup α] → {s : AddSubgroup α} → α → α ⧸ s

The canonical map from an AddGroup α to the quotient α ⧸ s.

theorem QuotientAddGroup.mk_surjective E1 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α}, Function.Surjective QuotientAddGroup.mk

theorem QuotientGroup.mk_surjective E1 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α}, Function.Surjective QuotientGroup.mk

theorem QuotientGroup.range_mk E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α}, Set.range QuotientGroup.mk = Set.univ

theorem QuotientAddGroup.range_mk E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α}, Set.range QuotientAddGroup.mk = Set.univ

theorem QuotientGroup.induction_on E1 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {C : α ⧸ s → Prop} (x : α ⧸ s), (∀ (z : α), C ↑z) → C x

theorem QuotientAddGroup.induction_on E1 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {C : α ⧸ s → Prop} (x : α ⧸ s), (∀ (z : α), C ↑z) → C x

instance QuotientGroup.instCoeQuotientSubgroup E0 #

{α : Type u_1} → [inst : Group α] → {s : Subgroup α} → Coe α (α ⧸ s)

instance QuotientAddGroup.instCoeQuotientAddSubgroup E0 #

{α : Type u_1} → [inst : AddGroup α] → {s : AddSubgroup α} → Coe α (α ⧸ s)

theorem QuotientGroup.induction_on' E1 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {C : α ⧸ s → Prop} (x : α ⧸ s), (∀ (z : α), C ↑z) → C x

Alias of QuotientGroup.induction_on.

theorem QuotientAddGroup.induction_on' E1 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {C : α ⧸ s → Prop} (x : α ⧸ s), (∀ (z : α), C ↑z) → C x

Alias of QuotientAddGroup.induction_on.

theorem QuotientAddGroup.quotient_liftOn_mk E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {β : Sort u_2} (f : α → β)
  (h : ∀ (a b : α), (QuotientAddGroup.leftRel s) a b → f a = f b) (x : α), Quotient.liftOn' (↑x) f h = f x

theorem QuotientGroup.quotient_liftOn_mk E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {β : Sort u_2} (f : α → β)
  (h : ∀ (a b : α), (QuotientGroup.leftRel s) a b → f a = f b) (x : α), Quotient.liftOn' (↑x) f h = f x

theorem QuotientAddGroup.forall_mk E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {C : α ⧸ s → Prop}, (∀ (x : α ⧸ s), C x) ↔ ∀ (x : α), C ↑x

theorem QuotientGroup.forall_mk E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {C : α ⧸ s → Prop}, (∀ (x : α ⧸ s), C x) ↔ ∀ (x : α), C ↑x

theorem QuotientAddGroup.exists_mk E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {C : α ⧸ s → Prop}, (∃ x, C x) ↔ ∃ x, C ↑x

theorem QuotientGroup.exists_mk E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {C : α ⧸ s → Prop}, (∃ x, C x) ↔ ∃ x, C ↑x

instance QuotientGroup.instInhabitedQuotientSubgroup E0 #

{α : Type u_1} → [inst : Group α] → (s : Subgroup α) → Inhabited (α ⧸ s)

instance QuotientAddGroup.instInhabitedQuotientAddSubgroup E0 #

{α : Type u_1} → [inst : AddGroup α] → (s : AddSubgroup α) → Inhabited (α ⧸ s)

theorem QuotientAddGroup.eq E1 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {a b : α}, ↑a = ↑b ↔ -a + b ∈ s

theorem QuotientGroup.eq E1 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {a b : α}, ↑a = ↑b ↔ a⁻¹ * b ∈ s

theorem QuotientGroup.out_eq' E1 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} (a : α ⧸ s), ↑(Quotient.out a) = a

theorem QuotientAddGroup.out_eq' E1 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} (a : α ⧸ s), ↑(Quotient.out a) = a

theorem QuotientGroup.mk_out_eq_mul E1 #

∀ {α : Type u_1} [inst : Group α] (s : Subgroup α) (g : α), ∃ h, Quotient.out ↑g = g * ↑h

It can be useful to write obtain ⟨h, H⟩ := mk_out_eq_mul ..., and then rw [H] or simp_rw [H] or simp only [H]. In order for simp_rw and simp only to work, this lemma is stated in terms of an arbitrary h : s, rather than the specific h = g⁻¹ * (mk g).out.

theorem QuotientAddGroup.mk_out_eq_add E1 #

∀ {α : Type u_1} [inst : AddGroup α] (s : AddSubgroup α) (g : α), ∃ h, Quotient.out ↑g = g + ↑h

It can be useful to write obtain ⟨h, H⟩ := mk_out_eq_add ..., and then rw [H] or simp_rw [H] or simp only [H]. In order for simp_rw and simp only to work, this lemma is stated in terms of an arbitrary h : s, rather than the specific h = -g + (mk g).out.

theorem QuotientGroup.mk_mul_of_mem E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {b : α} (a : α), b ∈ s → ↑(a * b) = ↑a

theorem QuotientAddGroup.mk_add_of_mem E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {b : α} (a : α), b ∈ s → ↑(a + b) = ↑a

theorem QuotientAddGroup.mk_add_eq_iff E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {a b c : α}, ↑(a + b) = ↑c ↔ ↑b = ↑(-a + c)

theorem QuotientGroup.mk_mul_eq_iff E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {a b c : α}, ↑(a * b) = ↑c ↔ ↑b = ↑(a⁻¹ * c)

theorem QuotientGroup.mk_mul_left_cancel_iff E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {a b c : α}, ↑(a * b) = ↑(a * c) ↔ ↑b = ↑c

theorem QuotientAddGroup.mk_add_left_cancel_iff E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {a b c : α}, ↑(a + b) = ↑(a + c) ↔ ↑b = ↑c

theorem QuotientGroup.preimage_image_mk E0 #

∀ {α : Type u_1} [inst : Group α] (N : Subgroup α) (s : Set α),
  QuotientGroup.mk ⁻¹' QuotientGroup.mk '' s = ⋃ x, (fun x_1 ↦ x_1 * ↑x) ⁻¹' s

theorem QuotientAddGroup.preimage_image_mk E0 #

∀ {α : Type u_1} [inst : AddGroup α] (N : AddSubgroup α) (s : Set α),
  QuotientAddGroup.mk ⁻¹' QuotientAddGroup.mk '' s = ⋃ x, (fun x_1 ↦ x_1 + ↑x) ⁻¹' s

theorem QuotientGroup.preimage_image_mk_eq_iUnion_image E1 #

∀ {α : Type u_1} [inst : Group α] (N : Subgroup α) (s : Set α),
  QuotientGroup.mk ⁻¹' QuotientGroup.mk '' s = ⋃ x, (fun x_1 ↦ x_1 * ↑x) '' s

theorem QuotientAddGroup.preimage_image_mk_eq_iUnion_image E1 #

∀ {α : Type u_1} [inst : AddGroup α] (N : AddSubgroup α) (s : Set α),
  QuotientAddGroup.mk ⁻¹' QuotientAddGroup.mk '' s = ⋃ x, (fun x_1 ↦ x_1 + ↑x) '' s

theorem QuotientGroup.preimage_image_mk_eq_mul E1 #

∀ {α : Type u_1} [inst : Group α] (N : Subgroup α) (s : Set α), QuotientGroup.mk ⁻¹' QuotientGroup.mk '' s = s * ↑N

theorem QuotientAddGroup.preimage_image_mk_eq_add E1 #

∀ {α : Type u_1} [inst : AddGroup α] (N : AddSubgroup α) (s : Set α),
  QuotientAddGroup.mk ⁻¹' QuotientAddGroup.mk '' s = s + ↑N

theorem QuotientGroup.preimage_mk_one E1 #

∀ {α : Type u_1} [inst : Group α] (N : Subgroup α), QuotientGroup.mk ⁻¹' {↑1} = ↑N

theorem QuotientAddGroup.preimage_mk_zero E1 #

∀ {α : Type u_1} [inst : AddGroup α] (N : AddSubgroup α), QuotientAddGroup.mk ⁻¹' {↑0} = ↑N

theorem QuotientAddGroup.mk_eq_zero_iff E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {a : α}, ↑a = ↑0 ↔ a ∈ s

theorem QuotientGroup.mk_eq_one_iff E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {a : α}, ↑a = ↑1 ↔ a ∈ s

theorem QuotientGroup.out_mem_iff E0 #

∀ {α : Type u_1} [inst : Group α] {s : Subgroup α} {a : α ⧸ s}, Quotient.out a ∈ s ↔ a = ↑1

theorem QuotientAddGroup.out_mem_iff E0 #

∀ {α : Type u_1} [inst : AddGroup α] {s : AddSubgroup α} {a : α ⧸ s}, Quotient.out a ∈ s ↔ a = ↑0

def Subgroup.quotientEquivOfEq E1 #

{α : Type u_1} → [inst : Group α] → {s t : Subgroup α} → s = t → α ⧸ s ≃ α ⧸ t

If two subgroups M and N of G are equal, their quotients are in bijection.

def AddSubgroup.quotientEquivOfEq E1 #

{α : Type u_1} → [inst : AddGroup α] → {s t : AddSubgroup α} → s = t → α ⧸ s ≃ α ⧸ t

If two subgroups M and N of G are equal, their quotients are in bijection.

theorem Subgroup.quotientEquivOfEq_mk E0 #

∀ {α : Type u_1} [inst : Group α] {s t : Subgroup α} (h : s = t) (a : α), (Subgroup.quotientEquivOfEq h) ↑a = ↑a

Deprecated aliases

NameNew nameSince
QuotientAddGroup.mk_out_eq_mulQuotientAddGroup.mk_out_eq_add2026-07-12