{
  "id": "3889",
  "ident": "NS.03889",
  "slug": "erdos-995",
  "title": "Erdős Problem 995",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Erdős Problem 995:\n\nFor every lacunary sequence $(n_k)$ of integers and every $f \\in L^2([0,1])$ with\n$\\int_0^1 f = 0$, is it true that for almost all $\\alpha$,\n$$\\sum_{k < N} f(\\{\\alpha n_k\\}) = o\\!\\left(N \\sqrt{\\log\\log N}\\right)?$$",
  "subjects": [
    "math.NT",
    "math.CA",
    "msc:11",
    "msc:42"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos995.erdos_995",
  "statement_lean": "theorem erdos_995 :\n    ∀ (n : ℕ → ℕ), IsLacunary n → ∀ (f : ℝ → ℝ),\n      MemLp f 2 (volume.restrict (Icc (0 : ℝ) 1)) →\n      ∫ x in (0 : ℝ)..1, f x = 0 →\n      ∀ᵐ α ∂(volume.restrict (Icc (0 : ℝ) 1)),\n        partialSum n f α =o[atTop] fun N => (N : ℝ) * Real.sqrt (Real.log (Real.log N))",
  "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 995\n\n*References:*\n- [erdosproblems.com/995](https://www.erdosproblems.com/995)\n- [Er49] Erdős, P., On the strong law of large numbers, Trans. Amer. Math. Soc. (1949),\n  329-334.\n\nLet $n_1 < n_2 < \\cdots$ be a lacunary sequence of integers and $f \\in L^2([0,1])$ with\n$\\int_0^1 f = 0$. Estimate the growth of\n$$S_N(\\alpha) = \\sum_{k \\le N} f(\\{\\alpha n_k\\})$$\nfor almost all $\\alpha$, where $\\{\\cdot\\}$ denotes the fractional part. In particular, is it\ntrue that $S_N(\\alpha) = o\\!\\left(N \\sqrt{\\log\\log N}\\right)$ for almost all $\\alpha$?\n\nErdős [Er49] constructed a lacunary sequence and a mean-zero $f \\in L^2([0,1])$ for which, for\nevery $\\varepsilon > 0$, $\\limsup_N S_N(\\alpha) / (N (\\log\\log N)^{1/2 - \\varepsilon}) = \\infty$\nfor almost all $\\alpha$, and believed this lower bound to be close to the truth.\n\nThe mean-zero hypothesis $\\int_0^1 f = 0$ is the natural normalisation: otherwise the sum has a\nlinear main term coming from the average of $f$.\n-/\n\n@[expose] public section\n\nopen MeasureTheory Filter Asymptotics Set\n\nnamespace Erdos995\n\n/-- The partial sum $S_N(\\alpha) = \\sum_{k < N} f(\\{\\alpha n_k\\})$. -/\nnoncomputable def partialSum (n : ℕ → ℕ) (f : ℝ → ℝ) (α : ℝ) (N : ℕ) : ℝ :=\n  ∑ k ∈ Finset.range N, f (Int.fract (α * (n k : ℝ)))\n\n/--\nErdős Problem 995:\n\nFor every lacunary sequence $(n_k)$ of integers and every $f \\in L^2([0,1])$ with\n$\\int_0^1 f = 0$, is it true that for almost all $\\alpha$,\n$$\\sum_{k < N} f(\\{\\alpha n_k\\}) = o\\!\\left(N \\sqrt{\\log\\log N}\\right)?$$\n-/\n@[category research open, question, AMS 11 42]\ntheorem erdos_995 :\n    ∀ (n : ℕ → ℕ), IsLacunary n → ∀ (f : ℝ → ℝ),\n      MemLp f 2 (volume.restrict (Icc (0 : ℝ) 1)) →\n      ∫ x in (0 : ℝ)..1, f x = 0 →\n      ∀ᵐ α ∂(volume.restrict (Icc (0 : ℝ) 1)),\n        partialSum n f α =o[atTop] fun N => (N : ℝ) * Real.sqrt (Real.log (Real.log N)) := by\n  sorry\n\n/--\nErdős [Er49] showed the growth cannot be pushed below $N (\\log\\log N)^{1/2}$ by more than an\narbitrarily small power: there is a lacunary sequence and a mean-zero $f \\in L^2([0,1])$ such\nthat for every $\\varepsilon > 0$, for almost all $\\alpha$,\n$$\\limsup_{N \\to \\infty} \\frac{\\sum_{k < N} f(\\{\\alpha n_k\\})}{N (\\log\\log N)^{1/2 - \\varepsilon}}\n  = \\infty.$$\n-/\n@[category research solved, AMS 11 42]\ntheorem erdos_995.variants.erdos_lower_bound :\n    ∃ (n : ℕ → ℕ), IsLacunary n ∧ ∃ (f : ℝ → ℝ),\n      MemLp f 2 (volume.restrict (Icc (0 : ℝ) 1)) ∧\n      ∫ x in (0 : ℝ)..1, f x = 0 ∧\n      ∀ ε > (0 : ℝ),\n        ∀ᵐ α ∂(volume.restrict (Icc (0 : ℝ) 1)),\n          atTop.limsup (fun N => (((partialSum n f α N) /\n            ((N : ℝ) * (Real.log (Real.log N)) ^ ((1 : ℝ) / 2 - ε)) : ℝ) : EReal)) = ⊤ := by\n  sorry\n\nend Erdos995\n",
  "statement_hash": "839c3b72ae53bde8f5c297614d47799a433adffa165946f590efde089dbe5e2c",
  "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."
}