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 755 · erdos_755.test_dim_one

Source:Erdős Problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

No informal statement.

Subjects:Metric Geometry (math.MG)
MSC classes:52
Cite as:NS.03094 [math.MG] · NS.03094v1 for this version
Declaration:Erdos755.erdos_755.test_dim_one
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:98178884ab893765feaff7ef0dd35f3f1ff71f0ec5345f5b556d0fd726f691f6
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/755.lean

Formal statement

theorem erdos_755.test_dim_one :
    unitEquilateralTriangleCount 1 (∅ : Finset (EuclideanSpace ℝ (Fin 1))) = 0
Show the full Challenge.lean (112 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 755

*References:*
- [erdosproblems.com/755](https://www.erdosproblems.com/755)
- [ErPu75] Erdős, Paul and Purdy, George, Some extremal problems in geometry. III.
  (1975), 291--308.
- [Er94b] Erdős, Paul, Some problems in number theory, combinatorics and
  combinatorial geometry. Math. Pannon. (1994), 261--269.
- [CDL25b] Clemen, Felix Christian, Dumitrescu, Adrian, and Liu, Dingyuan,
  The number of regular simplices in higher dimensions. arXiv:2507.19841 (2025).
-/

@[expose] public section

open Filter Metric
open scoped EuclideanGeometry Asymptotics

namespace Erdos755

/-- A three-point set whose pairwise distances are all equal to `side`. -/
def IsEquilateralTriangle {d : ℕ} (side : ℝ)
    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=
  T.card = 3 ∧ ∀ p ∈ T, ∀ q ∈ T, p ≠ q → dist p q = side

/-- A unit equilateral triangle in Euclidean `d`-space. -/
def IsUnitEquilateralTriangle {d : ℕ}
    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=
  IsEquilateralTriangle 1 T

/-- An equilateral triangle of any positive side length in Euclidean `d`-space. -/
def IsAnySizeEquilateralTriangle {d : ℕ}
    (T : Finset (EuclideanSpace ℝ (Fin d))) : Prop :=
  ∃ side : ℝ, 0 < side ∧ IsEquilateralTriangle side T

/-- Number of unit equilateral triangles spanned by a finite point set. -/
noncomputable def unitEquilateralTriangleCount (d : ℕ)
    (P : Finset (EuclideanSpace ℝ (Fin d))) : ℕ :=
  open scoped Classical in
  ((P.powersetCard 3).filter fun T => IsUnitEquilateralTriangle T).card

/-- Number of equilateral triangles of any positive side length spanned by a finite point set. -/
noncomputable def anySizeEquilateralTriangleCount (d : ℕ)
    (P : Finset (EuclideanSpace ℝ (Fin d))) : ℕ :=
  open scoped Classical in
  ((P.powersetCard 3).filter fun T => IsAnySizeEquilateralTriangle T).card

/-- Maximum number of unit equilateral triangles spanned by $n$ points in $\mathbb{R}^d$. -/
noncomputable def TUnit (d n : ℕ) : ℕ :=
  sSup {m : ℕ | ∃ P : Finset (EuclideanSpace ℝ (Fin d)),
    P.card = n ∧ unitEquilateralTriangleCount d P = m}

/-- Maximum number of equilateral triangles of any size spanned by $n$ points in $\mathbb{R}^d$. -/
noncomputable def TAnySize (d n : ℕ) : ℕ :=
  sSup {m : ℕ | ∃ P : Finset (EuclideanSpace ℝ (Fin d)),
    P.card = n ∧ anySizeEquilateralTriangleCount d P = m}

@[category test, AMS 52]
theorem erdos_755.test_dim_one :
    unitEquilateralTriangleCount 1 (∅ : Finset (EuclideanSpace ℝ (Fin 1))) = 0 := by
  simp [unitEquilateralTriangleCount]

set_option linter.style.formal_proof_palomar false in
/--
Erdős asked whether every $n$-point set in
$\mathbb{R}^6$ spans at most $(1/27 + o(1)) n^3$ unit equilateral triangles.

Clemen, Dumitrescu, and Liu [CDL25b] proved the stronger any-size statement
$T_6(n) = (1/27 + o(1)) n^3$. The unit-triangle upper bound follows as a
corollary, since unit equilateral triangles are a subset of equilateral
triangles of any positive side length: $T_\mathrm{unit} \leq T_\mathrm{anysize}$.
-/
@[category research solved, question, AMS 52,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos755.lean#L1344"]
theorem erdos_755 :
    ∃ o : ℕ → ℝ,
      o =o[atTop] (fun _ : ℕ => (1 : ℝ)) ∧
        ∀ᶠ n in atTop,
          (TUnit 6 n : ℝ) ≤ ((1 / 27 : ℝ) + o n) * (n : ℝ) ^ 3 := by
  sorry

/--
Clemen, Dumitrescu, and Liu [CDL25b] proved the stronger version where
equilateral triangles of all positive side lengths are counted.
-/
@[category research solved, AMS 52]
theorem erdos_755.variants.any_size_cdl :
    (fun n : ℕ => (TAnySize 6 n : ℝ)) ~[atTop]
      (fun n : ℕ => (1 / 27 : ℝ) * (n : ℝ) ^ 3) := by
  sorry

end Erdos755

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

nosorry desk erdos-755--erdos-755-test-dim-one      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-755--erdos-755-test-dim-one
nosorry submit erdos-755--erdos-755-test-dim-one nosorry/erdos-755--erdos-755-test-dim-one/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.