Title:Erdős Problem 1009
Statement:Is it true that, for every , there exists such that every graph on vertices with at least edges, where , contains at least many edge disjoint triangles?
Erdős [Er71] proved this for using a theorem of Erdős and Gallai, which says that every graph on vertices with at least many edges, with chromatic number , must contain a triangle. In fact, Erdős proved this is true with for . At first Erdős thought for larger values of but this is false: an example of Sauer proves that .
This is true, and was proved by Győri [Gy88] who proved that this is true with , and also that if for odd or for even .
A family of edge disjoint triangles is a finite set of -cliques of any two of which share at most one vertex.
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question, formal_proof |
| Cite as: | NS.00363 [math.CO] · NS.00363v1 for this version |
| Declaration: | Erdos1009.erdos_1009 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 89e4bbe29ffd84946644de62531fdb2306991bbacb7e4fdef095c9dd7850f039 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/1009.lean |
Formal statement
theorem erdos_1009 : ∀ c : ℝ, 0 < c → ∃ f : ℕ, ∀ (n k : ℕ) (G : SimpleGraph (Fin n)),
n ^ 2 / 4 + k ≤ G.edgeSet.ncard → (k : ℝ) < c * n →
∃ T : Finset (Finset (Fin n)), (∀ t ∈ T, G.IsNClique 3 t) ∧
(T : Set (Finset (Fin n))).Pairwise (fun s t => (s ∩ t).card ≤ 1) ∧ k ≤ T.card + fShow the full Challenge.lean (75 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 1009
*References:*
- [erdosproblems.com/1009](https://www.erdosproblems.com/1009)
- [Er71] Erdős, P., *Some unsolved problems in graph theory and combinatorial analysis*.
Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97--109.
- [Gy88] Győri, E., *On the number of edge-disjoint triangles in graphs of given size*. (1988),
267--276.
-/
@[expose] public section
namespace Erdos1009
set_option linter.style.formal_proof_palomar false in
/--
Is it true that, for every $c>0$, there exists $f(c)$ such that every graph on $n$ vertices with
at least $\lfloor n^2/4\rfloor+k$ edges, where $k<c n$, contains at least $k-f(c)$ many edge
disjoint triangles?
Erdős [Er71] proved this for $c<1/2$ using a theorem of Erdős and Gallai, which says that every
graph on $n$ vertices with at least $(n-1)^2/4+2$ many edges, with chromatic number $3$, must
contain a triangle. In fact, Erdős proved this is true with $f(c)=0$ for $c<1/2$. At first Erdős
thought $f(c)=0$ for larger values of $c$ but this is false: an example of Sauer proves that
$f(2)\geq 1$.
This is true, and was proved by Győri [Gy88] who proved that this is true with $f(c)\ll c^2$,
and also that $f(c)=0$ if $c<2$ for odd $n$ or $c<3/2$ for even $n$.
A family of edge disjoint triangles is a finite set of $3$-cliques of $G$ any two of which share
at most one vertex.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1009.lean#L2347"]
theorem erdos_1009 : ∀ c : ℝ, 0 < c → ∃ f : ℕ, ∀ (n k : ℕ) (G : SimpleGraph (Fin n)),
n ^ 2 / 4 + k ≤ G.edgeSet.ncard → (k : ℝ) < c * n →
∃ T : Finset (Finset (Fin n)), (∀ t ∈ T, G.IsNClique 3 t) ∧
(T : Set (Finset (Fin n))).Pairwise (fun s t => (s ∩ t).card ≤ 1) ∧ k ≤ T.card + f := by
sorry
/--
Sauer gave an example of a graph on $n$ vertices with $\lfloor n^2/4\rfloor+2n-6$ many edges
which contains only $2n-7$ many edge disjoint triangles: if $n=2r+4$ then $G$ is the complete
tripartite graph on $[r]\times [r]\times [4]$, with a $K_4$ on the $[4]$ vertices also.
-/
@[category research solved, AMS 5]
theorem erdos_1009.variants.sauer : ∀ r : ℕ, 1 ≤ r → ∃ G : SimpleGraph (Fin (2 * r + 4)),
G.edgeSet.ncard = (2 * r + 4) ^ 2 / 4 + 2 * (2 * r + 4) - 6 ∧
∀ T : Finset (Finset (Fin (2 * r + 4))), (∀ t ∈ T, G.IsNClique 3 t) →
(T : Set (Finset (Fin (2 * r + 4)))).Pairwise (fun s t => (s ∩ t).card ≤ 1) →
T.card ≤ 2 * (2 * r + 4) - 7 := by
sorry
end Erdos1009
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1009.erdos_1009 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_1009 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-1009 nosorry submit erdos-1009 nosorry/erdos-1009/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-1009-variants-sauer — known result
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.