Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 579

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let δ>0\delta > 0. If nn is sufficiently large and GG is a graph on nn vertices with no K2,2,2K_{2,2,2} (the octahedron) and at least δn2\delta n^2 edges, must GG contain an independent set of size ≫δn\gg_\delta n?

This is a problem of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]. It is open; they proved the statement for δ>1/8\delta > 1/8 (see erdos_579.variants.ehss_large_delta), and the difficulty is to push the edge-density threshold down to an arbitrary δ>0\delta > 0.

Here K2,2,2K_{2,2,2} is the complete tripartite graph with all parts of size 22, encoded as completeMultipartiteGraph (fun _ : Fin 3 => Fin 2); "contains no K2,2,2K_{2,2,2}" is expressed via SimpleGraph.Free.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question
Cite as:NS.02504 [math.CO] · NS.02504v1 for this version
Declaration:Erdos579.erdos_579
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:91436b46ceefc55ee5ca48493bffc4e65681feb8b29260917fea0e5955063386
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/579.lean

Formal statement

theorem erdos_579 :
    ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,
      ∀ G : SimpleGraph (Fin n), octahedron.Free G →
        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →
          c * n ≤ (G.indepNum : ℝ)
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 579

*References:*
- [erdosproblems.com/579](https://www.erdosproblems.com/579)
- [EHSS83] P. Erdős, A. Hajnal, V. T. Sós and E. Szemerédi, *More results on Ramsey–Turán
  type problems*, Combinatorica **3** (1983), 69–81.
-/

@[expose] public section

open Filter SimpleGraph

namespace Erdos579

/-- The octahedron $K_{2,2,2}$: the complete tripartite graph with all three parts of
size $2$. -/
abbrev octahedron : SimpleGraph (Σ _ : Fin 3, Fin 2) :=
  completeMultipartiteGraph (fun _ : Fin 3 => Fin 2)

open scoped Classical in
/--
Let $\delta > 0$. If $n$ is sufficiently large and $G$ is a graph on $n$ vertices with no
$K_{2,2,2}$ (the octahedron) and at least $\delta n^2$ edges, must $G$ contain an independent
set of size $\gg_\delta n$?

This is a problem of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]. It is **open**; they proved
the statement for $\delta > 1/8$ (see `erdos_579.variants.ehss_large_delta`), and the
difficulty is to push the edge-density threshold down to an arbitrary $\delta > 0$.

Here $K_{2,2,2}$ is the complete tripartite graph with all parts of size $2$, encoded as
`completeMultipartiteGraph (fun _ : Fin 3 => Fin 2)`; "contains no $K_{2,2,2}$" is expressed
via `SimpleGraph.Free`.
-/
@[category research open, question, AMS 5]
theorem erdos_579 :
    ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,
      ∀ G : SimpleGraph (Fin n), octahedron.Free G →
        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →
          c * n ≤ (G.indepNum : ℝ) := by
  sorry

open scoped Classical in
/--
The partial result of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]: the statement of
`erdos_579` holds whenever the edge-density coefficient exceeds $1/8$. That is, for every
$\delta > 1/8$ there is a $c > 0$ such that for all sufficiently large $n$, every
$K_{2,2,2}$-free graph $G$ on $n$ vertices with at least $\delta n^2$ edges has an independent
set of size at least $c n$.
-/
@[category research solved, AMS 5]
theorem erdos_579.variants.ehss_large_delta (δ : ℝ) (hδ : 1 / 8 < δ) :
    ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,
      ∀ G : SimpleGraph (Fin n), octahedron.Free G →
        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →
          c * n ≤ (G.indepNum : ℝ) := by
  sorry

/--
Sanity check that the forbidden structure is non-trivial: the octahedron is of course not
octahedron-free, since it contains a copy of itself.
-/
@[category test, AMS 5]
theorem erdos_579.variants.octahedron_not_free : ¬ octahedron.Free octahedron :=
  fun h => h IsContained.rfl

end Erdos579

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos579.erdos_579 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_579 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-579
nosorry submit erdos-579 nosorry/erdos-579/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.