RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Notation at a prime, and elements of prime-power norm at split primes

Lib.CM.FormalGroup.PrimeNotation.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

For primes p and d ≡ 7 mod 8, the file defines the numbers and sets of exponents attached to p and the imaginary quadratic field K = ℚ(√-d), and computes them when p is split, inert or ramified. For a prime p that splits in K, it then finds an element whose norm is a power of p and whose conjugate is a unit at the p-adic place.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

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); for d ≡ 7 mod 8 it is 1, -1, 0 when p is split, inert, ramified in K.
  • primeNorm d p, also written q_p: p ^ 2 if (p / d) = -1, and p otherwise.
  • ιₚ : ℂ →+* ℂ_[p]: the embedding given by an instance PadicPlace p; the valuation v of ℂ_[p] with v(p) = 1 is expressed by ‖x‖ = p ^ (-v(x)).

Main definitions and results

  • New.piPrime, New.piPrimeValuation: the number π_p, which is √-d for p = d and p otherwise, and its valuation v(π_p), which is 1 / 2 for p = d and 1 otherwise.
  • New.varpiValuation, New.gammaPrime: the numbers ρ_p = v(π_p) / (q_p - 1) and γ_p = 1 / (p - 1) - ρ_p.
  • New.partnerExponents, New.positivePartnerExponents: the sets I_p° and I_p. The set I_p° consists of the odd numbers if p is inert, of all numbers if p = d, and is empty if p splits; I_p consists 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 π_p at a non-split prime, its valuation, and the relation v(π_p) = (q_p - 1) ρ_p.
  • New.exists_mul_conj_eq_pow: for a prime p that splits in K there is an α in the ring of integers with α ᾱ a positive power of p and ᾱ a p-adic unit; the proof takes a generator of a power of the prime of K induced by the p-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.

Pinned source lines

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)

X Reddit Email LinkedIn