OctoInform Beta

OpenAI preprint, September 2026 · §5. An auxiliary cap and its inclusion probabilities

Lemma 5.1: Quadratic graph caps in F3F^3 and affine caps of size at least |B|/|F||B|/|F| in subsets BB and w3/qw^3/q in residue boxes

Affine caps in subsets and boxes over finite fields.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In three-dimensional affine space over a finite field, a subset containing no three distinct collinear points is an affine cap. For an odd prime qq, Lemma 5.1 concerns finding an affine cap inside a coordinate box in 𝔽q3\mathbb{F}_q^3 that captures at least a 1/q1/q fraction of the points in the box. Alongside this box bound, the Lean library states the existence of an affine cap inside any finite subset of F3F^3 over a finite field FF of characteristic different from 22, as well as a quadratic graph in F3F^3 meeting every affine line in at most two points.

Affine caps and quadratic graphs

Let FF be a field. A subset S⊆F3S \subseteq F^3 is an affine cap if no three distinct points of SS are collinear over FF, meaning that no affine line in F3F^3 contains three distinct points of SS.✦

For points a,b∈F3a, b \in F^3 and a scalar t∈Ft \in F, the affine line point La,b(t)∈F3L_{a,b}(t) \in F^3 is given coordinatewise by (1): La,b(t)=a+t(b−a).L_{a,b}(t) = a + t(b - a).(1)✦

For a scalar η∈F\eta \in F, the binary quadratic form Qη:F2→FQ_\eta : F^2 \to F is given by (2): Qη(x,y)=x2−ηy2.Q_\eta(x, y) = x^2 - \eta y^2.(2)✦ The quadratic graph Γη⊆F3\Gamma_\eta \subseteq F^3 associated to η∈F\eta \in F is the set defined by (3): Γη={(x,y,z)∈F3:z=Qη(x,y)}.\Gamma_\eta = \{(x, y, z) \in F^3 : z = Q_\eta(x, y)\}.(3)✦

For a prime qq, identify each residue class in 𝔽q=ℤ/qℤ\mathbb{F}_q = \mathbb{Z}/q\mathbb{Z} with its least non-negative integer representative in {0,…,q−1}\{0, \dots, q-1\}. For an integer 0≤w≤q0 \le w \le q, the residue box {0,…,w−1}3⊆𝔽q3\{0, \dots, w-1\}^3 \subseteq \mathbb{F}_q^3 consists of all triples whose three coordinates have representatives strictly less than ww; when w=0w = 0, this box is empty.

The claim

Lemma 5.1. Let FF be a finite field of characteristic different from 22, let qq be an odd prime, and let ww be an integer with 0≤w≤q0 \le w \le q.

  1. There exists η∈F\eta \in F such that for all distinct points a,b∈Γηa, b \in \Gamma_\eta and every t∈Ft \in F, La,b(t)∈Γη⇔t=0 or t=1.L_{a,b}(t) \in \Gamma_\eta \iff t = 0 \text{ or } t = 1.(4)✦

  2. For every finite subset B⊆F3B \subseteq F^3, there exists an affine cap S⊆BS \subseteq B satisfying |S|≥|B||F|.|S| \ge \frac{|B|}{|F|}.(5)✦

  3. There exists an affine cap S⊆{0,…,w−1}3⊆𝔽q3S \subseteq \{0, \dots, w-1\}^3 \subseteq \mathbb{F}_q^3 satisfying |S|≥w3q.|S| \ge \frac{w^3}{q}.(6)✦

What is checked

In the Lean library, Lemma 5.1 is stated as the three assertions (4), (5), and (6) over the quadratic form QηQ_\eta, its graph Γη\Gamma_\eta, affine line points La,b(t)L_{a,b}(t), and affine caps in F3F^3 for a finite field FF of characteristic different from 22, finite subsets B⊆F3B \subseteq F^3, and residue boxes {0,…,w−1}3⊆𝔽q3\{0, \dots, w-1\}^3 \subseteq \mathbb{F}_q^3 for an odd prime qq and an integer 0≤w≤q0 \le w \le q.