The setting
In the residue-orbit construction for Heilbronn’s triangle problem, triples of points are encoded by matrices over the prime-power residue ring with , where the base- digits of each column are sampled independently from prescribed residue classes modulo a prime determined by a column label. Each matrix with a unit entry admits a Smith normal form over , whose smaller invariant controls the index of the integral row lattice .
Lemma 4.3 establishes the probabilistic bounds on needed for this construction: a prefix-matching probability bound for independent injective digit maps, a conditional expectation bound under prescribed residues modulo , an abstract collision-moment bound on triples with a repeated label, and their specializations to the norm-encoding residue system over .
Digit fibers, matrix draws, and Smith data
The divisor moment bound requires only independent uniform choices from fibers of fixed size, regardless of how the prescribed residues depend on the labels.
For natural numbers and and a residue class , the residue fiber in is the finite set (1)✦ When , the fiber (1) has exact cardinality , and we fix a bijection enumerating it.✦ Given , natural numbers with , and prescribed residues for and , the prescribed digit map is given by , which takes values in .✦
For a sample set and a natural number , a border digit header is a pair of maps in supplying the sample indices for the first row and for the lower two entries of the first column.✦ A matrix digit draw is a pair consisting of a border digit header and an interior digit array in supplying the sample indices for the lower-right block; we write for the set of all matrix digit draws.✦ For , , and , the picked entry digit reads the corresponding entry from the first row when , from the first column when and , and from the interior block when .✦
Given a digit map and a draw , the encoded matrix entry at is the natural number (2)✦ and for any natural number , the draw matrix modulo is the matrix whose entry is from (2).✦ A matrix over a ring has vanishing minors if for all row indices and column indices .✦
We also organize matrix digits directly as an array in .✦ For a digit map as above, an array , and a natural number , the array matrix modulo is the matrix with entries (3)✦
For natural numbers and and a matrix , Smith normal form data modulo for consists of natural numbers and with and invertible matrices satisfying (4)✦ in . When is prime and is a unit in , Smith normal form data (4) exists for ✦, and we fix one such choice. In particular, when is prime, , and every digit value lies in , the entry of the array matrix from (3) is a unit in , yielding chosen Smith normal form data modulo for .✦
The norm-encoding residue system and main digit law
For the norm-encoding construction, we fix the parameters , , , and , so that .✦ For natural numbers and with and (hence also ), prime parameter data consists of primes and with satisfying (5)✦ When , the lower bound in (5) implies .✦
Let be a prime. The label set is the finite field of order , equipped with a fixed basis over . For , the moment column is ✦, and the label coordinate vector sends to the -th coordinate of in the basis .✦ On the variable index set , the coordinate linear form for is ✦, and the determinant polynomial is .✦ For any Galois extension and polynomial , the Galois conjugate product descends to a polynomial over ✦, defining the norm polynomial of over . Applying this to the determinant polynomial for yields the label norm polynomial .✦
Let be the set of multi-indices on of total degree .✦ Its cardinality is , and we fix a bijection .✦ For and , the monomial value on is .✦ Combining three multi-indices on into a single multi-index on that assigns to block , the triple-block polynomial coefficient is the coefficient of the combined multi-index of in .✦ The set of strictly increasing triples with has cardinality ✦; fixing an enumeration of these triples by , for each corresponding to the norm determinant row functions are (6)✦
For and , the designated digit position is (7)✦ Using (6) and (7), the prescribed residue modulo at row , digit position , and label is (8)
For any finite set , the uniform probability weight is ✦, and for a weight function on a finite index set , the product probability weight of a tuple is .✦ For a label set and a sample set , a digit column is an element of ✦, and a latent sample is a pair in .✦ A triple of latent samples splits bijectively into its label triple and its digit array given by .✦
Fix a prime and prime parameter data (5) for and with base prime . Set the fiber sample index set to and the main latent sample space to . Since , each label , row , position , and sample index determines the sampled base- digit using (8).✦ For a label triple and an array , the labeled array digit map is ✦, and the main encoded matrix is the corresponding array matrix modulo from (3).✦ Its chosen Smith normal form data (4) has smaller exponent . For a triple of latent samples , the triple divisor is (9)✦ and the repeated-label event consists of all triples whose label triple satisfies , , or .✦
The claim
Lemma 4.3.
Let be a finite nonempty set, let be a finite set, and let be natural numbers with and . For each and , let be an injective map, and let be a target map. If is a subset such that for every and every , the least nonnegative remainder of modulo equals , then (10)✦
Let be positive integers and a prime with . Let be prescribed residues for and , and let satisfy for every draw . Suppose that for every integer and every draw with , the draw matrix has vanishing minors. If , then (11)✦
Let and be finite nonempty sets, let be a prime, and let . For each triple , indices , and , let be an injective map, and for each and , let be the smaller exponent of Smith normal form data modulo for . If , then (12)✦
For a prime and prime parameter data (5) with parameters and , the triple divisor (9) under the product uniform weight on satisfies (13)✦
Under the same hypotheses as in (13), the contribution of the repeated-label event satisfies (14)✦
What is checked
Lemma 4.3 is stated over five layers of the construction: prefix-matching events on finite products of injective base- digit maps in (10); uniform matrix digit draws with prescribed residues modulo and vanishing minors in (11); array matrices with Smith normal form data over and repeated-label indicator sums in (12); and independent uniform triples from the main latent sample space built from prime parameter data and the norm-encoding residue system over in (13) and (14). Beyond these five bounds, the Lean library establishes the existence of Smith normal form data modulo whenever is prime and the entry is a unit, the descent of the Galois conjugate product of a multivariate polynomial to the base field, the cardinality of strictly increasing triples, the positivity , and the base bound from prime parameter data.