Theorem: CategoryTheory.GrothendieckTopology.liftToPlusObjLimitObj_fac
File: Mathlib/CategoryTheory/Sites/LeftExact.lean

tactic: dsimp only [liftToPlusObjLimitObj]
state_before: C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ liftToPlusObjLimitObj F X S ≫ (plusMap J (limit.π F k)).app X.op = S.π.app k

tactic: rw [← (limit.isLimit (F ⋙ J.plusFunctor D ⋙ (evaluation Cᵒᵖ D).obj (op X))).fac S k,
  Category.assoc]
state_before: C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ (limit.lift (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) S ≫
        (HasLimit.isoOfNatIso
              (NatIso.ofComponents fun k =>
                  colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).hom ≫
          (colimitLimitIso (F ⋙ diagramFunctor J D X)).inv ≫
            (HasColimit.isoOfNatIso
                (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
                  (limit.isLimit (F ⋙ diagramFunctor J D X)))).inv) ≫
      (plusMap J (limit.π F k)).app X.op =
    S.π.app k

tactic: congr 1
state_before: C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ limit.lift (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) S ≫
      ((HasLimit.isoOfNatIso
              (NatIso.ofComponents fun k =>
                  colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).hom ≫
          (colimitLimitIso (F ⋙ diagramFunctor J D X)).inv ≫
            (HasColimit.isoOfNatIso
                (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
                  (limit.isLimit (F ⋙ diagramFunctor J D X)))).inv) ≫
        (plusMap J (limit.π F k)).app X.op =
    IsLimit.lift (limit.isLimit (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)) S ≫
      (limit.cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)).π.app k

tactic: dsimp
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ ((HasLimit.isoOfNatIso
            (NatIso.ofComponents fun k =>
                colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).hom ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).inv ≫
          (HasColimit.isoOfNatIso
              (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
                (limit.isLimit (F ⋙ diagramFunctor J D X)))).inv) ≫
      (plusMap J (limit.π F k)).app X.op =
    (limit.cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)).π.app k

tactic: rw [Category.assoc, Category.assoc, ← Iso.eq_inv_comp, Iso.inv_comp_eq, Iso.inv_comp_eq]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ ((HasLimit.isoOfNatIso
            (NatIso.ofComponents fun k =>
                colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).hom ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).inv ≫
          (HasColimit.isoOfNatIso
              (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
                (limit.isLimit (F ⋙ diagramFunctor J D X)))).inv) ≫
      (plusMap J (limit.π F k)).app X.op =
    limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: refine' colimit.hom_ext (fun j => _)
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
⊢ (plusMap J (limit.π F k)).app X.op =
    (HasColimit.isoOfNatIso
          (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
            (limit.isLimit (F ⋙ diagramFunctor J D X)))).hom ≫
      (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
        (HasLimit.isoOfNatIso
              (NatIso.ofComponents fun k =>
                  colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).inv ≫
          limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: dsimp [plusMap]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ colimit.ι (diagram J (limit F) X.op.unop) j ≫ (plusMap J (limit.π F k)).app X.op =
    colimit.ι (diagram J (limit F) X.op.unop) j ≫
      (HasColimit.isoOfNatIso
            (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
              (limit.isLimit (F ⋙ diagramFunctor J D X)))).hom ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          (HasLimit.isoOfNatIso
                (NatIso.ofComponents fun k =>
                    colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).inv ≫
            limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: simp only [HasColimit.isoOfNatIso_ι_hom_assoc, ι_colimMap]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ colimit.ι (diagram J (limit F) X) j ≫ colimMap (diagramNatTrans J (limit.π F k) X) =
    colimit.ι (diagram J (limit F) X) j ≫
      (HasColimit.isoOfNatIso
            (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
              (limit.isLimit (F ⋙ diagramFunctor J D X)))).hom ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          (HasLimit.isoOfNatIso
                (NatIso.ofComponents fun k =>
                    colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).inv ≫
            limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: dsimp [IsLimit.conePointUniqueUpToIso, HasLimit.isoOfNatIso, IsLimit.map]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ (diagramNatTrans J (limit.π F k) X).app j ≫ colimit.ι (diagram J (F.obj k) X) j =
    (IsLimit.conePointUniqueUpToIso (isLimitOfPreserves (diagramFunctor J D X) (limit.isLimit F))
              (limit.isLimit (F ⋙ diagramFunctor J D X))).hom.app
        j ≫
      colimit.ι (limit (F ⋙ diagramFunctor J D X)) j ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          (HasLimit.isoOfNatIso
                (NatIso.ofComponents fun k =>
                    colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).symm).inv ≫
            limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: rw [limit.lift_π]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    (limit.lift (F ⋙ diagramFunctor J D X) ((diagramFunctor J D X).mapCone (limit.cone F))).app j ≫
      colimit.ι (limit (F ⋙ diagramFunctor J D X)) j ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          limit.lift (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
              ((Cones.postcompose
                    (NatIso.ofComponents fun k =>
                        colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom).obj
                (limit.cone (colimit (Functor.flip (F ⋙ diagramFunctor J D X))))) ≫
            limit.π (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op) k

tactic: dsimp
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    (limit.lift (F ⋙ diagramFunctor J D X) ((diagramFunctor J D X).mapCone (limit.cone F))).app j ≫
      colimit.ι (limit (F ⋙ diagramFunctor J D X)) j ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          ((Cones.postcompose
                      (NatIso.ofComponents fun k =>
                          colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom).obj
                  (limit.cone (colimit (Functor.flip (F ⋙ diagramFunctor J D X))))).π.app
            k

tactic: rw [ι_colimitLimitIso_limit_π_assoc]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    (limit.lift (F ⋙ diagramFunctor J D X) ((diagramFunctor J D X).mapCone (limit.cone F))).app j ≫
      colimit.ι (limit (F ⋙ diagramFunctor J D X)) j ≫
        (colimitLimitIso (F ⋙ diagramFunctor J D X)).hom ≫
          limit.π (colimit (Functor.flip (F ⋙ diagramFunctor J D X))) k ≫
            (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom

tactic: simp_rw [← NatTrans.comp_app, ← Category.assoc, ← NatTrans.comp_app]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    (limit.lift (F ⋙ diagramFunctor J D X) ((diagramFunctor J D X).mapCone (limit.cone F))).app j ≫
      (limit.π (F ⋙ diagramFunctor J D X) k).app j ≫
        (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k ≫
          (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom

tactic: rw [limit.lift_π, Category.assoc]
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    ((limit.lift (F ⋙ diagramFunctor J D X) ((diagramFunctor J D X).mapCone (limit.cone F)) ≫
              limit.π (F ⋙ diagramFunctor J D X) k).app
          j ≫
        (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k) ≫
      (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom

tactic: congr 1
state_before: case e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ Multiequalizer.lift (Cover.index j.unop (F.obj k)) (multiequalizer (Cover.index j.unop (limit F)))
        (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
        (_ :
          ∀ (i : (Cover.index j.unop (F.obj k)).R),
            (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.fstTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.fst (Cover.index j.unop (F.obj k)) i =
              (fun i => Multiequalizer.ι (Cover.index j.unop (limit F)) i ≫ (limit.π F k).app i.Y.op)
                  (MulticospanIndex.sndTo (Cover.index j.unop (F.obj k)) i) ≫
                MulticospanIndex.snd (Cover.index j.unop (F.obj k)) i) ≫
      colimit.ι (diagram J (F.obj k) X) j =
    (((diagramFunctor J D X).mapCone (limit.cone F)).π.app k).app j ≫
      (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k ≫
        (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom

tactic: rw [← Iso.comp_inv_eq]
state_before: case e_a.e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ colimit.ι (diagram J (F.obj k) X) j =
    (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k ≫
      (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).hom

tactic: erw [colimit.ι_desc]
state_before: case e_a.e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ colimit.ι (diagram J (F.obj k) X) j ≫
      (colimitObjIsoColimitCompEvaluation (Functor.flip (F ⋙ diagramFunctor J D X)) k).inv =
    (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k

tactic: rfl
state_before: case e_a.e_a
C : Type u
inst✝¹⁰ : Category C
J : GrothendieckTopology C
D : Type w
inst✝⁹ : Category D
inst✝⁸ : ∀ (P : Cᵒᵖ ⥤ D) (X : C) (S : Cover J X), HasMultiequalizer (Cover.index S P)
inst✝⁷ : ∀ (X : C), HasColimitsOfShape (Cover J X)ᵒᵖ D
inst✝⁶ : ConcreteCategory D
inst✝⁵ : (X : C) → PreservesColimitsOfShape (Cover J X)ᵒᵖ (forget D)
K : Type (max v u)
inst✝⁴ : SmallCategory K
inst✝³ : FinCategory K
inst✝² : HasLimitsOfShape K D
inst✝¹ : PreservesLimitsOfShape K (forget D)
inst✝ : ReflectsLimitsOfShape K (forget D)
F : K ⥤ Cᵒᵖ ⥤ D
X : C
S : Cone (F ⋙ plusFunctor J D ⋙ (evaluation Cᵒᵖ D).obj X.op)
k : K
j : (Cover J X.op.unop)ᵒᵖ
⊢ (((evaluation K D).obj k).mapCocone (colimit.cocone (Functor.flip (F ⋙ diagramFunctor J D X)))).ι.app j =
    (colimit.ι (Functor.flip (F ⋙ diagramFunctor J D X)) j).app k