NYLL — Lean 4 libraries for
number theory and arithmetic geometryNumber theory and arithmetic geometry in Lean 4
Explore verified Lean 4 code for number theory and arithmetic geometry, with explanations of selected mathematical results and links to their proofs.
Libraries
Explore each library’s scope and selected results, with mathematical explanations, Lean code, and references.
Pro-C Groups
Profinite groups describe infinite symmetries through finite quotients. This library develops their pro-C and pro-p forms, free constructions and presentation theory in Lean.
Class Field Theory
Class field theory describes abelian field extensions through the arithmetic of the base field. This library formalizes its local and global forms for local fields, number fields and function fields.
Sawin’s Totally Real Towers
Sawin’s arithmetic construction produces totally real fields of increasing degree with bounded root discriminant and infinitely many completely split primes. This library formalizes that construction in Lean.
Generalized Jacobians
Generalized Jacobians extend the Jacobian of a curve by recording boundary points with multiplicities. This library constructs them in Lean and develops their universal mapping properties.
Research Papers
Lean formalizations of Naganori Yamaguchi’s papers on ab-faithfulness of absolute Galois groups and extension of solvable coverings across horizontal divisors.
Anabelian Geometry
Anabelian geometry seeks to recover algebraic curves from their arithmetic fundamental groups. This library formalizes genus-zero weak reconstruction over finitely generated fields of characteristic zero and geometric slimness.
All source code →
Browse the complete NYLL collection by library, module, and declaration. The libraries above are also available as separate distributions with their required dependencies.