{
  "id": "3546",
  "ident": "NS.03546",
  "slug": "erdos-894",
  "title": "Erdős Problem 894",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $A=\\{n_1<n_2<\\cdots\\}\\subset \\mathbb{N}$ be a lacunary sequence (so there exists some\n$\\epsilon>0$ with $n_{k+1}\\geq (1+\\epsilon)n_k$ for all $k$). Is it true that there must exist a\nfinite colouring of $\\mathbb{N}$ with no monochromatic solutions to $a-b\\in A$?\n\nAsked by Erdős in 1987, according to Katznelson [Ka01]. In other words, does the Cayley graph\ndefined on $\\mathbb{Z}$ by a lacunary sequence have a finite chromatic number?\n\nKatznelson observed that a positive solution to the problem follows from the answer to\n[464](https://www.erdosproblems.com/464), which yields an irrational $\\theta$ and $\\delta>0$\nsuch that $\\inf_k \\| \\theta n_k\\|>\\delta$. In particular, the solution to\n[464](https://www.erdosproblems.com/464) implies the answer to this question is yes, with the\nbest known quantitative bound, due to Peres and Schlag [PeSc10], being that there is a colouring\nwith no solutions using at most $\\ll \\epsilon^{-1}\\log(1/\\epsilon)$ colours.",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos894.erdos_894",
  "statement_lean": "theorem erdos_894 :\n    ∀ n : ℕ → ℕ, StrictMono n → (∀ k, 0 < n k) → IsLacunary n →\n      ∃ (r : ℕ) (c : ℕ → Fin r), ∀ b k, c (b + n k) ≠ c b",
  "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 894\n\n*References:*\n- [erdosproblems.com/894](https://www.erdosproblems.com/894)\n- [Ka01] Katznelson, Y., *Chromatic numbers of Cayley graphs on $\\mathbb{Z}$ and recurrence*.\n  Combinatorica (2001), 211--219.\n- [PeSc10] Peres, Yuval and Schlag, Wilhelm, *Two Erdős problems on lacunary sequences: chromatic\n  number and Diophantine approximation*. Bull. Lond. Math. Soc. (2010), 295--300.\n-/\n\n@[expose] public section\n\nnamespace Erdos894\n\n/- Formalization note: as in `erdos_464`, the lacunarity hypothesis is rendered by the house\npredicate `IsLacunary` ($\\exists c > 1$ with $c \\cdot n_k < n_{k+1}$ for all sufficiently large\n$k$); for a strictly increasing sequence of positive integers this is equivalent to the problem's\ncondition $n_{k+1} \\geq (1+\\epsilon) n_k$ for all $k$. -/\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A=\\{n_1<n_2<\\cdots\\}\\subset \\mathbb{N}$ be a lacunary sequence (so there exists some\n$\\epsilon>0$ with $n_{k+1}\\geq (1+\\epsilon)n_k$ for all $k$). Is it true that there must exist a\nfinite colouring of $\\mathbb{N}$ with no monochromatic solutions to $a-b\\in A$?\n\nAsked by Erdős in 1987, according to Katznelson [Ka01]. In other words, does the Cayley graph\ndefined on $\\mathbb{Z}$ by a lacunary sequence have a finite chromatic number?\n\nKatznelson observed that a positive solution to the problem follows from the answer to\n[464](https://www.erdosproblems.com/464), which yields an irrational $\\theta$ and $\\delta>0$\nsuch that $\\inf_k \\| \\theta n_k\\|>\\delta$. In particular, the solution to\n[464](https://www.erdosproblems.com/464) implies the answer to this question is yes, with the\nbest known quantitative bound, due to Peres and Schlag [PeSc10], being that there is a colouring\nwith no solutions using at most $\\ll \\epsilon^{-1}\\log(1/\\epsilon)$ colours.\n-/\n@[category research solved, question, AMS 5 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos894.lean#L310\"]\ntheorem erdos_894 :\n    ∀ n : ℕ → ℕ, StrictMono n → (∀ k, 0 < n k) → IsLacunary n →\n      ∃ (r : ℕ) (c : ℕ → Fin r), ∀ b k, c (b + n k) ≠ c b := by\n  sorry\n\nend Erdos894\n",
  "statement_hash": "85efe221e8519d1b0bd0edbb5ae9f84a2a34fd6f3303092032843a0fd0c4128e",
  "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."
}