Notation at a prime, and elements of prime-power norm at split primes
Lib.CM.FormalGroup.PrimeNotation.lean
Reading
Upstream documentation written by Claude
For primes
pandd ≡ 7 mod 8, the file defines the numbers and sets of exponents attached topand the imaginary quadratic fieldK = ℚ(√-d), and computes them whenpis split, inert or ramified. For a primepthat splits inK, it then finds an element whose norm is a power ofpand whose conjugate is a unit at thep-adic place.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
The statements use the following notions, for primes p and d; from piPrime_mem_quadInt on,
d ≡ 7 mod 8 is assumed, and quadInt d is the ring of integers of K inside ℂ.
chiK d p: the Legendre symbol(p / d); ford ≡ 7 mod 8it is1,-1,0whenpis split, inert, ramified inK.primeNorm d p, also writtenq_p:p ^ 2if(p / d) = -1, andpotherwise.ιₚ : ℂ →+* ℂ_[p]: the embedding given by an instancePadicPlace p; the valuationvofℂ_[p]withv(p) = 1is expressed by‖x‖ = p ^ (-v(x)).
Main definitions and results
New.piPrime,New.piPrimeValuation: the numberπ_p, which is√-dforp = dandpotherwise, and its valuationv(π_p), which is1 / 2forp = dand1otherwise.New.varpiValuation,New.gammaPrime: the numbersρ_p = v(π_p) / (q_p - 1)andγ_p = 1 / (p - 1) - ρ_p.New.partnerExponents,New.positivePartnerExponents: the setsI_p°andI_p. The setI_p°consists of the odd numbers ifpis inert, of all numbers ifp = d, and is empty ifpsplits;I_pconsists of its positive elements.New.hasSum_gammaPrime:γ_p = v(π_p) ∑_{e ∈ I_p} p⁻ᵉ.New.piPrime_mul_conj,New.norm_piPrime,New.norm_piPrime_eq_rpow_pow: the norm ofπ_pat a non-split prime, its valuation, and the relationv(π_p) = (q_p - 1) ρ_p.New.exists_mul_conj_eq_pow: for a primepthat splits inKthere is anαin the ring of integers withα ᾱa positive power ofpandᾱap-adic unit; the proof takes a generator of a power of the prime ofKinduced by thep-adic place.
Relation to the literature
Known result: decomposition of primes in ℚ(√-d) and elements of prime-power norm at split primes.
The existence of α follows from the finiteness of the class group. The numbers ρ_p, γ_p and
the sets of exponents are notation, and the sum for γ_p is a geometric series.
Declarations
lemma exists_mul_conj_eq_pow {d p : ℕ} [PrimeSevenModEight d] [Fact p.Prime] [PadicPlace p] (hp : chiK d p = 1) : ∃ (h : ℕ) (α : ℂ), h ≠ 0 ∧ α ∈ quadInt d ∧ α * conj α = p ^ h ∧ ‖ιₚ (conj α)‖ = 1
Import route to Main
Lib.CM.FormalGroup.PrimeNotation → New.UpperBound.Size.ShortColumns (pinned import) → New.OneLift.HeckeValues.CentralAction (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)