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 803

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:

We call a graph HH DD-balanced (or DD-almost-regular) if the maximum degree of HH is at most DD times the minimum degree of HH.

Is it true that for every m≥1m\geq 1, if nn is sufficiently large, any graph on nn vertices with ≥nlog⁡n\geq n\log n edges contains a O(1)O(1)-balanced subgraph with mm vertices and ≫mlog⁡m\gg m\log m edges (where the implied constants are absolute)?

A problem of Erdős and Simonovits [ErSi70]. Alon [Al08] proved this is false: for every D>1D>1 and large nn there is a graph GG with nn vertices and ≥nlog⁡n\geq n\log n edges such that if HH is a DD-balanced subgraph then HH has ≪mlog⁡m+log⁡D\ll m\sqrt{\log m}+\log D many edges.

See also 1077.

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

Formal statement

theorem erdos_803 :
    ¬ ∃ (D c : ℝ), 0 < c ∧ ∀ m ≥ 1, ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (n : ℝ) * log n ≤ G.edgeSet.ncard →
        ∃ H : G.Subgraph, H.verts.ncard = m ∧ IsBalanced H.coe D ∧
          c * m * log m ≤ H.edgeSet.ncard
Show the full Challenge.lean (90 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 803

*References:*
- [erdosproblems.com/803](https://www.erdosproblems.com/803)
- [ErSi70] Erdős, P. and Simonovits, M., _Some extremal problems in graph theory_. Combinatorial
  theory and its applications, I-III (Proc. Colloq., Balatonfüred, 1969) (1970), 377-390.
- [Al08] Alon, Noga, _Problems and results in extremal combinatorics. II_. Discrete Math. (2008),
  4460-4472.
- [JaSu23] Janzer, Oliver and Sudakov, Benny, _Resolution of the Erdős-Sauer problem on regular
  subgraphs_. Forum Math. Pi (2023), Paper No. e19, 13.
-/

@[expose] public section

open Filter Real SimpleGraph

namespace Erdos803

open scoped Classical in
set_option linter.style.formal_proof_palomar false in
/--
We call a graph $H$ $D$-balanced (or $D$-almost-regular) if the maximum degree of $H$ is at most
$D$ times the minimum degree of $H$.

Is it true that for every $m\geq 1$, if $n$ is sufficiently large, any graph on $n$ vertices with
$\geq n\log n$ edges contains a $O(1)$-balanced subgraph with $m$ vertices and $\gg m\log m$ edges
(where the implied constants are absolute)?

A problem of Erdős and Simonovits [ErSi70]. Alon [Al08] proved this is false: for every $D>1$
and large $n$ there is a graph $G$ with $n$ vertices and $\geq n\log n$ edges such that if $H$ is
a $D$-balanced subgraph then $H$ has $\ll m\sqrt{\log m}+\log D$ many edges.

See also [1077](https://www.erdosproblems.com/1077).
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos803.lean#L448"]
theorem erdos_803 :
    ¬ ∃ (D c : ℝ), 0 < c ∧ ∀ m ≥ 1, ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (n : ℝ) * log n ≤ G.edgeSet.ncard →
        ∃ H : G.Subgraph, H.verts.ncard = m ∧ IsBalanced H.coe D ∧
          c * m * log m ≤ H.edgeSet.ncard := by
  sorry

open scoped Classical in
/-- Alon [Al08] proved that for every $D>1$ and large $n$ there is a graph $G$ with $n$ vertices
and $\geq n\log n$ edges such that if $H$ is a $D$-balanced subgraph on $m$ vertices then $H$ has
$\ll m\sqrt{\log m}+\log D$ many edges. -/
@[category research solved, AMS 5]
theorem erdos_803.variants.alon :
    ∃ C : ℝ, ∀ D : ℝ, 1 < D → ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),
      (n : ℝ) * log n ≤ G.edgeSet.ncard ∧
      ∀ H : G.Subgraph, IsBalanced H.coe D →
        (H.edgeSet.ncard : ℝ) ≤ C * (H.verts.ncard * √(log H.verts.ncard) + log D) := by
  sorry

open scoped Classical in
/-- Janzer and Sudakov [JaSu23] have proved that, for any $k$, if $n$ is sufficiently large then
any graph on $n$ vertices with at least $n\log n$ edges contains a $O(1)$-balanced subgraph on
$m\geq k$ vertices with $\gg_k \frac{\sqrt{\log m}}{(\log\log m)^{3/2}}m$ many edges. -/
@[category research solved, AMS 5]
theorem erdos_803.variants.janzer_sudakov :
    ∃ D : ℝ, ∀ k : ℕ, ∃ c > 0, ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (n : ℝ) * log n ≤ G.edgeSet.ncard →
        ∃ H : G.Subgraph, k ≤ H.verts.ncard ∧ IsBalanced H.coe D ∧
          c * (√(log H.verts.ncard) / (log (log H.verts.ncard)) ^ (3 / 2 : ℝ)) *
            H.verts.ncard ≤ H.edgeSet.ncard := by
  sorry

end Erdos803

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

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