{
  "id": "2782",
  "ident": "NS.02782",
  "slug": "erdos-668",
  "title": "Erdős Problem 668",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Is it true that the number of incongruent sets of $n$ points in $\\mathbb{R}^2$ which maximise the\nnumber of unit distances tends to infinity as $n\\to\\infty$?\n\nThe actual maximal number of unit distances is the subject of\n[Erdős Problem 90](https://www.erdosproblems.com/90).\n\nTwo sets of points are congruent if an isometry of the plane maps one onto the other.",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos668.erdos_668.parts.i",
  "statement_lean": "theorem erdos_668.parts.i :\n    ∀ m : ℕ, ∀ᶠ n in atTop, ∃ A : Fin m → Finset ℝ²,\n      (∀ i, (A i).card = n ∧ unitDistNum (A i) = maxUnitDistances n) ∧\n      ∀ i j, i ≠ j → ¬ ∃ f : ℝ² ≃ᵢ ℝ², f '' A i = A j",
  "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\npublic import FormalConjectures.ErdosProblems.«90»\n\n/-!\n# Erdős Problem 668\n\n*References:*\n- [erdosproblems.com/668](https://www.erdosproblems.com/668)\n- [A385657](https://oeis.org/A385657)\n- [AMP25] B. Alexeev, D. Mixon, and H. Parshall, *The Erdős unit distance problem for small point\n  sets*. arXiv:2412.11914 (2025).\n- [EHSVZ25] P. Engel, O. Hammond-Lee, Y. Su, D. Varga, and P. Zsámboki, *Diverse beam search to\n  find densest-known planar unit distance graphs*. arXiv:2406.15317 (2025).\n- [Er97f] Erdős, Paul, *Some unsolved problems*. Combinatorics, geometry and probability\n  (Cambridge, 1993) (1997), 1-10.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped EuclideanGeometry\n\nnamespace Erdos668\n\nopen Erdos90\n\n/--\nIs it true that the number of incongruent sets of $n$ points in $\\mathbb{R}^2$ which maximise the\nnumber of unit distances tends to infinity as $n\\to\\infty$?\n\nThe actual maximal number of unit distances is the subject of\n[Erdős Problem 90](https://www.erdosproblems.com/90).\n\nTwo sets of points are congruent if an isometry of the plane maps one onto the other.\n-/\n@[category research open, question, AMS 52]\ntheorem erdos_668.parts.i :\n    ∀ m : ℕ, ∀ᶠ n in atTop, ∃ A : Fin m → Finset ℝ²,\n      (∀ i, (A i).card = n ∧ unitDistNum (A i) = maxUnitDistances n) ∧\n      ∀ i j, i ≠ j → ¬ ∃ f : ℝ² ≃ᵢ ℝ², f '' A i = A j := by\n  sorry\n\n/--\nIs it always $>1$ for $n>3$?\n\nIn fact this is $=1$ also for $n=4$, the unique example given by two equilateral triangles joined\nby an edge.\n\nComputational evidence of Engel, Hammond-Lee, Su, Varga, and Zsámboki [EHSVZ25] and Alexeev,\nMixon, and Parshall [AMP25] suggests that this count is $=1$ for various other $5\\leq n\\leq 21$\n(although these calculations were checking only up to graph isomorphism, rather than\ncongruency).\n-/\n@[category research solved, question, AMS 52]\ntheorem erdos_668.parts.ii :\n    ¬ ∀ n : ℕ, 3 < n → ∃ A B : Finset ℝ², A.card = n ∧ B.card = n ∧\n      unitDistNum A = maxUnitDistances n ∧ unitDistNum B = maxUnitDistances n ∧\n      ¬ ∃ f : ℝ² ≃ᵢ ℝ², f '' A = B := by\n  sorry\n\n/--\nFor $n=4$ there is, up to congruence, exactly one set of points in $\\mathbb{R}^2$ which maximises\nthe number of unit distances: two unit equilateral triangles $abc$ and $bcd$ joined by the edge\n$bc$, with $a\\neq d$.\n-/\n@[category research solved, AMS 52]\ntheorem erdos_668.variants.four_points :\n    ∃ a b c d : ℝ², dist a b = 1 ∧ dist a c = 1 ∧ dist b c = 1 ∧ dist b d = 1 ∧ dist c d = 1 ∧\n      ({a, b, c, d} : Finset ℝ²).card = 4 ∧\n      ∀ B : Finset ℝ², B.card = 4 →\n        (unitDistNum B = maxUnitDistances 4 ↔ ∃ f : ℝ² ≃ᵢ ℝ², f '' {a, b, c, d} = B) := by\n  sorry\n\n/-- `Erdos668.erdos_668.variants.four_points` settles `Erdos668.erdos_668.parts.ii` at\n$n = 4$. -/\n@[category test, AMS 52]\ntheorem erdos_668.variants.four_points_implies_parts_ii :\n    type_of% erdos_668.variants.four_points → type_of% erdos_668.parts.ii := by\n  rintro ⟨a, b, c, d, -, -, -, -, -, -, h⟩\n  intro H\n  obtain ⟨A, B, hA, hB, hAm, hBm, hAB⟩ := H 4 (by norm_num)\n  obtain ⟨f, hf⟩ := (h A hA).1 hAm\n  obtain ⟨g, hg⟩ := (h B hB).1 hBm\n  exact hAB ⟨f.symm.trans g, by rw [← hf, ← hg, Set.image_image]; simp⟩\n\nend Erdos668\n",
  "statement_hash": "7aeebb35a05cdf882e62f42228608dfc33c7ad439fd533c61d34e705057e905a",
  "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."
}