{
  "id": "1404",
  "ident": "NS.01404",
  "slug": "erdos-232",
  "title": "Erdős Problem 232",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "For $A\\subset \\mathbb{R}^2$ we define the upper density as\n$$\\overline{\\delta}(A)=\\limsup_{R\\to \\infty}\\frac{\\lambda(A \\cap B_R)}{\\lambda(B_R)},$$\nwhere $\\lambda$ is the Lebesgue measure and $B_R$ is the ball of radius $R$.\n\nEstimate\n$$m_1=\\sup \\overline{\\delta}(A),$$\nwhere $A$ ranges over all measurable subsets of $\\mathbb{R}^2$ without two points distance $1$\napart. In particular, is $m_1\\leq 1/4$?\n\nA question of Moser [Mo66]; Erdős [Er85] conjectured $m_1<1/4$. The answer is yes: Ambrus,\nCsiszárik, Matolcsi, Varga, and Zsámboki [ACMVZ23] proved that $m_1\\leq 0.247$.",
  "subjects": [
    "math.CA",
    "math.MG",
    "msc:28",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos232.erdos_232",
  "statement_lean": "theorem erdos_232 : m₁ ≤ 1 / 4",
  "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.«214»\n\n/-!\n# Erdős Problem 232\n\n*References:*\n- [erdosproblems.com/232](https://www.erdosproblems.com/232)\n- [ACMVZ23] Ambrus, Gergely and Csiszárik, Adrián and Matolcsi, Máté and Varga, Dániel and\n  Zsámboki, Pál, *The density of planar sets avoiding unit distances*. Math. Program. (2023),\n  [arXiv:2207.14179](https://arxiv.org/abs/2207.14179).\n- [Cr67] Croft, H. T., *Incidence incidents*. Eureka (1967), 22-26.\n- [Er85] Erdős, Paul, *Problems and results in combinatorial geometry*. Discrete geometry and\n  convexity (New York, 1982), Ann. New York Acad. Sci. 440 (1985), 1-11.\n  [PDF](https://www.renyi.hu/~p_erdos/1985-23.pdf)\n- [Mo66] Moser, L., *Poorly formulated unsolved problems of combinatorial geometry*.\n  Mimeographed (1966).\n-/\n\n@[expose] public section\n\nopen Filter MeasureTheory\nopen scoped EuclideanGeometry\n\nnamespace Erdos232\n\n/-- The proportion $\\lambda(A \\cap B_R) / \\lambda(B_R)$ of the open ball $B_R$ of radius `R`\ncentred at the origin that is occupied by `A`. For `R ≤ 0` the ball is empty and the quotient is\n`0`; this plays no role for the limit $R \\to \\infty$. -/\nnoncomputable def ballDensity (A : Set ℝ²) (R : ℝ) : ℝ :=\n  (volume (A ∩ Metric.ball 0 R)).toReal / (volume (Metric.ball (0 : ℝ²) R)).toReal\n\n/-- The upper density $\\overline{\\delta}(A) = \\limsup_{R \\to \\infty} \\lambda(A \\cap B_R) /\n\\lambda(B_R)$, with balls centred at the origin (the upper density does not depend on the\ncentre). The quotients lie in $[0, 1]$, so this is the genuine limsup. -/\nnoncomputable def upperDensity (A : Set ℝ²) : ℝ :=\n  limsup (ballDensity A) atTop\n\n/-- $m_1 = \\sup \\overline{\\delta}(A)$, where $A$ ranges over the Lebesgue measurable subsets of\n$\\mathbb{R}^2$ without two points at distance $1$. The set of densities is nonempty (take\n$A = \\emptyset$) and bounded above by $1$, so `sSup` is the genuine supremum. -/\nnoncomputable def m₁ : ℝ :=\n  sSup {d : ℝ | ∃ A : Set ℝ², NullMeasurableSet A volume ∧\n    Erdos214.UnitDistanceAvoiding A ∧ upperDensity A = d}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFor $A\\subset \\mathbb{R}^2$ we define the upper density as\n$$\\overline{\\delta}(A)=\\limsup_{R\\to \\infty}\\frac{\\lambda(A \\cap B_R)}{\\lambda(B_R)},$$\nwhere $\\lambda$ is the Lebesgue measure and $B_R$ is the ball of radius $R$.\n\nEstimate\n$$m_1=\\sup \\overline{\\delta}(A),$$\nwhere $A$ ranges over all measurable subsets of $\\mathbb{R}^2$ without two points distance $1$\napart. In particular, is $m_1\\leq 1/4$?\n\nA question of Moser [Mo66]; Erdős [Er85] conjectured $m_1<1/4$. The answer is yes: Ambrus,\nCsiszárik, Matolcsi, Varga, and Zsámboki [ACMVZ23] proved that $m_1\\leq 0.247$.\n-/\n@[category research solved, question, AMS 28 52, formal_proof using lean4 at\n    \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos232.lean#L125\"]\ntheorem erdos_232 : m₁ ≤ 1 / 4 := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nAmbrus, Csiszárik, Matolcsi, Varga, and Zsámboki [ACMVZ23, Theorem 1]: any Lebesgue measurable,\n$1$-avoiding planar set has upper density at most $0.2470$.\n-/\n@[category research solved, AMS 28 52, formal_proof using lean4 at\n    \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos232.lean#L90\"]\ntheorem erdos_232.variants.acmvz_set (A : Set ℝ²) (hA : NullMeasurableSet A volume)\n    (hfree : Erdos214.UnitDistanceAvoiding A) : upperDensity A ≤ 247 / 1000 := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nAmbrus, Csiszárik, Matolcsi, Varga, and Zsámboki [ACMVZ23] proved that $m_1\\leq 0.247$.\n-/\n@[category research solved, AMS 28 52, formal_proof using lean4 at\n    \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos232.lean#L115\"]\ntheorem erdos_232.variants.acmvz : m₁ ≤ 247 / 1000 := by\n  sorry\n\n/--\nA lower bound of $m_1\\geq \\pi/(8\\sqrt{3})\\approx 0.2267$ is given by taking the union of open\ncircular discs of radius $1/2$ at a regular hexagonal lattice suitably spaced apart\n(see [ACMVZ23, Section 1]).\n-/\n@[category research solved, AMS 28 52]\ntheorem erdos_232.variants.hexagonal_lower_bound :\n    Real.pi / (8 * Real.sqrt 3) ≤ m₁ := by\n  sorry\n\n/--\nCroft [Cr67] gives a small improvement of $m_1\\geq 0.22936$ (see [ACMVZ23, Section 1]).\n-/\n@[category research solved, AMS 28 52]\ntheorem erdos_232.variants.croft_lower_bound : 0.22936 ≤ m₁ := by\n  sorry\n\nend Erdos232\n",
  "statement_hash": "8c34869c90117964a72e98f07744b48eab42bc17a019705cd896867ba45dbac0",
  "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."
}