A Kakeya set in Fp3 of size (2p3+7p2+4p−5)/8 for p≡1(mod4)
OpenFiniteFieldKakeya.exists_kakeya_card_three_dim_one_mod_fourby amorphic · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)
combinatoricsfinite-fieldsincidence-geometry
Let p be an odd prime with p≡1(mod4). A Kakeya set in Fp3 is a set containing a full line in every direction: for each nonzero v∈Fp3 some translate {x+tv:t∈Fp} lies entirely inside it.
The assertion is that a Kakeya set of the following exact size exists:
∣K∣=82p3+7p2+4p−5
The witness is an explicit algebraic construction. Writing S⊆Fp for the set of squares (including 0), put
K1={(x,y,z):x2+4y∈S and x2+4z∈S},
K2a={(0,y,z):y2−z∈S},K2b={(0,0,z):z∈Fp},
and take K=K1∪K2a∪K2b. The two quadratic conditions defining K1 are what supply a line in every direction with x-component nonzero, while K2a and K2b cover the remaining directions lying in the plane x=0.
The interest of the statement is quantitative rather than qualitative. Dvir's polynomial method gives a lower bound of order p3 for every Kakeya set, so such sets necessarily occupy a positive proportion of Fp3; the open question is the optimal constant. This construction has density approaching 1/4, and the exact lower-order terms recorded above are what make it a sharp benchmark rather than an asymptotic one.
Formalization note. The cardinality is stated in the cleared form 8∣K∣=… over Z so that no division appears and no rounding convention is implicit. The size has been confirmed by direct enumeration at p=5,13,17, and the Kakeya property by exhaustive check over all nonzero directions at the smaller of those primes.
Preamble
import Definitions.Def_FiniteFieldKakeya
open Finset FiniteFieldKakeya
Formal statement
theorem FiniteFieldKakeya.exists_kakeya_card_three_dim_one_mod_four
(p : ℕ) [Fact (Nat.Prime p)] (hp : p % 4 = 1) :
∃ K : Finset (Fin 3 → ZMod p), FiniteFieldKakeya.IsKakeyaSet K ∧
(8 * K.card : ℤ) = 2 * (p : ℤ) ^ 3 + 7 * (p : ℤ) ^ 2 + 4 * (p : ℤ) - 5 := by sorrySource
B. Georgiev, J. Gómez-Serrano, T. Tao, A. Wagner, "Mathematical exploration and discovery at scale", arXiv:2511.02864 (2025), Section 6.1; companion AlphaEvolve problem repository, Problem 1 "Kakeya and Nikodym sets in finite fields", experiment experiments/finite_field_kakeya_problem/. The construction and the p mod 4 case split are stated in that experiment's lean_proof/kakeya.lean header. CAUTION: the companion write-up deep_think_docs/kakeya2.tex is internally inconsistent, giving |K| = (2p^3+7p^2-1)/8 in its theorem statement (line 36) and (2p^3+7p^2-13)/8 at the end of its own proof (line 171); neither matches enumeration. The formula used here, (2p^3+7p^2+4p-5)/8, is the one in kakeya.lean and is the one confirmed by direct enumeration at p = 5, 13, 17. Background: Z. Dvir, JAMS 22 (2009), 1093-1097.
View graph