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 / V07. Linear algebra

Mathlib.Algebra.Module.SnakeLemma

9 declarations. Mathlib docs · Source

The snake lemma in terms of modules

The snake lemma is proven in Mathlib/Algebra/Homology/ShortComplex/SnakeLemma.lean for all abelian categories, but for definitional equality and universe issues we reprove them here for modules.

Main results

  • SnakeLemma.δ: The connecting homomorphism guaranteed by the snake lemma.
  • SnakeLemma.exact_δ_left: The connecting homomorphism is exact on the right.
  • SnakeLemma.exact_δ_right: The connecting homomorphism is exact on the left.

Suppose we have an exact commutative diagram

        K₂ -F-→ K₃
        |       |
        ι₂      ι₃
        ↓       ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|       |
π₁      π₂
↓       ↓
C₁ -G-→ C₂

such that f₂ is surjective with a (set-theoretic) section σ, g₁ is injective with a (set-theoretic) retraction ρ, and that ι₃ is injective and π₁ is surjective.

theorem SnakeLemma.δ_aux E0 #

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

def SnakeLemma.δ E3 #

{R : Type u_1} →
  [inst : CommRing R] →
    {M₁ : Type u_2} →
      {M₂ : Type u_3} →
        {M₃ : Type u_4} →
          {N₁ : Type u_5} →
            {N₂ : Type u_6} →
              {N₃ : Type u_7} →
                [inst_1 : AddCommGroup M₁] →
                  [inst_2 : Module R M₁] →
                    [inst_3 : AddCommGroup M₂] →
                      [inst_4 : Module R M₂] →
                        [inst_5 : AddCommGroup M₃] →
                          [inst_6 : Module R M₃] →
                            [inst_7 : AddCommGroup N₁] →
                              [inst_8 : Module R N₁] →
                                [inst_9 : AddCommGroup N₂] →
                                  [inst_10 : Module R N₂] →
                                    [inst_11 : AddCommGroup N₃] →
                                      [inst_12 : Module R N₃] →
                                        (i₁ : M₁ →ₗ[R] N₁) →
                                          (i₂ : M₂ →ₗ[R] N₂) →
                                            (i₃ : M₃ →ₗ[R] N₃) →
                                              (f₁ : M₁ →ₗ[R] M₂) →
                                                (f₂ : M₂ →ₗ[R] M₃) →
                                                  Function.Exact ⇑f₁ ⇑f₂ →
                                                    (g₁ : N₁ →ₗ[R] N₂) →
                                                      (g₂ : N₂ →ₗ[R] N₃) →
                                                        Function.Exact ⇑g₁ ⇑g₂ →
                                                          g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁ →
                                                            g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂ →
                                                              (σ : M₃ → M₂) →
                                                                ⇑f₂ ∘ σ = id →
                                                                  (ρ : N₂ → N₁) →
                                                                    ρ ∘ ⇑g₁ = id →
                                                                      {K₃ : Type u_9} →
                                                                        {C₁ : Type u_10} →
                                                                          [inst_13 : AddCommGroup K₃] →
                                                                            [inst_14 : Module R K₃] →
                                                                              [inst_15 : AddCommGroup C₁] →
                                                                                [inst_16 : Module R C₁] →
                                                                                  (ι₃ : K₃ →ₗ[R] M₃) →
                                                                                    Function.Exact ⇑ι₃ ⇑i₃ →
                                                                                      (π₁ : N₁ →ₗ[R] C₁) →
                                                                                        Function.Exact ⇑i₁ ⇑π₁ →
                                                                                          K₃ →ₗ[R] C₁

Snake Lemma Suppose we have an exact commutative diagram

                K₃
                |
                ι₃
                ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|
π₁
↓
C₁

such that f₂ is surjective with a (set-theoretic) section σ, g₁ is injective with a (set-theoretic) retraction ρ, then the map π₁ ∘ ρ ∘ i₂ ∘ σ ∘ ι₃ is a linear map from K₃ to C₁.

Also see SnakeLemma.δ' for a noncomputable version that does not require an explicit section and retraction.

theorem SnakeLemma.δ_eq E0 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_5} {N₂ : Type u_6}
  {N₃ : Type u_7} [inst_1 : AddCommGroup M₁] [inst_2 : Module R M₁] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂]
  [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁] [inst_8 : Module R N₁]
  [inst_9 : AddCommGroup N₂] [inst_10 : Module R N₂] [inst_11 : AddCommGroup N₃] [inst_12 : Module R N₃]
  (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃)
  (hf : Function.Exact ⇑f₁ ⇑f₂) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (hg : Function.Exact ⇑g₁ ⇑g₂)
  (h₁ : g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂) (σ : M₃ → M₂) (hσ : ⇑f₂ ∘ σ = id) (ρ : N₂ → N₁)
  (hρ : ρ ∘ ⇑g₁ = id) {K₃ : Type u_9} {C₁ : Type u_10} [inst_13 : AddCommGroup K₃] [inst_14 : Module R K₃]
  [inst_15 : AddCommGroup C₁] [inst_16 : Module R C₁] (ι₃ : K₃ →ₗ[R] M₃) (hι₃ : Function.Exact ⇑ι₃ ⇑i₃)
  (π₁ : N₁ →ₗ[R] C₁) (hπ₁ : Function.Exact ⇑i₁ ⇑π₁) (x : K₃) (y : M₂), f₂ y = ι₃ x → ∀ (z : N₁), ⋯ = ⋯ → ⋯ = ⋯

theorem SnakeLemma.exact_δ_right E3 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_5} {N₂ : Type u_6}
  {N₃ : Type u_7} [inst_1 : AddCommGroup M₁] [inst_2 : Module R M₁] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂]
  [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁] [inst_8 : Module R N₁]
  [inst_9 : AddCommGroup N₂] [inst_10 : Module R N₂] [inst_11 : AddCommGroup N₃] [inst_12 : Module R N₃]
  (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃)
  (hf : Function.Exact ⇑f₁ ⇑f₂) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (hg : Function.Exact ⇑g₁ ⇑g₂)
  (h₁ : g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂) (σ : M₃ → M₂) (hσ : ⇑f₂ ∘ σ = id) (ρ : N₂ → N₁)
  (hρ : ρ ∘ ⇑g₁ = id) {K₂ : Type u_8} {K₃ : Type u_9} {C₁ : Type u_10} [inst_13 : AddCommGroup K₂]
  [inst_14 : Module R K₂] [inst_15 : AddCommGroup K₃] [inst_16 : Module R K₃] [inst_17 : AddCommGroup C₁]
  [inst_18 : Module R C₁] (ι₂ : K₂ →ₗ[R] M₂),
  Function.Exact ⇑ι₂ ⇑i₂ →
    ∀ (ι₃ : K₃ →ₗ[R] M₃) (hι₃ : Function.Exact ⇑ι₃ ⇑i₃) (π₁ : N₁ →ₗ[R] C₁) (hπ₁ : Function.Exact ⋯ ⋯) (F : ⋯), ⋯

Suppose we have an exact commutative diagram

        K₂ -F-→ K₃
        |       |
        ι₂      ι₃
        ↓       ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|
π₁
↓
C₁

such that f₂ is surjective with a (set-theoretic) section σ, g₁ is injective with a (set-theoretic) retraction ρ, and ι₃ is injective, then K₂ -F→ K₃ -δ→ C₁ is exact.

theorem SnakeLemma.exact_δ_left E3 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_5} {N₂ : Type u_6}
  {N₃ : Type u_7} [inst_1 : AddCommGroup M₁] [inst_2 : Module R M₁] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂]
  [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁] [inst_8 : Module R N₁]
  [inst_9 : AddCommGroup N₂] [inst_10 : Module R N₂] [inst_11 : AddCommGroup N₃] [inst_12 : Module R N₃]
  (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃)
  (hf : Function.Exact ⇑f₁ ⇑f₂) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (hg : Function.Exact ⇑g₁ ⇑g₂)
  (h₁ : g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂) (σ : M₃ → M₂) (hσ : ⇑f₂ ∘ σ = id) (ρ : N₂ → N₁)
  (hρ : ρ ∘ ⇑g₁ = id) {K₃ : Type u_9} {C₁ : Type u_10} {C₂ : Type u_11} [inst_13 : AddCommGroup K₃]
  [inst_14 : Module R K₃] [inst_15 : AddCommGroup C₁] [inst_16 : Module R C₁] [inst_17 : AddCommGroup C₂]
  [inst_18 : Module R C₂] (ι₃ : K₃ →ₗ[R] M₃) (hι₃ : Function.Exact ⇑ι₃ ⇑i₃) (π₁ : N₁ →ₗ[R] C₁)
  (hπ₁ : Function.Exact ⇑i₁ ⇑π₁) (π₂ : N₂ →ₗ[R] C₂), Function.Exact ⋯ ⋯ → ∀ (G : ⋯), ⋯

Suppose we have an exact commutative diagram

                K₃
                |
                ι₃
                ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|       |
π₁      π₂
↓       ↓
C₁ -G-→ C₂

such that f₂ is surjective with a (set-theoretic) section σ, g₁ is injective with a (set-theoretic) retraction ρ, and π₁ is surjective, then K₃ -δ→ C₁ -G→ C₂ is exact.

def SnakeLemma.δ' E1 #

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

Suppose we have an exact commutative diagram

                K₃
                |
                ι₃
                ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|
π₁
↓
C₁

such that f₂ is surjective and g₁ is injective, then this is the linear map K₃ → C₁ given by the snake lemma.

Also see SnakeLemma.δ for a computable version.

theorem SnakeLemma.δ'_eq E0 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_5} {N₂ : Type u_6}
  {N₃ : Type u_7} [inst_1 : AddCommGroup M₁] [inst_2 : Module R M₁] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂]
  [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁] [inst_8 : Module R N₁]
  [inst_9 : AddCommGroup N₂] [inst_10 : Module R N₂] [inst_11 : AddCommGroup N₃] [inst_12 : Module R N₃]
  (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃)
  (hf : Function.Exact ⇑f₁ ⇑f₂) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (hg : Function.Exact ⇑g₁ ⇑g₂)
  (h₁ : g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂) {K₃ : Type u_9} {C₁ : Type u_10} [inst_13 : AddCommGroup K₃]
  [inst_14 : Module R K₃] [inst_15 : AddCommGroup C₁] [inst_16 : Module R C₁] (ι₃ : K₃ →ₗ[R] M₃)
  (hι₃ : Function.Exact ⇑ι₃ ⇑i₃) (π₁ : N₁ →ₗ[R] C₁) (hπ₁ : Function.Exact ⇑i₁ ⇑π₁) (hf₂ : Function.Surjective ⇑f₂)
  (hg₁ : Function.Injective ⇑g₁) (x : K₃) (y : M₂),
  f₂ y = ι₃ x →
    ∀ (z : N₁), g₁ z = i₂ y → (SnakeLemma.δ' i₁ i₂ i₃ f₁ f₂ hf g₁ g₂ hg h₁ h₂ ι₃ hι₃ π₁ hπ₁ hf₂ hg₁) x = π₁ z

theorem SnakeLemma.exact_δ'_right E1 #

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

Suppose we have an exact commutative diagram

        K₂ -F-→ K₃
        |       |
        ι₂      ι₃
        ↓       ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|
π₁
↓
C₁

such that f₂ is surjective, g₁ is injective, and ι₃ is injective, then K₂ -F→ K₃ -δ→ C₁ is exact.

theorem SnakeLemma.exact_δ'_left E1 #

∀ {R : Type u_1} [inst : CommRing R] {M₁ : Type u_2} {M₂ : Type u_3} {M₃ : Type u_4} {N₁ : Type u_5} {N₂ : Type u_6}
  {N₃ : Type u_7} [inst_1 : AddCommGroup M₁] [inst_2 : Module R M₁] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂]
  [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃] [inst_7 : AddCommGroup N₁] [inst_8 : Module R N₁]
  [inst_9 : AddCommGroup N₂] [inst_10 : Module R N₂] [inst_11 : AddCommGroup N₃] [inst_12 : Module R N₃]
  (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (i₃ : M₃ →ₗ[R] N₃) (f₁ : M₁ →ₗ[R] M₂) (f₂ : M₂ →ₗ[R] M₃)
  (hf : Function.Exact ⇑f₁ ⇑f₂) (g₁ : N₁ →ₗ[R] N₂) (g₂ : N₂ →ₗ[R] N₃) (hg : Function.Exact ⇑g₁ ⇑g₂)
  (h₁ : g₁ ∘ₗ i₁ = i₂ ∘ₗ f₁) (h₂ : g₂ ∘ₗ i₂ = i₃ ∘ₗ f₂) {K₃ : Type u_9} {C₁ : Type u_10} {C₂ : Type u_11}
  [inst_13 : AddCommGroup K₃] [inst_14 : Module R K₃] [inst_15 : AddCommGroup C₁] [inst_16 : Module R C₁]
  [inst_17 : AddCommGroup C₂] [inst_18 : Module R C₂] (ι₃ : K₃ →ₗ[R] M₃) (hι₃ : Function.Exact ⇑ι₃ ⇑i₃)
  (π₁ : N₁ →ₗ[R] C₁) (hπ₁ : Function.Exact ⇑i₁ ⇑π₁) (π₂ : N₂ →ₗ[R] C₂),
  Function.Exact ⇑i₂ ⇑π₂ →
    ∀ (hf₂ : Function.Surjective ⇑f₂) (hg₁ : Function.Injective ⇑g₁) (G : C₁ →ₗ[R] C₂), ⋯ = ⋯ → ⋯ → ⋯

Suppose we have an exact commutative diagram

                K₃
                |
                ι₃
                ↓
M₁ -f₁→ M₂ -f₂→ M₃
|       |       |
i₁      i₂      i₃
↓       ↓       ↓
N₁ -g₁→ N₂ -g₂→ N₃
|       |
π₁      π₂
↓       ↓
C₁ -G-→ C₂

such that f₂ is surjective, g₁ is injective, and π₁ is surjective, then K₃ -δ→ C₁ -G→ C₂ is exact.