-- Lean 4 proof step from Mathlib.CategoryTheory.Limits.Shapes.Opposites.Pullbacks (goal)
Goal:
C : Type u₁
inst : Category.{v₁, u₁} C
J : Type u₂
inst_1 : Category.{v₂, u₂} J
X Y Z : Cᵒᵖ
f_1 : X ⟶ Z
g : Y ⟶ Z
f : Quiver.Hom (V := WalkingSpan) none none
⊢ Eq (α :=
    (span f_1.unop g.unop).obj none ⟶
      obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) none)
    ((span f_1.unop g.unop).map f ≫
      Iso.hom
        ((fun (x : WalkingSpan) ↦
            (match (motive :=
                (x : WalkingSpan) →
                  (span f_1.unop g.unop).obj x ≅
                    obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x)
                x with
              | none => Iso.refl ((span f_1.unop g.unop).obj none)
              | some WalkingPair.left => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.left)
              | some WalkingPair.right => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.right) :
              (span f_1.unop g.unop).obj x ≅
                obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x))
          none))
    (Iso.hom
        ((fun (x : WalkingSpan) ↦
            (match (motive :=
                (x : WalkingSpan) →
                  (span f_1.unop g.unop).obj x ≅
                    obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x)
                x with
              | none => Iso.refl ((span f_1.unop g.unop).obj none)
              | some WalkingPair.left => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.left)
              | some WalkingPair.right => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.right) :
              (span f_1.unop g.unop).obj x ≅
                obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x))
          none) ≫
      map (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) f)
have none : Eq (α :=
  (span f_1.unop g.unop).obj none ⟶
    obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) none)
  ((span f_1.unop g.unop).map (WidePushoutShape.Hom.id none) ≫
    Iso.hom
      ((fun (x : WalkingSpan) ↦
          (match (motive :=
              (x : WalkingSpan) →
                (span f_1.unop g.unop).obj x ≅
                  obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x)
              x with
            | none => Iso.refl ((span f_1.unop g.unop).obj none)
            | some WalkingPair.left => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.left)
            | some WalkingPair.right => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.right) :
            (span f_1.unop g.unop).obj x ≅
              obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x))
        none))
  (Iso.hom
      ((fun (x : WalkingSpan) ↦
          (match (motive :=
              (x : WalkingSpan) →
                (span f_1.unop g.unop).obj x ≅
                  obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x)
              x with
            | none => Iso.refl ((span f_1.unop g.unop).obj none)
            | some WalkingPair.left => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.left)
            | some WalkingPair.right => Iso.refl ((span f_1.unop g.unop).obj WalkingSpan.right) :
            (span f_1.unop g.unop).obj x ≅
              obj.{0, v₁, 0, u₁} (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) x))
        none) ≫
    map (walkingCospanOpEquiv.inverse ⋙ Functor.leftOp (cospan f_1 g)) (WidePushoutShape.Hom.id none))
Tactic: cases f
Cleared hypotheses: f