{
  "id": "3095",
  "ident": "NS.03095",
  "slug": "erdos-755",
  "title": "Erdős Problem 755",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Erdős asked whether every $n$-point set in\n$\\mathbb{R}^6$ spans at most $(1/27 + o(1)) n^3$ unit equilateral triangles.\n\nClemen, Dumitrescu, and Liu [CDL25b] proved the stronger any-size statement\n$T_6(n) = (1/27 + o(1)) n^3$. The unit-triangle upper bound follows as a\ncorollary, since unit equilateral triangles are a subset of equilateral\ntriangles of any positive side length: $T_\\mathrm{unit} \\leq T_\\mathrm{anysize}$.",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos755.erdos_755",
  "statement_lean": "theorem erdos_755 :\n    ∃ o : ℕ → ℝ,\n      o =o[atTop] (fun _ : ℕ => (1 : ℝ)) ∧\n        ∀ᶠ n in atTop,\n          (TUnit 6 n : ℝ) ≤ ((1 / 27 : ℝ) + o n) * (n : ℝ) ^ 3",
  "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 755\n\n*References:*\n- [erdosproblems.com/755](https://www.erdosproblems.com/755)\n- [ErPu75] Erdős, Paul and Purdy, George, Some extremal problems in geometry. III.\n  (1975), 291--308.\n- [Er94b] Erdős, Paul, Some problems in number theory, combinatorics and\n  combinatorial geometry. Math. Pannon. (1994), 261--269.\n- [CDL25b] Clemen, Felix Christian, Dumitrescu, Adrian, and Liu, Dingyuan,\n  The number of regular simplices in higher dimensions. arXiv:2507.19841 (2025).\n-/\n\n@[expose] public section\n\nopen Filter Metric\nopen scoped EuclideanGeometry Asymptotics\n\nnamespace Erdos755\n\n/-- A three-point set whose pairwise distances are all equal to `side`. -/\ndef IsEquilateralTriangle {d : ℕ} (side : ℝ)\n    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=\n  T.card = 3 ∧ ∀ p ∈ T, ∀ q ∈ T, p ≠ q → dist p q = side\n\n/-- A unit equilateral triangle in Euclidean `d`-space. -/\ndef IsUnitEquilateralTriangle {d : ℕ}\n    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=\n  IsEquilateralTriangle 1 T\n\n/-- An equilateral triangle of any positive side length in Euclidean `d`-space. -/\ndef IsAnySizeEquilateralTriangle {d : ℕ}\n    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=\n  ∃ side : ℝ, 0 < side ∧ IsEquilateralTriangle side T\n\n/-- Number of unit equilateral triangles spanned by a finite point set. -/\nnoncomputable def unitEquilateralTriangleCount (d : ℕ)\n    (P : Finset (EuclideanSpace ℝ (Fin d))) : ℕ :=\n  open scoped Classical in\n  ((P.powersetCard 3).filter fun T => IsUnitEquilateralTriangle T).card\n\n/-- Number of equilateral triangles of any positive side length spanned by a finite point set. -/\nnoncomputable def anySizeEquilateralTriangleCount (d : ℕ)\n    (P : Finset (EuclideanSpace ℝ (Fin d))) : ℕ :=\n  open scoped Classical in\n  ((P.powersetCard 3).filter fun T => IsAnySizeEquilateralTriangle T).card\n\n/-- Maximum number of unit equilateral triangles spanned by $n$ points in $\\mathbb{R}^d$. -/\nnoncomputable def TUnit (d n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∃ P : Finset (EuclideanSpace ℝ (Fin d)),\n    P.card = n ∧ unitEquilateralTriangleCount d P = m}\n\n/-- Maximum number of equilateral triangles of any size spanned by $n$ points in $\\mathbb{R}^d$. -/\nnoncomputable def TAnySize (d n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∃ P : Finset (EuclideanSpace ℝ (Fin d)),\n    P.card = n ∧ anySizeEquilateralTriangleCount d P = m}\n\n@[category test, AMS 52]\ntheorem erdos_755.test_dim_one :\n    unitEquilateralTriangleCount 1 (∅ : Finset (EuclideanSpace ℝ (Fin 1))) = 0 := by\n  simp [unitEquilateralTriangleCount]\n\nset_option linter.style.formal_proof_palomar false in\n/--\nErdős asked whether every $n$-point set in\n$\\mathbb{R}^6$ spans at most $(1/27 + o(1)) n^3$ unit equilateral triangles.\n\nClemen, Dumitrescu, and Liu [CDL25b] proved the stronger any-size statement\n$T_6(n) = (1/27 + o(1)) n^3$. The unit-triangle upper bound follows as a\ncorollary, since unit equilateral triangles are a subset of equilateral\ntriangles of any positive side length: $T_\\mathrm{unit} \\leq T_\\mathrm{anysize}$.\n-/\n@[category research solved, question, AMS 52,\n  formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos755.lean#L1344\"]\ntheorem erdos_755 :\n    ∃ o : ℕ → ℝ,\n      o =o[atTop] (fun _ : ℕ => (1 : ℝ)) ∧\n        ∀ᶠ n in atTop,\n          (TUnit 6 n : ℝ) ≤ ((1 / 27 : ℝ) + o n) * (n : ℝ) ^ 3 := by\n  sorry\n\n/--\nClemen, Dumitrescu, and Liu [CDL25b] proved the stronger version where\nequilateral triangles of all positive side lengths are counted.\n-/\n@[category research solved, AMS 52]\ntheorem erdos_755.variants.any_size_cdl :\n    (fun n : ℕ => (TAnySize 6 n : ℝ)) ~[atTop]\n      (fun n : ℕ => (1 / 27 : ℝ) * (n : ℝ) ^ 3) := by\n  sorry\n\nend Erdos755\n",
  "statement_hash": "98178884ab893765feaff7ef0dd35f3f1ff71f0ec5345f5b556d0fd726f691f6",
  "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."
}