Title:Erdős Problem 618
Statement:For a triangle-free graph let be the smallest number of edges that need to be added to so that it has diameter and is still triangle-free. Is it true that if has maximum degree then ?
A problem of Erdős, Gyárfás, and Ruszinkó [EGR98]. Simonovits showed that there exist graphs with maximum degree and . Alon has observed this problem is essentially identical to [134], and his solution in this note also solves this problem in the affirmative.
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question, formal_proof |
| Cite as: | NS.02625 [math.CO] · NS.02625v1 for this version |
| Declaration: | Erdos618.erdos_618 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 51c7fb55d8ad89788345dff4ee7e047ce6d33b6b23c8b83825a325746b7d8542 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/618.lean |
Formal statement
theorem erdos_618 :
∀ (G : ∀ n : ℕ, SimpleGraph (Fin n)),
(∀ n, (G n).CliqueFree 3) →
(fun n => ((G n).maxDegree : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ ((1 : ℝ) / 2)) →
(fun n => (h2 (G n) : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ 2)Show the full Challenge.lean (71 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 618
*References:*
- [erdosproblems.com/618](https://www.erdosproblems.com/618)
- [Er99] Erdős, Paul, *A selection of problems and results in combinatorics*. Combin. Probab.
Comput. (1999), 1-6.
- [EGR98] Erdős, Paul and Gyárfás, András and Ruszinkó, Miklós, *How to decrease the diameter
of triangle-free graphs*. Combinatorica (1998), 493-501.
-/
@[expose] public section
namespace Erdos618
open Filter Asymptotics
open scoped Classical in
/-- For a graph `G` on `Fin n`, `h2 G` is the smallest number of edges that need to be added
to `G` so that the resulting supergraph has diameter at most `2` (every two distinct vertices
are adjacent or have a common neighbour) and is still triangle-free (`CliqueFree 3`).
By the `sInf` convention on `ℕ`, `h2 G = 0` if no such supergraph exists. -/
noncomputable def h2 {n : ℕ} (G : SimpleGraph (Fin n)) : ℕ :=
sInf {k : ℕ | ∃ H : SimpleGraph (Fin n),
G ≤ H ∧
H.CliqueFree 3 ∧
(∀ x y : Fin n, x ≠ y → H.Adj x y ∨ ∃ z, H.Adj x z ∧ H.Adj z y) ∧
(H.edgeFinset \ G.edgeFinset).card = k}
open scoped Classical in
set_option linter.style.formal_proof_palomar false in
/--
For a triangle-free graph $G$ let $h_2(G)$ be the smallest number of edges that need to be
added to $G$ so that it has diameter $2$ and is still triangle-free. Is it true that if $G$
has maximum degree $o(n^{1/2})$ then $h(G)=o(n^2)$?
A problem of Erdős, Gyárfás, and Ruszinkó [EGR98]. Simonovits showed that there exist graphs
$G$ with maximum degree $\gg n^{1/2}$ and $h_2(G)\gg n^2$. Alon has observed this problem is
essentially identical to [134], and his solution in
[this note](https://web.math.princeton.edu/~nalon/PDFS/remark1901.pdf) also solves this
problem in the affirmative.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos618.lean"]
theorem erdos_618 :
∀ (G : ∀ n : ℕ, SimpleGraph (Fin n)),
(∀ n, (G n).CliqueFree 3) →
(fun n => ((G n).maxDegree : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ ((1 : ℝ) / 2)) →
(fun n => (h2 (G n) : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ 2) := by
sorry
end Erdos618
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos618.erdos_618 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_618 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-618 nosorry submit erdos-618 nosorry/erdos-618/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.