The divisor dictionary between the Riemann–Roch library and FLT preserves degrees
ProvedWeilConjectures.Bridge.degree_divEquivLet be an arbitrary field extension. Two formalizations of the places of are compared:
- the places of the Riemann–Roch library: valuation rings with whose value group is (order-)isomorphic to ;
- the places of the FLT project: valuation rings with that are principal ideal rings, i.e. discrete valuation rings.
The map keeping the same valuation ring is a bijection between them. A divisor is, on either side, a finitely supported function from places to , and denotes the reindexing of divisors along : . On both sides the degree of a place is the dimension over of the residue field , and the degree of a divisor is .
Then for every divisor of the Riemann–Roch library,
Together with the corresponding statement for , this lets results about divisors proved in one framework be used in the other, in particular the Riemann–Roch theorem in the FLT framework.
Formalization Note The places are FunctionField.Place k K and AlgebraicCurve.Place k K, the divisor equivalence is WeilConjectures.Bridge.divEquiv k K = Finsupp.domCongr (placeEquiv k K). Dimensions (degrees of places, ) are Module.finrank over , which is for an infinite-dimensional space; with this convention no hypothesis beyond Algebra k K is needed. The degree on the FLT side is AlgebraicCurve.Divisor.degree, on the library side FunctionField.Divisor.deg k K.
import Mathlib
import Definitions.Def_WeilConjectures_RiemannRochFLT
set_option maxHeartbeats 4000000
set_option synthInstance.maxHeartbeats 400000
open scoped WithZero
open MonoidWithZeroHom
open WeilConjectures.Bridge
variable (k K : Type*) [Field k] [Field K] [Algebra k K]
variable {k K}theorem WeilConjectures.Bridge.degree_divEquiv (D : FunctionField.Divisor k K) :
AlgebraicCurve.Divisor.degree (divEquiv k K D) = FunctionField.Divisor.deg k K D := by sorry