Nonzero constants have valuation one at every coordinate place of a function field
ProvedFunctionField.Chart.placeValuation_algebraMap_eq_oneLet be a field and let be a finite separable extension of the rational function field , with compatible structure maps (no assumption is made on the constant field). Let be the integral closure of in , and let be the integral closure in of the valuation ring at infinity
Both are Dedekind domains with fraction field . A coordinate place of is a nonzero prime of (a finite place) or of (a place at infinity); its -adic valuation is written multiplicatively, for , with values in .
Then for every coordinate place and every nonzero constant ,
Thus constants are units at every finite and infinite place of the two-chart presentation; for instance, multiplying a function by a nonzero constant does not change its principal divisor.
Formalization Note The coordinate places are PlaceA k K, the sum of the height-one spectra of ringOfIntegers k K and of infiniteIntegers k K, and placeValuation k K v is Mathlib's adic valuation HeightOneSpectrum.valuation K with values in . The tower is given by Algebra k[X] K, Algebra k⟮X⟯ K, IsScalarTower k[X] k⟮X⟯ K, FunctionField k K (finite-dimensionality over ), Algebra.IsSeparable k⟮X⟯ K, and the constants by Algebra k K with IsScalarTower k k[X] K. A classical decidable-equality instance on , used to define the valuation at infinity, is activated locally; it carries no mathematical content.
import Mathlib import Definitions.Def_RiemannRoch_Places /- Contains code from riemann-roch-function-fields (https://github.com/vaca22/riemann-roch-function-fields, commit dbca5bee), Copyright (c) 2026 Guanghao Li, released under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0). Modified: ported to Lean v4.33.1 / Mathlib 0df444a (module headers converted, some proofs adapted to this Mathlib, a few names qualified, `picTorsor` omitted; statements unchanged), then split into prove2.me definitions and theorems, with comments removed. -/ open scoped nonZeroDivisors Polynomial RatFunc WithZero open FunctionField variable (k K : Type*) [Field k] [Field K] open MonoidWithZeroHom open FunctionField.Chart attribute [local instance] FunctionField.Chart.instDecidableEqRatFuncRiemannRoch variable [Algebra k[X] K] [Algebra k⟮X⟯ K] [IsScalarTower k[X] k⟮X⟯ K] [FunctionField k K] [Algebra.IsSeparable k⟮X⟯ K] variable [Algebra k K] [IsScalarTower k k[X] K]
theorem FunctionField.Chart.placeValuation_algebraMap_eq_one (v : PlaceA k K) (c : kˣ) :
placeValuation k K v (algebraMap k K (c : k)) = 1 := by sorry