The Gram matrix of a space is invertible and hermitian; group elements from isometries
Lib.Adelic.Unitary.GramMatrix.lean
Reading
Upstream documentation written by Claude
Let
Ebe a number field ands : n → ℤˣa family of signs. The standard formNew.stdForm E sis its own inverse. It is hermitian whenEhas a CM type (CMType E), and then the Gram matrix of a space is invertible and hermitian. For a CM field, matrices that preserve the standard form give elements of the adelic unitary group.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Notation
New.𝔸 E: the adeles ofE, with the diagonal embeddingNew.toAdele : E →+* 𝔸 E, given at the infinite places by the chosen CM type ofE.New.stdForm E s: the diagonal adelic matrix with the signssat the infinite places and1at the finite places.New.Space E n s: a matrixJoverEwith an invertible adelic matrixxsuch thatxᴴ * J.map toAdele * xisNew.stdForm E s.New.G E s: the adelic unitary group of the standard form;New.G.adeleMatrixis the matrix of an element.
Main definitions and results
New.Space.isUnit_J,New.Space.isHermitian_J:Jis invertible and hermitian.New.G.ofMatrix: the group element given by a matrix that preserves the standard form.
Declarations
lemma isHermitian_J (V : Space E n s) : V.J.IsHermitian
Import route to Main
Lib.Adelic.Unitary.GramMatrix → Lib.Weil.Construction.WeilData (pinned import) → Lib.Adelic.Adeles.LocalFactors (pinned import) → Lib.Adelic.TraceFormula.TestFunction (pinned import) → Lib.Adelic.TraceFormula.CuspidalType (pinned import) → New.Spanning.Multiplicities.EqualMultiplicities (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)