RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Frames of near terms: short shared vectors and moves between frames

New.Spanning.RemainingTerms.FrameCount.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file proves lemmas for counting the frames γ f of the remaining terms p = (c', γ) modulo moves. Here f = (e₁, …, e_ϱ, z) is the standard frame, New.frameImage γ is the frame γ f, and Z = S.frameProducts γ is the matrix of products of f with γ f. At boxed points the frames are uniformly independent, so the vectors shared by the two frames of a near term are short.

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

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Filling.IsNearTermAt.eq_of_frameImage_eq: near terms moved by elements of New.Filling.classUnipotent₀ are determined by their frames.
  • New.Filling.HasCellRank.mulVec_eStar_eq_zero_and_sum_indexX₀_le, New.Filling.col_eq_zero_of_norm_lt_one: certain vectors have a short X₀-part, and a short vector of the lattice of c in X₀ is zero.
  • New.Filling.exists_mem_classUnipotent₀_frameImage_mul_eq: take two terms with the same integral S.frameProducts, with nonzero leading minor of order j, and the same shared vectors, whose frames agree outside the first block of rows and differ in that block by S.frameModulus times an integral matrix. Then an element of S.classUnipotent₀ c carries one frame to the other.

Notions from other files:

  • New.Filling.paddedLeading: the first j rows of Z, completed by rows of the identity matrix.
  • New.Filling.HasCellRank: γ has cell rank j, that is, the flags of the two frames share vectors from the index j on (NormOnePairOccursFrom), the leading minor D_j of Z(γ) is nonzero, and the discriminant termDisc of γ is nonzero exactly when j = ϱ + 1.
  • New.Filling.classUnipotent₀: the rational unipotent elements of level M for the class c that fix every vector of the frame.
  • New.Filling.IsNear: γ is near if y and γ⁻¹y are both boxed points for some archimedean y.

Relation to the literature

See New.Spanning.RemainingTerms.Sum for related work.

Pinned source lines

Declarations

  • lemma exists_mem_classUnipotent₀_frameImage_mul_eq [HasPrimitiveRoot5040 E] {𝔰 : Shape}
        {S : Filling E 𝔰} {j : Fin (𝔰.ϱ + 2)} [S.IsAdmissible] {γ γ' : S.G E} (c : S.Classes)
        (hZ : S.frameProducts γ' = S.frameProducts γ)
        (hZ_int : ∀ a b : Fin (𝔰.ϱ + 1), IsIntegral ℤ (S.frameProducts γ a b))
        (h_minor : leadingMinor (S.frameProducts γ) j ≠ 0)
        (h_shared : S.sharedVectors j γ' = S.sharedVectors j γ)
        (h_rows : ∀ (i : 𝔰.MiddleIndex ⊕ Fin 𝔰.ϱ) (a : Fin (𝔰.ϱ + 1)),
          γ'.val (.inr i) (𝔰.besselFrame a) = γ.val (.inr i) (𝔰.besselFrame a))
        {X : Matrix (Fin 𝔰.ϱ) (Fin (𝔰.ϱ + 1)) E}
        (hX : IsIntMatrix ((Ô E).comap (algebraMap E (𝔸f E))) X)
        (h_diff : (frameImage γ'.val.val - frameImage γ.val.val).toRows₁ =
          S.frameModulus j (S.frameProducts γ) • X) :
        ∃ r ∈ S.classUnipotent₀ c, frameImage (r * γ).val.val = frameImage γ'.val.val
    

Import route to Main

New.Spanning.RemainingTerms.FrameCount → New.Spanning.RemainingTerms.ColumnLattice (pinned import) → New.Spanning.RemainingTerms.SchurOrbit (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