ArticleslgStudy

science

Cap set

Cap set is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cap set rather than just read about it. In short: In affine geometry, a cap set is a subset of the affine space ℤ3n (the n-dimensional affine space over the three-element field) where no three elements sum to the zero vector. The cap set problem is the problem of finding the size of the largest possible cap set, as a function of n.

Cap set — main illustration
Cap set — illustration

Key takeaways

  • Cap set belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cap set to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cap set from memory before moving on to harder problems.

Reference excerpt

In affine geometry, a cap set is a subset of the affine space ℤ3n (the n-dimensional affine space over the three-element field) where no three elements sum to the zero vector. The cap set problem is the problem of finding the size of the largest possible cap set, as a function of n. The first few cap set sizes are 1, 2, 4, 9, 20, 45, 112, ... (sequence A090245 in the OEIS). Caps are defined more generally as subsets of a finite affine or projective space with no three in a line. The "cap set" terminology should be distinguished from other unrelated mathematical objects with the same name, and in particular from sets with the compact absorption property in function spaces as well as from compact convex co-convex subsets of a convex set.

Example

An example of cap sets comes from the card game Set, a card game in which each card has four features (its number, symbol, shading, and color), each of which can take one of three values. The cards of this game can be interpreted as representing points of the four-dimensional affine space ℤ34, where each coordinate of a point specifies the value of one of the features. A line, in this space, is a triple of cards that, in each feature, are either all the same as each other or all different from each other. The game play consists of finding and collecting lines among the cards that are currently face up, and a cap set describes an array of face-up cards in which no lines may be collected. One way to construct a large cap set in the game Set would be to choose two out of the three values for each feature, and place face up each of the cards that uses only one of those two values in each of its features. The result would be a cap set of 16 cards. More generally, the same strategy would lead to cap sets in ℤ3n of size 2n. However, in 1970, Giuseppe Pellegrino proved that four-dimensional cap sets have maximum size 20. In terms of Set, this result means that some layouts of 20 cards have no line to be collected, but that every layout of 21 cards has at least one line. (The dates are not a typo: the Pellegrino cap set result from 1970 really does predate the first publication of the Set game in 1974.)

Maximum size Since the work of Pellegrino in 1971, and of Tom Brown and Joe Buhler, who in 1984 proved that cap-sets cannot constitute any constant proportion of the whole space, there has been a significant line of research on how large they may be.

Lower bounds Pellegrino's solution for the four-dimensional cap-set problem also leads to larger lower bounds than 2n for any higher dimension, which was further improved to 2.2173n by Edel (2004) and then to 2.2180n by Tyrrell (2022). In December 2023, a team of researchers from Google's DeepMind published a paper where they paired a large language model (LLM) with an evaluator and managed to improve the bound to 2.2202n. The bound was subsequently improved to 2.2203n with another large language model and to (2.2203+ε)n by Hametner & Tyrrell (2026).

Upper bounds In 1984, Tom Brown and Joe Buhler proved that the largest possible size of a cap set in ℤ3n is o(3n) as n grows; loosely speaking, this means that cap sets have zero density. Péter Frankl, Ronald Graham, and Vojtěch Rödl have shown in 1987 that the result of Brown and Buhler follows easily from the Ruzsa–Szemerédi triangle removal lemma, and asked whether there exists a constant c<3 such that, indeed, for all sufficiently large values of n, any cap set in ℤ3n has size at most cn; that is, whether any set in ℤ3n of size exceeding cn contains an affine line. This question also appeared in a paper published by Noga Alon and Moshe Dubiner in 1995. In the same year, Roy Meshulam proved that the size of a cap set does not exceed 2⋅3n/n. Michael Bateman and Nets Katz improved the bound to O(3n/n1+ε) with a positive constant ε. Determining whether Meshulam's bound can be improved to cn with c<3 was considered one of the most intriguing open problems in additive combinatorics and Ramsey theory for over 20 years, highlighted, for instance, by blog posts on this problem from Fields medalists Timothy Gowers and Terence Tao. In his blog post, Tao refers to it as "perhaps, my favorite open problem" and gives a simplified proof of the exponential bound on cap sets, namely that for any prime power p, a subset S⊂Fpn that contains no arithmetic progression of length 3 has size at most cpn for some cp<p. The cap set conjecture was solved in 2016 due to a series of breakthroughs in the polynomial method. Ernie Croot, Vsevolod Lev, and Péter Pál Pach posted a preprint on the related problem of progression-free subsets of ℤ4n, and the method was used by Jordan Ellenberg and Dion Gijswijt to prove an upper bound of 2.756n on the cap set problem. In 2019, Sander Dahmen, Johannes Hölzl and Rob Lewis formalised the proof of this upper bound in the Lean theorem prover. As of March 2023, there is no exponential improvement to Ellenberg and Gijswijt's upper bound. Jiang showed that by precisely examining the multinomial coefficients that come out of Ellenberg and Gijswijt's proof, one can gain a factor of n. This saving occurs for the same reasons that there is a 1/n factor in the central binomial coefficient.

Mutually disjoint cap sets In 2013, five researchers together published an analysis of all the ways in which spaces of up to the size of ℤ34 can be partitioned into disjoint cap sets. They reported that it is possible to use four different cap sets of size 20 in ℤ34 that between them cover 80 different cells; the single cell left uncovered is called the anchor of each of the four cap sets, the single point that when added to the 20 points of a cap set makes the entire sum go to 0 (mod 3). All cap sets in such a disjoint collection share the same anchor. Results for larger sizes are still open as of 2021.

Applications

Sunflower conjecture

The solution to the cap set problem can also be used to prove a partial form of the sunflower conjecture, namely that if a family of subsets of an n-element set has no three subsets whose pairwise intersections are all equal, then the number of subsets in the family is at most cn for a constant c<2.

Matrix multiplication algorithms The upper bounds on cap sets imply lower bounds on certain types of algorithms for matrix multiplication.

Strongly regular graphs

… excerpt ends here. Continue reading the full article.

Illustrations

Cap set: The 9 points and 12 lines of ℤ32, and a 4-element cap set (the four yellow points) in this space
The 9 points and 12 lines of ℤ32, and a 4-element cap set (the four yellow points) in this space
Cap set: A complete set of 81 cards isomorphic with those of the game Set showing all possible combinations of the four features. Considering each 3×3 group as a plane aligned in 4-dimensional space, a set comprises 3 cards in a (4-dimensional) row, with wrap-around. An example 20-card cap set is shaded yellow.
A complete set of 81 cards isomorphic with those of the game Set showing all possible combinations of the four features. Considering each 3×3 group as a plane aligned in 4-dimensional space, a set comprises 3 cards in a (4-dimensional) row, with wrap-around. An example 20-card cap set is shaded yellow.

Worked examples

Example 1 — a first encounter with Cap set

Start with the simplest possible case. Write down what Cap set claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cap set before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cap set ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cap set

In research
Cap set appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cap set in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cap set is common in secondary-school and first-year university syllabi. It links to neighbouring topics Ramsey theory, so understanding it makes those chapters shorter.
In everyday life
Look for Cap set outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cap set” →

How to study Cap set in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cap set means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cap set out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cap set in simple terms?

In affine geometry, a cap set is a subset of the affine space ℤ3n (the n-dimensional affine space over the three-element field) where no three elements sum to the zero vector. The cap set problem is the problem of finding the size of the largest possible cap set, as a function of n.

Why does Cap set matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cap set?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cap set.

Tags

  • Ramsey theory

Keep exploring