-- Module: Mathlib.Geometry.RingedSpace.OpenImmersion
Goal:
C : Type u
inst : Category.{v, u} C
inst_1 : HasLimits.{v, u} C
ι : Type v
F : Discrete ι ⥤ SheafedSpace.{u, v, v} C
inst_2 : HasColimit F
i : Discrete ι
inst_3 : HasStrictTerminalObjects.{v, u} C
U : Opens (↑(↑(F.obj i).toPresheafedSpace : TopCat) : Type v)
h₁ :
  Eq (α := (F ⋙ forgetToPresheafedSpace).obj i ⟶ Functor.obj forgetToPresheafedSpace (colimit F))
    (CategoryStruct.comp (Y := colimit (F ⋙ forgetToPresheafedSpace))
      (colimit.ι (F ⋙ forgetToPresheafedSpace) i :
        (F ⋙ forgetToPresheafedSpace).obj i ⟶ colimit (F ⋙ forgetToPresheafedSpace))
      (Iso.inv (preservesColimitIso forgetToPresheafedSpace F) :
        colimit (F ⋙ forgetToPresheafedSpace) ⟶ Functor.obj forgetToPresheafedSpace (colimit F)))
    (CategoryTheory.Functor.map forgetToPresheafedSpace (colimit.ι F i))
h₂ :
  Eq (α := F.obj i ⟶ colimit F) (colimit.ι F i)
    {
      hom :=
        CategoryStruct.comp (Y := colimit (F ⋙ forgetToPresheafedSpace))
          (colimit.ι (F ⋙ forgetToPresheafedSpace) i :
            (F ⋙ forgetToPresheafedSpace).obj i ⟶ colimit (F ⋙ forgetToPresheafedSpace))
          (Iso.inv (preservesColimitIso forgetToPresheafedSpace F) :
            colimit (F ⋙ forgetToPresheafedSpace) ⟶ Functor.obj forgetToPresheafedSpace (colimit F)) }
H :
  IsOpenEmbedding (X := (↑(↑((F ⋙ forgetToPresheafedSpace).obj i) : TopCat) : Type v)) (Y :=
    (↑(↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat) : Type v))
    (⇑(ConcreteCategory.hom (FC := fun (X Y : TopCat.{v}) ↦ C((↑X : Type v), (↑Y : Type v))) (CC := TopCat.carrier)
          (Y := (↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat))
          (PresheafedSpace.Hom.base
            (CategoryStruct.comp (Y := colimit (F ⋙ forgetToPresheafedSpace))
              (colimit.ι (F ⋙ forgetToPresheafedSpace) i :
                (F ⋙ forgetToPresheafedSpace).obj i ⟶ colimit (F ⋙ forgetToPresheafedSpace))
              (Iso.inv (preservesColimitIso forgetToPresheafedSpace F) :
                colimit (F ⋙ forgetToPresheafedSpace) ⟶ Functor.obj forgetToPresheafedSpace (colimit F))))) :
      (a : (↑(↑((F ⋙ forgetToPresheafedSpace).obj i) : TopCat) : Type v)) →
        (↑(↑(forgetToPresheafedSpace.obj (colimit F)) : TopCat) : Type v))
this :
  IsIso (C := TopCat.Presheaf.{v, v, u} C (↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat)) (Y :=
    Functor.obj
      (TopCat.Presheaf.pushforward C
          (PresheafedSpace.Hom.base (Iso.inv (preservesColimitIso forgetToPresheafedSpace F))) :
        TopCat.Presheaf.{v, v, u} C (↑(colimit (F ⋙ forgetToPresheafedSpace)) : TopCat) ⥤
          TopCat.Presheaf.{v, v, u} C (↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat))
      (colimit (F ⋙ forgetToPresheafedSpace)).presheaf)
    (PresheafedSpace.Hom.c (Iso.inv (preservesColimitIso forgetToPresheafedSpace F)) :
      (Functor.obj forgetToPresheafedSpace (colimit F)).presheaf ⟶
        Functor.obj
          (TopCat.Presheaf.pushforward C
              (PresheafedSpace.Hom.base (Iso.inv (preservesColimitIso forgetToPresheafedSpace F))) :
            TopCat.Presheaf.{v, v, u} C (↑(colimit (F ⋙ forgetToPresheafedSpace)) : TopCat) ⥤
              TopCat.Presheaf.{v, v, u} C (↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat))
          (colimit (F ⋙ forgetToPresheafedSpace)).presheaf)
j : Discrete ι
hj : op j ≠ op i
e_1 :
  Opens (↑(↑(F.obj j).toPresheafedSpace : TopCat) : Type v) =
    Opens (↑(↑((F ⋙ forgetToPresheafedSpace).obj j) : TopCat) : Type v)
e_1_1 :
  Opens (↑(↑(colimit F).toPresheafedSpace : TopCat) : Type v) =
    Opens (↑(↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat) : Type v)
e_2 :
  Eq.{v + 2} (α := Category.{v, v} (Opens (↑(↑(F.obj i).toPresheafedSpace : TopCat) : Type v)))
    (Preorder.smallCategory (Opens (↑(↑((F ⋙ forgetToPresheafedSpace).obj i) : TopCat) : Type v)))
    (Preorder.smallCategory (Opens (↑(↑(F.obj i).toPresheafedSpace : TopCat) : Type v)))
e_4 :
  Eq.{v + 2} (α := Category.{v, v} (Opens (↑(↑(colimit F).toPresheafedSpace : TopCat) : Type v)))
    (Preorder.smallCategory (Opens (↑(↑(Functor.obj forgetToPresheafedSpace (colimit F)) : TopCat) : Type v)))
    (Preorder.smallCategory (Opens (↑(↑(colimit F).toPresheafedSpace : TopCat) : Type v)))
⊢ Eq (α := (↑(F.obj i).toPresheafedSpace : TopCat) ⟶ (↑(colimit F).toPresheafedSpace : TopCat))
    (CategoryStruct.comp (Y := (↑(colimit (F ⋙ forgetToPresheafedSpace)) : TopCat))
      (PresheafedSpace.Hom.base (colimit.ι (F ⋙ forgetToPresheafedSpace) i) :
        (↑(F.obj i).toPresheafedSpace : TopCat) ⟶ (↑(colimit (F ⋙ forgetToPresheafedSpace)) : TopCat))
      (PresheafedSpace.Hom.base (Iso.inv (preservesColimitIso forgetToPresheafedSpace F)) :
        (↑(colimit (F ⋙ forgetToPresheafedSpace)) : TopCat) ⟶ (↑(colimit F).toPresheafedSpace : TopCat)))
    (PresheafedSpace.Hom.base (InducedCategory.Hom.hom (colimit.ι F i)))

Tactic:
exact congr_arg PresheafedSpace.Hom.base h₁

Premises used: congr_arg, AlgebraicGeometry.PresheafedSpace.Hom.base