Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Leopoldt's conjecture for real quadratic fields

Proved
Leopoldt.leopoldt_realQuadratic

by xuanji · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theoryp-adicunits

Leopoldt's conjecture holds, at every prime ppp, for every real quadratic field: for K\mathbb{K}K totally real with [K:Q]=2[\mathbb{K}:\mathbb{Q}] = 2[K:Q]=2,

DL(K)  =  0.\mathcal{D}_L(\mathbb{K}) \;=\; 0 .DL​(K)=0.

Such a field has two real places and no complex ones, so Dirichlet's unit rank is r1+r2−1=2+0−1=1r_1 + r_2 - 1 = 2 + 0 - 1 = 1r1​+r2​−1=2+0−1=1: the units are ±εZ\pm\varepsilon^{\mathbb{Z}}±εZ for a fundamental unit ε\varepsilonε. Since ε\varepsilonε has infinite order, its ppp-adic closure contains a copy of Zp\mathbb{Z}_pZp​, so the Zp\mathbb{Z}_pZp​-rank of E‾\overline{E}E is 111 and the defect vanishes. This is the totally real counterpart of the imaginary quadratic case.

Formalization note. "Real quadratic" is spelled as IsTotallyReal K together with [K:Q]=2[\mathbb{K}:\mathbb{Q}] = 2[K:Q]=2, which for a number field is equivalent to K=Q(d)\mathbb{K} = \mathbb{Q}(\sqrt{d})K=Q(d​) for a squarefree d>1d > 1d>1. No hypothesis on ppp beyond primality is needed.

Preamble
import Definitions.Def_LeopoldtDefect

open NumberField
Formal statement
namespace Leopoldt
theorem leopoldt_realQuadratic (p : ℕ) [Fact p.Prime]
    (K : Type*) [Field K] [NumberField K] [IsTotallyReal K]
    (hK : Module.finrank ℚ K = 2) :
    LeopoldtConjecture p K := by sorry
end Leopoldt
Source
Preda Mihailescu, On CM Z_p-extensions and the Leopoldt conjecture for CM fields, https://arxiv.org/abs/1105.4544 (v4, 17 Feb 2016), Section 1.1 (Notations and fundamental facts), p. 3: the Leopoldt defect D_L(K) = Z-rk(E) - Z_p-rk(Ebar) and Dirichlet's unit theorem as quoted there ("the units E = O(K)^x are a free Z-module of Z-rank r_1 + r_2 - 1"). For a real quadratic field r_1 = 2 and r_2 = 0, so the unit rank is 1 and, since the defect is at most rank - 1, the defect vanishes; this is the standard observation that Leopoldt's conjecture holds for real quadratic fields.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me