Pillar 2: Upper Bound and Composite Theta Lifts
GitHub repository Repository GUIDE.md src/New/UpperBound/
How iterated seesaw identities, Frobenius-cycle Hecke divisors, and definite theta kernels build short automorphic forms with large p-adic divisibility.
Across all 54 Lean files in src/New/UpperBound/ of leanprover-community/riemann-hypothesis (commit 83e14ab4, Lean 4.37.0-rc1, only propext, Classical.choice, and Quot.sound), three pillar theorems drive Theorem A in the Hub: seesaw_identity rewrites the m-fold theta lift of a Poincaré series on Y₀ as a definite composite lift from X₀ to Xₘ restricted to Yₘ, exists_colengthDvd_gaugeLe_compositeLift extracts p-adic valuation gain(p) - allowed loss(p) on a small-colength source submodule at every prime p, and weylNormSq_compositeLift_le bounds every Galois conjugate squared norm of the untwisted composite lift by exp(B + main amount - m·rem + 2 ∑ gain_p log p + f a log³ b).
This Pillar 2 walkthrough traces all 54 files of src/New/UpperBound, supplying local p-adic divisibility and archimedean size bounds for Theorem A. Estimating the m-fold theta lift of a Poincaré series directly on the indefinite spaces Y₀ → ... → Yₘ is hard because archimedean integrals and p-adic denominators mix at every step. Pillar 2 bypasses this with an iterated seesaw identity that transfers the lift onto the definite spaces X₀ → ... → Xₘ, where every kernel is a finite class sum of vacuum translates. On the definite side, formal-group divisibility from Pillar 1 combines with scaled Hecke operators and a Frobenius-cycle elementary divisor theorem to capture the full prime-power gains, while jet-norm estimates bound every archimedean conjugate cleanly enough that the gains cancel in Theorem A.
Why exceptional inert primes need full marks and scaled Hecke operators
For a small prime p < x₁ that does not split in K = ℚ(√-d), Pillar 1's theta-derivative divisibility predicts a total p-adic valuation gain g_p across the m lifts of the composite lift. When p is not exceptional, the collision loss between a-places is already small enough to sit inside the base loss budget, so every integral source form attains valuation at least g_p - 2 loss(p).
At an exceptional inert prime p, however, powers of -p modulo q₁ can pair two a-places that induce conjugate primes above p, causing each single lift to leak a collision sum across a-places. To eliminate that leakage, MarkedPrimes selects a full mark Λ containing exactly one prime from every conjugate pair induced by an a-place, forcing the remaining collision sum at Λ to vanish.
Applying the m-th power Y^m of the product of scaled Hecke operators p^(A_l) · T_(l, r) over l ∈ Λ restores valuation g_p - 2 loss(p) on Y^m M + p^(j_p) M (with j_p = ⌈2 m f a / p⌉). To keep the p-adic index bound δ small in Theorem A(b), ElementaryDivisors builds a Frobenius cycle on the a-places inducing l or star l and proves that each scaled Hecke operator is surjective modulo p^(j_p) up to a tiny colength. Multiplying across all m lifts keeps the colength exponent at most allowed loss(p) · dim(SourceForm), and Estimates proves ∑ allowed loss(p) · log p ≤ f a log³ b.
Definite theta kernels, integrality and jet bounds
JetConjugatesAndBounds, ThetaLiftGauge, and DefiniteKernelSize establish the archimedean and p-adic foundations for single theta lifts between standard definite hermitian spaces I_L and I_N. Moving finite adelic points by rational unitary elements acts on the harmonic polynomial Q by two-sided substitution times determinant characters, while a single explicit normalizing kernel scale makes kernels simultaneously p-integral away from q and bounded across all Galois conjugates on polydiscs.
Rational equivariance of definite theta kernels
Translating finite adelic points g, h in modKernelStdSpace by the finite embeddings embFin γ and embFin γ' of rational unitary elements substitutes x_τ ↦ (Φ τ γ'⁻¹)ᵀ x_τ (Φ τ γ)ᵀ in the polynomial Q via twoSidedSubst and multiplies the kernel by ∏ τ, Φ τ (det γ')^(-e τ) · Φ τ (det γ)^(e' τ).
- Normalising scale constant for definite theta kernels
p-adic integrality of normalised definite theta kernels
When q · D.M² ∈ 𝔪.ideal, Ψ is integral away from q, Q is homogeneous of degree d with coefficients in embValRing, p is coprime to q, and g, h are integral above p, the p-adic norm ‖ιₚ(modKernelScale · modKernelStdSpace)‖ is at most 1.
Archimedean conjugate bound for normalised definite theta kernels
For |L|, |N| ≤ D.gap, d ≤ D.M, D.M² ∈ 𝔪.ideal, conjugate bound A on Ψ, and ‖σ(Q z)‖ ≤ B on the polydisc ‖σ(z_i)‖ ≤ D.M⁴, the σ-conjugate of modKernelScale · modKernelStdSpace has norm at most exp(D.x₁) · A · B.
- Predicate for a valid definite theta-kernel normalising scale
Existence of a nonzero normalising scale for definite kernels
Proves there exists a nonzero constant c : ℂ satisfying IsModKernelScale L N D d c, witnessed by modKernelScale L N D d.
theorem New.Rows.exists_ne_zero_isModKernelScale (L : Type) (N : Type) [Fintype L] [DecidableEq L] [Fintype N] [DecidableEq N] {P : Parameters} (D : Data P) (d : ℕ) : ∃ c, c ≠ 0 ∧ IsModKernelScale L N D d cArchimedean Gram-norm bound for Schur jets of vacuum combinations
For any B-bounded vacuum combination f, lift weight κ, positive integer L, and automorphism σ of ℂ, the Schur jet operator multiplies the conjugate Gram norm √(weylNormSq(σ ∘ ξ)) by at most jetSizeBound(s, n, n', B, L, schurGrowthExponent(n, n', κ, L, log(‖σ c‖² / Ω))).
p-adic gauge bound for a single theta lift on standard data
For an integer δ ≠ 0 of K, any standard datum Φ for δ lies in raises 1 1 ((‖ιₚ c‖ / ‖ιₚ(star δ · P.d)‖)^(boxes κ |n'|)), bounding how much the theta kernel can multiply p-adic gauges between definite spaces.
Source forms, Poincaré map and the row chain
The 12 files of New.UpperBound.Objects assemble the spaces, weights, levels, and maps on both sides of the seesaw. LabelsAndIndexTypes builds the good central idempotent e₀ in ℂ[𝖦], PoincareMap defines the Poincaré map 𝒫 representing the Bessel period on Y₀, RowChain constructs the m-fold lower theta-lift chain ι_μ along Y₀ → ... → Yₘ and proves its 𝖦-equivariance, and Columns defines upper-chain data (IsChainDatum) and the definite composite lift on X₀ → ... → Xₘ restricted to Yₘ.
- Bessel period pairing between source forms and forms on Y₀
- Poincaré map 𝒫 from source forms on X₀ to forms on Y₀
Defining Petersson inner-product identity for the Poincaré map
For every source form φ and principal-level form y on Y₀, proves ⟨y, D.poincareAt g t φ⟩ = ∫_[R₀] 𝒲_φ(r) conj(y(r g)) dr.
theorem New.Data.inner_poincareAt {P : Parameters} (D : Data P) (g : GInf D.E (D.signsY 0)) (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (φ : ↥D.SourceForm) (y : ↥(D.principalForms (D.spaceY 0))) : inner ℂ y ((D.poincareAt g t) φ) = ∫ (r : ↥(gradingY 0 ⋯).besselGroup), (gradingY 0 ⋯).sourceFn t (↑φ) r * (starRingEnd ℂ) (↑↑y (↑r * (g, 1))) ∂(gradingY 0 ⋯).besselMeasureUnfolding an integral against the Poincaré map into coset periods
For any form z on Y₀ of conjugate archimedean type and level J, proves [J_M : J ∩ J_M] ∫_[G₀] z · 𝒫 φ equals the sum over representatives q of J_M / (J ∩ J_M) of ∫_[R₀] 𝒲_φ(r) z(r g q.out) dr.
- Single theta lift along the lower chain Yⱼ → Yⱼ₊₁
- Composite m-fold lower theta lift from Y₀ to Yₘ
Action of block upper triangular elements on the lower chain
For k ∈ K₀ on Yₘ whose reductions g at level places are block upper triangular and equal to s ∈ 𝖦 on block 0 at chosen places, proves k · ι_μ(y) = (∏_w ∏ (l < m) ψ_(l,w)(det g_w^(l+1))) · ι_μ(s · y).
Equivariance of the lower chain under the finite level group 𝖦
For every tame character ϑ, translate s in the finite level group 𝖦 (D.chosenGL), and principal-level form y on Y₀, proves the lower chain of s · y equals the right translate of the lower chain of y by firstBlockLift ϑ s (reducing to diag(s, 1) at chosen places and 1 at Q).
- Central idempotent e₀ cutting out the good forms
- Chain datum Ψ for the definite upper lift chain
- Composite definite theta lift X₀ → ... → Xₘ restricted to Yₘ
Iterated unfolding and the seesaw identity
The 15 files of New.UpperBound.Seesaw unfold the pairing of a conjugate form on Yₘ against the m-fold lower lift of 𝒫 φ one lift at a time. Each step transposes the lower lift onto the conjugate form, folds the outer integral into a finite weighted coset sum over cut classes, and evaluates pairs of edges into admissible combinations of glued vacuum translates. At the top space Yₘ, SeesawIdentity matches pairings with every form to prove seesaw_identity with one nonzero unit c independent of both the twist ϑ and the ramified source form φ.
Top-of-chain pairing identifies matrix coefficients with restriction
At the top definite space Yₘ, produces a constant C such that integrating the matrix coefficient t(ψ(diag(k, 1))) against conj(x) over [Gₘ] equals C · ⟨x, restrictToFormY hM ψ⟩ for every form x on Yₘ and ψ on Xₘ.
- Transposed theta lift from Yⱼ₊₁ back to Yⱼ
Adjointness between the lower lift and its transpose
For every tame character ϑ, j < m, conjugate form z on Yⱼ₊₁, and form f on Yⱼ, proves that integrating z against the lower lift of f over [Gⱼ₊₁] equals integrating the transposed lift of z against f over [Gⱼ].
Base unfolding step for the first lift of the Poincaré series
Rewrites the integral of z against the first lower lift of 𝒫 φ over [G₁] as [J° : J_M] times the sum over cut classes c ∈ Ω₀ of the first unfolded period Ξ₁ at outer variable (g, c.out).
Inductive unfolding of all m outer integrals into a finite coset sum
By induction on k ≤ 2ϱ + 1, produces a scalar c independent of ϑ, φ, z, and S such that whenever the unfolded period at step k factors as a(ξ) · S(y), the pairing against the partial lower chain of 𝒫 φ equals c times the weighted coset sum (cutSum) over cut classes.
- Unfolded finite seesaw tensor for the upper chain
- Evaluated double-lift data expand into glued vacuum translates
Unscaled seesaw equality between lower and upper lift chains
Produces a complex scalar c₀ such that for every tame character ϑ and ramified source form φ, the full lower lift of 𝒫 φ equals c₀ times the restriction to Yₘ of the upper tensor chain (chainOfTensor) evaluated at the seesaw tensor.
Admissible vacuum expansion of the seesaw tensor
Produces one constant C such that for every tame character ϑ, the seesaw tensor is an admissible combination of C • D.gluedVacuum x over admissible translations with denominators dividing B^(2m) and conjugate L¹ sum ≤ B^(2ϱ + 2) when ϑ.Q = ∅.
Pillar 2 headline: Iterated seesaw identity
For any linear form t and archimedean point g of U(Y₀), there exists a nonzero unit c : ℂˣ such that every twist ϑ admits a chain datum Ψ (IsChainDatum ϑ Ψ) equating the m-fold lower lift of D.poincareAt g t φ to c • compositeLift ϑ Ψ φ for all ramified source forms φ.
theorem New.Data.seesaw_identity {P : Parameters} {D : Data P} (t : (WeylIndex (D.X 0) D.columnCount → ℂ) →ₗ[ℂ] ℂ) (g : GInf D.E (D.signsY 0)) : ∃ c, ∀ (ϑ : D.Twist), ∃ Ψ, IsChainDatum ϑ Ψ ∧ ∀ (φ : ↥D.ramifiedSourceForms), (lowerChain ϑ.toTameChar) ((D.poincareAt g t) ↑φ) = ↑c • compositeLift ϑ.toTameChar Ψ ↑φ
Frobenius cycles and Hecke elementary divisors
To control p-adic colength at exceptional inert primes, the 9 files of New.UpperBound.ElementaryDivisors develop a standalone local algebraic engine over a local ring W. TwistingData introduces Frobenius cycles, their twisted GLₖ(W) action on multihomogeneous forms, and the depth and defect weights of monomials. Depth bounds deep forms, DefectCount bounds the dimension of defect-constrained subspaces via Pieri cones, and ElementaryDivisorTheorem proves that the edge Hecke operator is surjective modulo p^m up to a tightly bounded colength.
- Frobenius cycle on a local ring W
- Twisted letter matrix representation of GLₖ(W)
- Matrix representation ρ(g) on degree-n multihomogeneous forms
- Depth of a multihomogeneous monomial at threshold r
- Real defect weight along a root (a, a') at letter i
Compatibility of polynomial substitution and the letter representation
For every g ∈ GLₖ(W) and coefficient vector F : Exponents N k n → R, proves polynomial substitution by g matches applying the matrix representation (letterRep n g) to the coefficients F.
- Upper bound 2d on the defect of any degree-≤ d exponent vector
- Dimension sum bound for deep forms over characteristic p
Pieri-cone bound on the dimension of defect-constrained forms
For a' = a + 1, t ≥ 2(k + 1), θ ≤ 1, and 8 N k t P^(2a') ≤ θ n, bounds [GL_k(W) : parahoric] · dim_K(T.defectConditions n a a' ⊥ (3t)) by (1 + θ) · |Monomials (Fin k) n|^N.
Elementary divisor theorem for edge Hecke operators
Over a characteristic-zero valuation domain O where p is a non-unit, if T.IsLargeDegree k n r θ holds and Y intertwines with the edge Hecke operator on L = f.range, then for every m, Y L + p^m L has colength dividing p^l in L for some l ≤ (3 c_div + θ m) |X| |I|.
Marked primes and local p-adic divisibility
The 11 files of New.UpperBound.Divisibility determine the p-adic gauge of the composite definite lift at every prime p. For split, large, or non-exceptional primes away from N, expanding the chain datum into vacuum translates yields the needed valuation directly. For exceptional inert primes p < x₁, MarkedPrimes constructs a full mark Λ eliminating all a-place collisions, MarkOperator and HeckeEdges apply the Frobenius-cycle elementary divisor theorem to each scaled Hecke operator, ValuationAtLevel handles p = N, and LocalDivisibility unifies all cases in exists_colengthDvd_gaugeLe_compositeLift.
- Marked set Λ of primes above an exceptional prime p
- Full mark covering every a-place conjugate pair
Every exceptional prime p < x₁ admits a full mark
For every exceptional prime p < x₁, proves there exists a Finset Λ satisfying D.IsFullMark Λ by choosing the smaller prime from each conjugate pair induced by an a-place.
- Scaled split Hecke operator at a marked prime
A full mark eliminates all remaining a-place collisions
For any full mark Λ, proves the collision sum over places inducing Λ vanishes, because any a-place outside that set induces a conjugate prime whose odd (-p^e)-partner lands inside it.
- Transferring Frobenius-cycle elementary divisors to a scaled Hecke operator
Colength bound for a single marked scaled Hecke operator
For any marked l ∈ Λ and modulus j₀, proves the scaled Hecke operator at l preserves integral source forms and is onto modulo p^(j₀) up to colength dividing p^i with i ≤ (12 A_l / (m p) + j₀ / (m² f)) · dim(SourceForm).
Baseline p-adic valuation of the restricted chain with collision loss
For a weak chain datum Ψ, small non-split prime p < x₁ coprime to ϑ.normQ, and integral source form v, proves the restricted chain at v has gauge at most p^(m · collision sum + loss(p) - gain(p)).
Marked Hecke product restores valuation on the restricted chain
For a marked set Λ with operator product Y and an integral source form v, proves the restricted chain at (Y^m) v has p-adic gauge at most p^(m · collision sum at Λ + 2 loss(p) - gain(p)).
Small colength of the m-fold marked Hecke image mod a prime power
Proves that Y^m (the m-th power of the product of marked scaled Hecke operators over Λ) preserves M = D.integralSourceForms and that Y^m M + p^(j_p) M has colength dividing p^c in M with c ≤ D.loss p · dim(SourceForm).
Full-mark p-adic valuation bound on the marked Hecke image
For a chain datum Ψ, prime p coprime to ϑ.normQ, and full mark Λ, proves every source form φ ∈ Y^m M + p^(j_p) M satisfies GaugeLe 1 (p^(2 loss(p) - gain(p))) (compositeLift ϑ Ψ φ).
- N-adic gauge bound for the composite lift at the level prime N
Pillar 2 headline: Local p-adic divisibility at every prime
For every prime p and PadicPlace p, produces a natural number l ≤ allowed loss(p) · dim(SourceForm) and a submodule S with ColengthDvd D.integralSourceForms S (p^l) such that for every twist ϑ with p coprime to ϑ.normQ, every chain datum Ψ, and every ramified φ ∈ S, compositeLift ϑ Ψ φ has gauge at most p^(allowed loss(p) - gain(p)).
theorem New.Data.exists_colengthDvd_gaugeLe_compositeLift {P : Parameters} {D : Data P} {p : ℕ} [hp : Fact (Nat.Prime p)] [PadicPlace p] : ∃ l S, ↑l ≤ D.allowedLoss p * ↑(finrank ℂ ↥D.SourceForm) ∧ ColengthDvd integralSourceForms S (↑p ^ l) ∧ ∀ (ϑ : D.Twist) (Ψ : Translations →₀ ℂ), IsChainDatum ϑ Ψ → p.Coprime ϑ.normQ → ∀ φ ∈ S, φ ∈ D.ramifiedSourceForms → GaugeLe 1 (↑p ^ (D.allowedLoss p - D.gain p)) (compositeLift ϑ.toTameChar Ψ φ)
Parameter estimates, short forms and archimedean size
The 4 files of New.UpperBound.Size close the archimedean and global error budgets of Theorem A. Estimates groups the prime sum prime by prime, bounds class counts at congruence levels, and proves that the weighted allowed losses sum to at most f a log³ b. ShortColumns spans the ramified source forms by forms bounded by exp(f a log³ b). ArchimedeanSize combines single-kernel jet bounds, level-N restriction savings, and the identity linking gains to prime sums to prove weylNormSq_compositeLift_le and pass bounds through the good projection e₀ s to target forms.
Prime-by-prime decomposition of the von Mangoldt prime sum
For U ≥ ⌈D.x₁⌉ and y ≤ D.a, rewrites D.primeSum y σ as ∑ (p < U prime) 2 · D.localPrimeSum p y σ · log p, grouping all prime powers below x₁ by their underlying prime p.
- Explicit class-number bound exp(x³⁰) for congruence levels
Total weighted allowed p-adic losses fit inside one error unit
For every finite set U of natural numbers, proves ∑ (p ∈ U) allowed loss(p) · log p ≤ f a log³ b, grouping primes p < x₁ by integers c served as N, c, or m c ± 1 and bounding via a harmonic sum.
Short integral forms span the ramified source space
Proves the ramified source form space is spanned over ℂ by forms that are p-adically integral at every prime p, with every Galois conjugate value having squared norm at most exp(f a log³ b).
- Level N compensates the excess jet size of m lifts
Sum of p-adic gains equals the combined prime sums
Proves 2 ∑ (p ∈ D.smallNonsplitPrimes) D.gain p · log p equals m ∑ (τ ∈ Φₐ) D.primeSum a τ + m k ∑_τ D.primeSum (κ(τ)) τ.
Prime-sum cancellation identity for the size exponent
Proves main amount - m · rem + 2 ∑ gain_p log p equals m #Φₐ s_main + m k ∑_τ s_∞(κ(τ)), cancelling all local prime sums s_fin identically.
Single-kernel archimedean norm bound along the upper chain
For every j < m, translation t, points g, g', and automorphism σ of ℂ, the untwisted lift kernel jetMap multiplies √(weylNormSq(σ ∘ ξ)) by at most exp(x^50 + rowSizeSum(j) / 2).
Sum of diagram row sizes across m lifts matches the chain size
Bounds ∑ (j < m) D.rowSizeSum j by the chain archimedean main term plus half an error unit by splitting each Young diagram row into its main length and slack bounded at 25 log b per box.
Pillar 2 headline: Archimedean size of the composite lift
For an untwisted chain datum Ψ, automorphism σ of ℂ, and source form φ whose σ-conjugate values have squared norm at most exp B, proves every value of σ ∘ compositeLift 1 Ψ φ has squared norm at most exp(B + main amount - m · rem + 2 ∑ gain_p log p + f a log³ b).
theorem New.Data.weylNormSq_compositeLift_le {P : Parameters} {D : Data P} {Ψ : Translations →₀ ℂ} (hΨ : IsChainDatum 1 Ψ) {σ : ℂ ≃+* ℂ} {φ : ↥D.SourceForm} {B : ℝ} (hB : ∀ (g : Gf D.E (D.X 0)), weylNormSq (⇑σ ∘ ↑↑φ g) ≤ exp B) (y : Gf D.E (D.Y D.m)) : weylNormSq (⇑σ ∘ ↑(compositeLift TameChar.one Ψ φ) y) ≤ exp (B + (D.mainAmount - ↑D.m * D.totalRemainder + 2 * ∑ p ∈ D.smallNonsplitPrimes, D.gain p * log ↑p + D.errorUnit))Passing conjugate norm bounds through the good projection |𝖦| e₀ s
If every value of σ applied to the untwisted lower chain of z has squared norm at most exp B, then the class-sum normSqAt σ of the good projected translate is at most exp(x^99 + B).