The setting
In the residue-class analysis of triples of lattice points modulo a prime power , one averages over the left action of the special linear group on matrices with entries in the residue ring . Three structural properties of the orbit enter this averaging: a quantitative lower bound on the orbit cardinality governed by the diagonal invariant factors of modulo , uniform distribution of a uniformly random translate across , and invariance of both the determinant and the row space along the orbit.
Matrix orbits and row spaces
For a natural number , let denote the residue ring modulo , and let denote the special linear group of matrices of determinant over .✦
For a group acting on a finite set and an element , the orbit is the finite subset of traced out by the action of on .✦ Over a commutative ring , the left special-linear orbit of a matrix over is the set (1)✦ When , the set in (1) coincides with the finite orbit under left multiplication.
For a matrix over a ring , the row space of is the additive subgroup of formed by the image of left multiplication by row vectors, (2)✦
Prime-power diagonalization
Singular residue matrices are kept in scope because degenerate triples with zero determinant enter the triangle problem. For natural numbers and and a matrix over , a prime-power diagonalization of consists of natural numbers and satisfying together with invertible matrices such that (3)✦ as matrices over , where and are taken modulo .
The claim
Lemma 4.2. Let be a prime, let be a positive integer, and set . Suppose is a matrix over whose transpose admits a prime-power diagonalization (3) with exponents , and set and . Then the finite orbit under the row-wise action satisfies (4)✦ and, written directly in the prime-power parameters, (5)✦
For a finite group acting on a set and elements with , (6)✦
For matrices and over a commutative ring with , (7)✦
For any matrix over a commutative ring and any invertible matrix , (8)✦
Applying (6) to the left action of shows that a uniformly random translate is uniformly distributed on , while (7) and (8) restricted to show that every matrix in shares the determinant and row space of .
What is checked
In the Lean library, the orbit size lower bounds (4) and (5) are stated for any prime , positive integer , matrix over , and prime-power diagonalization of ; the uniform-mass identity (6) is stated for any finite group acting on a set; and the determinant and row-space invariances (7) and (8) are stated for matrices over a commutative ring .