Waldschmidt's bound
OpenLeopoldt.defect_le_rank_div_twoThis is the strongest general bound on the Leopoldt defect obtained by transcendence methods, recorded in the historical notes of the source.
Let be a prime, let be a number field, and let be the -rank of its unit group. Then
In words: at least half of the expected -adic rank of the units is always attained, so the -rank of the -adic closure is at least . No hypothesis is placed on beyond primality, and is arbitrary.
The bound is due to Waldschmidt (1981). It is unconditional and applies to every number field, which makes it the natural yardstick for the conjecture: Leopoldt asserts , and is how far the transcendence route has been pushed towards that in general. In particular it already settles the conjecture whenever .
Formalization Note The right-hand side is truncated integer division of the unit rank by . Because the defect is a natural number, this is equivalent to the real inequality : a natural number bounded by is bounded by .
import Definitions.Def_LeopoldtDefect open NumberField
namespace Leopoldt
theorem defect_le_rank_div_two (p : ℕ) [Fact p.Prime]
(K : Type*) [Field K] [NumberField K] :
defect p K ≤ Units.rank K / 2 := by sorry
end LeopoldtRead-back
What the Lean code literally says, in plain math · claude-opus-5
Statement. For every natural number that is assumed prime, and for every field that is assumed to be a number field (a finite extension of ), the assertion is the inequality of natural numbers
where is the unit rank of and is the quantity defined below. Both and are universally quantified; the only hypotheses are that is prime and that is a number field. The division by is truncated division of natural numbers, i.e. the floor of .
The unit rank . This is Mathlib's NumberField.Units.rank K, defined as
a truncated subtraction of natural numbers (so in the usual notation).
The primes above . Let
the (finite) set of primes of the ring of integers containing the image of . For each such , let be the completion of at the -adic valuation and its valuation subring (the elements of valuation ).
The semilocal unit group. Set
the direct product, over the primes of above , of the unit groups of these complete valuation rings, regarded as a commutative topological group with the product of the natural topologies on each .
The diagonal embedding. Let
the group homomorphism induced componentwise by the structure maps .
The "closure" subgroup. Let be the image of , and for each natural number let be the image of the -power endomorphism. Define
the infimum, in the lattice of subgroups of , of the joins ; since is commutative each join is the subgroup , and the index runs over all of , so the exponents occurring are (never ).
The bounded -rank. For a commutative topological group , a natural number , and a subgroup , define
where carries the product of the -adic topologies and is written multiplicatively, and the supremum is the supremum of a set of natural numbers. The condition asked of is exactly: it is a homomorphism, it is injective, it is continuous, and its whole image lies in — nothing more (in particular is not required to be a topological embedding, nor to have closed image). The defining set always contains (the group is trivial, and the unique map into is injective, continuous, and lands on the identity, which belongs to every subgroup), and every element is , so the supremum is attained and equals the largest such .
The defect. Finally,
using the truncated subtraction of natural numbers (the value is whenever the second term is at least ), and with the bound taken to be .
Edge cases silently included by the quantifiers. The claim is asserted for every prime and every number field , including and the imaginary quadratic fields, where ; in those cases the right-hand side is and the left-hand side is also because of truncated subtraction. More generally, whenever the left-hand side is by truncation, independently of how large is. The set of primes above is nonempty for a prime , but the statement itself imposes no condition on its size, on ramification, or on the splitting of . Nothing in the statement asserts ; the separately defined proposition "" is not referenced here.
Confirmed by the mission captain (proposal self-audit).