{
  "id": "422",
  "ident": "NS.00422",
  "slug": "erdos-1033",
  "title": "Erdős Problem 1033",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $h(n)$ be such that every graph on $n$ vertices with $>n^2/4$ many edges contains a triangle\nwhose vertices have degrees summing to at least $h(n)$. Estimate $h(n)$. In particular, is it\ntrue that\n$$h(n)\\geq (2(\\sqrt{3}-1)-o(1))n?$$\n\nA conjecture of Bollobás and Erdős.\n\nThe answer is no. A blow-up of the butterfly graph, posted on the\n[Erdős problems forum](https://www.erdosproblems.com/forum/thread/1033) in June and July 2026 and\nwritten up in [this note](https://woutercvb.github.io/Erdos1033_smalloptimization.pdf), gives\narbitrarily large graphs with more than $n^2/4$ edges in which every triangle has degree sum at\nmost $1.464n$, which is less than $2(\\sqrt{3}-1)n$. Estimating the optimal value of $h(n)$ is\nstill open.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1033.erdos_1033",
  "statement_lean": "theorem erdos_1033 :\n    ¬ ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ (G : SimpleGraph (Fin n)) [DecidableRel G.Adj],\n      n ^ 2 < 4 * #G.edgeFinset →\n        ∃ t, G.IsNClique 3 t ∧\n          (2 * (Real.sqrt 3 - 1) - ε) * n ≤ ∑ v ∈ t, (G.degree v : ℝ)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 1033\n\n*References:*\n- [erdosproblems.com/1033](https://www.erdosproblems.com/1033)\n- [Er82e] Erdős, Paul, *Some of my favourite problems which recently have been solved*. (1982),\n  59--79.\n- [Er93] Erdős, Paul, *Some of my favorite solved and unsolved problems in graph theory*.\n  Quaestiones Math. (1993), 333-350.\n- [ErLa85] Erdős, Paul and Laskar, Renu, *A note on the size of a chordal subgraph*.\n  Congr. Numer. (1985), 81--86.\n- [Fa88] Fan, Genghua, *Degree sum for a triangle in a graph*. J. Graph Theory (1988), 249--263.\n-/\n\n@[expose] public section\n\nopen Filter Finset\n\nnamespace Erdos1033\n\n/--\nLet $h(n)$ be such that every graph on $n$ vertices with $>n^2/4$ many edges contains a triangle\nwhose vertices have degrees summing to at least $h(n)$. Estimate $h(n)$. In particular, is it\ntrue that\n$$h(n)\\geq (2(\\sqrt{3}-1)-o(1))n?$$\n\nA conjecture of Bollobás and Erdős.\n\nThe answer is no. A blow-up of the butterfly graph, posted on the\n[Erdős problems forum](https://www.erdosproblems.com/forum/thread/1033) in June and July 2026 and\nwritten up in [this note](https://woutercvb.github.io/Erdos1033_smalloptimization.pdf), gives\narbitrarily large graphs with more than $n^2/4$ edges in which every triangle has degree sum at\nmost $1.464n$, which is less than $2(\\sqrt{3}-1)n$. Estimating the optimal value of $h(n)$ is\nstill open.\n-/\n@[category research solved, question, AMS 5, formal_proof using lean4 at\n  \"https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-03-000006\"]\ntheorem erdos_1033 :\n    ¬ ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ (G : SimpleGraph (Fin n)) [DecidableRel G.Adj],\n      n ^ 2 < 4 * #G.edgeFinset →\n        ∃ t, G.IsNClique 3 t ∧\n          (2 * (Real.sqrt 3 - 1) - ε) * n ≤ ∑ v ∈ t, (G.degree v : ℝ) := by\n  sorry\n\n/--\nIn [Er82e] it is asked whether $h(n)\\geq \\frac{3}{2}n$. The answer is no, since the construction\nof Erdős and Laskar [ErLa85] gives $h(n) \\leq 2(\\sqrt{3}-1)n+O(1)$ and\n$2(\\sqrt{3}-1) < \\frac{3}{2}$.\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_1033.variants.three_halves :\n    ¬ ∀ n : ℕ, ∀ (G : SimpleGraph (Fin n)) [DecidableRel G.Adj], n ^ 2 < 4 * #G.edgeFinset →\n      ∃ t, G.IsNClique 3 t ∧ 3 * n ≤ 2 * ∑ v ∈ t, G.degree v := by\n  sorry\n\n/--\nFan [Fa88] proved that $h(n) \\geq \\frac{21}{16}n$: every graph on $n$ vertices with $>n^2/4$\nedges contains a triangle whose degrees sum to at least $\\frac{21}{16}n$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_1033.variants.fan (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]\n    (hG : n ^ 2 < 4 * #G.edgeFinset) :\n    ∃ t, G.IsNClique 3 t ∧ 21 * n ≤ 16 * ∑ v ∈ t, G.degree v := by\n  sorry\n\nopen scoped Classical in\n/--\nErdős and Laskar [ErLa85] gave a construction showing that $h(n) \\leq 2(\\sqrt{3}-1)n+O(1)$:\nfor all large $n$ there is a graph on $n$ vertices with $>n^2/4$ edges in which every triangle\nhas degree sum at most $2(\\sqrt{3}-1)n+O(1)$. The construction is made explicit in [Fa88].\n-/\n@[category research solved, AMS 5]\ntheorem erdos_1033.variants.erdos_laskar :\n    ∃ C : ℝ, ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n), n ^ 2 < 4 * #G.edgeFinset ∧\n      ∀ t, G.IsNClique 3 t → ∑ v ∈ t, (G.degree v : ℝ) ≤ 2 * (Real.sqrt 3 - 1) * n + C := by\n  sorry\n\nend Erdos1033\n",
  "statement_hash": "14406439077b21afdbddd74a064da1cabc0e1899aca7c85e2f03abfa3985ba04",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}