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 133

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(n)f(n) be minimal such that every triangle-free graph GG with nn vertices and diameter 22 contains a vertex with degree ≥f(n)\geq f(n). What is the order of growth of f(n)f(n)? Does f(n)/n→∞f(n)/\sqrt{n}\to \infty?

Asked by Erdős and Pach. The lower bound f(n)≥(1−o(1))nf(n)\geq (1-o(1))\sqrt{n} follows from the fact that a graph with maximum degree dd and diameter 22 has at most 1+d+d(d−1)=d2+11+d+d(d-1)=d^2+1 many vertices.

Hanson and Seyffarth [HaSe84] proved that f(n)≤(2+o(1))nf(n)\leq (\sqrt{2}+o(1))\sqrt{n} using a Cayley graph on Z/nZ\mathbb{Z}/n\mathbb{Z}, with the generating set given by some symmetric complete sum-free set of size ∼n\sim \sqrt{n}. An alternative construction of such a complete sum-free set was given by Haviv and Levy [HaLe18]. Füredi and Seress [FuSe94] proved that f(n)≤(23+o(1))nf(n)\leq (\frac{2}{\sqrt{3}}+o(1))\sqrt{n}. In particular f(n)/n↛∞f(n)/\sqrt{n}\not\to\infty.

The precise asymptotics of f(n)f(n) are unknown; Alon believes that the truth is f(n)∼nf(n)\sim \sqrt{n}.

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

Formal statement

theorem erdos_133 : ¬ Tendsto (fun n : ℕ ↦ (f n : ℝ) / √n) atTop atTop
Show the full Challenge.lean (106 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 133

*References:*
- [erdosproblems.com/133](https://www.erdosproblems.com/133)
- [Er97b] Erdős, Paul, *Some old and new problems in various branches of combinatorics*. Discrete
  Math. (1997), 227-231.
- [HaSe84] Hanson, D. and Seyffarth, K., *$k$-saturated graphs of prescribed maximum degree*.
  Congr. Numer. (1984), 169-182.
- [FuSe94] Füredi, Zoltán and Seress, Ákos, *Maximal triangle-free graphs with restrictions on the
  degrees*. J. Graph Theory (1994), 11-24.
- [HaLe18] Haviv, Ishay and Levy, Dan, *Symmetric complete sum-free sets in cyclic groups*. Israel
  J. Math. (2018), 931-956.
-/

@[expose] public section

open Filter Asymptotics SimpleGraph

namespace Erdos133

open scoped Classical in
/--
`f n` is the least possible maximum degree of a triangle-free graph on `n` vertices with
diameter `2`, i.e. the largest `f` such that every such graph has a vertex of degree `≥ f`.
-/
noncomputable def f (n : ℕ) : ℕ :=
  sInf {d | ∃ G : SimpleGraph (Fin n), G.CliqueFree 3 ∧ G.diam = 2 ∧ ∀ v, G.degree v ≤ d}

set_option linter.style.formal_proof_palomar false in
/--
Let $f(n)$ be minimal such that every triangle-free graph $G$ with $n$ vertices and diameter
$2$ contains a vertex with degree $\geq f(n)$. What is the order of growth of $f(n)$? Does
$f(n)/\sqrt{n}\to \infty$?

Asked by Erdős and Pach. The lower bound $f(n)\geq (1-o(1))\sqrt{n}$ follows from the fact that
a graph with maximum degree $d$ and diameter $2$ has at most $1+d+d(d-1)=d^2+1$ many vertices.

Hanson and Seyffarth [HaSe84] proved that $f(n)\leq (\sqrt{2}+o(1))\sqrt{n}$ using a Cayley graph
on $\mathbb{Z}/n\mathbb{Z}$, with the generating set given by some symmetric complete sum-free set
of size $\sim \sqrt{n}$. An alternative construction of such a complete sum-free set was given by
Haviv and Levy [HaLe18]. Füredi and Seress [FuSe94] proved that
$f(n)\leq (\frac{2}{\sqrt{3}}+o(1))\sqrt{n}$. In particular $f(n)/\sqrt{n}\not\to\infty$.

The precise asymptotics of $f(n)$ are unknown; Alon believes that the truth is $f(n)\sim \sqrt{n}$.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos133.lean#L597"]
theorem erdos_133 : ¬ Tendsto (fun n : ℕ ↦ (f n : ℝ) / √n) atTop atTop := by
  sorry

set_option linter.style.formal_proof_palomar false in
/-- The order of growth of $f(n)$ is $\sqrt{n}$. -/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos133.lean#L597"]
theorem erdos_133.variants.isTheta : (fun n : ℕ ↦ (f n : ℝ)) =Θ[atTop] fun n ↦ √n := by
  sorry

/--
The lower bound $f(n)\geq (1-o(1))\sqrt{n}$ follows from the fact that a graph with maximum degree
$d$ and diameter $2$ has at most $d^2+1$ many vertices.
-/
@[category research solved, AMS 5]
theorem erdos_133.variants.lower_bound : ∀ ε : ℝ, 0 < ε →
    ∀ᶠ n : ℕ in atTop, (1 - ε) * √n ≤ f n := by
  sorry

/-- Hanson and Seyffarth [HaSe84] proved that $f(n)\leq (\sqrt{2}+o(1))\sqrt{n}$. -/
@[category research solved, AMS 5]
theorem erdos_133.variants.hanson_seyffarth : ∀ ε : ℝ, 0 < ε →
    ∀ᶠ n : ℕ in atTop, (f n : ℝ) ≤ (√2 + ε) * √n := by
  sorry

/-- Füredi and Seress [FuSe94] proved that $f(n)\leq (\frac{2}{\sqrt{3}}+o(1))\sqrt{n}$. -/
@[category research solved, AMS 5]
theorem erdos_133.variants.furedi_seress : ∀ ε : ℝ, 0 < ε →
    ∀ᶠ n : ℕ in atTop, (f n : ℝ) ≤ (2 / √3 + ε) * √n := by
  sorry

/-- Is $f(n)\sim \sqrt{n}$? Alon believes that this is the truth. -/
@[category research open, question, AMS 5]
theorem erdos_133.variants.asymptotic :
    (fun n : ℕ ↦ (f n : ℝ)) ~[atTop] fun n ↦ √n := by
  sorry

end Erdos133

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

nosorry fetch erdos-133
nosorry submit erdos-133 nosorry/erdos-133/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.