The areas / V26. Homological algebra
Mathlib.Algebra.Category.Grp.EpiMono
65 declarations. Mathlib docs · Source
Monomorphisms and epimorphisms in Group
In this file, we prove monomorphisms in the category of groups are injective homomorphisms and epimorphisms are surjective homomorphisms.
The strategy is the following: assuming epi f
- prove that
f.hom.range = {x | h x = g x}; - thus
f ≫ h = f ≫ gso thath = g; - but if
fis not surjective, then somex ∉ f.hom.range, thenh x ≠ g xat the cosetf.hom.range.
theorem GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset.inj E1 #
∀ {A B : GrpCat} {f : A ⟶ B} {a a_1 : ↑(Set.range fun x ↦ x • ↑(GrpCat.Hom.hom f).range)},
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset a = GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset a_1 →
a = a_1
def GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.ctorIdx E1 #
{A B : GrpCat} → {f : A ⟶ B} → GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f → ℕ
theorem GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset.injEq E0 #
∀ {A B : GrpCat} {f : A ⟶ B} (a a_1 : ↑(Set.range fun x ↦ x • ↑(GrpCat.Hom.hom f).range)),
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset a = GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset a_1) =
(a = a_1)
abbrev GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.ctorElimType E1 #
{A B : GrpCat} →
{f : A ⟶ B} →
{motive : GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f → Sort u_1} → ℕ → Sort (max 1 u_1 (imax (u + 1) u_1))
theorem AddMonoidHom.ker_eq_bot_of_cancel E1 #
∀ {A : Type u} {B : Type v} [inst : AddGroup A] [inst_1 : AddGroup B] {f : A →+ B},
(∀ (u v : ↥f.ker →+ A), f.comp u = f.comp v → u = v) → f.ker = ⊥
theorem MonoidHom.ker_eq_bot_of_cancel E1 #
∀ {A : Type u} {B : Type v} [inst : Group A] [inst_1 : Group B] {f : A →* B},
(∀ (u v : ↥f.ker →* A), f.comp u = f.comp v → u = v) → f.ker = ⊥
theorem MonoidHom.range_eq_top_of_cancel E1 #
∀ {A : Type u} {B : Type v} [inst : CommGroup A] [inst_1 : CommGroup B] {f : A →* B},
(∀ (u v : B →* B ⧸ f.range), u.comp f = v.comp f → u = v) → f.range = ⊤
theorem AddMonoidHom.range_eq_top_of_cancel E1 #
∀ {A : Type u} {B : Type v} [inst : AddCommGroup A] [inst_1 : AddCommGroup B] {f : A →+ B},
(∀ (u v : B →+ B ⧸ f.range), u.comp f = v.comp f → u = v) → f.range = ⊤
theorem GrpCat.ker_eq_bot_of_mono E1 #
∀ {A B : GrpCat} (f : A ⟶ B) [CategoryTheory.Mono f], (GrpCat.Hom.hom f).ker = ⊥
theorem AddGrpCat.ker_eq_bot_of_mono E1 #
∀ {A B : AddGrpCat} (f : A ⟶ B) [CategoryTheory.Mono f], (AddGrpCat.Hom.hom f).ker = ⊥
theorem GrpCat.mono_iff_ker_eq_bot E1 #
∀ {A B : GrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ (GrpCat.Hom.hom f).ker = ⊥
theorem AddGrpCat.mono_iff_ker_eq_bot E1 #
∀ {A B : AddGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ (AddGrpCat.Hom.hom f).ker = ⊥
theorem AddGrpCat.mono_iff_injective E1 #
∀ {A B : AddGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem GrpCat.mono_iff_injective E1 #
∀ {A B : GrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom f)
inductive GrpCat.SurjectiveOfEpiAuxs.XWithInfinity E1 #
{A B : GrpCat} → (A ⟶ B) → Type u
Define X' to be the set of all left cosets with an extra point at "infinity".
ctor GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset E0 #
{A B : GrpCat} →
{f : A ⟶ B} → ↑(Set.range fun x ↦ x • ↑(GrpCat.Hom.hom f).range) → GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f
ctor GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity E0 #
{A B : GrpCat} → {f : A ⟶ B} → GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f
instance GrpCat.SurjectiveOfEpiAuxs.instSMulCarrierXWithInfinity E0 #
{A B : GrpCat} → (f : A ⟶ B) → SMul (↑B) (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f)
theorem GrpCat.SurjectiveOfEpiAuxs.mul_smul E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (b b' : ↑B) (x : GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f), (b * b') • x = b • b' • x
theorem GrpCat.SurjectiveOfEpiAuxs.one_smul E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (x : GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f), 1 • x = x
theorem GrpCat.SurjectiveOfEpiAuxs.fromCoset_eq_of_mem_range E1 #
∀ {A B : GrpCat} (f : A ⟶ B) {b : ↑B},
b ∈ (GrpCat.Hom.hom f).range →
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨b • ↑(GrpCat.Hom.hom f).range, ⋯⟩ =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.fromCoset_ne_of_nin_range E1 #
∀ {A B : GrpCat} (f : A ⟶ B) {b : ↑B},
b ∉ (GrpCat.Hom.hom f).range →
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨b • ↑(GrpCat.Hom.hom f).range, ⋯⟩ ≠
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩
instance GrpCat.SurjectiveOfEpiAuxs.instDecidableEqXWithInfinity E0 #
{A B : GrpCat} → (f : A ⟶ B) → DecidableEq (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f)
def GrpCat.SurjectiveOfEpiAuxs.tau E1 #
{A B : GrpCat} → (f : A ⟶ B) → Equiv.Perm (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f)
Let τ be the permutation on X' exchanging f.hom.range and the point at infinity.
theorem GrpCat.SurjectiveOfEpiAuxs.τ_apply_infinity E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
(GrpCat.SurjectiveOfEpiAuxs.tau f) GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.τ_apply_fromCoset E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
(GrpCat.SurjectiveOfEpiAuxs.tau f)
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity
theorem GrpCat.SurjectiveOfEpiAuxs.τ_apply_fromCoset' E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
∀ x ∈ (GrpCat.Hom.hom f).range,
(GrpCat.SurjectiveOfEpiAuxs.tau f)
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨x • ↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity
theorem GrpCat.SurjectiveOfEpiAuxs.τ_symm_apply_fromCoset E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
(Equiv.symm (GrpCat.SurjectiveOfEpiAuxs.tau f))
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity
theorem GrpCat.SurjectiveOfEpiAuxs.τ_symm_apply_infinity E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
(Equiv.symm (GrpCat.SurjectiveOfEpiAuxs.tau f)) GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩
def GrpCat.SurjectiveOfEpiAuxs.g E1 #
{A B : GrpCat} → (f : A ⟶ B) → ↑B →* Equiv.Perm (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f)
Let g : B ⟶ S(X') be defined as such that, for any β : B, g(β) is the function sending
point at infinity to point at infinity and sending coset y to β • y.
def GrpCat.SurjectiveOfEpiAuxs.h E1 #
{A B : GrpCat} → (f : A ⟶ B) → ↑B →* Equiv.Perm (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity f)
Define h : B ⟶ S(X') to be τ g τ⁻¹
theorem GrpCat.SurjectiveOfEpiAuxs.g_apply_fromCoset E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (x : ↑B) (y : ↑(Set.range fun x ↦ x • ↑(GrpCat.Hom.hom f).range)),
((GrpCat.SurjectiveOfEpiAuxs.g f) x) (GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset y) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨x • ↑y, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.g_apply_infinity E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (x : ↑B),
((GrpCat.SurjectiveOfEpiAuxs.g f) x) GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity
theorem GrpCat.SurjectiveOfEpiAuxs.h_apply_infinity E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
∀ x ∈ (GrpCat.Hom.hom f).range,
((GrpCat.SurjectiveOfEpiAuxs.h f) x) GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.infinity
theorem GrpCat.SurjectiveOfEpiAuxs.h_apply_fromCoset E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (x : ↑B),
((GrpCat.SurjectiveOfEpiAuxs.h f) x)
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨↑(GrpCat.Hom.hom f).range, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.h_apply_fromCoset' E1 #
∀ {A B : GrpCat} (f : A ⟶ B) (x b : ↑B),
b ∈ (GrpCat.Hom.hom f).range →
((GrpCat.SurjectiveOfEpiAuxs.h f) x)
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨b • ↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨b • ↑(GrpCat.Hom.hom f).range, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.h_apply_fromCoset_nin_range E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
∀ x ∈ (GrpCat.Hom.hom f).range,
∀ b ∉ (GrpCat.Hom.hom f).range,
((GrpCat.SurjectiveOfEpiAuxs.h f) x)
(GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨b • ↑(GrpCat.Hom.hom f).range, ⋯⟩) =
GrpCat.SurjectiveOfEpiAuxs.XWithInfinity.fromCoset ⟨(x * b) • ↑(GrpCat.Hom.hom f).range, ⋯⟩
theorem GrpCat.SurjectiveOfEpiAuxs.agree E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
↑(GrpCat.Hom.hom f).range = {x | (GrpCat.SurjectiveOfEpiAuxs.h f) x = (GrpCat.SurjectiveOfEpiAuxs.g f) x}
theorem GrpCat.SurjectiveOfEpiAuxs.comp_eq E0 #
∀ {A B : GrpCat} (f : A ⟶ B),
CategoryTheory.CategoryStruct.comp f (GrpCat.ofHom (GrpCat.SurjectiveOfEpiAuxs.g f)) =
CategoryTheory.CategoryStruct.comp f (GrpCat.ofHom (GrpCat.SurjectiveOfEpiAuxs.h f))
theorem GrpCat.SurjectiveOfEpiAuxs.g_ne_h E1 #
∀ {A B : GrpCat} (f : A ⟶ B),
∀ x ∉ (GrpCat.Hom.hom f).range, GrpCat.SurjectiveOfEpiAuxs.g f ≠ GrpCat.SurjectiveOfEpiAuxs.h f
theorem GrpCat.surjective_of_epi E1 #
∀ {A B : GrpCat} (f : A ⟶ B) [CategoryTheory.Epi f], Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem GrpCat.epi_iff_surjective E1 #
∀ {A B : GrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem GrpCat.epi_iff_range_eq_top E1 #
∀ {A B : GrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ (GrpCat.Hom.hom f).range = ⊤
theorem AddGrpCat.epi_iff_surjective E1 #
∀ {A B : AddGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem AddGrpCat.epi_iff_range_eq_top E1 #
∀ {A B : AddGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ (AddGrpCat.Hom.hom f).range = ⊤
instance AddGrpCat.forget_grp_preserves_mono E0 #
(CategoryTheory.forget AddGrpCat).PreservesMonomorphisms
instance GrpCat.forget_grp_preserves_mono E0 #
(CategoryTheory.forget GrpCat).PreservesMonomorphisms
instance AddGrpCat.forget_grp_preserves_epi E0 #
(CategoryTheory.forget AddGrpCat).PreservesEpimorphisms
instance GrpCat.forget_grp_preserves_epi E0 #
(CategoryTheory.forget GrpCat).PreservesEpimorphisms
theorem CommGrpCat.ker_eq_bot_of_mono E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B) [CategoryTheory.Mono f], (CommGrpCat.Hom.hom f).ker = ⊥
theorem AddCommGrpCat.ker_eq_bot_of_mono E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B) [CategoryTheory.Mono f], (AddCommGrpCat.Hom.hom f).ker = ⊥
theorem CommGrpCat.mono_iff_ker_eq_bot E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ (CommGrpCat.Hom.hom f).ker = ⊥
theorem AddCommGrpCat.mono_iff_ker_eq_bot E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ (AddCommGrpCat.Hom.hom f).ker = ⊥
theorem CommGrpCat.mono_iff_injective E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem AddCommGrpCat.mono_iff_injective E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B), CategoryTheory.Mono f ↔ Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem AddCommGrpCat.range_eq_top_of_epi E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B) [CategoryTheory.Epi f], (AddCommGrpCat.Hom.hom f).range = ⊤
theorem CommGrpCat.range_eq_top_of_epi E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B) [CategoryTheory.Epi f], (CommGrpCat.Hom.hom f).range = ⊤
theorem AddCommGrpCat.epi_iff_range_eq_top E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ (AddCommGrpCat.Hom.hom f).range = ⊤
theorem CommGrpCat.epi_iff_range_eq_top E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ (CommGrpCat.Hom.hom f).range = ⊤
theorem CommGrpCat.epi_iff_surjective E1 #
∀ {A B : CommGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)
theorem AddCommGrpCat.epi_iff_surjective E1 #
∀ {A B : AddCommGrpCat} (f : A ⟶ B), CategoryTheory.Epi f ↔ Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)
instance CommGrpCat.forget_commGrp_preserves_mono E0 #
(CategoryTheory.forget CommGrpCat).PreservesMonomorphisms
instance AddCommGrpCat.forget_commGrp_preserves_mono E0 #
(CategoryTheory.forget AddCommGrpCat).PreservesMonomorphisms
instance AddCommGrpCat.forget_commGrp_preserves_epi E0 #
(CategoryTheory.forget AddCommGrpCat).PreservesEpimorphisms
instance CommGrpCat.forget_commGrp_preserves_epi E0 #
(CategoryTheory.forget CommGrpCat).PreservesEpimorphisms