Lattice indices, primitive matrices, Jacobi's identity and covolumes of fundamental domains
Lib.General.NumberTheory.LatticeCovolumes.lean
Reading
Upstream documentation written by Claude
The first part is lattice algebra over an adelic pair
R ⊆ A(New.IsAdelic; among its conditions,Ris open and compact inA), modelled onNew.Ôinside the finite adeles. The file proves results on indices and determinants under integral base change. For a CM fieldE, it then gives tools for computing, coordinate by coordinate, the covolume of an arithmetic subgroup of a unipotent group.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.genIndex_det_conj_of_isIntMatrix: the size of a determinant does not change under an integral base change with integral inverse.New.exists_isPrimitiveMatrix_mul_fromBlocks,New.exists_preimageLattice_eq_colLattice: a left invertible matrix becomes primitive after multiplication by an invertible (block triangular) matrix.New.exists_mulVec_eq_of_orthogonal: forJhermitian and invertible, if the left invertibleFandnhave orthogonal columns, as many in all asJhas rows, the orthogonal complement ofnlies in the span ofF.New.genIndex_det_orthogonal_mul_submoduleIndex_sq: Jacobi's identity between a lattice and its orthogonal complement;New.Filling.jacobi_perp_discriminantjoins it with the previous result.New.exists_fundamental_domain_classLattice: the covolume of a lattice in(E ⊗ ℝ)ⁿcut out by a finite adelic matrix and rescaled at the infinite places.New.Filling.existsUnique_mul_mem_box: suppose a groupΓshifts the coordinates ofGin a triangular way by additive submonoids. Then the box over strict fundamental domains of these submonoids meets each cosetxΓexactly once.New.Filling.exists_fundamental_domain_im_skew: the covolume of the groupNew.Filling.imSkewLatticeof rescaled purely imaginary integers ofE, ifEcontains a primitive 5040th root of unity.
Notions from other files:
New.genIndex: on units the inverse of the factor by which multiplication scales Haar measure, and0elsewhere;New.submoduleIndex M M': the index ofM ∩ M'inM', as additive groups (0if infinite).New.IsPrimitiveMatrix: a matrix with entries inRand a left inverse with entries inR.New.colLattice: theR-module spanned by the columns ofM;New.preimageLattice: theR-module of vectorsvoverAsuch thatM vhas entries inR.New.Variety.classLattice g S Q: the image, under the CM embedding followed by the linear mapQ, of the group ofyinEⁿsuch that the class ofg⁻¹ yin(𝔸_f/Ô)ⁿlies inS.
Relation to the literature
Known; see Lib.Adelic.Adeles.Basic and New.Spanning.RemainingTerms.SiegelLemma for sources.
Declarations
lemma Filling.exists_fundamental_domain_im_skew [HasPrimitiveRoot5040 E] (t : InfinitePlace E → ℝ) (ht : ∀ v : InfinitePlace E, t v ≠ 0) : ∃ F : Set (InfinitePlace E → ℝ), MeasurableSet F ∧ -- (a) the volume of `F` volume.real F = (∏ v : InfinitePlace E, |t v|) * √√|NumberField.discr E| ∧ -- (b) `F` is a fundamental domain of the lattice ∀ x : InfinitePlace E → ℝ, ∃! l : imSkewLattice t, l.val + x ∈ F
Import route to Main
Lib.General.NumberTheory.LatticeCovolumes → New.Spanning.RemainingTerms.SiegelLemma (pinned import) → New.Spanning.RemainingTerms.Discriminants (pinned import) → New.Spanning.RemainingTerms.LinkLattice (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)