Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.Ramsey.FranklWilson

The Frankl–Wilson Ramsey graph #

The Frankl–Wilson graph SimpleGraph.franklWilsonGraph α p d has the d-element subsets of α as vertices, two of them adjacent when the size of their intersection is not congruent to d mod p. A vertex meets itself in d points, so the graph is loopless. With n = |α|:

Frankl and Wilson take n = p³ and d = p² - 1 [FW81]: the graph has C(p³, p² - 1) vertices and neither a clique nor an independent set of more than C(p³, p - 1) vertices (SimpleGraph.choose_lt_ramseyNumber_franklWilson). With k = C(p³, p - 1) + 1 this is k ^ Θ(log k / log log k) vertices, superpolynomial in k; SimpleGraph.pow_lt_ramseyNumber_franklWilson records k ^ c < R(k, k) for every prime p ≥ 6 c + 3. Nagy's graph (SimpleGraph.nagyGraph) gives only Θ(k ^ 3) vertices. Polynomial-time names and adjacency are in CslibFrontier.Computability.Complexity.ExplicitRamsey.FranklWilson.

Main definitions #

Main results #

References #

The Frankl–Wilson graph: the d-element subsets of α, two of them adjacent when the size of their intersection is not congruent to d mod p [FW81].

theorem SimpleGraph.franklWilsonGraph_adj {α : Type u_1} [DecidableEq α] {p d : ℕ} {s t : { s : Finset α // s.card = d }} :
(franklWilsonGraph α p d).Adj s t ↔ (↑s ∩ ↑t).card % p ≠ d % p
theorem SimpleGraph.cliqueFree_franklWilsonGraph {α : Type u_1} [DecidableEq α] [Fintype α] {p d : ℕ} [hp : Fact (Nat.Prime p)] (hd : d % p = p - 1) :

For a prime p and d ≡ -1 (mod p), the Frankl–Wilson graph has no clique of size C(|α|, p - 1) + 1, by the modular Frankl–Wilson bound.

theorem SimpleGraph.indepSetFree_franklWilsonGraph {α : Type u_1} [DecidableEq α] [Fintype α] {p d : ℕ} (hp : 0 < p) :

For p > 0, the Frankl–Wilson graph has no independent set of size C(|α|, ⌊d / p⌋) + 1, by the Ray-Chaudhuri–Wilson theorem.

theorem SimpleGraph.choose_lt_ramseyNumber_franklWilson (p : ℕ) [hp : Fact (Nat.Prime p)] :
(p ^ 3).choose (p ^ 2 - 1) < ramseyNumber ((p ^ 3).choose (p - 1) + 1) ((p ^ 3).choose (p - 1) + 1)

The Frankl–Wilson bound: for every prime p, C(p³, p² - 1) < R(k, k) with k = C(p³, p - 1) + 1, witnessed by SimpleGraph.franklWilsonGraph (Fin (p ^ 3)) p (p ^ 2 - 1) [FW81].

theorem SimpleGraph.pow_lt_ramseyNumber_franklWilson {p c : ℕ} [Fact (Nat.Prime p)] (hpc : 6 * c + 3 ≤ p) :
((p ^ 3).choose (p - 1) + 1) ^ c < ramseyNumber ((p ^ 3).choose (p - 1) + 1) ((p ^ 3).choose (p - 1) + 1)

Superpolynomial explicit Ramsey bound: with k = C(p³, p - 1) + 1, k ^ c < R(k, k) for every prime p ≥ 6 c + 3, witnessed by the Frankl–Wilson graph [FW81].