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 905

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:

Every graph with nn vertices and >n2/4>n^2/4 edges contains an edge which is in at least n/6n/6 triangles.

A conjecture of Bollobás and Erdős. This was proved independently by Edwards (unpublished) and Khadzhiivanov and Nikiforov [KhNi79].

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

Formal statement

theorem erdos_905 (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
    (hG : (n : ℝ) ^ 2 / 4 < (#G.edgeFinset : ℝ)) :
    ∃ e ∈ G.edgeFinset, (n : ℝ) / 6 ≤ (#(G.trianglesContaining e) : ℝ)
Show the full Challenge.lean (51 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 905

*References:*
- [erdosproblems.com/905](https://www.erdosproblems.com/905)
- [KhNi79] Khadzhiivanov, N. G. and Nikiforov, S. V., *Solution of a problem of P. Erdős about the
  maximum number of triangles with a common edge in a graph*. C. R. Acad. Bulgare Sci. (1979),
  1315-1318.
-/

@[expose] public section

namespace Erdos905

open Finset

set_option linter.style.formal_proof_palomar false in
/--
Every graph with $n$ vertices and $>n^2/4$ edges contains an edge which is in at least $n/6$
triangles.

A conjecture of Bollobás and Erdős. This was proved independently by Edwards (unpublished) and
Khadzhiivanov and Nikiforov [KhNi79].
-/
@[category research solved, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos905.lean"]
theorem erdos_905 (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
    (hG : (n : ℝ) ^ 2 / 4 < (#G.edgeFinset : ℝ)) :
    ∃ e ∈ G.edgeFinset, (n : ℝ) / 6 ≤ (#(G.trianglesContaining e) : ℝ) := by
  sorry

end Erdos905

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

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