The standard lattice of a graded space, line by line
New.UpperBound.Seesaw.StandardLines.lean
Reading
Upstream documentation written by Claude
Let
Ygrade the hermitian spaceVby an index setX ⊕ Unitof grade0and a string ofsbasis vectors, and let the finite frame ofVspan the same latticeΛas the standard basisNew.gradedLatticeBasis. The intersectionΛ⁻ofΛwith the span of the string and its projectionΛ⁺to this span are sums of lines.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Grading.SpansLattice.isGraded:Λis graded.New.Grading.SpansLattice.mem_latticeMinus_iff,New.Grading.SpansLattice.mem_latticePlus_iff: the generators of the lines; they differ only byN⁻¹at the middle vector of the string.New.Grading.SpansLattice.mem_lattice_and_stringProj_eq_zero_iff: for odds, the intersection ofΛwith the span ofX ⊕ Unit.New.Grading.SpansLattice.stringSum_mem_latticeMinus_iff,New.Grading.SpansLattice.stringSum_mem_latticePlus_iff: the generators on the lines of the vectors𝔢 ^ i, for the scaleu = (a / ā) ^ ⌊(s + 2) / 2⌋and when the constantcofYhas the valuations ofa ā.New.Grading.SpansLattice.map_stringMapFin_latticePlus: under the same conditions, the shift to a space with a string ofs - 1vectors and the same constantctakesΛ⁺ontoa Λ'⁻.New.Grading.SpansLattice.odd_of_notMem_latticeMinus: a vector ofΛ⁺outsideΛ⁻exists only for odds.New.Grading.SpansLattice.exists_place_generates_of_notMem_latticeMinus: such a vector generatesΛ⁺overΛ⁻at some place aboveN.
The results on Λ⁺ and on the span of X ⊕ Unit assume that N is split and squarefree
(IsSplitSquarefree P N π).
Notions from other files:
Y.SpansLattice a π u: the latticeΛ = V.lattice 1has the standard basisNew.gradedLatticeBasis Y.indexEquiv a π uover the integral finite adelesÔ E. This basis consists of the vectors ofX, the multiples of the string vectorsbbylineIdele a u b, and the last vectore₀ofX ⊕ Unit, replaced for oddsbye₀ / π̄ + u z / (π π̄), wherezis the middle vector of the string.IsSplitSquarefree P N π:N = π π̄, whereπis a uniformiser at the places ofP, a unit elsewhere, and no place ofPhas its conjugate inP.Y.stringSum t: the vector∑ t i • 𝔢 ^ i, where𝔢 ^ i = Y.stringPower iis a multiple of the string vectoriby an element ofE.Y.genericConst: the constantcof the grading, a nonzero element ofEfixed by conjugation.
Relation to the literature
See New.UpperBound.Seesaw.SeesawIdentity for related work.
Declarations
lemma exists_place_generates_of_notMem_latticeMinus {y : ι → 𝔸f E} (hL : Y.SpansLattice a π u) (hπ : IsSplitSquarefree P N π) (hy : y ∈ Y.latticePlus 1) (hy_notMem : y ∉ Y.latticeMinus 1) : ∃ w : FinPlace E, (w ∈ P ∨ star w ∈ P) ∧ ∀ z ∈ Y.latticePlus 1, ∃ c ∈ Ô E, (idem {w} : 𝔸f E) • (z - c • y) ∈ Y.latticeMinus 1
Import route to Main
New.UpperBound.Seesaw.StandardLines → New.UpperBound.Seesaw.Sandwich (pinned import) → New.UpperBound.Seesaw.UnfoldingStages (pinned import) → New.UpperBound.Seesaw.Cut (pinned import) → New.UpperBound.Seesaw.SeesawIdentity (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)