Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 73

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let k≥0k\ge 0. Let GG be a graph such that every subgraph HH contains an independent set of size ≥(n−k)/2\ge (n-k)/2, where nn is the number of vertices of HH. Must GG be the union of a bipartite graph and Ok(1)O_k(1) many vertices?

Proved by Reed [Re99].

The linked formal proof (Alexeev and Codex, following Reed's mangoes-and-blueberries argument) states the hypothesis as ∀ H : G.Subgraph, H.verts.ncard ≤ 2 * H.coe.indepNum + k and the conclusion as (G.induce Dᶜ).IsBipartite, for graphs on Fin n (and, equivalently, on any finite vertex type); this implies the statement below.

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

Formal statement

theorem erdos_73 :
    ∀ (k : ℕ), ∃ (C : ℕ),
      ∀ (V : Type) [Fintype V] (G : SimpleGraph V),
        (∀ (S : Finset V), ∃ (I : Finset V), I ⊆ S ∧ (G.induce (I : Set V)).edgeSet = ∅ ∧
          (I.card : ℝ) ≥ (S.card - k : ℝ) / 2) →
        ∃ (D : Finset V), D.card ≤ C ∧
          (G.induce (D : Set V)ᶜ).Colorable 2
Show the full Challenge.lean (59 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 73

*References:*
- [erdosproblems.com/73](https://www.erdosproblems.com/73)
- [Re99] Reed, B., Mangoes and Blueberries. Combinatorica (1999), 267-296.
-/

@[expose] public section

namespace Erdos73

set_option linter.style.formal_proof_palomar false in
/--
Let $k\ge 0$. Let $G$ be a graph such that every subgraph $H$ contains an independent set of size
$\ge (n-k)/2$, where $n$ is the number of vertices of $H$. Must $G$ be the union of a bipartite
graph and $O_k(1)$ many vertices?

Proved by Reed [Re99].

The linked formal proof (Alexeev and Codex, following Reed's mangoes-and-blueberries argument)
states the hypothesis as `∀ H : G.Subgraph, H.verts.ncard ≤ 2 * H.coe.indepNum + k` and the
conclusion as `(G.induce Dᶜ).IsBipartite`, for graphs on `Fin n` (and, equivalently, on any
finite vertex type); this implies the statement below.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos73.lean#L122"]
theorem erdos_73 :
    ∀ (k : ℕ), ∃ (C : ℕ),
      ∀ (V : Type) [Fintype V] (G : SimpleGraph V),
        (∀ (S : Finset V), ∃ (I : Finset V), I ⊆ S ∧ (G.induce (I : Set V)).edgeSet = ∅ ∧
          (I.card : ℝ) ≥ (S.card - k : ℝ) / 2) →
        ∃ (D : Finset V), D.card ≤ C ∧
          (G.induce (D : Set V)ᶜ).Colorable 2 := by
  sorry

-- TODO: Add variants of the problem.

end Erdos73

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

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

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.