The following post is (partly) based on discussions with Dion Gijswijt and Ananth Ravi from September 2025.
The famous cap set problem has attracted the attention of various mathematicians from different areas over the last few decades. It asks for the largest possible size, , of a 3-term arithmetic progression free subset of the abelian group
, or geometrically the largest size of a points set in the affine geometry
where no three points are collinear. In 1982, Brown and Buhler gave the first non-trivial upper bound of
. In 1995, Meshulam improved their upper bound to
by using Fourier analytic techniques. Bateman and Katz further refined these techniques and managed to prove the upper bound of
. Then came the big breakthrough of Ellenberg and Gijswijt in 2016, who used polynomial rank arguments (building up on the work of Croot, Lev and Pach), to prove that
.
These results initiated the so-called slice rank method that has been used to make progress on several problems in combinatorics. Also see my old blog post on this topic.
In this post, I want to discuss the question of finding the smallest possible cap sets (which I will call affine caps from now on) in , with the obvious condition that they are maximal/complete, that is, the addition of any point to the cap gives rise to three collinear points. This was asked to me by Dion who said that he is only aware of constructions of size roughly
, and there was a recent student thesis in Leiden that investigate small values of this function. Note that the binary vectors
inside
give a construction of size
. The problem is also interesting from the coding theoretic perspective and it has been investigated for a long time (see this survey).
A simple counting argument shows a lower bound of roughly as follows.
Let be complete affine cap in
. Then for every point outside
there must be a line through that point that meets
in two points. Moreover, the line joining any pair of points in
gives rise to a third point outside
. Therefore,
.
Let denote the smallest size of a complete cap in
. We have just seen that
. Can we improve the upper bound?
This problem has been studied by finite geometers, and the question has been explicitly stated as an open problem in this paper from 2025 (see Problem 5.1) by Bence Csajbók and Zoltán Lóránt Nagy. Recently, Cassie Grace and Felipe Voloch found an elegant algebraic construction of size , thus solving the problem.
The main purpose of this post is to advertise that a solution to this problem already follows from a 2021 result of Cossidente, Csajbók, Marino, and Pavese, who constructed small complete projective caps, of size , in the projective space
for all
and all positive integers
. This is tight up-to a constant factor. The corresponding problem for even
had long been solved (by Pambianco and Storme), but the odd cases remained open. They found a beautiful geometric construction using Veronese varieties over finite fields. However, they, and others, did not realize that for
their construction can also be used to construct complete affine caps of size
. Here is how it works.
Projective complete caps give affine complete caps over as follows. Let
be a complete cap in the projective space
, that is, a set of points such that no three points in
are collinear and every point outside
lies on a line that contains at least two points from
. The points of
correspond to
-dimensional vector subspaces of
and the lines correspond to
-dimensional vector subspaces. Therefore, each point
of
, where
is a non-zero vector, corresponds to three affine points of
, namely, the points
,
and
. Let
be the affine set obtained by taking the union of sets
for all
. This is a set of size
in
. I claim that
must be a complete cap.
Let be three collinear points in
. Then they must be pairwise linearly independent, as otherwise one of these points will have to be
which is not in
. But then, we get three collinear points
in
, which is a contradiction. Therefore,
is an affine cap. Now let
be an affine point outside
in
. If
, then we get the affine line
through
containing exactly two points of
for every
. Let
. Then there exist
and
in
such that the projective points
are collinear in
since
is complete. Thus, the vectors
are linearly dependent and hence
for some
. The points
and
are in
and we have
, which implies that these three are collinear in the affine space, thus proving the completeness of the affine cap
.
Now let and
a projective cap of size
in
. Then we get an affine cap
of size
in
. This is just a factor of
away from the best lower bound. Also note that even though this construction only works for
, from any complete affine cap
in
we can get a complete cap of size
in
by taking
, thus proving that in general we have a construction of size
for all
.
This doubling construction has long been known (see Theorem 5 in the 1999 paper of Edel and Bierbrauer), but I have not found any reference where it talks about completeness (for ).
The new construction of Grace and Voloch is simpler to describe. Let and let
. Then the set
in
can be seen as a set of points in
as each element of
can be naturally identified as a
dimensional vector over the base field
. This gives the required complete cap, which is also of size
. I haven’t checked if this construction is isomorphic to the earlier construction using Veronese varieties. The construction fits the theme of `union of parabolas’ that was discussed in my last blog post and the recent work of Terry Tao where he rediscovered an old construction of non-classical unitals. Perhaps there are some more nice applications of this idea.
For , the doubling construction can also be used to get an affine cap of size
from a projective cap
, but the proof of completeness does not work as for each
we can only pick two non-zero vectors in the space and not all of them. There are other constructions known in these cases which can asymptotically solve the problem. For example, a construction of Davydov and Östergård give a complete projective cap of the correct asymptotic size over all finite fields
with
a fixed odd prime power. It can be checked that there is a hyperplane disjoint from their cap, thus giving us a complete affine cap of size
for every fixed odd
. A 2007 paper of Giulietti makes this observation and gives others construction for odd
. In fact, the affine cap is simply
, when viewed as a point set in
, which can be shown to be complete for all odd
. Therefore, this is pretty similar to the construction of Grace and Voloch.
I believe what’s really an open problem now is to find the correct constant in front of and then the exact value of the function
for all
.






