The setting
Counting lattice points in a three-dimensional integer lattice subject to a linear constraint reduces to counting points in a two-dimensional plane lattice. Given a primitive integer vector and a full-rank sublattice , the orthogonal slice is a two-dimensional lattice inside the plane . Geometry-of-numbers estimates in this plane depend on the exact covolume of in terms of the index of in , the Euclidean length of , and the positive generator of the integer values .
Lemma 2.3 records these exact covolume formulas for and , together with two general identities: the determinant formula for the covolume of a full-rank Euclidean lattice and an index product relation for the kernel of a surjective homomorphism to .
Orthogonal plane lattices
Let denote three-dimensional Euclidean space with the standard Euclidean inner product and norm , and let be its standard basis. The standard integer lattice is the -span of .✦ The natural -linear inclusion embeds each integer vector into and maps any -submodule to a -submodule of , which we identify with and denote by the same symbol.
For any , the dot product with is the real linear functional on .✦ Its kernel is the orthogonal plane (1)✦ equipped with the Euclidean inner product restricted from . The plane lattice is the intersection of the standard integer lattice with , viewed as a -submodule of .✦ More generally, for any -submodule , the sublattice slice is the intersection of the embedded lattice with , viewed as a -submodule of .✦
Covolumes and subgroup indices
For a finite index set , let denote the real Euclidean space indexed by with its standard Euclidean inner product. A full-rank lattice in a finite-dimensional real inner product space (such as or ) is a discrete -submodule of whose -span is . The covolume is the volume of a fundamental domain of with respect to the Euclidean Lebesgue measure on .
For an additive abelian group and a subgroup , the index is the number of cosets of in when this number is finite, and when it is infinite. Similarly, for a second subgroup , the relative index is the number of cosets of in when this number is finite, and when it is infinite.
The claim
Lemma 2.3.
Let satisfy . Then the plane lattice satisfies (2)✦
Let satisfy , let be a -submodule, and let be a nonzero integer such that for every . Then there exists a positive integer dividing such that for every , there exists with , and (3)✦
Let satisfy , let be a -submodule of finite index , and let be a positive integer such that for every and for some . Then (4)✦
Let be a finite index set, let be a full-rank lattice, and let be a -basis of . Let be the real matrix whose -th row is . Then (5)✦
Let be an additive abelian group, let be a subgroup, let be a surjective group homomorphism, and let satisfy . Then (6)✦
What is checked
The Lean library states Lemma 2.3 over the orthogonal plane slices and in for integer vectors satisfying and -submodules (either containing for a nonzero integer or having finite index), over discrete full-rank lattices equipped with a -basis for any finite index set , and over subgroups of an additive abelian group under a surjective homomorphism with image .