Zulip Chat Archive
Stream: Is there code for X?
Topic: Restricting a scheme morphism to opens
Kenny Lau (Oct 05 2025 at 13:52):
import Mathlib
universe u
namespace AlgebraicGeometry.Scheme
open CategoryTheory
noncomputable def Hom.restrict {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Opens X) (V : Opens Y)
(huv : U ≤ V.comap f.base.hom) : U.toScheme ⟶ V.toScheme :=
IsOpenImmersion.lift V.ι (U.ι ≫ f) (by simpa [Set.range_comp] using huv)
end AlgebraicGeometry.Scheme
Kenny Lau (Oct 05 2025 at 13:52):
do we have this?
Kenny Lau (Oct 05 2025 at 13:53):
I can accept the answer "just use open immersion lift as you did, this doesn't need a separate definition"
Christian Merten (Oct 05 2025 at 14:22):
docs#AlgebraicGeometry.Scheme.Hom.resLE
Kenny Lau (Oct 05 2025 at 14:28):
nice, thanks
Last updated: Dec 20 2025 at 21:32 UTC