Lefebvre's variations, No. 129 — on a theme by Jordan Ellenberg and Dion Gijswijt: cap sets in F_3^4 have at most twenty points
ProvedLefebvreVariations.cap_set_dim_four_le_twentyLet contain no three distinct points with (a cap set, equivalently a set with no three-term arithmetic progression). Then
This is sharp: the maximum size of a cap set in is exactly .
Formalization Note The hypothesis is the one of the platform's cap_set_bound: for all , implies (in characteristic this forces ). The ambient space is Fin 4 → ZMod 3 and the conclusion is the natural-number inequality A.card ≤ 20.
Why this is a variation. A variation on the platform's open cap_set_bound (|A| <= 2.756^n for cap sets in F_3^n). It fixes the dimension n = 4 and states the exact maximum size, which is a sharper finite fact than the asymptotic bound. The parent, whose true growth rate is unknown, remains open.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib
namespace LefebvreVariations
/-- A cap set in `F_3^4` has at most `20` points (exact maximum 20). Source: R. Pellegrino, Sulle calotte massime dello spazio affine AG(4,3), 1970 (the maximum is 20) (cited from memory). -/
theorem cap_set_dim_four_le_twenty
(A : Finset (Fin 4 → ZMod 3))
(hcap : ∀ x ∈ A, ∀ y ∈ A, ∀ z ∈ A, x + y + z = 0 → x = y) :
A.card ≤ 20 := by
sorry
end LefebvreVariations