Leopoldt's conjecture for number fields of unit rank at most
ProvedLeopoldt.leopoldtConjecture_of_units_rank_le_oneLet be a prime and let be a number field whose Dirichlet unit rank is at most . Then Leopoldt's conjecture holds for at :
Here is the Leopoldt defect: the unit rank minus the -rank of the -adic closure of the global units inside the semilocal units at . The reason is that any unit of infinite order stays of infinite order -adically, so the defect is always at most ; when this forces the defect to vanish. The fields covered are exactly , the imaginary quadratic fields (), and the fields with : real quadratic fields, cubic fields with one real place, and totally imaginary quartic fields.
Formalization note. Units.rank K is Mathlib's Dirichlet unit rank and LeopoldtConjecture p K is the platform predicate defect p K = 0 from Def_LeopoldtDefect. No restriction on beyond primality is needed.
import Definitions.Def_LeopoldtDefect open NumberField
namespace Leopoldt
theorem leopoldtConjecture_of_units_rank_le_one (p : ℕ) [Fact p.Prime]
(K : Type*) [Field K] [NumberField K] (h : Units.rank K ≤ 1) :
LeopoldtConjecture p K := by sorry
end Leopoldt