-- Lean 4 proof step from Mathlib.Algebra.Homology.DerivedCategory.Ext.ExactSequences (hypothesis)
Goal:
C : Type u
inst : Category.{v, u} C
inst_1 : Abelian.{v, u} C
inst_2 : HasExt.{w, v, u} C
X : C
S : ShortComplex.{v, u} C
hS : S.ShortExact
n₀ : ℕ
x₃ : Ext.{w, v, u} X S.X₃ n₀
n₁ : ℕ
hn₁ : n₀ + 1 = n₁
hx₃ : x₃.comp hS.extClass hn₁ = 0
this :
  (ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀)) (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X ⋯))
      (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁)) ⋯).Exact
⊢ ∃ (x₂ : Ext.{w, v, u} X S.X₂ n₀), x₂.comp (mk₀ S.g) ⋯ = x₃
have this₁ : ∀
  (x₂ :
    (↑(ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀)) (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry))
            (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁)) sorry).X₂ :
      Type w)),
  Eq (α :=
      (↑(ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
              (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁)) sorry).X₃ :
        Type w))
      ((ConcreteCategory.hom (FC := fun (x1 x2 : AddCommGrpCat.{w}) ↦ (↑x1 : Type w) →+ (↑x2 : Type w)) (CC :=
              AddCommGrpCat.carrier)
              (ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
                  (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁))
                  sorry).g :
            (a :
                (↑{ X₁ := AddCommGrpCat.of (Ext X S.X₂ n₀), X₂ := AddCommGrpCat.of (Ext X S.X₃ n₀),
                        X₃ := AddCommGrpCat.of (Ext X S.X₁ n₁), f := AddCommGrpCat.ofHom ((mk₀ S.g).postcomp X sorry),
                        g := AddCommGrpCat.ofHom (hS.extClass.postcomp X hn₁), zero := sorry }.X₂ :
                  Type w)) →
              (↑{ X₁ := AddCommGrpCat.of (Ext X S.X₂ n₀), X₂ := AddCommGrpCat.of (Ext X S.X₃ n₀),
                      X₃ := AddCommGrpCat.of (Ext X S.X₁ n₁), f := AddCommGrpCat.ofHom ((mk₀ S.g).postcomp X sorry),
                      g := AddCommGrpCat.ofHom (hS.extClass.postcomp X hn₁), zero := sorry }.X₃ :
                Type w))
          x₂ :
        (↑(ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
                (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁))
                sorry).X₃ :
          Type w))
      (0 :
        (↑(ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
                (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁))
                sorry).X₃ :
          Type w)) →
    ∃ (x₁ :
      (↑(ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
              (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁)) sorry).X₁ :
        Type w)),
      (ConcreteCategory.hom (FC := fun (x1 x2 : AddCommGrpCat.{w}) ↦ (↑x1 : Type w) →+ (↑x2 : Type w)) (CC :=
              AddCommGrpCat.carrier)
              (ShortComplex.mk (X₁ := AddCommGrpCat.of (Ext.{w, v, u} X S.X₂ n₀))
                  (AddCommGrpCat.ofHom (postcomp (mk₀ S.g) X sorry)) (AddCommGrpCat.ofHom (postcomp hS.extClass X hn₁))
                  sorry).f :
            (a :
                (↑{ X₁ := AddCommGrpCat.of (Ext X S.X₂ n₀), X₂ := AddCommGrpCat.of (Ext X S.X₃ n₀),
                        X₃ := AddCommGrpCat.of (Ext X S.X₁ n₁), f := AddCommGrpCat.ofHom ((mk₀ S.g).postcomp X sorry),
                        g := AddCommGrpCat.ofHom (hS.extClass.postcomp X hn₁), zero := sorry }.X₁ :
                  Type w)) →
              (↑{ X₁ := AddCommGrpCat.of (Ext X S.X₂ n₀), X₂ := AddCommGrpCat.of (Ext X S.X₃ n₀),
                      X₃ := AddCommGrpCat.of (Ext X S.X₁ n₁), f := AddCommGrpCat.ofHom ((mk₀ S.g).postcomp X sorry),
                      g := AddCommGrpCat.ofHom (hS.extClass.postcomp X hn₁), zero := sorry }.X₂ :
                Type w))
          x₁ =
        x₂
Tactic: rw [ShortComplex.ab_exact_iff] at this
Cleared hypotheses: this