OctoInform Beta

OpenAI preprint, September 2026 · §2. Lattice counts with a prescribed determinant

Proposition 2.5: Upper bounds for 3×33 \times 3 integer matrices with rows in a sublattice Λ⊆ℤ3\Lambda \subseteq \mathbb{Z}^3, bounded row norms, and fixed nonzero determinant

Counting lattice matrices with a prescribed nonzero determinant.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In the geometry of numbers, a recurring counting problem asks how many 3×33 \times 3 integer matrices have all three rows in a given full-rank sublattice Λ⊆ℤ3\Lambda \subseteq \mathbb{Z}^3, each row of bounded Euclidean length, and a prescribed nonzero determinant. When the lattice has finite index [ℤ3:Λ][\mathbb{Z}^3 : \Lambda] in ℤ3\mathbb{Z}^3, the count decays inversely with the square of the index while growing with the row-length bound.

Proposition 2.5 establishes this count first for an arbitrary full-rank sublattice of ℤ3\mathbb{Z}^3 conditional on an anisotropic matrix count bound, then specializes to the integral row lattice ΛC\Lambda_C determined by congruence conditions modulo a positive integer hh, and finally evaluates the index explicitly when h=Bkh = B^k and the residue matrix CC factors through a diagonal matrix of powers of BB.

Anisotropic matrix counts

Write ℝ3\mathbb{R}^3 for three-dimensional Euclidean space, and view each integer vector v=(v1,v2,v3)∈ℤ3v = (v_1, v_2, v_3) \in \mathbb{Z}^3 as a point in ℝ3\mathbb{R}^3 equipped with the Euclidean norm ∥v∥=(v12+v22+v32)1/2\|v\| = (v_1^2 + v_2^2 + v_3^2)^{1/2}. Write M3(ℤ)M_3(\mathbb{Z}) for the set of 3×33 \times 3 integer matrices, and let log\log denote the natural logarithm.

Rescaling a lattice basis turns matrices with rows in a sublattice into integral matrices with distinct bounds on their column lengths, which is the input to the anisotropic count bound. For a real number a∈ℝa \in \mathbb{R}, the anisotropic matrix count bound holds with constant aa if for every nonincreasing triple of real numbers R1≥R2≥R3≥1R_1 \ge R_2 \ge R_3 \ge 1, every nonzero integer u∈ℤ\{0}u \in \mathbb{Z} \setminus \{0\}, and every finite set ℱ⊆M3(ℤ)\mathcal{F} \subseteq M_3(\mathbb{Z}) of 3×33 \times 3 integer matrices such that each Q∈ℱQ \in \mathcal{F} has det⁡Q=u\det Q = u and jj-th column of Euclidean norm at most RjR_j for j=1,2,3j = 1, 2, 3, |ℱ|≤a(R1R2R3)2(log⁡(2R1))2.|\mathcal{F}| \le a\,(R_1 R_2 R_3)^2 (\log(2 R_1))^2.(1)✦

The explicit anisotropic constant c0∈ℝc_0 \in \mathbb{R} is defined by c0=35721000π3(log⁡2)2.c_0 = \frac{35721000\,\pi^3}{(\log 2)^2}.(2)✦

Integral row lattices

For a nonnegative integer hh, write Rh=ℤ/hℤR_h = \mathbb{Z}/h\mathbb{Z} for the residue ring modulo hh, and let ρh:ℤ3→Rh3\rho_h : \mathbb{Z}^3 \to R_h^3 be the additive homomorphism of coordinatewise reduction modulo hh, sending (v1,v2,v3)(v_1, v_2, v_3) to (v1mod⁡h,v2mod⁡h,v3mod⁡h)(v_1 \bmod h, v_2 \bmod h, v_3 \bmod h).✦

For a ring RR and a 3×33 \times 3 matrix CC with entries in RR, the row space of CC is the additive subgroup of R3R^3 formed by all RR-linear combinations of the rows of CC, {wC:w∈R3}⊆R3.\{ w C : w \in R^3 \} \subseteq R^3.(3)✦ For a nonnegative integer hh and a 3×33 \times 3 matrix CC over RhR_h, the integral row lattice ΛC⊆ℤ3\Lambda_C \subseteq \mathbb{Z}^3 of CC is the additive subgroup obtained as the preimage of the row space (3) under ρh\rho_h: ΛC={v∈ℤ3:ρh(v)∈{wC:w∈Rh3}}.\Lambda_C = \{ v \in \mathbb{Z}^3 : \rho_h(v) \in \{ w C : w \in R_h^3 \} \}.(4)✦

For a ring RR and elements D,E∈RD, E \in R, write diag⁡(1,D,E)\operatorname{diag}(1, D, E) for the 3×33 \times 3 diagonal matrix over RR with diagonal entries 1,D,E1, D, E in order.✦

The claim

Proposition 2.5. Let X≥1X \ge 1 be a real number, let t∈ℤ\{0}t \in \mathbb{Z} \setminus \{0\} be a nonzero integer, and let S⊆M3(ℤ)S \subseteq M_3(\mathbb{Z}) be a finite set of 3×33 \times 3 integer matrices such that every A∈SA \in S has det⁡A=t\det A = t and every row of AA, viewed in Euclidean space ℝ3\mathbb{R}^3, has Euclidean norm at most XX.

First, let a≥0a \ge 0 be a real number for which the anisotropic matrix count bound (1) holds, and let Λ⊆ℤ3\Lambda \subseteq \mathbb{Z}^3 be an additive subgroup containing mℤ3m\mathbb{Z}^3 for some nonzero integer mm. If every row of every matrix in SS lies in Λ\Lambda, then |S|≤144⋅10006a(log⁡(2X))2X6[ℤ3:Λ]2.|S| \le \frac{144 \cdot 1000^6\, a\, (\log(2X))^2 X^6}{[\mathbb{Z}^3 : \Lambda]^2}.(5)✦

Second, let h≥1h \ge 1 be a positive integer and let CC be a 3×33 \times 3 matrix over RhR_h. If every row of every matrix in SS lies in the integral row lattice ΛC\Lambda_C of (4), then, with c0c_0 as in (2), |S|≤144⋅10006c0(log⁡(2X))2X6[ℤ3:ΛC]2.|S| \le \frac{144 \cdot 1000^6\, c_0\, (\log(2X))^2 X^6}{[\mathbb{Z}^3 : \Lambda_C]^2}.(6)✦

Third, let B≥1B \ge 1 be a positive integer, let k,b,ek, b, e be nonnegative integers with b≤kb \le k and e≤ke \le k, and let CC be a 3×33 \times 3 matrix over RBkR_{B^k} satisfying C=Pdiag⁡(1,Bb,Be)QC = P \operatorname{diag}(1, B^b, B^e) Q for invertible matrices P,Q∈GL3(RBk)P, Q \in \mathrm{GL}_3(R_{B^k}), where BbB^b and BeB^e are taken modulo BkB^k. If every row of every matrix in SS lies in ΛC\Lambda_C, then |S|≤144⋅10006c0(log⁡(2X))2X6(BbBe)2.|S| \le \frac{144 \cdot 1000^6\, c_0\, (\log(2X))^2 X^6}{(B^b B^e)^2}.(7)✦

What is checked

Proposition 2.5 is stated in the Lean library over arbitrary additive subgroups Λ⊆ℤ3\Lambda \subseteq \mathbb{Z}^3 containing mℤ3m\mathbb{Z}^3 for some nonzero integer mm under the anisotropic matrix count bound (1), over integral row lattices ΛC\Lambda_C of 3×33 \times 3 matrices CC modulo a positive integer hh using the explicit constant c0c_0 in (2), and over matrices modulo BkB^k that factor as Pdiag⁡(1,Bb,Be)QP \operatorname{diag}(1, B^b, B^e) Q with P,Q∈GL3(RBk)P, Q \in \mathrm{GL}_3(R_{B^k}) and 0≤b,e≤k0 \le b, e \le k.