-- Lean 4 proof step from Mathlib.CategoryTheory.Triangulated.TriangleShift (goal)
Goal:
C : Type u
inst : Category.{v, u} C
inst_1 : Preadditive.{v, u} C
inst_2 : HasShift.{v, u, 0} C ℤ
inst_3 : ∀ (n : ℤ), Functor.Additive.{v, u, v, u} (CategoryTheory.shiftFunctor C n)
a b c : ℤ
T : Triangle.{v, u} C
⊢ Eq.{v + 1} (α :=
    Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
      Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
        (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
          (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
    (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C (a + b) c (a + b + c) ⋯)) T.obj₂ ≫
        Functor.map (CategoryTheory.shiftFunctor C c)
          (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C a b (a + b) ⋯)) T.obj₂) :
      Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
        Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
          (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
            (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
    (TriangleMorphism.hom₂ (eqToHom ⋯) ≫
        NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C a (b + c) (a + (b + c)) ⋯)) T.obj₂ ≫
          NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C b c (b + c) ⋯))
            (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂) :
      Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
        Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
          (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
            (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
have h₂ : Eq.{v + 1} (α :=
  Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
    Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
      (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
        (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
  (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C (a + b) c (a + b + c) sorry)) T.obj₂ ≫
      Functor.map (CategoryTheory.shiftFunctor C c)
        (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C a b (a + b) sorry)) T.obj₂) :
    Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
      Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
        (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
          (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
  (CategoryStruct.comp (Y := Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + (b + c))) T.obj₂)
      (TriangleMorphism.hom₂ (eqToHom sorry))
      (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C (a + b) c (a + (b + c)) sorry)) T.obj₂ ≫
        Functor.map (CategoryTheory.shiftFunctor C c)
          (NatTrans.app (Iso.hom (CategoryTheory.shiftFunctorAdd' C a b (a + b) sorry)) T.obj₂)) :
    Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C (a + b + c)) T.obj₂ ⟶
      Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C c)
        (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C b)
          (Functor.obj.{v, v, u, u} (CategoryTheory.shiftFunctor C a) T.obj₂)))
Tactic: rw [← shiftFunctorAdd'_assoc_hom_app a b c _ _ _ rfl rfl (add_assoc a b c)]