{
  "id": "3887",
  "ident": "NS.03887",
  "slug": "erdos-994",
  "title": "Erdős Problem 994",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $E\\subseteq (0,1)$ be a meaurable subset with Lebesgue measure $\\lambda(E)$. Is it true that,\nfor almost all $\\alpha$,\n$$\\lim_{n\\to \\infty}\\frac{1}{n}\\sum_{1\\leq k\\leq n}1_{\\{k\\alpha \\}\\in E}=\\lambda(E)$$\nfor all $E$?\n\nThis is a conjecture of Khintchine [Kh23] (with the exceptional null set of $\\alpha$ allowed to\ndepend on $E$). It is false, and was disproved by Marstrand [Ma70].",
  "subjects": [
    "math.NT",
    "math.CA",
    "msc:11",
    "msc:28"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos994.erdos_994",
  "statement_lean": "theorem erdos_994 :\n    ¬ ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →\n      ∀ᵐ α : ℝ, Tendsto (visitAverage E α) atTop (nhds (volume E).toReal)",
  "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 994\n\n*References:*\n- [erdosproblems.com/994](https://www.erdosproblems.com/994)\n- [Er64b] Erdős, P., _Problems and results on diophantine approximations_. Compositio Math.\n  (1964), 52-65.\n- [Kh23] Khintchine, A., _Ein Satz über Kettenbrüche, mit arithmetischen Anwendungen_. Math. Z.\n  (1923), 289--306.\n- [Ma70] Marstrand, J. M., _On Khinchin's conjecture about strong uniform distribution_. Proc.\n  London Math. Soc. (3) (1970), 540--556.\n-/\n\n@[expose] public section\n\nopen Filter MeasureTheory Set\n\nnamespace Erdos994\n\nopen scoped Classical in\n/-- The proportion $\\frac{1}{n}\\sum_{1\\leq k\\leq n}1_{\\{k\\alpha \\}\\in E}$ of the fractional parts\n$\\{k\\alpha\\}$, $1\\leq k\\leq n$, which lie in `E`. -/\nnoncomputable def visitAverage (E : Set ℝ) (α : ℝ) (n : ℕ) : ℝ :=\n  (∑ k ∈ Finset.Icc 1 n, if Int.fract (k * α) ∈ E then (1 : ℝ) else 0) / n\n\n/--\nLet $E\\subseteq (0,1)$ be a meaurable subset with Lebesgue measure $\\lambda(E)$. Is it true that,\nfor almost all $\\alpha$,\n$$\\lim_{n\\to \\infty}\\frac{1}{n}\\sum_{1\\leq k\\leq n}1_{\\{k\\alpha \\}\\in E}=\\lambda(E)$$\nfor all $E$?\n\nThis is a conjecture of Khintchine [Kh23] (with the exceptional null set of $\\alpha$ allowed to\ndepend on $E$). It is false, and was disproved by Marstrand [Ma70].\n-/\n@[category research solved, question, AMS 11 28]\ntheorem erdos_994 :\n    ¬ ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →\n      ∀ᵐ α : ℝ, Tendsto (visitAverage E α) atTop (nhds (volume E).toReal) := by\n  sorry\n\n/--\nRead literally, with \"for almost all $\\alpha$\" placed before \"for all $E$\", the statement is\ntrivially false: for any $\\alpha$, removing the countable orbit $\\{\\{k\\alpha\\} : k\\geq 1\\}$ from\n$(0,1)$ gives a measurable set of measure $1$ which is never visited.\n-/\n@[category textbook, AMS 11 28]\ntheorem erdos_994.variants.simultaneous :\n    ¬ ∀ᵐ α : ℝ, ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →\n      Tendsto (visitAverage E α) atTop (nhds (volume E).toReal) := by\n  intro h\n  obtain ⟨α, hα⟩ := h.exists\n  set O : Set ℝ := Set.range fun k : ℕ ↦ Int.fract (((k + 1 : ℕ) : ℝ) * α) with hO_def\n  have hO : volume O = 0 := (Set.countable_range _).measure_zero _\n  have hE := hα (Ioo 0 1 \\ O) Set.sdiff_subset\n    (measurableSet_Ioo.diff (Set.countable_range _).measurableSet)\n  have hvol : volume (Ioo (0 : ℝ) 1 \\ O) = 1 := by\n    rw [measure_sdiff_null hO, Real.volume_Ioo]\n    simp\n  have hzero : visitAverage (Ioo 0 1 \\ O) α = fun _ ↦ 0 := by\n    funext n\n    unfold visitAverage\n    rw [Finset.sum_eq_zero, zero_div]\n    intro k hk\n    rw [Finset.mem_Icc] at hk\n    rw [if_neg]\n    rintro ⟨-, hmem⟩\n    exact hmem ⟨k - 1, by simp only [Nat.sub_add_cancel hk.1]⟩\n  rw [hzero, hvol, ENNReal.toReal_one] at hE\n  exact one_ne_zero (tendsto_nhds_unique hE tendsto_const_nhds)\n\nend Erdos994\n",
  "statement_hash": "18345ed113a91a7e1fd0f2f05a7db5b50f4dcc5cf6174d94f8e91e6835ef9b81",
  "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."
}