The structure of a term
New.Spanning.Unfolding.TermStructure.lean
Reading
Upstream documentation written by Claude
An element
γgives two frames, with the spansA⁺andγ A⁺, and two isotropic spacesAandγ Awith the intersectionI_γ. This file describesA⁺_γ = A⁺ + γ A⁺, its radical and its orthogonal complement, which moduloI_γis isometric toX₀^γ = X₀ ∩ Υ_γ⁻¹ X₀by the mapframePerpToX₀. For an element that agrees and hasgr(γ) = 0it proves thatA = A_{≤j} ⊕ I_γandγ A = γ A_{≤j} ⊕ I_γforj = n - 1 - rk I_γ, and thatjis the cell rank ofγ. It also shows thatI_{u γ u'} = u I_γforu,u'in the unipotent groupU₀, and that agreement depends only on the double cosetU₀ γ U₀. Finally it defines the setΓ*(remainingTerms) of the terms that are left for the estimate of the second moment.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Here n = ϱ + 1, the frame is e_1, …, e_{n-1}, z_N (indexed from 0 in the code), A is spanned
by e_1, …, e_{n-1}, A⁺ = A + E z_N, and A_{≤j} is spanned by the first j vectors of the
frame. The space has rank r and A^⊥ / A = X₀ ⊥ E z_N with X₀ of rank k. For y orthogonal
to A and γ A the classes of y and γ⁻¹ y are y₀ + λ' z_N and y₀' + λ z_N. A pair
(μ, μ') occurs at an index a if the two frames share a vector with coefficients μ, μ' at a
and 0 above a. In names, _one and _coe after a word for a span, as in isotropicSpan_one
and flagSpan_coe, refer to the frames e_• and γ e_•. The hypothesis HasPrimitiveRoot5040 E
says that E contains a primitive root of unity of order 5040.
Notions from other files:
linkIsometry γis the link isometryΥ_γofX₀ ⊥ E z⁺withy₀ + λ z⁺ ↦ y₀' + λ' z⁺.termDisc γisgr(γ) = |δ_n|² - N² |δ_{n-1}|²for the leading minorsδ_jof the matrixframeProducts γof products of the two frames.CharsAgree γ(γagrees) says that the characterunipotentChartakes the same value at rationalu,u'inU₀wheneveru γ = γ u'.HasCellRank j γsays that one pair(ζ, 1)withζ ζ̄ = 1occurs at all indicesa ≥ j(NormOnePairOccursFrom j γ), thatδ_j ≠ 0, and thatj = nexactly whengr(γ) ≠ 0.
Relation to the literature
See New.Spanning.Unfolding.Climbing for related work.
Declarations
def remainingTerms : Set (S.G E)
Import route to Main
New.Spanning.Unfolding.TermStructure → New.Spanning.RemainingTerms.Size (pinned import) → New.Spanning.MainTerm.BadTypes (pinned import) → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)