{
  "id": "2305",
  "ident": "NS.02305",
  "slug": "erdos-500",
  "title": "Erdős Problem 500",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "What is $\\mathrm{ex}_3(n,K_4^3)$? That is, the largest number of $3$-edges which can placed on $n$\nvertices so that there exists no $K_4^3$, a set of 4 vertices which is covered by all 4 possible\n$3$-edges.\n\nSee also [712](https://www.erdosproblems.com/712) for the general case.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos500.erdos_500",
  "statement_lean": "theorem erdos_500 :\n    (fun n ↦ Hypergraph.cliqueExtremalNumber n 3 4) = erdos_500.answer",
  "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 500\n\n*References:*\n- [erdosproblems.com/500](https://www.erdosproblems.com/500)\n- [Ra10] Razborov, Alexander A., On 3-hypergraphs with forbidden 4-vertex configurations. SIAM J.\n  Discrete Math. (2010), 946-963.\n- [BaTa11] Baber, Rahil and Talbot, John, *Hypergraphs do jump*. Combin. Probab. Comput. (2011),\n  161-171.\n- [Ba12] Baber, Rahil, *Turán densities of hypercubes*. arXiv:1201.3587 (2012).\n- [JPILY26] Jeong, Gyeongwon and Park, Seonghun and Im, Seonghyuk and Lee, Joonkyung and Yang,\n  Hongseok, *A New Upper Bound for the Turán Density of the Tetrahedron*. arXiv:2609.27495\n  (2026).\n-/\n\n@[expose] public section\n\nnamespace Erdos500\n\nopen Filter Asymptotics\nopen scoped Topology\n\ndef erdos_500.answer : ℕ → ℕ := sorry\n\n/--\nWhat is $\\mathrm{ex}_3(n,K_4^3)$? That is, the largest number of $3$-edges which can placed on $n$\nvertices so that there exists no $K_4^3$, a set of 4 vertices which is covered by all 4 possible\n$3$-edges.\n\nSee also [712](https://www.erdosproblems.com/712) for the general case.\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_500 :\n    (fun n ↦ Hypergraph.cliqueExtremalNumber n 3 4) = erdos_500.answer := by\n  sorry\n\n/--\nA problem of Turán. Turán observed that dividing the vertices into three equal parts\n$X_1,X_2,X_3$, and taking the edges to be those triples that either have exactly one vertex in\neach part or two vertices in $X_i$ and one vertex in $X_{i+1}$ (where $X_4=X_1$) shows that\n$$\\mathrm{ex}_3(n,K_4^3)\\geq\\left(\\frac{5}{9}+o(1)\\right)\\binom{n}{3}.$$\n-/\n@[category research solved, AMS 5]\ntheorem erdos_500.variants.lower_bound (ε : ℝ) (hε : 0 < ε) :\n    ∀ᶠ n : ℕ in atTop,\n      (5 / 9 - ε) * (n.choose 3 : ℝ) ≤ Hypergraph.cliqueExtremalNumber n 3 4 := by\n  sorry\n\n/--\nTurán observed that dividing the vertices into three equal parts $X_1,X_2,X_3$, and taking the\nedges to be those triples that either have exactly one vertex in each part or two vertices in\n$X_i$ and one vertex in $X_{i+1}$ (where $X_4=X_1$) shows that\n$$\\mathrm{ex}_3(n,K_4^3)\\geq\\left(\\frac{5}{9}+o(1)\\right)\\binom{n}{3}.$$\nThis is probably the truth.\n-/\n@[category research open, AMS 5]\ntheorem erdos_500.variants.turan_conjecture :\n    (fun n ↦ (Hypergraph.cliqueExtremalNumber n 3 4 : ℝ)) ~[atTop]\n      fun n ↦ 5 / 9 * (n.choose 3 : ℝ) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nThe historical upper bound\n$$\\mathrm{ex}_3(n,K_4^3)\\leq (0.561666+o(1))\\binom{n}{3}$$\nis due to Razborov [Ra10]. (erdosproblems.com gives $0.5611666$ and omits the $o(1)$; without it\nthe bound fails at $n=4$, where $\\mathrm{ex}_3(4,K_4^3)=3>0.561666\\binom{4}{3}$.)\n\n[Ra10, (2)] gives this bound in complementary form, as a result that numerical computations\nsuggest, not as a theorem. [BaTa11] reproduce the computation.\n\nBaber [Ba12, §5.1, p. 14] gives $\\pi(K_4^3)\\leq 0.5615$, where $\\pi(K_4^3)$ is the Turán density\nof `erdos_500.variants.asymptotic`. Jeong, Park, Im, Lee and Yang [JPILY26, Theorem 1.1] prove\nthat $\\pi(K_4^3)<0.557789$, with a formal proof in Lean 4. The bound above follows from either\nresult.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/taeyool/tetrahedron-turan/blob/28b83b6f215cb886d2abdc89b33fdae3f17a7e3f/LeanFlagAlgebras/Core/Examples/FullSevenConverged/TetrahedronDifferential.lean#L251\"]\ntheorem erdos_500.variants.upper_bound (ε : ℝ) (hε : 0 < ε) :\n    ∀ᶠ n : ℕ in atTop,\n      (Hypergraph.cliqueExtremalNumber n 3 4 : ℝ) ≤ (0.561666 + ε) * (n.choose 3 : ℝ) := by\n  sorry\n\ndef erdos_500.variants.asymptotic.answer : ℝ := sorry\n\n/--\nThe asymptotic form of the question: what is the Turán density\n$$\\pi(K_4^3)=\\lim_{n\\to\\infty}\\frac{\\mathrm{ex}_3(n,K_4^3)}{\\binom{n}{3}}?$$\nBy `erdos_500.variants.lower_bound`, $\\pi(K_4^3)\\geq\\frac{5}{9}$.\nTurán's conjecture says that $\\pi(K_4^3)=\\frac{5}{9}$.\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_500.variants.asymptotic :\n    Tendsto (fun n : ℕ ↦ (Hypergraph.cliqueExtremalNumber n 3 4 : ℝ) / (n.choose 3 : ℝ))\n      atTop (𝓝 erdos_500.variants.asymptotic.answer) := by\n  sorry\n\nend Erdos500\n",
  "statement_hash": "f61d341d4e051f6abf5223cd6037dc47e15c4ca57551575ccb7d0a21f0de25f5",
  "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."
}