Title:Erdős Problem 1009 · variants.sauer
Statement:Sauer gave an example of a graph on vertices with many edges which contains only many edge disjoint triangles: if then is the complete tripartite graph on , with a on the vertices also.
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Cite as: | NS.00364 [math.CO] · NS.00364v1 for this version |
| Declaration: | Erdos1009.erdos_1009.variants.sauer |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| 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.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) - 7Show 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.variants.sauer with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_sauer : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-1009--erdos-1009-variants-sauer # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-1009--erdos-1009-variants-sauer nosorry submit erdos-1009--erdos-1009-variants-sauer nosorry/erdos-1009--erdos-1009-variants-sauer/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.