Rational points and vectors of spaces under sums, moves and block embeddings
Lib.Adelic.Unitary.RationalPoints.lean
Reading
Upstream documentation written by Claude
Elementary facts on adelic unitary groups and hermitian spaces.
New.U.mem_range_sum_left,New.U.mem_range_sum_right: which unitary matrices for a block diagonal form come from one block.New.Space.mem_Gamma_iff_range:gis a rational point iffx g x⁻¹has rational entries.New.Space.witt: Witt's theorem for the form of a space.New.Space.stdForm_vecAtPoint: in the coordinates of the point, the formJbecomesNew.stdForm.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
A space V (New.Space) is a rational matrix J with an adelic point x such that xᴴ J x is
the standard form of signs s; New.G E s is the adelic unitary group of that form. Rational
unitary matrices and rational vectors are read in these coordinates by V.ratEmbed γ = x⁻¹ γ x,
with image V.Γ, and V.vecAtPoint y = x⁻¹ y.
Notions from other files:
New.G: The adelic unitary group G = G_∞ × G_f for signs s at the infinite places and the identity matrix at the finite places;g.adeleMatrixis the adelic matrix ofg.New.Space.sum,New.Space.reindex,New.Space.move: the block diagonal sum of two spaces, the relabelling of the indices, and the space(J, x a)forain G.New.signedSpace: the standard space with matrix diag(s), defined when E has a primitive 5040th root of unity (New.HasPrimitiveRoot5040).
Relation to the literature
Witt's extension theorem for hermitian forms is classical; New.Space.witt is its matrix form
New.witt applied to the matrix of a space.
Declarations
lemma stdForm_vecAtPoint (y z : n → E) : star (V.vecAtPoint y) ⬝ᵥ stdForm E s *ᵥ V.vecAtPoint z = toAdele (star y ⬝ᵥ V.J *ᵥ z)
Import route to Main
Lib.Adelic.Unitary.RationalPoints → Lib.Weil.Periods.Grading (pinned import) → Lib.Adelic.TraceFormula.OrbitalUnfolding (pinned import) → New.Determinant.AuxiliaryForms.DeepLevelVanishing (pinned import) → New.Determinant.AuxiliaryForms.FirstPath (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)