AlgebraicGeometry.Scheme.Hom.constToPresheaf
The morphism from the constant base ring presheaf to the structure presheaf induced by f.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
universe u
open CategoryTheory Opposite
namespace AlgebraicGeometry.Scheme.Hom
variable {A : Type u} [CommRing A] {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of A))
noncomputable sectionLean source · full declaration
def constToPresheaf : (Functor.const (X.Opens)ᵒᵖ).obj (CommRingCat.of A) ⟶ X.presheaf where
app U := (Scheme.ΓSpecIso (CommRingCat.of A)).inv ≫ f.appLE ⊤ U.unop le_top
naturality U V i := by
simp only [Functor.const_obj_obj, Functor.const_obj_map, Category.id_comp, Category.assoc]
erw [Scheme.Hom.appLE_map]