Munim Technologies

Research/Mathematics

The smallest almost Kakeya set in F3 to the fourth has 23 points

Exhaustive computer searches give the first exact sizes of the smallest almost Kakeya sets beyond the plane. Dvir's classical construction is optimal in three dimensions over the fields with 3 and 4 elements, but in four dimensions over F3 a 23-point set beats its 24, and products of it beat Dvir in every higher dimension.

Nov 30, 2026 · 7 min read

We computed the exact size of the smallest almost Kakeya set in three small spaces. In F33\mathbb{F}_3^3 and F43\mathbb{F}_4^3 it is 12 and 24, exactly the size of the classical sets. In F34\mathbb{F}_3^4 it is 23, one point below Dvir's construction, which had been the smallest known. This is the first case in which Dvir's almost Kakeya sets are shown not to be optimal, and the smallest dimension where that happens over F3\mathbb{F}_3. Two separately written exhaustive programs agree on every value. Multiplying the new set by Dvir's lower-dimensional sets gives sets below Dvir's in every dimension from 4 up.

23

points in the smallest almost Kakeya set in F3 to the fourth

24

points in Dvir's construction there

18

points at least, by the Bukh-Chao bound

1

line per direction in the 23-point set, never two

The question

A Kakeya set in Fqn\mathbb{F}_q^n contains a full line in every direction. An almost Kakeya set only needs the non-horizontal directions, those of the form (1,u)(1, u). They are the main step in building Kakeya sets for odd qq, and Bukh and Chao proved that every almost Kakeya set has at least

∣K∣≥qn(2−1/q)n−1|K| \ge \frac{q^n}{(2 - 1/q)^{n-1}}
Bukh-Chao, Theorem 1'. For odd q the known sets (Dvir) have q((q+1)/2)(n-1) points.

points, which settled the leading term. The gap in the next term is open; Bukh and Chao wrote that "it would be interesting to close the gap". In the plane the exact answer is known. For n≥3n \ge 3 we found no exact value in the literature.

What we did

Over F3\mathbb{F}_3 a line {(t,x+tu)}\{(t, x + tu)\} meets the three slices t=0,1,2t = 0, 1, 2 in points a,b,ca, b, c with a+b+c=0a + b + c = 0 and b−a=ub - a = u. So a set with slices A,B,CA, B, C is almost Kakeya exactly when every uu is a difference b−ab - a of such a triple. This form has a large symmetry group: the three slices can be permuted, and an affine map can act on all three. Our first search fixes the smallest slice up to symmetry, tries every middle slice up to further symmetry, and finds the least third slice by an exact hitting-set search. A second program, sharing no code, lists the whole affine group explicitly, reduces the middle slice only by a translation, and has its own hitting-set search; it ran in five parts that together cover every possible size of the smallest slice. Every set reported is checked line by line by code that shares nothing with the searches.

Exact minimum sizes of almost Kakeya sets

SpaceBukh-Chao boundClassical setExact minimum
F33\mathbb{F}_3^31012 (Dvir)12
F43\mathbb{F}_4^3212424
F34\mathbb{F}_3^41824 (Dvir)23
From k45/RESULT.md and k46/RESULT.md; each value by two separately written programs. Classical sets: Dvir's for q = 3, the shifted-parabola set for q = 4.

The 23-point set

Its slices have 7, 8 and 8 points. The first is the cube {0,1}3\{0,1\}^3 without its corner (1,1,1)(1,1,1). Of the 56 pairs of a point in the first slice and a point in the second, exactly 27 extend to a line through the third, and their 27 directions are all different. So the set holds exactly one line in each direction. We checked this by hand, pair by pair, as well as by program.

A smallest almost Kakeya set in F3 to the fourth

SlicePoints (x1 x2 x3)
t = 0 (7 points)000 001 010 011 100 101 110
t = 1 (8 points)000 002 012 020 100 102 120 221
t = 2 (8 points)000 002 020 112 200 202 220 221
From k46/results/tri-c-v1.json (points listed as t, x1, x2, x3).

It is a small change to Dvir's set. The copy of Dvir's set with slices {0,1}3\{0,1\}^3, {0,1}×{0,2}2\{0,1\} \times \{0,2\}^2 and {0,2}3\{0,2\}^3 has 24 points. Removing 5 of them (111 from the first slice, 022 and 122 from the second, 022 and 222 from the third) and adding 4 (012 and 221 to the second, 112 and 221 to the third) gives the set above. Exactly 8 of the 27 lines of Dvir's copy touch a removed point, and each has a replacement inside the new set; the other 19 stay. The full table is in k49/RESULT.md. The set is almost rigid: of the 49,128,768 maps that keep the slice structure, only the identity and one other map send it onto itself.

Every higher dimension

The triple condition is preserved by products: if (A,B,C)(A, B, C) works in F3m\mathbb{F}_3^m and (A′,B′,C′)(A', B', C') in F3m′\mathbb{F}_3^{m'}, then (A×A′,B×B′,C×C′)(A \times A', B \times B', C \times C') works in F3m+m′\mathbb{F}_3^{m+m'}. Multiplying by Dvir's slices gives 23⋅2n−423 \cdot 2^{n-4} points in F3n\mathbb{F}_3^n for every n≥4n \ge 4, against Dvir's 24⋅2n−424 \cdot 2^{n-4}. Multiplying permuted copies of the new set together does better: 176 points in dimension 7 and 1344 in dimension 10, a growth rate of (7⋅8⋅8)1/9≈1.971(7 \cdot 8 \cdot 8)^{1/9} \approx 1.971 per dimension instead of 2. A local search started from these products, from Dvir's sets and from random sets found nothing smaller in dimensions 5, 6 and 7, while in dimension 4 it reaches 23 from every start.

Almost Kakeya sets in F3 to the n

points

Product sets built and checked line by line in test_k46_results.py; sizes recorded in k46/RESULT.md. Local search: k47/RESULT.md. Source: k46/RESULT.md

Larger fields

We ran the same kind of local search over the fields with 5 and 7 elements. It finds the 23-point set in F34\mathbb{F}_3^4 from Dvir's set and from a random start, but it found nothing below Dvir's construction in F53\mathbb{F}_5^3 (45 points), F73\mathbb{F}_7^3 (112) or F54\mathbb{F}_5^4 (135). In F53\mathbb{F}_5^3 all four random starts, of 79 to 83 points, stopped at exactly 45. All three of our predictions that it would beat Dvir there failed (k48/RESULT.md). Over F5\mathbb{F}_5 every product of optimal planar sets is a copy of Dvir's set, so there is no mixed product to start a surgery from, as there is over F3\mathbb{F}_3.

What it means

Dvir's sets are exactly optimal in the plane and in three dimensions over F3\mathbb{F}_3, which might suggest they are optimal everywhere. They are not: the first failure is in four dimensions, already over the smallest odd field. The search does not say how far below Dvir the true minimum falls in large dimensions, or whether anything similar happens for larger odd fields. Every Kakeya set is also almost Kakeya, and over F3\mathbb{F}_3 Kakeya sets with growth below 2 per dimension were already known for large nn, so the new sets matter in small dimensions (4 to 7, where they are the smallest we know of) and as exact data for the gap Bukh and Chao asked about. A short paper-style note with all the proofs and three open questions is in paper/almost-kakeya-small.tex.

More research