Chapter V · Unit 149
A crude bound for the class number of the standard definite hermitian genus, and divisibility of indices of submodules
Space.card_classes_le : for a CM field E with a nonzero natural number N in its different, the number of classes \Gamma_f\backslash G_f/K_f of the standard definite hermitian space of rank n is at most (1 + 2C^3)^{4fn^2}, C = 6N(fn)^2, by mapping each class injectively to the integral, archimedean-bounded entries of two matrices built from a short basis. (2) IndexDvd M N z, a divisibility form of 'the index of N in M divides z' (every finite family in M is moved into N by a square matrix whose determinant divides z), with its calculus: pull-back, push-forward, transitivity, spans, composition, products of operators of a given type (HasType: y(M) \subseteq M and y(M) + p^n M has index dividing p^l with l \le c), and the determinant criterion over a valuation domain (IndexDvd.of_det_dvd ).Notes
What it holds · 11 declarations
lemma
Space.lines 14–37argumentcard_classes_le Let E be a CM field with a CM type (CMType E: a CM number field with a chosen complex embedding \Phi_w inducing each infinite place w), N a nonzero natural number (NeZeroN) whose image in the ring of integers lies in the different ideal of E (h), and n a finite index type. Then the number of classes of the standard definite hermitian space of rank |n| at the level K_f, i.e.Nat.ofcard StdClasses(Kf E n) = \Gamma_f\backslash G_f/K_f (G_f the finite adelic unitary group of the identity form on E^{n}, \Gamma_f its rational points, K_f = G_f \cap \mathrm{GL}_n(\hat{O}) the stabiliser of the standard lattice \hat{O}^{n}), is at most (1 + 2\cdot C^{3})^{4\cdot f\cdot|n|^{2}}, where C =shortBasisConstE n N = 6\cdot N\cdot(f\cdot|n|)^{2} and f =numInfPlacesE is the number of infinite places of E.Structured proof, 12 steps Theorem 1, p. 2 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Core/ClassCountBound.lean · lines 14–16 lemma Space.card_classes_le {E} [Field E] [CMType E] {N} [NeZero N] (h : ↑N ∈ differentIdeal ℤ (𝓞 E)) {n} [Fintype n] : .card (StdClasses (Kf E n)) ≤ (1 + 2 * shortBasisConst E n N ^ 3) ^ (4 * numInfPlaces E * card n ^ 2) := bydef
IndexDvdline 20For a commutative ring O, an O-module V, submodules M, N \subseteq V and an element z \in O:IndexDvdM N z holds when for every natural number n and every family \Phi_1, \ldots, \Phi_n of elements of M there is an n\times n matrix m over O whose determinant divides z such that every combination \sum_k m_{ik}\cdot\Phi_k (i = 1, \ldots, n) lies in N. (A divisibility form of 'the index of N in M divides z'; when M \subseteq N, m = 1 works.) The definition takes M, N, z as explicit arguments (variable (M N z) in).Definition 2.1, p. 3 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · line 20 def IndexDvd := ∀ n (Φ : Fin n → V), (∀ k, Φ k ∈ M) → ∃ m, det m ∣ z ∧ ∀ i, ∑ k, m i k • Φ k ∈ Nlemma
IndexDvd.lines 24–25one-stepcomap Pull-back. For a commutative ring O, O-modules U and V, submodules M, N \subseteq V and M', N' \subseteq U, z \in O and an O-linear map f : U \to V: ifIndexDvdM N z (h), f(M') \subseteq M, and every x \in M' with f(x) \in N lies in N', thenIndexDvdM' N' z.Lemma 4.2, p. 8 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Core/ModuleIndex.lean · lines 24–25 lemma IndexDvd.comap (h : IndexDvd M N z) (f : U →ₗ[O] V) : M' ≤ M.comap f → (∀ x ∈ M', f x ∈ N → x ∈ N') → IndexDvd M' N' z := fun a _ _ _ c ↦ (h _ _ (a <| c ·)).imp (by aesop)lemma
IndexDvd.line 28one-stepof_le For a commutative ring O, an O-module V, submodules M, N \subseteq V and any z \in O: if M \subseteq N, thenIndexDvdM N z (take m = 1). A simp lemma.Lemma 4.1, p. 7 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Core/ModuleIndex.lean · line 28 @[simp] lemma IndexDvd.of_le : M ≤ N → IndexDvd M N z := fun _ _ _ _ ↦ ⟨1, by aesop⟩lemma
IndexDvd.lines 31–33argumenttrans Transitivity. For a commutative ring O, an O-module V, submodules M, N, P \subseteq V and z, a \in O: ifIndexDvdM N z (h) andIndexDvdN P a (g), thenIndexDvdM P (z\cdot a).Structured proof, 2 steps Lemma 4.3, p. 8 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · line 31 lemma IndexDvd.trans (h : IndexDvd M N z) (g : IndexDvd N P a) : IndexDvd M P (z * a) :=lemma
IndexDvd.lines 37–41argumentmap Push-forward. For a commutative ring O, O-modules U and V, submodules M, N \subseteq V and M', N' \subseteq U, z \in O and an O-linear map f : V \to U: ifIndexDvdM N z (h), M' \subseteq f(M) + N', and f(N) \subseteq N', thenIndexDvdM' N' z.Structured proof, 3 steps Lemma 4.4, p. 8 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · lines 37–38 lemma IndexDvd.map (h : IndexDvd M N z) (f : V →ₗ[O] U) : M' ≤ M.map f ⊔ N' → N.map f ≤ N' → IndexDvd M' N' z := bylemma
IndexDvd.lines 46–48assemblysup For a commutative ring O, O-modules U and V, an index type \iota, O-linear maps f_i : V \to U (i \in \iota), a submodule M \subseteq V, a submodule N' \subseteq U and z \in O: ifIndexDvdM (f_i^{-1}(N')) z for every i \in \iota (h), then for every finite set s \subseteq \iota,IndexDvd(span of \bigcup_{i\in s} f_i(M) \cup N') N' (z^{|s|}). (Induction on s withIndexDvd.andmap IndexDvd..)trans Lemma 4.5, p. 8 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Core/ModuleIndex.lean · lines 46–47 lemma IndexDvd.sup {f : ι → V →ₗ[O] U} (h : ∀ i, IndexDvd M (.comap (f i) N') z) (s : Finset ι) : IndexDvd (span O (.image2 (f ·) s M ∪ N')) N' (z ^ #s) := s.cons_induction (by simp) fun i _lemma
IndexDvd.lines 50–51one-stepcomp Composition. For a commutative ring O, an O-module V, submodules M, N \subseteq V, elements z, z', a \in O and an O-linear endomorphism f of V with f(M) \subseteq M (e): ifIndexDvdM (f(M) + a\cdot M) z andIndexDvdM (N + a\cdot M) z', thenIndexDvdM (f(N) + a\cdot M) (z\cdot z'). (IndexDvd.along f, thenmap IndexDvd..)trans Lemma 4.6, p. 8 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · lines 50–51 lemma IndexDvd.comp (e : M.map f ≤ M) : IndexDvd M (M.map f ⊔ a • M) z → IndexDvd M (N ⊔ a • M) z' → IndexDvd M (N.map f ⊔ a • M) (z * z') := (·.trans <| ·.map f (by order) (by grw [← e]; simp))def
HasTypelines 55–56For a commutative ring O, an O-module V, p \in O, a submodule M \subseteq V, a natural number n, an O-linear endomorphism y of V and a real number c:HasTypep M n y c means that y(M) \subseteq M and there is a natural number l \le c withIndexDvdM (y(M) + p^{n}\cdot M) (p^{l}) ('y has type at most c at p^{n} on M': the index of y(M) + p^{n}M in M divides p^{l}).Definition 2.2, p. 3 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · line 55 def HasType p M n (y : End O V) (c : ℝ) :=lemma
HasType.lines 60–64argumentprod Exponents add under products. For a commutative ring O, an O-module V, an index type \iota, a submodule M \subseteq V, z \in O, a natural number s, endomorphisms T(l) of V and real numbers t(l) (l \in \iota), and a list L of indices: ifHasTypez M s (T l) (t l) for every l in L, thenHasTypez M s (\Pi_{l\in L} T(l)) (\sum_{l\in L} t(l)), where the product is the composition T(l_{1})\circ T(l_{2})\circ\cdots in the order of the list (the empty product is the identity) and the sum is the sum of the t(l) over the list.Structured proof, 2 steps Proposition 4.7, p. 9 of A crude bound for a class number, and divisibility of indices of submodules
The Lean statement
New/Core/ModuleIndex.lean · lines 60–61 lemma HasType.prod {s T t} (L : List ι) : (∀ l ∈ L, HasType z M s (T l) (t l)) → HasType z M s (L.map T).prod (L.map t).sum := bylemma
IndexDvd.lines 68–73argumentof_det_dvd Determinant criterion. Let O be a valuation domain (an integral domain whose ideals are totally ordered:ValuationRingO), \iota a finite type, z \in O, A an \iota\times\iota matrix over O with \det A dividing z (h), and N \subseteq O^{\iota} a submodule containing the image A(O^{\iota}) (e). ThenIndexDvdO^{\iota} N z (the whole module \top on the left).Structured proof, 5 steps Theorem 2, p. 2 of A crude bound for a class number, and divisibility of indices of submodules Input 1, p. 10 of Elementary divisors of a Frobenius-twisted Hecke operator
The Lean statement
New/Core/ModuleIndex.lean · lines 68–69 lemma IndexDvd.of_det_dvd [IsDomain O] [ValuationRing O] [Fintype ι] {A : Matrix ι ι O} {N} (h : A.det ∣ z) (e : .map A.mulVecLin ⊤ ≤ N) : IndexDvd ⊤ N z := fun _ Φ _ ↦
What it takes for granted
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals, Unit 29 · Group-algebra projectors and averaging in unitary representations, Unit 99 · Short bases of Hermitian lattices and the unitary mass, Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing, Unit 112 · Matrix determinant estimates and simultaneous eigenvectors, Unit 120 · Witt extension for Hermitian frames over fields and integral adeles, Unit 122 · Adelic Hermitian spaces and principal congruence subgroups, Unit 123 · Adelic self-duality and a one-sided Poisson summation bound, Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup
Unit 102 · Adelic cusp forms, algebraic modular forms and the Petersson pairing · 1 declaration
For a CM field E with CM type, a finite type n and a subgroup K of the finite adelic unitary group G_f (Gf E n: matrices g ∈ GL_n(𝔸_f) with g*g = 1): the double cosets Γ_f\G_f/K, Γ_f the rational points of the standard definite space I_n (stdSpace E n, the identity form on E^n).
Unit 122 · Adelic Hermitian spaces and principal congruence subgroups · 2 declarations
Unit 99 · Short bases of Hermitian lattices and the unitary mass · 3 declarations
For a number field E, a finite type n and a natural number N: 6·N·(f·|n|)², f the number of infinite places of E.
Space.unit 99exists_short_basis_stdSpace For a natural number N ≠ 0 in the different of E (h) and g ∈ G_f: there is Y ∈ GL_n(E) with g⁻¹·Y integral (entries in Ô) and |φ(Y_ij)| ≤ shortBasisConst E n N for every ring homomorphism φ : E → ℂ and all i, j.
exists_rat_near_of_mem_differentIdealunit 99For a CM field E, d ≠ 0 in the different of E, z assigning a complex number to every infinite place, and a finite adele y: there is a ∈ E with y − a ∈ Ô and |z_w − Φ_w(a)| ≤ (2f)²·|Φ_w(d)| at every infinite place w (f the number of infinite places, Φ_w the chosen embedding).
Unit 10 · Lattice fundamental domains and holomorphic parameter integrals · 1 declaration
The number of infinite places of a number field K.
Unit 148 · Translates of Poincaré series fill the rows: a Petersson-type second moment along a Bessel subgroup · 1 declaration
Filling.unit 148encard_integral_le For a number field E' ([NumberField E'], a section variable of BoxPartition.lean 214–215, beside [Field E']) with chosen complex embeddings Φ_v inducing its infinite places v ([PlaceEmbedding E'], which supplies only the embeddings, not the number-field structure), a finite type ι, a set A in a type α, a real r ≥ 0 (o) and a map f : α → E'^ι injective on A (j) such that for every a ∈ A and every i ∈ ι the entry f(a)_i is integral over ℤ and |Φ_v(f(a)_i)| ≤ r at every infinite place v (h): the cardinality of A, an element of ℕ∞ coerced to [0, ∞], is at most (1 + 2r)^{|ι|·m·2} = (1 + 2r)^{2|ι|m} (ENNReal.ofReal of that real number), m the number of infinite places of E'. (In Space.card_classes_le, E' = E and the number-field instance comes from CMType E.)
Unit 29 · Group-algebra projectors and averaging in unitary representations · 4 declarations
For g in the unitary group U(J) (g*Jg = J) and matrices A, B with rows indexed like g: (gA)*·J·(gB) = A*·J·B.
For x, y ∈ GL_n(R) (R a ring with involution): if x*Jx = J' and y*J'y = J'', then (xy)*J(xy) = J''.
For x ∈ GL_n(R): if x*Jx = J', then (x⁻¹)*J'x⁻¹ = J.
For a commutative ring A and a subring R: for all a, b ∈ A there is an idempotent e ∈ R with Ra + Rb ⊆ R(a − e(a − b)).
Unit 112 · Matrix determinant estimates and simultaneous eigenvectors · 5 declarations
IsIntMatrix.unit 112isInt_conjTranspose If the subring R is stable under the involution and all entries of M lie in R, so do those of M*.
The identity matrix has entries in every subring R.
Sums of matrices with entries in R have entries in R.
Differences of matrices with entries in R have entries in R.
Products of matrices with entries in R have entries in R.
Unit 123 · Adelic self-duality and a one-sided Poisson summation bound · 2 declarations
For x in the number field E: the principal finite adele x lies in Ô iff x is an algebraic integer.
A CM number field E with a chosen complex embedding Φ_w for every infinite place w, inducing w.
Unit 120 · Witt extension for Hermitian frames over fields and integral adeles · 2 declarations
If A is an integral domain and a valuation ring, the pair (A, ⊤) satisfies IsValuationPair.
IsValuationPair.unit 120hermite If (A, R) satisfies IsValuationPair, ι : k ↪ n is an embedding of finite types, y is an n×k matrix over A and wt : k → ℕ: there are U ∈ GL_n(R) (integral with integral inverse) and a k×k matrix D, block triangular for wt (D_{ij} = 0 when wt(j) < wt(i)), with y = U_{·,ι}·D and (U⁻¹)_{ι,·}·y = D.
From Lean's own library · 5 facts
Set.ncard_univ, ENat. toNat_le_of_le_natCast The ncard of the universal set of a type is its Nat.card; a natural number bound for an extended natural number bounds its toNat.
Quotient.out_equiv_out, DoubleCoset. rel_iff Two classes are equal iff their chosen representatives are related; x and y lie in the same double coset HxK iff y = h·x·k for some h ∈ H, k ∈ K.
norm_sum_le, Units.mul_right_inj, eq_mul_of_inv_mul_eq The triangle inequality for finite sums; left multiplication by a unit is injective; a⁻¹b = c implies b = ac.
Matrix.det_mul, Matrix. fromBlocks_toBlocks, det of block triangular matrices det(XY) = det X·det Y; a block matrix is reassembled from its blocks; the determinant of a block triangular matrix is the product of the determinants of its diagonal blocks.
Submodule.mem_sup, Submodule. add_mem_cancel_right x ∈ P + Q iff x = p + q with p ∈ P, q ∈ Q; for q ∈ P, x + q ∈ P iff x ∈ P.
Where it is used
Unit 141 · The seesaw identity for the chain of theta lifts, and the index types of the data, Unit 144 · Elementary divisors of a Frobenius-twisted Hecke operator: twisting data, Frobenius inequalities for least terms, interlacing-cone volumes, flag counts and an approximate projector, Unit 145 · Columns and the chain of theta lifts: levels and branching on the spaces X_j, short ramified columns, divisibility of the chain at each prime (marked primes and scaled Hecke operators), and size bounds, Unit 150 · Theta functions of the CM curve: periods and scales, tight frames, the integral vacuum, Galois conjugates of jets, and divisibility of jets at non-split primes, Unit 151 · The endgame: the weighted prime sum and its remainder, the one-sided criterion (Landau), the choice of the second scale, and the statements and assembly of Theorems A, B and C
Its files
The program check
11 of 11 statements stand at the lines the dossier gives; 5 structured proofs with 24 steps, 22 of them leaves, the longest of 4 lines; 24 steps quote exactly their lines. Checked 2026-11-26T16:08Z.
The check shows that the dossier describes the lines it cites. Whether the English is right is read when a note is written.