{
  "id": "966",
  "ident": "NS.00966",
  "slug": "erdos-1197",
  "title": "Erdős Problem 1197",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $E\\subset (0,\\infty)$ be a set of positive measure. Is it true that, for almost all $x>0$,\nfor all sufficiently large (depending on $x$) integers $n$ there exists an integer $r\\geq 1$ such\nthat $nx\\in r\\cdot E$?\n\nA problem of Haight, who constructed a set $E\\subset (0,\\infty)$ of infinite measure such that,\nfor all $x\\in E$, $x\\not\\in r\\cdot E$ if $r\\geq 2$, and also for all $x>0$, if $n$ is large enough\nthen $nx\\not\\in E$ (see [1195](https://www.erdosproblems.com/1195)).\n\nThis is trivially true if $E$ contains an interval $(a,b)$ with $a<b$, since for any $x>0$, for\nall large $n$, the interval $(\\frac{nx}{b},\\frac{nx}{a})$ has length $>1$ so contains at least\none integer $r\\geq 1$.\n\nBuczolich and Mauldin [BuMa99] proved that there exists an open set $E\\subset (0,\\infty)$ and two\nintervals $I,J\\subset [1/2,1)$ such that, for all $x\\in I$, $x\\in \\frac{1}{n}\\cdot E$ for\ninfinitely many $n\\geq 1$, and for almost all $x\\in J$, $x\\not\\in \\frac{1}{n}\\cdot E$ for all\nsufficiently large (depending on $x$) $n$.\n\nThis was solved in the negative by ebarschkis in the comments, who constructed a counterexample\nusing a variant of the Buczolich-Mauldin construction.",
  "subjects": [
    "math.NT",
    "math.CA",
    "msc:11",
    "msc:28"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1197.erdos_1197",
  "statement_lean": "theorem erdos_1197 : ¬ ∀ E : Set ℝ, MeasurableSet E → E ⊆ Set.Ioi 0 → 0 < volume E →\n    ∀ᵐ x ∂(volume.restrict (Set.Ioi (0 : ℝ))), ∀ᶠ n : ℕ in atTop,\n      ∃ r : ℕ, 1 ≤ r ∧ (n : ℝ) * x ∈ (r : ℝ) • E",
  "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 1197\n\n*References:*\n- [erdosproblems.com/1197](https://www.erdosproblems.com/1197)\n- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*. Ann. Discrete Math.\n  (1980), 89-115.\n- [BuMa99] Buczolich, Zoltán and Mauldin, R. Daniel, *On the convergence of\n  $\\sum^\\infty_{n=1}f(nx)$ for measurable functions*. Mathematika (1999), 337--341.\n-/\n\n@[expose] public section\n\nopen Filter MeasureTheory\nopen scoped Pointwise\n\nnamespace Erdos1197\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $E\\subset (0,\\infty)$ be a set of positive measure. Is it true that, for almost all $x>0$,\nfor all sufficiently large (depending on $x$) integers $n$ there exists an integer $r\\geq 1$ such\nthat $nx\\in r\\cdot E$?\n\nA problem of Haight, who constructed a set $E\\subset (0,\\infty)$ of infinite measure such that,\nfor all $x\\in E$, $x\\not\\in r\\cdot E$ if $r\\geq 2$, and also for all $x>0$, if $n$ is large enough\nthen $nx\\not\\in E$ (see [1195](https://www.erdosproblems.com/1195)).\n\nThis is trivially true if $E$ contains an interval $(a,b)$ with $a<b$, since for any $x>0$, for\nall large $n$, the interval $(\\frac{nx}{b},\\frac{nx}{a})$ has length $>1$ so contains at least\none integer $r\\geq 1$.\n\nBuczolich and Mauldin [BuMa99] proved that there exists an open set $E\\subset (0,\\infty)$ and two\nintervals $I,J\\subset [1/2,1)$ such that, for all $x\\in I$, $x\\in \\frac{1}{n}\\cdot E$ for\ninfinitely many $n\\geq 1$, and for almost all $x\\in J$, $x\\not\\in \\frac{1}{n}\\cdot E$ for all\nsufficiently large (depending on $x$) $n$.\n\nThis was solved in the negative by ebarschkis in the comments, who constructed a counterexample\nusing a variant of the Buczolich-Mauldin construction.\n-/\n@[category research solved, question, AMS 11 28, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1197.lean#L705\"]\ntheorem erdos_1197 : ¬ ∀ E : Set ℝ, MeasurableSet E → E ⊆ Set.Ioi 0 → 0 < volume E →\n    ∀ᵐ x ∂(volume.restrict (Set.Ioi (0 : ℝ))), ∀ᶠ n : ℕ in atTop,\n      ∃ r : ℕ, 1 ≤ r ∧ (n : ℝ) * x ∈ (r : ℝ) • E := by\n  sorry\n\nend Erdos1197\n",
  "statement_hash": "0054d9ff092f7041b33031ff334105c9fc660289c6de2dfdba3b65facc59aa75",
  "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."
}