Is Erdős Problem #805 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/805 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
For which functions \(g(n)\) with \(n>g(n)\geq (\log n)^2\) is there a graph on \(n\) vertices in which every induced subgraph on \(g(n)\) vertices contains a clique of size \(\geq \log n\) and an independent set of size \(\geq \log n\)?
In particular, is there such a graph for \(g(n)=(\log n)^3\)?
This is the first part. A problem of Erdős and Hajnal [Er91]; see also erdosproblems.com/804. The inequalities on g are required for all large n, and a graph is required for all large n.
In Lean:
theorem erdos_805.parts.i :
{g : ℕ → ℕ | (∀ᶠ n : ℕ in atTop, Real.log n ^ 2 ≤ g n ∧ g n < n) ∧ HasRamseyGraphs g} =
erdos_805.parts.i.answerStated in Lean
in the atlas →4 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos805.erdos_805.parts.iopentheorem erdos_805.parts.i : {g : ℕ → ℕ | (∀ᶠ n : ℕ in atTop, Real.log n ^ 2 ≤ g n ∧ g n < n) ∧ HasRamseyGraphs g} = erdos_805.parts.i.answerProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F805%23Erdos805.erdos_805.parts.iErdos805.erdos_805.parts.iiopentheorem erdos_805.parts.ii : HasRamseyGraphs (fun n ↦ ⌊Real.log n ^ 3⌋₊)
Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F805%23Erdos805.erdos_805.parts.iiErdos805.erdos_805.variants.alon_sudakovsolved upstreamtheorem erdos_805.variants.alon_sudakov : ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop, ¬ ∃ G : SimpleGraph (Fin n), IsLocallyRamsey G ⌊c * Real.log n ^ 3 / Real.log (Real.log n)⌋₊ ⌈Real.log n⌉₊Erdos805.erdos_805.variants.alon_bucic_sudakovsolved upstreamtheorem erdos_805.variants.alon_bucic_sudakov : ∀ ε : ℝ, 0 < ε → ε < 1 / 2 → ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n), IsLocallyRamsey G ⌈(2 : ℝ) ^ ((2 : ℝ) ^ (Real.logb 2 (Real.logb 2 n) ^ (1 / 2 + ε)))⌉₊ ⌈Real.logb 2 n⌉₊