RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Near terms in the filling theorem: frames, cell ranks, nearness and integrality

New.Spanning.Unfolding.Terms.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The terms γ of the count in the filling theorem are rational elements of the unitary group. The data are S : New.Filling E 𝔰 for a shape 𝔰, with the size hypotheses New.Filling.IsAdmissible, which compare all constants with powers of the large parameter b. For the frame (e₁, …, e_ϱ, z), New.frameImage γ is the matrix of its image under γ, and S.frameProducts γ is the Gram matrix of the frame against its image, with leading minors New.leadingMinor. This file describes how the flags of the frame and of its image under γ meet, defines the cell rank and nearness of γ, proves a norm identity for S.termDisc γ, bounds the Gram entries of near terms by powers of S.b, and shows that the Gram entries of terms are algebraic integers.

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

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Filling.CharsAgree, New.PairOccursAt, New.Filling.HasCellRank: the terms that respect the unipotent character, the vectors common to the two flags of a term, and its cell rank.
  • New.Filling.IsNear: γ is near if some boxed point y (New.Filling.boxedPoints) has γ⁻¹ y boxed.
  • New.Filling.norm_sq_middle_part_eq, New.Filling.map_termDisc_eq_norm: a norm identity, which makes S.termDisc γ real and nonnegative at every infinite place. So S.termDisc γ is totally positive or zero (New.Filling.termDisc_pos_or_eq_zero).
  • New.Filling.IsNear.norm_frameProducts_le, New.Filling.IsNear.norm_map_leadingMinor_sq_le: for a near term, the Gram entries and the leading minors are bounded by powers of the size parameter S.b.

Notions from other files:

  • New.Filling.G: for a commutative ring R with involution, the unitary group over R of ϱ hyperbolic pairs and the middle Gram matrix diag(1, …, 1, −N) on X₀ ⊕ Ez, in the basis e₁, …, e_ϱ; x_i (i in κ), z; e₁, …, e_ϱ.
  • New.Filling.termDisc: 𝗀(γ) = |D_{ϱ+1}|² − N²|D_ϱ|², with D_l the leading minors of New.Filling.frameProducts γ.
  • New.Shape.Form.besselU, New.Shape.Form.besselU0: the Bessel unipotent group 𝖴 of isometries that are block upper unitriangular and trivial on the middle block, and its elements that fix each vector of the frame.
  • New.Filling.mainSecondMoment, New.Filling.identitySecondMoment: the numbers sourceDim² / (besselDegree · mass), with the mass of the genus of the standard lattice, and sourceDim times the order of the reduced image of the Bessel subgroup besselS.

Pinned source lines

Declarations

Import route to Main

New.Spanning.Unfolding.Terms → New.Spanning.Unfolding.Link (pinned import) → New.Spanning.Bessel.OpenCellBound (pinned import) → New.Spanning.Bessel.OpenCellPairing (pinned import) → 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