The modular Frankl-Wilson theorem bounds the size of a family of subsets of an
-element set. Let
be a prime number and let
be a set of
congruence classes modulo
. Suppose
lies outside
modulo
for every
, and
lies in
modulo
for all distinct
. Then (Frankl and Wilson
1981)
In particular, for a prime number , a coloring of
that gives different colors to pairs at unit distance
needs at least
colors. The ratio grows exponentially with . For example, at least five colors
are necessary in
. Traverso Gianini (2026) formalized
both bounds in Lean.