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 804

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 f(m,n)f(m,n) be maximal such that any graph on nn vertices in which every induced subgraph on mm vertices has an independent set of size at least log⁡n\log n must contain an independent set of size at least f(n)f(n).

Estimate f(n)f(n). In particular, is it true that f((log⁡n)2,n)≥n1/2−o(1)f((\log n)^2,n) \geq n^{1/2-o(1)}?

The answer is no: Alon and Sudakov [AlSu07] proved that in fact (log⁡n)2log⁡log⁡n≪f((log⁡n)2,n)≪(log⁡n)2.\frac{(\log n)^2}{\log\log n}\ll f((\log n)^2,n) \ll (\log n)^2.

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

Formal statement

theorem erdos_804.parts.i :
    ¬ ∀ ε > 0, ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ (1 / 2 - ε : ℝ) ≤ f ⌊(log n) ^ 2⌋₊ n
Show the full Challenge.lean (99 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 804

*References:*
- [erdosproblems.com/804](https://www.erdosproblems.com/804)
- [Er91] Erdős, P., _Problems and results in combinatorial analysis and combinatorial number
  theory_. Graph theory, combinatorics, and applications, Vol. 1 (Kalamazoo, MI, 1988) (1991),
  397-406.
- [AlSu07] Alon, Noga and Sudakov, Benny, _On graphs with subgraphs having large independence
  numbers_. J. Graph Theory (2007), 149-157.
-/

@[expose] public section

open Filter Real

namespace Erdos804

/-- A graph `G` on `n` vertices in which every induced subgraph on `m` vertices has an
independent set of size at least `t`. -/
def HasLocalIndependence {n : ℕ} (G : SimpleGraph (Fin n)) (m t : ℕ) : Prop :=
  ∀ S : Finset (Fin n), S.card = m → ∃ I ⊆ S, t ≤ I.card ∧ G.IsIndepSet I

/-- `f m n` is maximal such that any graph on `n` vertices in which every induced subgraph on `m`
vertices has an independent set of size at least $\log n$ must contain an independent set of size
at least `f m n`. -/
noncomputable def f (m n : ℕ) : ℕ :=
  sInf {k | ∃ G : SimpleGraph (Fin n), HasLocalIndependence G m ⌈log n⌉₊ ∧ G.indepNum = k}

set_option linter.style.formal_proof_palomar false in
/--
Let $f(m,n)$ be maximal such that any graph on $n$ vertices in which every induced subgraph on
$m$ vertices has an independent set of size at least $\log n$ must contain an independent set of
size at least $f(n)$.

Estimate $f(n)$. In particular, is it true that $f((\log n)^2,n) \geq n^{1/2-o(1)}$?

The answer is no: Alon and Sudakov [AlSu07] proved that in fact
$$\frac{(\log n)^2}{\log\log n}\ll f((\log n)^2,n) \ll (\log n)^2.$$
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos804.lean#L3532"]
theorem erdos_804.parts.i :
    ¬ ∀ ε > 0, ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ (1 / 2 - ε : ℝ) ≤ f ⌊(log n) ^ 2⌋₊ n := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Is it true that $f((\log n)^3,n)\gg (\log n)^3$?

The answer is no: Alon and Sudakov [AlSu07] proved that in fact
$$f((\log n)^3,n)\asymp \frac{(\log n)^2}{\log\log n}.$$
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos804.lean#L3532"]
theorem erdos_804.parts.ii :
    ¬ ∃ c > 0, ∀ᶠ n : ℕ in atTop, c * (log n) ^ 3 ≤ f ⌊(log n) ^ 3⌋₊ n := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Alon and Sudakov [AlSu07] proved that
$$\frac{(\log n)^2}{\log\log n}\ll f((\log n)^2,n) \ll (\log n)^2$$
and
$$f((\log n)^3,n)\asymp \frac{(\log n)^2}{\log\log n}.$$
-/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos804.lean#L3532"]
theorem erdos_804.variants.alon_sudakov :
    ∃ c₂ C₂ c₃ C₃ : ℝ, 0 < c₂ ∧ 0 < C₂ ∧ 0 < c₃ ∧ 0 < C₃ ∧
    ∀ᶠ n : ℕ in atTop,
      c₂ * ((log n) ^ 2 / log (log n)) ≤ f ⌊(log n) ^ 2⌋₊ n ∧
      (f ⌊(log n) ^ 2⌋₊ n : ℝ) ≤ C₂ * (log n) ^ 2 ∧
      c₃ * ((log n) ^ 2 / log (log n)) ≤ f ⌊(log n) ^ 3⌋₊ n ∧
      (f ⌊(log n) ^ 3⌋₊ n : ℝ) ≤ C₃ * ((log n) ^ 2 / log (log n)) := by
  sorry

end Erdos804

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

nosorry fetch erdos-804
nosorry submit erdos-804 nosorry/erdos-804/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.