-- Lean 4 proof step from Mathlib.CategoryTheory.Sites.CompatiblePlus (goal)
Goal:
C : Type u
inst : Category.{v, u} C
J : GrothendieckTopology.{v, u} C
D : Type u_1
inst_1 : Category.{v_1, u_1} D
E : Type u_2
inst_2 : Category.{v_2, u_2} E
F : Functor.{v_1, v_2, u_1, u_2} D E
inst_3 : ∀ (J : MulticospanShape), HasLimitsOfShape (WalkingMulticospan J) D
inst_4 : ∀ (J : MulticospanShape), HasLimitsOfShape (WalkingMulticospan J) E
inst_5 : ∀ (X : C) (W : J.Cover X) (P : Functor.{v, v_1, u, u_1} Cᵒᵖ D), PreservesLimit (W.index P).multicospan F
P : Functor.{v, v_1, u, u_1} Cᵒᵖ D
inst_6 : ∀ (X : C), HasColimitsOfShape (J.Cover X)ᵒᵖ D
inst_7 : ∀ (X : C), HasColimitsOfShape (J.Cover X)ᵒᵖ E
inst_8 : ∀ (X : C), PreservesColimitsOfShape (J.Cover X)ᵒᵖ F
X Y : Cᵒᵖ
f : X ⟶ Y
W : (J.Cover (unop X))ᵒᵖ
⊢ Eq (α := F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
    (CategoryStruct.comp (Y := F.obj (multiequalizer (((unop W).pullback f.unop).index P)))
        (F.map
            (Multiequalizer.lift (((unop W).pullback f.unop).index P) (multiequalizer ((unop W).index P))
              (fun (I : ((unop W).pullback f.unop).Arrow) ↦ Multiequalizer.ι ((unop W).index P) I.base) ⋯) :
          F.obj (multiequalizer ((unop W).index P)) ⟶ F.obj (multiequalizer (((unop W).pullback f.unop).index P)))
        (CategoryStruct.comp (Y := F.obj (colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y))))
            (F.map (colimit.ι (J.diagram P (unop Y)) (op ((unop W).pullback f.unop))) :
              F.obj (multiequalizer (((unop W).pullback f.unop).index P)) ⟶
                F.obj (colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y))))
            (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y) ⋙ F))
                (Iso.hom
                  (IsColimit.coconePointUniqueUpToIso
                    (isColimitOfPreserves F (colimit.isColimit (J.diagram P (unop Y))))
                    (colimit.isColimit (J.diagram P (unop Y) ⋙ F))))
                (Iso.hom (HasColimit.isoOfNatIso (J.diagramCompIso F P (unop Y)))) :
              F.obj (colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y))) ⟶
                colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
          F.obj (multiequalizer (((unop W).pullback f.unop).index P)) ⟶
            colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
      F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
    (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F))
        (NatTrans.app (Cocone.ι (colimit.cocone (J.diagram P (unop X) ⋙ F))) W :
          obj (J.diagram P (unop X) ⋙ F) W ⟶
            obj
              (obj (const (J.Cover (unop X))ᵒᵖ)
                (Cocone.pt (J := (J.Cover (unop X))ᵒᵖ) (F := J.diagram P (unop X) ⋙ F)
                  (colimit.cocone (J.diagram P (unop X) ⋙ F))))
              W)
        (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)))
            (Iso.hom (HasColimit.isoOfNatIso (J.diagramCompIso F P (unop X))) :
              colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F) ⟶
                colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)))
            (CategoryStruct.comp (Y := colimit ((J.pullback f.unop).op ⋙ J.diagram (P ⋙ F) (unop Y)))
                (colimMap (J.diagramPullback (P ⋙ F) f.unop))
                (colimit.pre (J.diagram (P ⋙ F) (unop Y)) (J.pullback f.unop).op) :
              colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)) ⟶
                colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
          colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F) ⟶
            colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
      F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
have slice_lhs : Eq (α := F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
  (CategoryStruct.comp (Y := F.obj (multiequalizer (((unop W).pullback f.unop).index P)))
      (F.map
          (Multiequalizer.lift (((unop W).pullback f.unop).index P) (multiequalizer ((unop W).index P))
            (fun (I : ((unop W).pullback f.unop).Arrow) ↦ Multiequalizer.ι ((unop W).index P) I.base) sorry) :
        F.obj (multiequalizer ((unop W).index P)) ⟶ F.obj (multiequalizer (((unop W).pullback f.unop).index P)))
      (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y) ⋙ F))
          (NatTrans.app (Cocone.ι (colimit.cocone (J.diagram P (unop Y) ⋙ F))) (op ((unop W).pullback f.unop)) :
            obj (J.diagram P (unop Y) ⋙ F) (op ((unop W).pullback f.unop)) ⟶
              obj
                (obj (const (J.Cover (unop Y))ᵒᵖ)
                  (Cocone.pt (J := (J.Cover (unop Y))ᵒᵖ) (F := J.diagram P (unop Y) ⋙ F)
                    (colimit.cocone (J.diagram P (unop Y) ⋙ F))))
                (op ((unop W).pullback f.unop)))
          (Iso.hom (HasColimit.isoOfNatIso (J.diagramCompIso F P (unop Y))) :
            colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram P (unop Y) ⋙ F) ⟶
              colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
        F.obj (multiequalizer (((unop W).pullback f.unop).index P)) ⟶
          colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
    F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
  (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F))
      (NatTrans.app (Cocone.ι (colimit.cocone (J.diagram P (unop X) ⋙ F))) W :
        obj (J.diagram P (unop X) ⋙ F) W ⟶
          obj
            (obj (const (J.Cover (unop X))ᵒᵖ)
              (Cocone.pt (J := (J.Cover (unop X))ᵒᵖ) (F := J.diagram P (unop X) ⋙ F)
                (colimit.cocone (J.diagram P (unop X) ⋙ F))))
            W)
      (CategoryStruct.comp (Y := colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)))
          (Iso.hom (HasColimit.isoOfNatIso (J.diagramCompIso F P (unop X))) :
            colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F) ⟶
              colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)))
          (CategoryStruct.comp (Y := colimit ((J.pullback f.unop).op ⋙ J.diagram (P ⋙ F) (unop Y)))
              (colimMap (J.diagramPullback (P ⋙ F) f.unop))
              (colimit.pre (J.diagram (P ⋙ F) (unop Y)) (J.pullback f.unop).op) :
            colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram (P ⋙ F) (unop X)) ⟶
              colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
        colimit (J := (J.Cover (unop X))ᵒᵖ) (J.diagram P (unop X) ⋙ F) ⟶
          colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y))) :
    F.obj (multiequalizer ((unop W).index P)) ⟶ colimit (J := (J.Cover (unop Y))ᵒᵖ) (J.diagram (P ⋙ F) (unop Y)))
Tactic: slice_lhs 2 3 =>
        erw [(isColimitOfPreserves F (colimit.isColimit (J.diagram P Y.unop))).fac]