RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Logarithmic bounds for the sizes of the data

New.Reduction.Data.Magnitudes.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The class New.Data.HasLogBound D u F l says |F| ≤ exp l for u = true (New.Data.HasLogUpper) and exp l ≤ F for u = false (New.Data.HasLogLower). Instance search computes the exponent l from the shape of F, and comparing exponents then proves inequalities between the numbers attached to the data D. A table of the sizes is in New.Reduction.Data.Sizes.

Main definitions and results

  • New.Data.HasLogBound.of_mem_Icc: a quantity between two others inherits their exponents, weakened to a given one. New.Data.HasLogBound.of_lower_of_upper weakens the exponents of one quantity.

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

Rest of upstream introduction

Rest of upstream introduction
  • New.Data.lt_of_hasLogBound, New.Data.le_of_hasLogBound, New.Data.nat_lt_of_hasLogBound, New.Data.nat_le_of_hasLogBound: an upper exponent of F below a lower exponent of G gives F < G, and so also F ≤ G. The comparison of exponents is a default argument, a linear problem in log x, log x₁, log b, log log b, log log x₁ and New.Parameters.constantBound that grind decides from New.Data.scale_inequalities. So D.le_of_hasLogBound or D.nat_le_of_hasLogBound alone proves such an inequality.
  • New.Data.k_add_t_add_one_le_halfGap: at the end, inequalities and parities of the ranks m, k, r, t, n j and of halfGap.

Notions from other files:

  • New.Data P: the data for the parameters P = (q₀, d), with q₀ a modulus and d a prime, among them the scales x, x₁, b (D.natX, D.natX₁, D.natB as natural numbers) with their logarithms logX, logX₁, logB, the ranks m, r, the exponent s = D.towerExp with 2 ^ s = m ^ 22 and the primes p₀, p₁ (D.levelPrime).
  • D.q₁ = q₀ * towerDeg s: the order of the root of unity that generates the number field E = P.E s over K = ℚ(√-d); P.q₂ s = (q₀ d) ^ (s + 6) is a multiple of q₁ d.
  • D.weight: the weight at the places D.Φ; it is b on the set D.bPlaces of b-places and offWeight = a / x₁ elsewhere, where a = x b.

Pinned source lines

Declarations

Import route to Main

New.Reduction.Data.Magnitudes → New.Congruences.LocalLoss.CrystallineDefect (pinned import) → New.Congruences.FirstOrder.TraceRelations (pinned import) → New.Congruences.FirstOrder.RibetElement (pinned import) → New.Congruences.FirstOrder.DenominatorBound (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