The setting
Counting determinant-zero triples of vectors in an integral lattice in reduces to counting triples that lie in a plane orthogonal to a primitive normal vector . When the lattice is the integer row lattice associated to a matrix over a prime-power residue ring , three geometric and arithmetic quantities govern these null-vector planes: the pairing divisor of against together with the covolume of the planar slice , the surjectivity of reducing that slice modulo a prime coprime to , and an upper bound on the number of spanning triples of bounded Euclidean norm in a finite-index sublattice of a two-dimensional lattice.
Row lattices and smith normal forms
For a natural number , write for the residue ring modulo , and let be the additive homomorphism reducing each coordinate modulo .✦ Given a matrix over , its row space is the additive subgroup of formed by left multiplication of row vectors on .✦ The integer row lattice modulo of is the preimage , viewed equivalently as an additive subgroup or a -submodule of .✦
For elements and of a ring , the diagonal matrix is the diagonal matrix over with diagonal entries , , and .✦ For natural numbers and with , a Smith normal form modulo of a matrix over consists of natural numbers and satisfying together with invertible matrices such that (1)✦ where the diagonal entries and in (1) are taken in .
Null-vector planes and pairing divisors
For an integer vector , its coordinate greatest common divisor is ✦, and is primitive if this greatest common divisor equals .✦ The -linear inclusion embeds each integer vector into three-dimensional Euclidean space equipped with the Euclidean norm .✦
Fix an integer vector . The dot product functional on has kernel equal to the orthogonal plane .✦ For a -submodule , the embedded lattice of is its image under ✦, and the sublattice slice is the -submodule of consisting of all points of that lie in the embedded lattice of .✦
For an additive subgroup and , the additive dot product map from to sends to the subgroup . The lattice pairing divisor is the subgroup index , taken to be when the index is infinite.✦
On the integral side, for a -submodule and , the integral dot product form on defines the orthogonal integral slice ; for we write .✦ For a prime , write and let be the normal vector modulo .✦ The dot product linear form on has kernel equal to the plane (2) The plane reduction modulo is the additive homomorphism that reduces each coordinate of modulo into the plane (2).✦
The claim
Lemma 7.2. Let be a prime, let be a natural number, let be a matrix over equipped with a Smith normal form modulo with exponents , and let be a primitive integer vector. Then the lattice pairing divisor satisfies (3)✦ its cube satisfies the upper bound (4)✦ and the covolume of the sublattice slice in is (5)✦
Let , , , and be natural numbers with , let be a matrix over such that for some invertible matrices , let be a prime coprime to , and let be a primitive integer vector. Then the plane reduction modulo , , is surjective: (6)✦
Let be a two-dimensional real inner product space, let and be full-rank discrete lattices in with , let be a real number, and let be a finite set of ordered triples such that for every and . Then (7)✦
What is checked
In the Lean library, Lemma 7.2 is stated over the integer row lattice of a residue matrix over , a Smith normal form modulo of with prime and exponents for the pairing-divisor and covolume relations (3), (4), and (5), the modulo- plane reduction for a prime coprime to in (6), and a pair of full-rank discrete lattices in a two-dimensional real inner product space together with a finite set of bounded spanning triples in (7).