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 581

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)f(m) be the maximal kk such that a triangle-free graph on mm edges must contain a bipartite graph with kk edges. Determine f(m)f(m).

Resolved by Alon [Al96], who showed that there exist constants c1,c2>0c_1,c_2>0 such that m2+c1m4/5≤f(m)≤m2+c2m4/5.\frac{m}{2}+c_1m^{4/5}\leq f(m)\leq \frac{m}{2}+c_2m^{4/5}.

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

Formal statement

theorem erdos_581 : ∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ ∀ m : ℕ,
    (m : ℝ) / 2 + c₁ * (m : ℝ) ^ (4 / 5 : ℝ) ≤ f m ∧
      (f m : ℝ) ≤ (m : ℝ) / 2 + c₂ * (m : ℝ) ^ (4 / 5 : ℝ)
Show the full Challenge.lean (59 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 581

*References:*
- [erdosproblems.com/581](https://www.erdosproblems.com/581)
- [CEG79] Chung, F. R. K. and Erdős, P. and Graham, R. L., _On the product of the point and line
  covering numbers of a graph_. Second International Conference on Combinatorial Mathematics
  (New York, 1978) (1979), 597-602.
- [Al96] Alon, Noga, _Bipartite subgraphs_. Combinatorica (1996), 301-311.
-/

@[expose] public section

open SimpleGraph

namespace Erdos581

/-- `f m` is the maximal `k` such that every triangle-free graph on `m` edges contains a
bipartite subgraph with `k` edges. -/
noncomputable def f (m : ℕ) : ℕ :=
  sSup {k | ∀ (V : Type) [Fintype V] (G : SimpleGraph V), G.CliqueFree 3 →
    G.edgeSet.ncard = m → ∃ H ≤ G, H.IsBipartite ∧ k ≤ H.edgeSet.ncard}

set_option linter.style.formal_proof_palomar false in
/--
Let $f(m)$ be the maximal $k$ such that a triangle-free graph on $m$ edges must contain a
bipartite graph with $k$ edges. Determine $f(m)$.

Resolved by Alon [Al96], who showed that there exist constants $c_1,c_2>0$ such that
$$\frac{m}{2}+c_1m^{4/5}\leq f(m)\leq \frac{m}{2}+c_2m^{4/5}.$$
-/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos581.lean#L31"]
theorem erdos_581 : ∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ ∀ m : ℕ,
    (m : ℝ) / 2 + c₁ * (m : ℝ) ^ (4 / 5 : ℝ) ≤ f m ∧
      (f m : ℝ) ≤ (m : ℝ) / 2 + c₂ * (m : ℝ) ^ (4 / 5 : ℝ) := by
  sorry

end Erdos581

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

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