Divisor degree and order on a function field #
This file completes the coordinate divisor API needed for Riemann–Roch spaces and adeles:
place degrees, global degree, and the partial order on DivisorA.
Main definitions #
FunctionField.placeDegree: residue field dimension of a coordinate place.FunctionField.deg: global degree of a divisor.
The partial order on DivisorA is the pointwise order on Finsupp from Mathlib
(Finsupp.le_def); no new order instance is introduced here.
The classical decidable equality on k(X) used by the coordinate places.
Instances For
The degree of a coordinate place: the residue field dimension over k.
Equations
- FunctionField.Chart.placeDegree k K (Sum.inl w) = Module.finrank k (↥(FunctionField.ringOfIntegers k K) ⧸ w.asIdeal)
- FunctionField.Chart.placeDegree k K (Sum.inr w) = Module.finrank k (↥(FunctionField.Chart.infiniteIntegers k K) ⧸ w.asIdeal)
Instances For
Every coordinate place has strictly positive degree.
At an infinite coordinate place, the place degree is its inertia degree over the unique
place at infinity of k(X).
At a finite coordinate place, the place degree is the degree of the prime below times its inertia degree.
The relative ideal norm of a finite coordinate prime has exponent equal to its inertia degree; unlike Mathlib's perfect-field version, this uses only the standing separability hypothesis.
The corresponding relative-norm formula on the infinity chart.
Weighted factor degree on the finite chart is preserved by relative ideal norm.
The analogous relative-norm identity on the infinity chart.
Over the finite chart of k(X), the weighted prime-factor degree of a principal polynomial
ideal is the polynomial degree.
Over the infinity chart of k(X), the number of prime factors of a nonzero principal ideal
is the negative rational-function degree of its generator.
Compatibility of integral norm on the finite chart with the field norm after passing to fraction fields.
Compatibility of integral norm with field norm on the infinity chart.
The ideal-valued weight whose restriction to finite height-one primes is placeDegree.
Equations
- FunctionField.Chart.finiteIdealWeight k K P = Module.finrank k (Polynomial k ⧸ Ideal.under (Polynomial k) P) * (Ideal.under (Polynomial k) P).inertiaDeg' P
Instances For
The ideal-valued weight whose restriction to infinite height-one primes is placeDegree.
Equations
Instances For
The finite-chart contribution of a principal divisor is the degree at infinity of the field norm.
The infinite-chart contribution of a principal divisor is the negative degree at infinity of the field norm.
The valuation subring at a coordinate place.
Equations
Instances For
The global degree of a divisor.
Equations
- FunctionField.Chart.deg k K D = Finsupp.sum D fun (v : FunctionField.Chart.PlaceA k K) (n : ℤ) => n * ↑(FunctionField.Chart.placeDegree k K v)
Instances For
Product formula: the global degree of a principal divisor is zero.
A divisor is effective when all coefficients are nonnegative.
Equations
- FunctionField.Chart.IsEffective k K D = ∀ (v : FunctionField.Chart.PlaceA k K), 0 ≤ D v
Instances For
Effective divisors have nonnegative degree.
An effective divisor of degree zero is the zero divisor.