RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Numerical inequalities between the parameters of the data

New.UpperBound.Size.Estimates.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file proves explicit identities and inequalities between the parameters of the data D, which are used to bound heights and indices. It groups the von Mangoldt sum prime by prime, bounds the rows of the diagrams and the size of jets, computes the norm of D.piMBar, bounds the number of classes at levels that contain a principal level, and bounds the sum of the allowed losses. Here s_p(y, σ) is New.Data.localPrimeSum p y σ, and κ(τ) is the weight D.weight τ of an infinite place τ (not the column count D.columnCount τ h).

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

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Data.localPrimeSum_eq_tsum, New.Data.primeSum_eq_sum_localPrimeSum: the local sum at p as a sum over the powers of p, and the von Mangoldt sum New.Data.primeSum grouped prime by prime.
  • New.Data.card_stdClasses_le_exp_mul_log, New.Data.card_stdClasses_le_exp: bounds for the number of classes of the definite unitary group at a level K that contains a given principal level.
  • New.Data.sum_allowedLoss_mul_log_le: the losses New.Data.allowedLoss p, weighted by log p, add up to at most New.Data.errorUnit.

Notions from other files:

  • New.StdClasses K: the double cosets Γ \ G_f / K of the finite adelic unitary group G_f of the form ∑ x_i \bar x_i by its rational points Γ and a subgroup K.
  • New.Data: the parameters x, x₁, a, b, m, N, … of the construction; D.E is its CM field, which contains P.K = ℚ(√-d) and has D.f infinite places.
  • New.Data.loss: f a (log b)² / p, times m if p ≡ ±1 mod m.

Relation to the literature

See Lib.Adelic.Reduction.FiniteVolume for sources. See New.UpperBound.Divisibility.LocalDivisibility for related work.

Pinned source lines

Declarations

Import route to Main

New.UpperBound.Size.Estimates → New.UpperBound.Size.ArchimedeanSize (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