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 / V26. Homological algebra

Mathlib.Algebra.FiveLemma

21 declarations. Mathlib docs · Source

The five lemma in terms of modules

The five lemma for all abelian categories is proven in CategoryTheory.Abelian.isIso_of_epi_of_isIso_of_isIso_of_mono. But for universe generality and ease of application in the unbundled setting, we reprove them here.

Main results

  • LinearMap.surjective_of_surjective_of_surjective_of_injective: a four lemma
  • LinearMap.injective_of_surjective_of_injective_of_injective: another four lemma
  • LinearMap.bijective_of_surjective_of_bijective_of_bijective_of_injective: the five lemma

Explanation of the variables

In this file we always consider the following commutative diagram of groups (resp. modules)

M₁ --f₁--> M₂ --f₂--> M₃ --f₃--> M₄ --f₄--> M₅
|          |          |          |          |
i₁         i₂         i₃         i₄         i₅
|          |          |          |          |
v          v          v          v          v
N₁ --g₁--> N₂ --g₂--> N₃ --g₃--> N₄ --g₄--> N₅

with exact rows.

theorem MonoidHom.surjective_of_surjective_of_surjective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8}
  {N₄ : Type u_9} [inst : Group M₁] [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group M₄] [inst_4 : Group N₁]
  [inst_5 : Group N₂] [inst_6 : Group N₃] [inst_7 : Group N₄] (f₁ : M₁ →* M₂) (f₂ : M₂ →* M₃) (f₃ : M₃ →* M₄)
  (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (g₃ : N₃ →* N₄) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃) (i₄ : M₄ →* N₄),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        Function.MulExact ⇑f₂ ⇑f₃ →
          Function.MulExact ⇑g₁ ⇑g₂ →
            Function.MulExact ⇑g₂ ⇑g₃ →
              Function.Surjective ⇑i₁ → Function.Surjective ⇑i₃ → Function.Injective ⇑i₄ → Function.Surjective ⇑i₂

One four lemma in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.surjective_of_surjective_of_surjective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8}
  {N₄ : Type u_9} [inst : AddGroup M₁] [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup M₄]
  [inst_4 : AddGroup N₁] [inst_5 : AddGroup N₂] [inst_6 : AddGroup N₃] [inst_7 : AddGroup N₄] (f₁ : M₁ →+ M₂)
  (f₂ : M₂ →+ M₃) (f₃ : M₃ →+ M₄) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (g₃ : N₃ →+ N₄) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂)
  (i₃ : M₃ →+ N₃) (i₄ : M₄ →+ N₄),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        Function.Exact ⇑f₂ ⇑f₃ →
          Function.Exact ⇑g₁ ⇑g₂ →
            Function.Exact ⇑g₂ ⇑g₃ →
              Function.Surjective ⇑i₁ → Function.Surjective ⇑i₃ → Function.Injective ⇑i₄ → Function.Surjective ⇑i₂

One four lemma in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.surjective_of_surjective_of_injective_of_left_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : Group M₁]
  [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group N₁] [inst_4 : Group N₂] [inst_5 : Group N₃] (f₁ : M₁ →* M₂)
  (f₂ : M₂ →* M₃) (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.MulExact ⇑f₁ ⇑f₂ →
        Function.MulExact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₂ → Function.Injective ⇑i₃ → Function.Injective ⇑g₁ → Function.Surjective ⇑i₁

A special case of one four lemma such that the left-most term is one in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.surjective_of_surjective_of_injective_of_left_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : AddGroup M₁]
  [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup N₁] [inst_4 : AddGroup N₂] [inst_5 : AddGroup N₃]
  (f₁ : M₁ →+ M₂) (f₂ : M₂ →+ M₃) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂) (i₃ : M₃ →+ N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₂ → Function.Injective ⇑i₃ → Function.Injective ⇑g₁ → Function.Surjective ⇑i₁

A special case of one four lemma such that the left-most term is zero in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.injective_of_surjective_of_injective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8}
  {N₄ : Type u_9} [inst : Group M₁] [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group M₄] [inst_4 : Group N₁]
  [inst_5 : Group N₂] [inst_6 : Group N₃] [inst_7 : Group N₄] (f₁ : M₁ →* M₂) (f₂ : M₂ →* M₃) (f₃ : M₃ →* M₄)
  (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (g₃ : N₃ →* N₄) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃) (i₄ : M₄ →* N₄),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        Function.MulExact ⇑f₁ ⇑f₂ →
          Function.MulExact ⇑f₂ ⇑f₃ →
            Function.MulExact ⇑g₁ ⇑g₂ →
              Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Injective ⇑i₄ → Function.Injective ⇑i₃

One four lemma in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.injective_of_surjective_of_injective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8}
  {N₄ : Type u_9} [inst : AddGroup M₁] [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup M₄]
  [inst_4 : AddGroup N₁] [inst_5 : AddGroup N₂] [inst_6 : AddGroup N₃] [inst_7 : AddGroup N₄] (f₁ : M₁ →+ M₂)
  (f₂ : M₂ →+ M₃) (f₃ : M₃ →+ M₄) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (g₃ : N₃ →+ N₄) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂)
  (i₃ : M₃ →+ N₃) (i₄ : M₄ →+ N₄),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        Function.Exact ⇑f₁ ⇑f₂ →
          Function.Exact ⇑f₂ ⇑f₃ →
            Function.Exact ⇑g₁ ⇑g₂ →
              Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Injective ⇑i₄ → Function.Injective ⇑i₃

One four lemma in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.injective_of_surjective_of_injective_of_right_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : Group M₁]
  [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group N₁] [inst_4 : Group N₂] [inst_5 : Group N₃] (f₁ : M₁ →* M₂)
  (f₂ : M₂ →* M₃) (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.MulExact ⇑f₁ ⇑f₂ →
        Function.MulExact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Injective ⇑i₃

A special case of one four lemma such that the right-most term is one in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.injective_of_surjective_of_injective_of_right_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : AddGroup M₁]
  [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup N₁] [inst_4 : AddGroup N₂] [inst_5 : AddGroup N₃]
  (f₁ : M₁ →+ M₂) (f₂ : M₂ →+ M₃) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂) (i₃ : M₃ →+ N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Injective ⇑i₃

A special case of one four lemma such that the right-most term is zero in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.bijective_of_surjective_of_bijective_of_bijective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {M₅ : Type u_5} {N₁ : Type u_6} {N₂ : Type u_7}
  {N₃ : Type u_8} {N₄ : Type u_9} {N₅ : Type u_10} [inst : Group M₁] [inst_1 : Group M₂] [inst_2 : Group M₃]
  [inst_3 : Group M₄] [inst_4 : Group M₅] [inst_5 : Group N₁] [inst_6 : Group N₂] [inst_7 : Group N₃]
  [inst_8 : Group N₄] [inst_9 : Group N₅] (f₁ : M₁ →* M₂) (f₂ : M₂ →* M₃) (f₃ : M₃ →* M₄) (f₄ : M₄ →* M₅)
  (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (g₃ : N₃ →* N₄) (g₄ : N₄ →* N₅) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃)
  (i₄ : M₄ →* N₄) (i₅ : M₅ →* N₅),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        g₄.comp i₄ = i₅.comp f₄ →
          Function.MulExact ⇑f₁ ⇑f₂ →
            Function.MulExact ⇑f₂ ⇑f₃ →
              Function.MulExact ⇑f₃ ⇑f₄ →
                Function.MulExact ⇑g₁ ⇑g₂ →
                  Function.MulExact ⇑g₂ ⇑g₃ →
                    Function.MulExact ⇑g₃ ⇑g₄ →
                      Function.Surjective ⇑i₁ →
                        Function.Bijective ⇑i₂ →
                          Function.Bijective ⇑i₄ → Function.Injective ⇑i₅ → Function.Bijective ⇑i₃

The five lemma in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.bijective_of_surjective_of_bijective_of_bijective_of_injective E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {M₄ : Type u_4} {M₅ : Type u_5} {N₁ : Type u_6} {N₂ : Type u_7}
  {N₃ : Type u_8} {N₄ : Type u_9} {N₅ : Type u_10} [inst : AddGroup M₁] [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃]
  [inst_3 : AddGroup M₄] [inst_4 : AddGroup M₅] [inst_5 : AddGroup N₁] [inst_6 : AddGroup N₂] [inst_7 : AddGroup N₃]
  [inst_8 : AddGroup N₄] [inst_9 : AddGroup N₅] (f₁ : M₁ →+ M₂) (f₂ : M₂ →+ M₃) (f₃ : M₃ →+ M₄) (f₄ : M₄ →+ M₅)
  (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (g₃ : N₃ →+ N₄) (g₄ : N₄ →+ N₅) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂) (i₃ : M₃ →+ N₃)
  (i₄ : M₄ →+ N₄) (i₅ : M₅ →+ N₅),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      g₃.comp i₃ = i₄.comp f₃ →
        g₄.comp i₄ = i₅.comp f₄ →
          Function.Exact ⇑f₁ ⇑f₂ →
            Function.Exact ⇑f₂ ⇑f₃ →
              Function.Exact ⇑f₃ ⇑f₄ →
                Function.Exact ⇑g₁ ⇑g₂ →
                  Function.Exact ⇑g₂ ⇑g₃ →
                    Function.Exact ⇑g₃ ⇑g₄ →
                      Function.Surjective ⇑i₁ →
                        Function.Bijective ⇑i₂ →
                          Function.Bijective ⇑i₄ → Function.Injective ⇑i₅ → Function.Bijective ⇑i₃

The five lemma in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.bijective_of_bijective_of_injective_of_left_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : Group M₁]
  [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group N₁] [inst_4 : Group N₂] [inst_5 : Group N₃] (f₁ : M₁ →* M₂)
  (f₂ : M₂ →* M₃) (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.MulExact ⇑f₁ ⇑f₂ →
        Function.MulExact ⇑g₁ ⇑g₂ →
          Function.Bijective ⇑i₂ →
            Function.Injective ⇑i₃ → Function.Injective ⇑f₁ → Function.Injective ⇑g₁ → Function.Bijective ⇑i₁

A special case of the five lemma in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.bijective_of_bijective_of_injective_of_left_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : AddGroup M₁]
  [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup N₁] [inst_4 : AddGroup N₂] [inst_5 : AddGroup N₃]
  (f₁ : M₁ →+ M₂) (f₂ : M₂ →+ M₃) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂) (i₃ : M₃ →+ N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Bijective ⇑i₂ →
            Function.Injective ⇑i₃ → Function.Injective ⇑f₁ → Function.Injective ⇑g₁ → Function.Bijective ⇑i₁

A special case of the five lemma in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem MonoidHom.bijective_of_surjective_of_bijective_of_right_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : Group M₁]
  [inst_1 : Group M₂] [inst_2 : Group M₃] [inst_3 : Group N₁] [inst_4 : Group N₂] [inst_5 : Group N₃] (f₁ : M₁ →* M₂)
  (f₂ : M₂ →* M₃) (g₁ : N₁ →* N₂) (g₂ : N₂ →* N₃) (i₁ : M₁ →* N₁) (i₂ : M₂ →* N₂) (i₃ : M₃ →* N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.MulExact ⇑f₁ ⇑f₂ →
        Function.MulExact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ →
            Function.Bijective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Surjective ⇑g₂ → Function.Bijective ⇑i₃

A special case of the five lemma in terms of groups. For a diagram explaining the variables, see the module docstring.

theorem AddMonoidHom.bijective_of_surjective_of_bijective_of_right_exact E1 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {M₃ : Type u_3} {N₁ : Type u_6} {N₂ : Type u_7} {N₃ : Type u_8} [inst : AddGroup M₁]
  [inst_1 : AddGroup M₂] [inst_2 : AddGroup M₃] [inst_3 : AddGroup N₁] [inst_4 : AddGroup N₂] [inst_5 : AddGroup N₃]
  (f₁ : M₁ →+ M₂) (f₂ : M₂ →+ M₃) (g₁ : N₁ →+ N₂) (g₂ : N₂ →+ N₃) (i₁ : M₁ →+ N₁) (i₂ : M₂ →+ N₂) (i₃ : M₃ →+ N₃),
  g₁.comp i₁ = i₂.comp f₁ →
    g₂.comp i₂ = i₃.comp f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ →
            Function.Bijective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Surjective ⇑g₂ → Function.Bijective ⇑i₃

A special case of the five lemma in terms of additive groups. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.surjective_of_surjective_of_surjective_of_injective E3 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {M₄ : Type u_5} {N₁ : Type u_7}
  {N₂ : Type u_8} {N₃ : Type u_9} {N₄ : Type u_10} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : AddCommGroup M₃] [inst_4 : AddCommGroup M₄] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  [inst_7 : Module R M₃] [inst_8 : Module R M₄] [inst_9 : AddCommGroup N₁] [inst_10 : AddCommGroup N₂]
  [inst_11 : AddCommGroup N₃] [inst_12 : AddCommGroup N₄] [inst_13 : Module R N₁] [inst_14 : Module R N₂]
  [inst_15 : Module R N₃] [inst_16 : Module R N₄] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (f₃ : M₃ →ₗ[R] M₄)
  (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (g₃ : N₃ →ₗ[R] N₄) (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃)
  (i₄ : M₄ →ₗ[R] N₄),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      g₃ ∘ₗ i₃ = i₄ ∘ₗ f₃ →
        Function.Exact ⇑f₂ ⇑f₃ →
          Function.Exact ⇑g₁ ⇑g₂ →
            Function.Exact ⇑g₂ ⇑g₃ →
              Function.Surjective ⇑i₁ → Function.Surjective ⇑i₃ → Function.Injective ⇑i₄ → Function.Surjective ⇑i₂

One four lemma in terms of modules. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.surjective_of_surjective_of_injective_of_left_exact E1 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_7} {N₂ : Type u_8}
  {N₃ : Type u_9} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃]
  [inst_4 : Module R M₁] [inst_5 : Module R M₂] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁]
  [inst_8 : AddCommGroup N₂] [inst_9 : AddCommGroup N₃] [inst_10 : Module R N₁] [inst_11 : Module R N₂]
  [inst_12 : Module R N₃] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (i₁ : M₁ →ₗ[R] N₁)
  (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₂ → Function.Injective ⇑i₃ → Function.Injective ⇑g₁ → Function.Surjective ⇑i₁

A special case of one four lemma such that the left-most term is zero in terms of modules. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.injective_of_surjective_of_injective_of_injective E3 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {M₄ : Type u_5} {N₁ : Type u_7}
  {N₂ : Type u_8} {N₃ : Type u_9} {N₄ : Type u_10} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂]
  [inst_3 : AddCommGroup M₃] [inst_4 : AddCommGroup M₄] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  [inst_7 : Module R M₃] [inst_8 : Module R M₄] [inst_9 : AddCommGroup N₁] [inst_10 : AddCommGroup N₂]
  [inst_11 : AddCommGroup N₃] [inst_12 : AddCommGroup N₄] [inst_13 : Module R N₁] [inst_14 : Module R N₂]
  [inst_15 : Module R N₃] [inst_16 : Module R N₄] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (f₃ : M₃ →ₗ[R] M₄)
  (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (g₃ : N₃ →ₗ[R] N₄) (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃)
  (i₄ : M₄ →ₗ[R] N₄),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      g₃ ∘ₗ i₃ = i₄ ∘ₗ f₃ →
        Function.Exact ⇑f₁ ⇑f₂ →
          Function.Exact ⇑f₂ ⇑f₃ →
            Function.Exact ⇑g₁ ⇑g₂ →
              Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Injective ⇑i₄ → Function.Injective ⇑i₃

One four lemma in terms of modules. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.injective_of_surjective_of_injective_of_right_exact E1 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_7} {N₂ : Type u_8}
  {N₃ : Type u_9} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃]
  [inst_4 : Module R M₁] [inst_5 : Module R M₂] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁]
  [inst_8 : AddCommGroup N₂] [inst_9 : AddCommGroup N₃] [inst_10 : Module R N₁] [inst_11 : Module R N₂]
  [inst_12 : Module R N₃] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (i₁ : M₁ →ₗ[R] N₁)
  (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ → Function.Injective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Injective ⇑i₃

A special case of one four lemma such that the right-most term is zero in terms of (additive) groups. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.bijective_of_surjective_of_bijective_of_bijective_of_injective E3 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {M₄ : Type u_5} {M₅ : Type u_6}
  {N₁ : Type u_7} {N₂ : Type u_8} {N₃ : Type u_9} {N₄ : Type u_10} {N₅ : Type u_11} [inst_1 : AddCommGroup M₁]
  [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃] [inst_4 : AddCommGroup M₄] [inst_5 : AddCommGroup M₅]
  [inst_6 : Module R M₁] [inst_7 : Module R M₂] [inst_8 : Module R M₃] [inst_9 : Module R M₄] [inst_10 : Module R M₅]
  [inst_11 : AddCommGroup N₁] [inst_12 : AddCommGroup N₂] [inst_13 : AddCommGroup N₃] [inst_14 : AddCommGroup N₄]
  [inst_15 : AddCommGroup N₅] [inst_16 : Module R N₁] [inst_17 : Module R N₂] [inst_18 : Module R N₃]
  [inst_19 : Module R N₄] [inst_20 : Module R N₅] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (f₃ : M₃ →ₗ[R] M₄)
  (f₄ : M₄ →ₗ[R] M₅) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (g₃ : N₃ →ₗ[R] N₄) (g₄ : N₄ →ₗ[R] N₅) (i₁ : M₁ →ₗ[R] N₁)
  (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (i₄ : M₄ →ₗ[R] N₄) (i₅ : M₅ →ₗ[R] N₅),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ → g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ → g₃ ∘ₗ i₃ = i₄ ∘ₗ f₃ → g₄ ∘ₗ i₄ = i₅ ∘ₗ f₄ → Function.Exact ⋯ ⋯ → ⋯ → ⋯

The five lemma in terms of modules. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.bijective_of_bijective_of_injective_of_left_exact E1 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_7} {N₂ : Type u_8}
  {N₃ : Type u_9} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃]
  [inst_4 : Module R M₁] [inst_5 : Module R M₂] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁]
  [inst_8 : AddCommGroup N₂] [inst_9 : AddCommGroup N₃] [inst_10 : Module R N₁] [inst_11 : Module R N₂]
  [inst_12 : Module R N₃] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (i₁ : M₁ →ₗ[R] N₁)
  (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Bijective ⇑i₂ →
            Function.Injective ⇑i₃ → Function.Injective ⇑f₁ → Function.Injective ⇑g₁ → Function.Bijective ⇑i₁

A special case of the five lemma in terms of modules. For a diagram explaining the variables, see the module docstring.

theorem LinearMap.bijective_of_surjective_of_bijective_of_right_exact E1 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_7} {N₂ : Type u_8}
  {N₃ : Type u_9} [inst_1 : AddCommGroup M₁] [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃]
  [inst_4 : Module R M₁] [inst_5 : Module R M₂] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁]
  [inst_8 : AddCommGroup N₂] [inst_9 : AddCommGroup N₃] [inst_10 : Module R N₁] [inst_11 : Module R N₂]
  [inst_12 : Module R N₃] (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (i₁ : M₁ →ₗ[R] N₁)
  (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃),
  g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
    g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
      Function.Exact ⇑f₁ ⇑f₂ →
        Function.Exact ⇑g₁ ⇑g₂ →
          Function.Surjective ⇑i₁ →
            Function.Bijective ⇑i₂ → Function.Surjective ⇑f₂ → Function.Surjective ⇑g₂ → Function.Bijective ⇑i₃

A special case of the five lemma in terms of modules. For a diagram explaining the variables, see the module docstring.