Lower bounds for the sunflower lemma #
The sunflower lemma (containsSunflower_of_forall_card_le) finds a sunflower with p petals in
every family of more than (p - 1) ^ w * w! sets of size at most w. Erdős and Rado also showed
that the factor (p - 1) ^ w cannot be dropped Erdős and Rado: the graphs
{(i, f i) | i : ι} of all functions f : ι → β form a family of |β| ^ |ι| sets of size |ι|
without a sunflower with |β| + 1 petals (not_containsSunflower_graphFamily). Indeed, among
|β| + 1 graphs, at each coordinate i some pair agrees. Thus every petal is contained in the
core, which is impossible for two distinct petals.
Taking ι = Fin w and β = Fin (p - 1) gives (p - 1) ^ w sets of size w without a sunflower
with p petals (exists_card_eq_pow_not_containsSunflower).
For w = 1 the two bounds meet: distinct sets of size at most one are pairwise disjoint, so a
family of such sets contains a sunflower with p petals exactly when it has at least p members
(containsSunflower_iff_le_card). For w = 2 and p = 3 the product construction is not
optimal: two disjoint triangles are six edges without a sunflower with three petals
(not_containsSunflower_twoTriangles), more than the (3 - 1) ^ 2 = 4 edges of the construction.
Main definitions #
Cslib.Sunflower.functionGraph: the graph of a function on a finite type, as a finite set.Cslib.Sunflower.graphFamily: the graphs of all functionsι → β.Cslib.Sunflower.twoTriangles: the edges of two disjoint triangles.
Main results #
Cslib.Sunflower.not_containsSunflower_graphFamily: the graph family has no sunflower with|β| + 1petals.Cslib.exists_card_eq_pow_not_containsSunflower:(p - 1) ^ wsets of sizewwithout a sunflower withppetals.Cslib.containsSunflower_iff_le_card: for sets of size at most one, a sunflower withppetals exists exactly when there are at leastpsets.Cslib.Sunflower.not_containsSunflower_twoTriangles: six sets of size two without a sunflower with three petals.
References #
Graphs of functions #
A pair lies in the graph of f exactly when its second component is the value of f at its
first.
The graph of a function on ι has |ι| elements.
A function is determined by its graph.
The graphs of all functions ι → β.
Instances For
The members of the graph family are the graphs of functions.
There are |β| ^ |ι| graphs of functions ι → β.
Every graph of a function on ι has |ι| elements.
Erdős–Rado lower bound. The graphs of all functions ι → β, for nonempty β, contain no
sunflower with |β| + 1 petals: at each coordinate some pair of petals agrees, so every petal is
contained in the core.
Erdős–Rado lower bound. For p ≥ 2 there are (p - 1) ^ w sets of size w without a
sunflower with p petals: the graphs of all functions Fin w → Fin (p - 1).
Sets of size at most one #
For a family of sets of size at most one, which are pairwise disjoint when distinct, a
sunflower with p petals exists exactly when the family has at least p sets. With the sunflower
lemma for w = 1 this shows that its bound p - 1 is exact.
Two disjoint triangles #
The two triangles have six edges.
Every edge of the two triangles has two vertices.
Two disjoint triangles contain no sunflower with three petals: such a sunflower of edges
consists of three edges through a common vertex or of three pairwise disjoint edges, but every
vertex has degree two and every three edges include two of the same triangle. So the product
construction, with (3 - 1) ^ 2 = 4 sets, is not optimal for w = 2 and p = 3. The proof checks
all triples of edges by decide.