{
  "id": "1161",
  "ident": "NS.01161",
  "slug": "erdos-160",
  "title": "Erdős Problem 160",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "On [Mathoverflow](https://mathoverflow.net/a/410815) user\n[leechlattice](https://mathoverflow.net/users/125498/leechlattice) shows that\n$h(n) \\ll n^{\\frac 2 3}$.",
  "subjects": [
    "math.CO",
    "math.MG",
    "msc:05",
    "msc:51"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/160",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos160.erdos_160.known_upper",
  "statement_lean": "theorem erdos_160.known_upper :\n    (fun n => (erdos_160.h n : ℝ)) =O[atTop] fun n => (n : ℝ) ^ ((2 : ℝ) / 3)",
  "challenge_source": "/-\nCopyright 2025 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 160\n\n*Reference:* [erdosproblems.com/160](https://www.erdosproblems.com/160)\n-/\n\n@[expose] public section\n\nnamespace Erdos160\n\n/--\nLet $h(n)$ be the smallest $k$ such that $\\{1,\\ldots,n\\}$ can be coloured with $k$ colours\nso that every four-term arithmetic progression must contain at least three distinct colours.\n-/\nnoncomputable def erdos_160.h (n : ℕ) : ℕ :=\n    sInf {k | ∃ (colouring : Finset.Icc 1 n → Fin k), ∀ (progression : Set ℕ),\n    (progression ⊆ Finset.Icc 1 n ∧ progression.IsAPOfLength 4) →\n    3 ≤ (colouring '' {k | (k : ℕ) ∈ progression}).ncard}\n\n\nopen Filter\n\n/--\nOn [Mathoverflow](https://mathoverflow.net/a/410815) user\n[leechlattice](https://mathoverflow.net/users/125498/leechlattice) shows that\n$h(n) \\ll n^{\\frac 2 3}$.\n-/\n@[category research solved, AMS 5 51]\ntheorem erdos_160.known_upper :\n    (fun n => (erdos_160.h n : ℝ)) =O[atTop] fun n => (n : ℝ) ^ ((2 : ℝ) / 3) := by\n  sorry\n\nopen Real\n\ndef erdos_160.better_upper.answer : ℕ → ℝ := sorry\n\n/--\nEstimate $h(n)$ by finding a better upper bound.\n-/\n@[category research open, question value, AMS 5 51]\ntheorem erdos_160.better_upper :\n    (fun n => (erdos_160.h n : ℝ)) =O[atTop] erdos_160.better_upper.answer ∧\n    erdos_160.better_upper.answer =o[atTop] fun n => (n : ℝ) ^ ((2 : ℝ) / 3) := by\n  sorry\n\ndef erdos_160.better_lower.answer : ℕ → ℝ := sorry\n\n/--\nEstimate $h(n)$ by finding a better lower bound.\n-/\n@[category research open, question value, AMS 5 51]\ntheorem erdos_160.better_lower:\n    (erdos_160.better_lower.answer =O[atTop] fun n => (erdos_160.h n : ℝ)) ∧\n    ∀ c > 0,\n    (fun (n : ℕ) => exp (c * log n ^ ((1 : ℝ) / 12))) =O[atTop] (fun n => (erdos_160.h n : ℝ)) →\n    ∀ c > 0, (fun (n : ℕ) => exp (c * log n ^ ((1 : ℝ) / 12))) =o[atTop]\n      erdos_160.better_lower.answer := by\n  sorry\n\n/--\nThe observation of Zachary Hunter in [that question](https://mathoverflow.net/q/410808)\ncoupled with the bounds of Kelley-Meka [KeMe23](https://arxiv.org/abs/2302.05537) imply that\n$$h(N) \\gg \\exp(c(\\log N)^{\\frac 1 {12}})$$\nfor some $c > 0$.\n-/\n@[category research solved, AMS 5 51]\ntheorem erdos_160.variants.known_lower :\n    ∃ c > 0, (fun (n : ℕ) => exp (c * log (n : ℝ) ^ ((1 : ℝ) / 12)))\n    =O[atTop] fun n => (erdos_160.h n : ℝ):= by\n  sorry\n\nend Erdos160\n",
  "statement_hash": "8e5884c5949806c66488e954a55b2d192506a1da19bf99af99ad02046ea77e94",
  "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."
}