A Formalization of Complete Discrete Valuation Rings and Local Fields
The theory of discretely valued fields and local fields is fundamental in algebraic number theory, but had not been formalized in Lean. Definitions and basic properties of local fields, DVRs, and their extensions were missing from the formal library.
The authors formalize in Lean the basic theory of discretely valued fields: proving that the unit ball of a discrete valuation is a DVR and conversely that the adic valuation on the fraction field of a DVR is discrete. They define finite extensions of valuations and DVRs, proving global-to-local results, and formalize the abstract definition of local fields.
The formalization shows that finite extensions of the p-adic numbers and the Laurent series field over a finite field are local fields. Global-to-local results for extensions of DVRs are proved formally, providing foundational infrastructure for algebraic number theory in Lean.
