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 904

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 r≥2r\geq 2 and let tr(n)t_r(n) be the Turán number (the maximal number of edges in a graph on nn vertices with no Kr+1K_{r+1}).

If GG is a graph with nn vertices and m≥tr(n)m\geq t_r(n) edges there exists a clique on rr vertices, say x1,…,xrx_1,\ldots,x_r, such that d(x1)+⋯+d(xr)≥2rmn.d(x_1)+\cdots+d(x_r)\geq \frac{2rm}{n}.

A conjecture of Bollobás and Erdős. This was conjectured in [Er75] only in the special case r=3r=3. Edwards [Ed78] proved the conjecture for 2≤r≤82\leq r\leq 8 (under the additional assumption that n≥r2n\geq r^2). Faudree [Fa92] proved the conjecture for all r≥2r\geq 2 provided n>r−14r2n>\frac{r-1}{4}r^2. The full conjecture was proved by Bollobás and Nikiforov [BoNi05].

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

Formal statement

theorem erdos_904 :
    ∀ (V : Type*) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj]
      (r : ℕ) (hr : r ∈ Set.Icc 1 (n V)) (hm : turanNumber (n V) r ≤ #G.edgeFinset),
      ∃ s, G.IsNClique r s ∧ 2 * r * #G.edgeFinset ≤ n V * ∑ v ∈ s, G.degree v
Show the full Challenge.lean (62 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 904

*References:*
- [erdosproblems.com/904](https://www.erdosproblems.com/904)
- [BoEr75] Bollobás, B. and Erdős, P., *Unsolved Problems*. Proc. Fifth British Combinatorial Conf. (1975), 678-680.
- [Er75] Erdős, P., *Some recent progress on extremal problems in graph theory*. Congr. Numer. (1975), 3-14.
- [Ed78] Edwards, C. S., *Complete subgraphs with largest sum of vertex degrees*. (1978), 293-306.
- [Fa92] Faudree, Ralph J., *Complete subgraphs with large degree sums*. J. Graph Theory (1992), 327-334.
- [BoNi05] Bollobás, Béla and Nikiforov, Vladimir, *The sum of degrees in cliques*. Electron. J. Combin. (2005), Note 21, 10.
-/

@[expose] public section

namespace Erdos904

open Finset

/-- An abbreviation for the fixed number of vertices $n$ in the graph. -/
abbrev n (V : Type*) [Fintype V] : ℕ := Fintype.card V

/-- The number of edges of the Turán graph $T(n, r)$, i.e. the Turán number. -/
abbrev turanNumber (n r : ℕ) : ℕ := #(SimpleGraph.turanGraph n r).edgeFinset

set_option linter.style.formal_proof_palomar false in
/--
Let $r\geq 2$ and let $t_r(n)$ be the Turán number (the maximal number of edges in a graph on $n$
vertices with no $K_{r+1}$).

If $G$ is a graph with $n$ vertices and $m\geq t_r(n)$ edges there exists a clique on $r$ vertices,
say $x_1,\ldots,x_r$, such that $$d(x_1)+\cdots+d(x_r)\geq \frac{2rm}{n}.$$

A conjecture of Bollobás and Erdős. This was conjectured in [Er75] only in the special case $r=3$. Edwards [Ed78] proved the conjecture for $2\leq r\leq 8$ (under the additional assumption that $n\geq r^2$). Faudree [Fa92] proved the conjecture for all $r\geq 2$ provided $n>\frac{r-1}{4}r^2$. The full conjecture was proved by Bollobás and Nikiforov [BoNi05].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos904.lean"]
theorem erdos_904 :
    ∀ (V : Type*) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj]
      (r : ℕ) (hr : r ∈ Set.Icc 1 (n V)) (hm : turanNumber (n V) r ≤ #G.edgeFinset),
      ∃ s, G.IsNClique r s ∧ 2 * r * #G.edgeFinset ≤ n V * ∑ v ∈ s, G.degree v := by
  sorry

end Erdos904

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

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