Integral, congruence and unitary matrix groups over a ring, with their topology
Lib.General.Groups.CongruenceSubgroups.lean
Reading
Upstream documentation written by Claude
The file opens with a few general facts on induction, reindexing, compact, open and closed sets, and integrability.
New.intGL,New.congruenceGL: the matrices ofGL n Rthat are invertible over a subringO, and the congruence subgroups among them;New.intGL.toMatrixreads such a matrix overO, andNew.intGL.mapapplies a ring map out ofO.New.U: the unitary group of a matrixJ, theginGL n Rwithgᴴ * J * g = J, with change of ringNew.U.map, change of basisNew.U.conjand determinantNew.U.det.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.U.isClosedEmbedding_coe: for invertibleJ,U Jis closed in the space of matrices; with the bound on the entries of a unitary matrix, this gives that the complex unitary group of the identity matrix is compact.
The file also supplies the Polish and Borel instances on units, the measurable and measure space structures on matrices, the Polish instance on unitary groups and the Borel instance on complex ones, local compactness of unitary groups, and the additive Haar measure on matrices.
Declarations
lemma U.isClosedEmbedding_coe (hJ : IsUnit J) : IsClosedEmbedding (fun g : U J ↦ (g : Matrix n n R))
Import route to Main
Lib.General.Groups.CongruenceSubgroups → Lib.Adelic.Adeles.AdditiveCharacter (pinned import) → Lib.General.NumberTheory.EmbeddingsAndDifferent (pinned import) → Lib.General.NumberTheory.ImaginaryQuadraticField (pinned import) → Lib.Analytic.EntireLFunction (pinned import) → Lib.Analytic.Landau (pinned import) → New.Reduction.Zeros.Criterion (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)