{
  "id": "445",
  "ident": "NS.00445",
  "slug": "erdos-104",
  "title": "Erdős Problem 104",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Given $n$ points in $\\mathbb{R}^2$ the number of distinct unit circles containing at least three points is $o(n^2)$.",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos104.erdos_104",
  "statement_lean": "theorem erdos_104 :\n    (fun n : ℕ => (maxUnitCircleCount n : ℝ)) =o[atTop] (fun n : ℕ => (n : ℝ) ^ 2)",
  "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 104\n\n*References:*\n- [erdosproblems.com/104](https://www.erdosproblems.com/104)\n- [El84] Elekes, G., *{$n$} points in the plane can determine $n^{3/2}$ unit circles*. Combinatorica\n  (1984), 131.\n- [Er75h] Erdős, P., *Some problems on elementary geometry*. Austral. Math. Soc. Gaz. (1975), 2-3.\n- [Er81d] Erdős, P., *Some applications of graph theory and combinatorial methods to number theory\n  and geometry*. Algebraic methods in graph theory, Vol. I, II (Szeged, 1978) (1981), 137-148.\n- [Er92e] Erdős, Pál, *Some Unsolved problems in Geometry, Number Theory and Combinatorics*. Eureka\n  (1992), 44-48.\n- [HaMe86] Harborth, Heiko and Mengersen, Ingrid, *Point sets with many unit circles*. Discrete\n  Math. (1986), 193--197.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped EuclideanGeometry\n\nnamespace Erdos104\n\nopen EuclideanGeometry\n\n/-- The number of distinct unit circles containing at least three points of `P`. -/\nnoncomputable def unitCircleCount (P : Finset ℝ²) : ℕ :=\n  Set.ncard {s : Sphere ℝ² | s.radius = 1 ∧ 3 ≤ {p ∈ (P : Set ℝ²) | p ∈ s}.ncard}\n\n/-- The set of unit-circle counts attained by configurations of `n` points in the plane. -/\nnoncomputable def possibleUnitCircleCounts (n : ℕ) : Set ℕ :=\n  {k | ∃ P : Finset ℝ², P.card = n ∧ unitCircleCount P = k}\n\n/-- The maximum number of qualifying unit circles attained by a configuration of `n` points. -/\nnoncomputable def maxUnitCircleCount (n : ℕ) : ℕ :=\n  sSup (possibleUnitCircleCounts n)\n\n/--\nGiven $n$ points in $\\mathbb{R}^2$ the number of distinct unit circles containing at least three points is $o(n^2)$.\n-/\n@[category research open, AMS 52]\ntheorem erdos_104 :\n    (fun n : ℕ => (maxUnitCircleCount n : ℝ)) =o[atTop] (fun n : ℕ => (n : ℝ) ^ 2) := by\n  sorry\n\nend Erdos104\n",
  "statement_hash": "1a8903a860a5e9b62472c0e387f314b37a8449a2b1a5058d34e029fa549673df",
  "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."
}