case h.h
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s)) ↔
    x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
⊢ (Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s) =
    RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s)
ext x
case h.h.mp
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s)) →
    x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))

case h.h.mpr
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s)) →
    x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s))
case h.h
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s)) ↔
    x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))
constructor
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
⊢ x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))
case h.h.mp
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s)) →
    x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))
rintro ⟨⟨y, hyU⟩, hy : IsUnit _, rfl : y = _⟩
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
⊢ x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s))
erw [RingedSpace.mem_basicOpen _ _ ⟨x, show x ∈ (Opens.map f.1.base).obj U from hyU⟩]
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    (forget CommRingCat).map
        (PresheafedSpace.stalkMap f.val ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
        ((forget CommRingCat).map
          (Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) },
              property :=
                (_ :
                  ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) } ∈ (Opens.map f.val.base).obj U) })
          x_1) =
      (forget CommRingCat).map
        (Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
        ((forget CommRingCat).map (f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
have eq1 := PresheafedSpace.stalkMap_germ_apply _ _
  ⟨x, show x ∈ (Opens.map f.1.base).obj U from hyU⟩
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val x)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
          x_1) =
      ↑(Presheaf.germ X.presheaf { val := x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        (↑(f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    (forget CommRingCat).map
        (PresheafedSpace.stalkMap f.val ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
        ((forget CommRingCat).map
          (Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) },
              property :=
                (_ :
                  ↑{ val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) } ∈ (Opens.map f.val.base).obj U) })
          x_1) =
      (forget CommRingCat).map
        (Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
        ((forget CommRingCat).map (f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
dsimp at eq1
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val x)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
          x_1) =
      ↑(Presheaf.germ X.presheaf { val := x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        (↑(f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(PresheafedSpace.stalkMap f.val x)
      (↑(Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        s))
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val x)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
          x_1) =
      ↑(Presheaf.germ X.presheaf { val := x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        (↑(f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(Presheaf.germ X.presheaf { val := x, property := (_ : x ∈ (Opens.map f.val.base).obj U) })
      (↑(f.val.c.app U.op) s))
rw [← eq1]
no goals
case h.h.mp.intro.mk.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
hyU : (forget TopCat).map f.val.base x ∈ U
hy :
  IsUnit
    (↑(Presheaf.germ (toRingedSpace Y).toPresheafedSpace.presheaf
          { val := (forget TopCat).map f.val.base x, property := hyU })
      s)
eq1 :
  ∀ (x_1 : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val x)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
          x_1) =
      ↑(Presheaf.germ X.presheaf { val := x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        (↑(f.val.c.app U.op) x_1)
⊢ IsUnit
    (↑(PresheafedSpace.stalkMap f.val x)
      (↑(Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base x, property := (_ : (forget TopCat).map f.val.base x ∈ U) })
        s))
exact (PresheafedSpace.stalkMap f.1 _).isUnit_map hy
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
⊢ ↑y ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s))
case h.h.mpr
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
x : ↑↑X.toPresheafedSpace
⊢ x ∈ ↑(RingedSpace.basicOpen (toRingedSpace X) (↑(f.val.c.app U.op) s)) →
    x ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s))
rintro ⟨y, hy : IsUnit _, rfl⟩
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
⊢ ↑y ∈ ↑((Opens.map f.val.base).obj (RingedSpace.basicOpen (toRingedSpace Y) s))
erw [RingedSpace.mem_basicOpen _ _ ⟨f.1.base y.1, y.2⟩]
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    (forget CommRingCat).map (PresheafedSpace.stalkMap f.val ↑y)
        ((forget CommRingCat).map
          (Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      (forget CommRingCat).map (Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y)
        ((forget CommRingCat).map (f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
have eq1 := PresheafedSpace.stalkMap_germ_apply _ _ y
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val ↑y)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      ↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    (forget CommRingCat).map (PresheafedSpace.stalkMap f.val ↑y)
        ((forget CommRingCat).map
          (Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      (forget CommRingCat).map (Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y)
        ((forget CommRingCat).map (f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
dsimp at eq1
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy :
  IsUnit
    (↑(PresheafedSpace.stalkMap f.val ↑y)
      (↑(Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
        s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val ↑y)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      ↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy : IsUnit (↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val ↑y)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      ↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
rw [← eq1] at hy
no goals
case h.h.mpr.intro.intro
X✝ : LocallyRingedSpace
X Y : LocallyRingedSpace
f : X ⟶ Y
U : Opens ↑(toTopCat Y)
s : ↑(Y.presheaf.obj U.op)
y : { x // x ∈ (Opens.map f.val.base).obj U }
hy :
  IsUnit
    (↑(PresheafedSpace.stalkMap f.val ↑y)
      (↑(Presheaf.germ Y.presheaf
            { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
        s))
eq1 :
  ∀ (x : (forget CommRingCat).obj (Y.presheaf.obj U.op)),
    ↑(PresheafedSpace.stalkMap f.val ↑y)
        (↑(Presheaf.germ Y.presheaf
              { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
          x) =
      ↑(Presheaf.germ (toRingedSpace X).toPresheafedSpace.presheaf y) (↑(f.val.c.app U.op) x)
⊢ IsUnit
    (↑(Presheaf.germ Y.presheaf
          { val := (forget TopCat).map f.val.base ↑y, property := (_ : ↑y ∈ (Opens.map f.val.base).obj U) })
      s)
exact (isUnit_map_iff (PresheafedSpace.stalkMap f.1 _) _).mp hy