The generic-point function field of the canonical curve
DefinitionN25_CanonicalSchemeFunctionFieldmazur-n25
Assume that the canonical projective curve is integral. The file defines its function field as the generic-point stalk
together with the coefficient homomorphism obtained from the structure morphism and the germ at the generic point. This fixes the scalar action used when comparing scheme sections, places, and the explicit canonical function field.
Definition code
import Definitions.Def_N25_CanonicalProjectivePrincipalOpen
import Definitions.Def_N25_CanonicalFunctionField
import Mathlib.AlgebraicGeometry.FunctionField
/-! The actual generic-point field and its selected structural coefficient action. -/
noncomputable section
universe u
namespace N25
open AlgebraicGeometry CategoryTheory
variable (K : Type u) [Field K] [IsIntegral (CanonicalProjectiveCurve25 K)]
/-- The function field is the generic-point stalk of the literal projective curve. -/
abbrev CanonicalSchemeFF25 : CommRingCat.{u} :=
(CanonicalProjectiveCurve25 K).functionField
/-- Coefficients act through the selected structure morphism and its generic-point germ. -/
def canonicalSchemeFF25_baseMap : K →+* CanonicalSchemeFF25 K := by
let X := CanonicalProjectiveCurve25 K
letI : Nonempty (⊤ : X.Opens) :=
⟨⟨Classical.choice (inferInstance : Nonempty X), by simp⟩⟩
exact ((Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫
(canonicalProjectiveCurveToSpec25 K).appTop ≫ X.germToFunctionField ⊤).hom
/-- The coefficient action is defined by the structural map. -/
instance canonicalSchemeFF25_algebra : Algebra K (CanonicalSchemeFF25 K) :=
(canonicalSchemeFF25_baseMap K).toAlgebra
end N25
Source
B. Mazur, Modular curves and the Eisenstein ideal, Publ. IHES 47 (1977); Lean formalization of the order-25 case for this mission. Modules in the MazurProof/Keystone/Tate families are adapted from anthropics/fermats-last-theorem (Apache-2.0) via the xiangyazi24/FLT fork.