Pillar 3: Spanning via Second Moments and Unfolding
GitHub repository Repository GUIDE.md src/New/Spanning/
Why a few translates of the Poincaré series span almost all target forms via second moments, Poisson sieving, and trace comparison.
Across all 89 Lean files in src/New/Spanning/ of leanprover-community/riemann-hypothesis (commit 83e14ab4, Lean 4.37.0-rc1, only propext, Classical.choice, and Quot.sound), two main pillar theorems power Theorem B in the Hub: finrank_targetForms_ne_zero proves the space of good target forms on Y₀ has positive dimension, and isSpread_goodPoincare proves that for every subspace F of target forms with dimension share α, some translate s in the finite level group Ḡ of the good Poincaré map has preimage of F of dimension at most (1 + α + 3/(8 b²)) / 2 times the source dimension.
This Pillar 3 walkthrough traces all 89 files of src/New/Spanning, from two-frame geometry and Bessel Schur bounds to Siegel-lemma tails and spreading for Theorem B. A family of short automorphic forms is useless in star_inequality unless it nearly fills the entire target form space. Pillar 3 proves that translates of the Poincaré map P under the finite level group Ḡ spread nearly evenly across target forms by computing a Petersson-type second moment ∑ (s ∈ Ḡ) ‖P* s P‖² in Hilbert-Schmidt norm. Unfolding turns each block into a sum of Bessel amplitudes over rational points γ: degenerate and off-link terms are crushed by Siegel's lemma, discriminant gains, and a weighted Schur test, while the surviving open-cell main term is bounded via an abstract Poisson-summation sieve. Multiplying by a Jacquet-Langlands-type dimension count on the definite space Wₘ cancels the formal degree and genus mass identically.
How the second moment turns one good translate into Theorem B
Think of the translates s · e₀ P (as s runs over the finite level group Ḡ) as linear maps embedding a source space of dimension D_X into the target space of dimension D_Y. Two analytic inputs control how well they spread: first, e₀ P is almost an isometry from below (‖e₀ P pr_U‖² ≥ dim U - 5 b⁻⁴ D_X for every source subspace U), because the diagonal term of P* P is nearly the identity and bad local polynomial types above p₀ and p₁ carry weight at most b⁻⁸ / 2.
Second, unfolding the Petersson inner products ⟨s P e_(c', j), P e_(c, i)⟩ and separating the rational sum into non-open reductions, degenerate terms, and the open-cell main term bounds the total second moment ∑ (s ∈ Ḡ) ‖P* s P‖² by (1 + 9 b⁻⁴) D_X² / (deg · mass_r). On the target side, EqualMultiplicities compares cuspidal traces of spherical Hecke operators between the indefinite space Y₀ and the definite space Wₘ, showing D_Y ≤ #Ḡ · deg · mass_r.
Multiplying the two bounds cancels deg · mass_r completely, leaving D_Y · ∑ ‖P* s P‖² ≤ #Ḡ (1 + 9 b⁻⁴) D_X². Relaxing both error terms to ε₀ = (8 b²)⁻¹, isSpread_of_second_moment shows that for any proper subspace F of target forms of relative dimension α, at least one translate s ∈ Ḡ has preimage dimension at most (1 + α + 3 ε₀) / 2 · D_X, adding at least nearly (1 - α) / 2 · D_X new dimensions. Iterating this in New.Reduction.ShortAndEnough yields Theorem B: at most 5 D_Y log(1 + 2 b²) / D_X translates span at least (1 - 4/b²) D_Y dimensions.
Two frames at one place, gauges and shell integrals
The 22 files of New.Spanning.Frames analyze pairs of isotropic frames at a single real or finite place. TwoGauges compares gauges across quotient floors Y^(l) using short duals obtained by Cramer's rule over a head, bounding matrix sizes of g and w_p⁻¹ g. RealBandLimits packages cut Bessel floor forms into local sieve axioms at complex places, while FiniteShells and FixedLines bound finite-place mass integrals and show that fixing frame vectors at chosen places shrinks mass exponentially in b^(6 k).
Size bound on leading minors of the frame Gram matrix
If ξ, ξ' ∈ partialUnitriangularGroup l and the entries of ξ g and ξ' γ⁻¹ g have size 1, then every leading minor of order j ≤ l of T.frameGram γ lies in S.ofSize (9 · 𝔰.n).
- One-floor descent step for comparing two gauges modulo r
Full descent of gauge comparison to the whole space (floor 0)
Inducting of_succ from j ≤ ϱ down to 0, if every floor a < j admits size-c lifts of e_a and a size-c short dual, and gauges differ by L^t modulo r on Y^(j), then they differ by L^(t + (4 c + 12) j) modulo r on Y^(0).
- Whole-space gauge agreement bounds the matrix (x - 1) / r
Short dual column bound via Cramer's rule over a head
For a size-1 set K of isometries, a < min j ϱ, s, η ∈ R^(j) with s g ∈ K and η wₚ⁻¹ g ∈ K, and a head p (S.IsHead j p), Cramer's rule bounds every entry of the dual column s e*_a in S.vecsOfSize (8 ϱ + 1).
Matrix size bounds on g and wₚ⁻¹ g over a head
Under the head hypotheses with j ≤ ϱ and s ∈ unipotentBelow j, proves g has matrix size 60 n² and wₚ⁻¹ g has matrix size 99 n² (where n = ϱ + 1).
Local archimedean sieve forms from a cut Bessel function
For a cut Bessel function F of degree f ≥ 4000 n whose formal degree deg > 0 satisfies the L² matrix-coefficient, scaledVolumeRatio, and ball volume bounds, constructs sieve forms J i satisfying HasLocalBounds with bottom modulus at most (1 + b⁻¹⁰) / deg.
Finite-place mass integral separates congruence main term and shell tail
For a large lattice datum F, intermediate group K(g) ≤ Z ≤ K, unit modulus bound Q⁻¹ (Q ≥ 2), and t + 2 · 10⁹ n⁴ ≤ k, bounds F.massIntegral Z by vol(Z) vol(K(g)) (vol(Z) + Q⁻¹ ^ t).
Discrete-series Bessel functions and Schur bounds
The 12 files of New.Spanning.Bessel construct the archimedean Bessel functions attached to large-gap discrete series on G₁ and establish their L² and truncation estimates. SchurBound builds integrable derivative kernels X w from the discrete-series idempotent deg · c_λ, evaluates the L² norm of matrix coefficients via Schur orthogonality, and proves hasSchurBound_of_convolve_eq for all derivatives up to order 2 n². CutTailBound builds truncated cut pairs, while OpenCellBound bounds mean squared pairings over the open cell.
- Norm bound for iterated matrix-unit derivatives in U(𝔤)
Integrable derivative kernels X w reproducing right derivatives
Constructs integrable kernels X w on G₁ with X [] = deg · c_λ, X [] * X w = X w, and ‖X w‖₂² / deg ≤ ((r + 1)⁴ (L + r + 1 + |w|))^(2 |w|), such that F * X w differentiates along curves γ' = γ Z to ∑ Z a b • (F * X ((a, b) :: w)).
Schur orthogonality for matrix coefficients of a Bessel function
For a Bessel function F integrable over 𝖴 \ G₁ and fixed by convolution with deg · c_λ, proves the squared L²(G₁) norm of g ↦ ∫_(𝖴 \ G₁) ⟪F y, F (y g)⟫ equals deg⁻¹ · ‖F‖₂⁴.
Schur's L² bound for a Bessel function and its derivatives
For B ≥ (r + 1)⁴ (L + r + 1 + 2 n²) and Bessel function F reproduced by deg · c_λ, proves RealPlace.HasSchurBound F rep B (deg⁻¹ · ‖F‖₂²): every right derivative V w of order s ≤ 2 n² is a Bessel function with ‖∫ φ y • V w (g y)‖₂² ≤ B^(2 s) ‖F‖₂² ‖φ‖₂² / deg.
Single-place open-cell pairing bound for a Bessel system
When 0 < gramDiscReal (realFrameGram γ) and y, γ⁻¹ y lie in frameBox ρ (B ≤ ρ), establishes IsOpenCellBound bounding mean squared Hilbert-Schmidt integrals of φ z • W (γ t z) ⊗ conj(W (t z)) by a measure of total mass at most pairingBoundSq.
Unfolding, term geometry and second-moment assembly
The 19 files of New.Spanning.Unfolding classify rational elements γ in the unfolded Poincaré series and assemble the global second moment. TermStructure analyzes A⁺ + γ A⁺, its orthogonal complement, the link isometry Υ_γ, the link-invariant subspace of X₀, the cell-rank identity j + rk(I_γ) = ϱ when the term discriminant vanishes, and the set Γ* of remaining rational terms. Climbing supplies cell ranks, SeriesPeriod identifies the Poincaré map with the unfolded series, and MomentBounds and Moments assemble the total Hilbert-Schmidt second moment.
- Invariant definite subspace of X₀ for γ
- Orthogonal complement of both frames maps onto the link-invariant subspace
Characterization of the common link subspace of two terms
Proves a vector v ∈ X₀ lies in commonLink γ γ' if and only if v lies in the link-invariant subspace for γ and the link isometries for γ and γ' agree on v ⊕ᵥ 0.
Nonzero term discriminant forces the link-invariant subspace to be a hyperplane
When the term discriminant of γ is nonzero (S.termDisc γ ≠ 0), A⁺ and γ A⁺ are disjoint, so A⁺ + γ A⁺ has rank 2 n and the link-invariant subspace has dimension k - 1 inside X₀.
Cell rank plus common isotropic rank equals ϱ at vanishing discriminant
When E contains a primitive 5040-th root of unity, characters agree at γ, the term discriminant vanishes, and γ has cell rank j, proves j + finrank E (commonIsotropic γ) = ϱ.
- Set Γ* of remaining rational terms in the unfolded expansion
Agreeing degenerate terms always possess a cell rank j ≤ ϱ
Whenever characters agree at γ and the term discriminant vanishes, constructs a cell rank j ≤ ϱ such that NormOnePairOccursFrom j γ holds and the leading j × j minor of frameProducts γ is nonzero.
- Identifying the Bessel-period Poincaré map with the Poincaré series
Global second-moment bound over the entire group Ḡ
For admissible filling S, if s ↦ ‖P_s‖² has positive type and ‖P₁‖² ≤ 2 D_X, proves ∑ (s ∈ Ḡ) secondMoment {s} ≤ (1 + 9 / b⁴) 𝒟_main by maximizing over fixer subgroups and bounding non-open terms via PositiveType.
Hilbert-Schmidt second moment for operators with amplitude blocks
For any unitary representation ρ of Ḡ and linear map P satisfying HasAmplitudeBlocks ρ P, proves ∑ (s ∈ Ḡ) ‖P* ρ(s) P‖² ≤ (1 + 9 / b⁴) 𝒟_main in Hilbert-Schmidt norm.
Siegel's lemma, discriminant gains and remaining terms
The 22 files of New.Spanning.RemainingTerms crush degenerate terms, off-link pairs, and reductions where frames meet modulo M. SiegelLemma establishes the height zeta bound over subspaces, LatticesOfCorank counts rank-r lattices of bounded discriminant, Gain extracts powers of 2/M and the meeting norm z from the common lattice of a near pair, and Size bounds each block by its term size via a weighted Schur test. Sum combines all three inputs to prove secondMoment_remainingTerms_le and linkSecondMoment_le_of_le_meetNorm.
Height zeta convergence bound via Bombieri-Vaaler Siegel lemma
Sums (sublatticeDiscriminant T)^(-(k + 1)) over all codimension-s subspaces T of E^κ, bounding the series by (200 f k rd(E))^(f (k + 1) s).
Discriminant sum bound for lattices of given corank l
For r + l = k, sums (disc L)^(-k) over all classes c and rank-r sublattices L of classLatticeX₀ c with disc L ≤ b^((ϱ+1)³ f), bounding by (#Classes / N^(k f)) · τ^(l + 1).
Discriminant gain for a pair of terms over an agreeing block
For terms γ, γ' over an agreeing block (c, s, c') with x ≤ S.meetNorm s, bounds (pairDiscriminant · (if ϱ < j ∧ c⁺ = 0 then x else 1))² by (2 / M)^(2 c⁺ f) · levelGauge(γ) · levelGauge(γ'), where c⁺ is the link corank.
Weighted Schur-test bound on one cut amplitude block
For any stable subset T ⊆ Γ* and block (c, s, c'), bounds ‖S.amplitudeSum .cut T c s c'‖ by S.unipotentCovolume times the sum of S.termSize c c' γ over near representatives γ of T over (c, s, c').
- Near pairs have bounded common-lattice corank and discriminant
Master corank-stratified bound on sums of near-pair term sizes
For any family P c c' of near pairs where every pair admits η > 0 and D with (d η)² ≤ G G', both cell-rank moments ≤ D, and τ^(l + 6) D η^(-k) ≤ B, proves ∑ termSize(γ) termSize(γ') ≤ τ B.
Off-link and degenerate near pairs decay exponentially in k·f
Applies sum_termSize_mul_le with B = τ⁻¹⁰ 𝒟_id to prove that all near pairs with differing links or vanishing term discriminant contribute at most b^(-k f) 𝒟_id in total.
Same-link pairs decay rapidly when frames meet at large norm z
For z ≠ 0, proves that all near pairs in the same link class with nonzero term discriminant over blocks where z ≤ S.meetNorm s contribute at most (b^(2 f) / z)^k 𝒟_main.
Reduction of remaining-terms second moment to link-by-link blocks
If linkSecondMoment over nonzero-discriminant terms on Ω is at most w ν², proves secondMoment (S.amplitudeSum .cut S.remainingTerms) Ω ≤ w + b^(-k f) 𝒟_id.
Link-by-link second moment bound over non-open reductions
Whenever z ≠ 0 and z ≤ S.meetNorm s for every s ∈ Ω, proves linkSecondMoment over nonzero-discriminant terms on Ω is at most (b^(2 f) / z)^k 𝒟_main ν².
Sieve systems, main-term energy and bad polynomial types
The 9 files of New.Spanning.MainTerm bound the dominant open-cell contribution and verify that projecting to good forms discards almost nothing. SieveSystem builds an abstract product-closed sieve framework with positive-semidefinite top kernels and frequency-decay bounds; KloostermanSum identifies finite orbital integrals with Kloosterman sums; GlobalSieve runs one-sided Poisson summation across all places; and EnergyEstimate proves linkSecondMoment_isOpenElement_le. Independently, BadTypes counts allowed and primitive polynomials over 𝔽q to bound the share of bad types in ℂ[Ḡ].
- Abstract sieve system over a place or product of places
Product closure of sieve systems across places
Combines complex-place sieve systems (one per infinite place v ∈ τ) with a finite-place sieve system into a global product SieveSystem via Fubini and Schur's product theorem for positive-semidefinite kernels.
- Twisted integral decay for sums of sieve forms over finite head families
Nonnegativity of paired sums in any sieve system
By downward induction from the positive-semidefinite top kernel J (n + 1), proves 0 ≤ ∑_(p, q) J (i + 1) (a p) (a q) whenever all heads share entry i.
Global one-sided Poisson-summation sieve over all places
Pairs the real-place bandLimit sieve systems with a finite-place SieveSystem J_T and bounds the real part of the top diagonal sum over heads in A with common last entry in U by the Poisson constants times (product of masses + b^(2403 n⁹ f) decayConst).
Main-term energy bound over open reductions fixing given vectors
For a set Sg of chosen places above p₀ and prescribed frame vectors D w, proves linkSecondMoment over open reductions in S.fixer Sg D is at most (1 + b⁻⁴) b^(-6 k |Sg|) 𝒟_main ν².
- Lower bound 1 - ε on the weighted share of allowed polynomials
Exponentially small bound on non-primitive polynomials over 𝔽q
For 1 < r < q, proves the non-primitive monic polynomials of degree r over 𝔽q weighted by (1 - r / q) / q^r total at most exp(-1 / (2 r (2 r log q + 1))).
Upper bound on the bad-type identity coefficient over finite-field GL blocks
Across f fields of size q with 1 < r < q, (1 + M + 2 r) / q ≤ ε ≤ 1, and 2 r (2 r log q + 1) L ≤ f, proves the real part of the coefficient at 1 of 1 - ∑_(c ∈ goodTuples) tupleIdem n c in ℂ[∏ GL_r(𝔽q)] is at most f ε + exp(-L).
Trace comparison and equality of multiplicities
HeckeEigensystems and EqualMultiplicities compare automorphic forms on unitary groups that share the same finite adelic group, principal level, and large-gap weight parameter but differ in archimedean signatures (such as Y₀ and the definite space Wₘ). Because every good family of labels contains a primitive polynomial at a chosen place, its test function is cuspidal there, so the simple trace formula gives equal Hecke traces, Rallis-operator determinants, eigensystem multiplicities, and target dimension across all signatures.
- Action of spherical Hecke operators on good forms
- Off-level translates act as spherical Hecke operators in inner products
Equal traces for each good label family via cuspidal trace comparison
For any spherical Hecke operator T and good label family c, proves tr(T e_c) agrees on principalForms V and principalForms V' whenever D.paramW has gap D.gap on both spaces, using cuspidality at a primitive place of c.
Equal traces of all spherical Hecke operators on good forms
Sums trace_mul_tupleIdem_eq over all good label families to prove trace(D.heckeOnGood V T) = trace(D.heckeOnGood V' T) for any two signature spaces V, V' with gap D.gap.
Equal determinants of the Rallis operator across signatures
Shows the Rallis inner-product series operator D.rallisOperator ϑ j agrees with a spherical Hecke operator on both V and V', preserves good forms, and has the same determinant on goodForms V and goodForms V'.
Equality of Hecke eigensystem multiplicities across signatures
For every spherical Hecke eigensystem q, proves dim(D.goodForms V ∩ D.eigenPart V q) = dim(D.goodForms V' ∩ D.eigenPart V' q) by applying trace_heckeOnGood_eq to a Hecke projector onto eigenPart q.
Target dimension equals dimension of good forms on definite space Wⱼ
Applying trace_heckeOnGood_eq to the identity operator T = 1 proves the target dimension equals dim(D.goodForms (D.spaceW j)) for every 1 ≤ j ≤ m.
Target dimension, near-isometry and the spreading theorem
PositiveType, FewTranslates, and SpanningTheorem assemble every pillar estimate into the inputs of Theorem B. PositiveType bounds the singular minor mass of positive-type functions on finite groups (used in MomentBounds), while SpanningTheorem counts the target dimension on the definite space Wₘ, combines bad_types_rare with unfolded amplitude blocks to get the near-isometry e₀ P and second-moment bound, cancels deg · mass_r, and proves finrank_targetForms_ne_zero and isSpread_goodPoincare.
Singular minor mass bound for functions of positive type
For a positive-type function Θ ≥ 0 on a finite group G, representation π : G →* GL_n(k) over |k| = q, and n × m matrices A₀, A₁ whose stabilizer sums of Θ are at most Y, proves q · Θ{s | det(A₁ᵀ π(s) A₀) = 0} ≤ 2 Θ(G) + q^(|m| + |n|/2) Y.
Abstract spreading theorem from near-isometry and second moment
If a finite group Γ acts unitarily on T commuting with orthogonal projection pr₀ onto T₀, pr₀ B is an ε-near-isometry, and dim(T₀) ∑ ‖B* ρ(s) B‖² ≤ |Γ| (1 + ε) (dim S)², then the maps pr₀ s B satisfy TauCeti.IsSpread with slack 3 ε / 2.
Upper bound on target dimension via the definite space Wₘ
Using targetDim_eq_finrank_goodForms_spaceW and counting algebraic forms of free principal level on the definite space D.spaceW D.m, proves the target dimension is at most #Ḡ · D.filling.besselDegree · mass D.E D.r.
Unfolded amplitude-block structure of the scaled Poincaré map
Proves the scaled Poincaré map (D.scaledPoincare) satisfies D.filling.HasAmplitudeBlocks for D.levelRepresentation, identifying every Petersson block of P* s P with the rational amplitude sum ν⁻¹ ∑_γ A_γ.
Bad local types above p₀ and p₁ carry weight at most b⁻⁸ / 2
Factors D.e₀ as the tensor product of central idempotents D.goodIdempotentAbove 0 and 1 and applies BadTypes to bound ((1 - D.goodIdempotentAbove i).coeff 1).re ≤ b⁻⁸ / 2.
Projected scaled Poincaré map e₀ P is a (5 b⁻⁴)-near-isometry
Combines hasAmplitudeBlocks_scaledPoincare with bad_types_rare to prove ‖e₀ P pr_U‖² ≥ dim U - 5 b⁻⁴ D_X in Hilbert-Schmidt norm for every subspace U of the source.
Total Hilbert-Schmidt second moment of the scaled Poincaré map over Ḡ
Proves ∑ (s ∈ Ḡ) ‖P* s P‖² ≤ (1 + 9 / b⁴) 𝒟_main, where 𝒟_main = D_X² / (deg · mass_r).
Target dimension times second moment cancels formal degree and genus mass
Multiplies the target-dimension bound with the second-moment bound to cancel deg · mass_r, yielding D_Y · ∑ (s ∈ Ḡ) ‖P* s P‖² ≤ #Ḡ (1 + 9 / b⁴) D_X².
Pillar 3 headline: Target space of good forms is nonzero
Proves Module.finrank ℂ D.targetForms ≠ 0 from the positive-dimension range of the near-isometry e₀ ∘ P.
Pillar 3 headline: Good Poincaré translates spread across the target
Proves TauCeti.IsSpread D.goodPoincare (3 / 2 * (8 D.b²)⁻¹): for every subspace F of target forms of relative dimension α, some translate s ∈ Ḡ satisfies dim(preimage of F under s-translate) ≤ (1 + α + 3/(8 b²)) / 2 · dim(SourceForm).