Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.Ramsey.Erdos

Erdős's lower bound for Ramsey numbers #

Erdős's 1947 argument, the first application of the probabilistic method, is a count. A fixed k-set of Fin n is a clique in exactly a 2 ^ (-C(k, 2)) fraction of the 2 ^ C(n, 2) graphs on Fin n, and an independent set in the same fraction. If the C(n, k) candidate sets together cover fewer than all graphs, some graph has neither a k-clique nor a k-independent set:

We count graphs exactly rather than build the uniform distribution: the graphs are encoded by their edge indicators Sym2 (Fin n) → Bool, and the union bound becomes Finset.card_biUnion_le.

The argument proves existence only. No explicit graph matching it is known; Nagy's explicit graph SimpleGraph.nagyGraph has only C(t, 3) vertices (SimpleGraph.choose_three_lt_ramseyNumber).

Main results #

References #

theorem SimpleGraph.exists_cliqueFree_indepSetFree_of_choose {n k l : ℕ} (h : n.choose k * 2 ^ l.choose 2 + n.choose l * 2 ^ k.choose 2 < 2 ^ (k.choose 2 + l.choose 2)) :
∃ (G : SimpleGraph (Fin n)), G.CliqueFree k ∧ G.IndepSetFree l

Erdős's counting bound, asymmetric form: if C(n, k) 2 ^ (-C(k, 2)) + C(n, l) 2 ^ (-C(l, 2)) < 1, written without division, then some graph on Fin n has no k-clique and no l-independent set [Erd47] [AlonSpencer2016, §1.1].

theorem SimpleGraph.lt_ramseyNumber_of_choose {n k l : ℕ} (h : n.choose k * 2 ^ l.choose 2 + n.choose l * 2 ^ k.choose 2 < 2 ^ (k.choose 2 + l.choose 2)) :

The counting bound as a lower bound on R(k, l).

If C(n, k) 2 ^ (1 - C(k, 2)) < 1, then n < R(k, k) [AlonSpencer2016, Proposition 1.1.1].

theorem SimpleGraph.two_mul_choose_lt_of_sq_le {n k : ℕ} (hk : 3 ≤ k) (hn : n ^ 2 ≤ 2 ^ k) :
2 * n.choose k < 2 ^ k.choose 2

The arithmetic of Erdős's bound: if k ≥ 3 and n ^ 2 ≤ 2 ^ k, then 2 * C(n, k) < 2 ^ C(k, 2). Squaring, (k! C(n, k)) ^ 2 ≤ n ^ (2k) ≤ 2 ^ (k ^ 2) and 4 * 2 ^ k < k! ^ 2.

theorem SimpleGraph.lt_ramseyNumber_of_sq_le {n k : ℕ} (hk : 3 ≤ k) (hn : n ^ 2 ≤ 2 ^ k) :

Erdős 1947: if k ≥ 3 and n ≤ 2 ^ (k / 2), that is n ^ 2 ≤ 2 ^ k, then some graph on n vertices has neither a k-clique nor a k-independent set, so n < R(k, k) [Erd47] [AlonSpencer2016, Proposition 1.1.1].

theorem SimpleGraph.two_pow_lt_ramseyNumber_sq {k : ℕ} (hk : 3 ≤ k) :
2 ^ k < ramseyNumber k k ^ 2

Erdős's bound in integer form: 2 ^ k < R(k, k) ^ 2 for k ≥ 3.

theorem SimpleGraph.two_rpow_half_lt_ramseyNumber {k : ℕ} (hk : 3 ≤ k) :
2 ^ (↑k / 2) < ↑(ramseyNumber k k)

Erdős 1947: 2 ^ (k / 2) < R(k, k) for every k ≥ 3 [Erd47] [AlonSpencer2016, Proposition 1.1.1].