Ramsey numbers #
The (graph) Ramsey number $R(k,\ell)$ is the least natural number $n$ such that every simple graph on $n$ vertices contains either a clique of size $k$ or an independent set of size $\ell$ (equivalently, the complement graph contains a clique of size $\ell$).
We formalize the classical open problem of determining $R(5,5)$, together with the currently best known bounds $43 \le R(5,5) \le 46$.
Note: the diagonal Ramsey number $R(n,n)$ can also be formulated in terms of 2-colorings of
$2$-subsets, as Combinatorics.hypergraphRamsey 2 n (see FormalConjecturesForMathlib/Combinatorics/Ramsey.lean).
References:
- Wikipedia: Ramsey number
- [Rad] S. P. Radziszowski, Small Ramsey Numbers, Electronic Journal of Combinatorics, Dynamic Survey DS1. (Updated periodically.) https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS1
- [Exoo89] G. Exoo, A lower bound for $R(5,5)$, Journal of Graph Theory 13 (1989), 97–98. DOI: 10.1002/jgt.3190130113
- [AM24] V. Angeltveit and B. McKay, $R(5,5) \le 46$, arXiv:2409.15709 (2024).
- OEIS A212954
- MathWorld: Ramsey Number
IsGraphRamsey n k l means that for every simple graph G on n vertices, either
Gcontains a clique of sizek, or- the complement graph
Gᶜcontains a clique of sizel(equivalently,Gcontains an independent set of sizel).
Equations
- RamseyNumbers.IsGraphRamsey n k l = ∀ (G : SimpleGraph (Fin n)), ¬(G.CliqueFree k ∧ Gᶜ.CliqueFree l)
Instances For
Monotonicity in the number of vertices.
Symmetry in the clique / independent set sizes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lower bound $43 \le R(5,5)$, equivalently: there exists a graph on $42$ vertices with no $5$-clique and no independent set of size $5$.
Upper bound $R(5,5) \le 46$, i.e. every graph on $46$ vertices contains a $5$-clique or an independent set of size $5$.