RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

The structure of a term

New.Spanning.Unfolding.TermStructure.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

An element γ gives two frames, with the spans A⁺ and γ A⁺, and two isotropic spaces A and γ A with the intersection I_γ. This file describes A⁺_γ = A⁺ + γ A⁺, its radical and its orthogonal complement, which modulo I_γ is isometric to X₀^γ = X₀ ∩ Υ_γ⁻¹ X₀ by the map framePerpToX₀. For an element that agrees and has gr(γ) = 0 it proves that A = A_{≤j} ⊕ I_γ and γ A = γ A_{≤j} ⊕ I_γ for j = n - 1 - rk I_γ, and that j is the cell rank of γ. It also shows that I_{u γ u'} = u I_γ for u, u' in the unipotent group U₀, and that agreement depends only on the double coset U₀ γ 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

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 Υ_γ of X₀ ⊥ E z⁺ with y₀ + λ z⁺ ↦ y₀' + λ' z⁺.
  • termDisc γ is gr(γ) = |δ_n|² - N² |δ_{n-1}|² for the leading minors δ_j of the matrix frameProducts γ of products of the two frames.
  • CharsAgree γ (γ agrees) says that the character unipotentChar takes the same value at rational u, u' in U₀ whenever u γ = γ u'.
  • HasCellRank j γ says that one pair (ζ, 1) with ζ ζ̄ = 1 occurs at all indices a ≥ j (NormOnePairOccursFrom j γ), that δ_j ≠ 0, and that j = n exactly when gr(γ) ≠ 0.

Relation to the literature

See New.Spanning.Unfolding.Climbing for related work.

Pinned source lines

Declarations

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)

X Reddit Email LinkedIn