RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Lattice indices, primitive matrices, Jacobi's identity and covolumes of fundamental domains

Lib.General.NumberTheory.LatticeCovolumes.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The first part is lattice algebra over an adelic pair R ⊆ A (New.IsAdelic; among its conditions, R is open and compact in A), modelled on New.Ô inside the finite adeles. The file proves results on indices and determinants under integral base change. For a CM field E, 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

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: for J hermitian and invertible, if the left invertible F and n have orthogonal columns, as many in all as J has rows, the orthogonal complement of n lies in the span of F.
  • New.genIndex_det_orthogonal_mul_submoduleIndex_sq: Jacobi's identity between a lattice and its orthogonal complement; New.Filling.jacobi_perp_discriminant joins 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 of G in a triangular way by additive submonoids. Then the box over strict fundamental domains of these submonoids meets each coset xΓ exactly once.
  • New.Filling.exists_fundamental_domain_im_skew: the covolume of the group New.Filling.imSkewLattice of rescaled purely imaginary integers of E, if E contains 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, and 0 elsewhere; New.submoduleIndex M M': the index of M ∩ M' in M', as additive groups (0 if infinite).
  • New.IsPrimitiveMatrix: a matrix with entries in R and a left inverse with entries in R.
  • New.colLattice: the R-module spanned by the columns of M; New.preimageLattice: the R-module of vectors v over A such that M v has entries in R.
  • New.Variety.classLattice g S Q: the image, under the CM embedding followed by the linear map Q, of the group of y in Eⁿ such that the class of g⁻¹ y in (𝔸_f/Ô)ⁿ lies in S.

Relation to the literature

Known; see Lib.Adelic.Adeles.Basic and New.Spanning.RemainingTerms.SiegelLemma for sources.

Pinned source lines

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)

X Reddit Email LinkedIn