A function lies outside a place's valuation ring exactly when it has negative order
ProvedAlgebraicCurve.Place.not_mem_iff_ord_negmazur-n25
Let be a field extension, let be a place of over , and let . Then
This translates valuation-ring membership into the order language used for cusps and modular units.
Preamble
import Mathlib import Definitions.Def_AlgebraicCurve_DivisorClassGroup set_option autoImplicit false open AlgebraicCurve open AlgebraicCurve.Place
Formal statement
theorem AlgebraicCurve.Place.not_mem_iff_ord_neg {K F : Type*} [Field K] [Field F] [Algebra K F]
(v : Place K F) (f : F) : f ∉ v.toValuationSubring ↔ v.ord f < 0 := by sorrySource
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.