The setting
In three-dimensional affine space over the prime field , a cap is a point set containing no three distinct collinear points.✦ Starting from a cap whose first coordinates lie in an initial interval , translating by a shift and applying an invertible linear transformation produces an affine image .
Restricting the first coordinate of so that small positive multiples of it avoid a symmetric residue window around zero controls both whether avoids the origin and whether triples of points in can satisfy short integer linear relations. The statements below treat the density of these allowed shifts, the avoidance of the origin, the existence of a large relation-free cap in , the exclusion of short zero-sum relations among affinely independent matrix columns over , and a lower bound on the Euclidean norm of any nonzero integer kernel vector of a integer matrix whose reduced columns are supported by a positively weighted family of affine images.
Shifts and residue windows
Let be a finite field. For finite subsets , the set of bad shifts is defined by (1): (1)✦ The set of allowed shifts is the complement of in , given by (2): (2)✦ For a finite subset , the set of vector shifts consists of all vectors in whose first coordinate belongs to , as in (3): (3)✦
For natural numbers , , and , the integer window modulo of radius is the finite subset consisting of the residues modulo of all integers satisfying .✦ The set of positive multipliers modulo for bound is the finite subset consisting of the residues modulo of all integers satisfying .✦
Caps, affine images, and Euclidean norm
Let be a field. A subset is a cap in if no three distinct points are collinear in the three-dimensional affine space over .✦ For a finite subset , a shift , and a linear automorphism , the affine image is the finite subset consisting of all points with .✦
An integer vector is a triple .✦ Embedding into Euclidean three-space gives its Euclidean norm , defined by (4): (4)✦
The claim
Lemma 5.2. Let be a prime and let be natural numbers with , , and . Then the set of allowed vector shifts for and satisfies (5)✦
Let be a field, let be a finite subset, let satisfy for every , and let be a linear automorphism. Then (6)✦
Let be a prime and let be a natural number with . Then there exists a nonempty finite subset such that , is a cap in , (7)✦ and for every triple of distinct points and every nonzero integer vector with for each , the linear combination is nonzero in .
Let be a natural number, let be any index set and a finite index set, and let be an matrix over whose columns are affinely independent over . Let be a nonzero integer vector such that and for every . Writing , one has (8)✦
Let be a prime and let be natural numbers with . Let be a finite cap in such that for every , the standard representative in of the first coordinate of is strictly less than . Let be an index set, a finite subset, a real-valued function, , and such that for every and every integer with , the product does not lie in . Let be an integer matrix whose columns, reduced modulo , are affinely independent over , and suppose that the sum of over all for which all three reduced columns of belong to is strictly positive. Then every nonzero integer vector with satisfies (9)✦
What is checked
The Lean library states the five claims of Lemma 5.2 in (5) to (9) over bad shifts, allowed shifts, and vector shifts in finite fields, residue windows and positive multipliers modulo , caps in three-dimensional affine space and their affine images, affine independence of matrix columns over , and the Euclidean norm of integer vectors in .