The structure-morphism algebra on the function field of an affine spectrum is the canonical algebra composed with the original ring map.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
noncomputable section
open AlgebraicGeometry CategoryTheory
open CategoryTheory.PreGaloisCategory
namespace EtaleFundamentalGroups.Inertia
universe utheorem affineMorphismFunctionFieldAlgebra_specMap
(R S : Type u) [CommRing R] [CommRing S] [IsDomain S]
(f : R →+* S) :
let : Algebra S (Spec (.of S)).functionField :=
AlgebraicGeometry.instAlgebraCarrierFunctionFieldSpec (.of S)
affineMorphismFunctionFieldAlgebra R (Spec.map (CommRingCat.ofHom f)) =
((algebraMap S (Spec (.of S)).functionField).comp f).toAlgebra := by
intro hSK
apply Algebra.algebra_ext
intro r
have : Nonempty (⊤ : (Spec (.of S)).Opens) :=
⟨⟨Classical.choice (inferInstance : Nonempty (Spec (.of S))), trivial⟩⟩
change (Spec (.of S)).germToFunctionField ⊤
((Spec.map (CommRingCat.ofHom f)).appTop ((Scheme.ΓSpecIso (.of R)).inv r)) =
algebraMap S (Spec (.of S)).functionField (f r)
have h := ConcreteCategory.congr_hom
(Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom f)) r
change (Scheme.ΓSpecIso (.of S)).inv (f r) =
(Spec.map (CommRingCat.ofHom f)).appTop ((Scheme.ΓSpecIso (.of R)).inv r) at h
rw [← h]
rfl