{
  "id": "1276",
  "ident": "NS.01276",
  "slug": "erdos-196",
  "title": "Erdős Problem 196",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Must every permutation of $\\mathbb{N}$ contain a monotone 4-term arithmetic progression?\n\nHere a monotone $k$-term arithmetic progression in a permutation $f$ is a set of indices\n$i_1 < \\cdots < i_k$ such that $f(i_1), \\ldots, f(i_k)$ is an increasing or decreasing arithmetic\nprogression. [DEGS77] showed that every permutation of $\\mathbb{N}$ contains a monotone 3-term\narithmetic progression, and that there are permutations with no monotone 5-term arithmetic\nprogression.\n\nThe answer is no: [Ho26] constructs an explicit permutation of the positive integers with no\nmonotone 4-term arithmetic progression. Independent constructions with Lean formalizations were\ngiven shortly afterwards by Kruer and Kohlmeyer and, pseudonymously, in the repository\n`coleski/erdos196`; the linked formal proof establishes the negation of this statement.",
  "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": "Erdos196.erdos_196",
  "statement_lean": "theorem erdos_196 : ¬ ∀ (f : ℕ ≃ ℕ), HasMonotoneAP f 4",
  "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 196\n\n*References:*\n- [erdosproblems.com/196](https://www.erdosproblems.com/196)\n- [DEGS77] Davis, J. A. and Entringer, R. C. and Graham, R. L. and Simmons, G. J.,\n  *On permutations containing no long arithmetic progressions*. Acta Arith. (1977), 81-90.\n- [Ho26] Ho, Boon Suan, *A 4AP-free permutation of the positive integers*.\n  [arXiv:2609.12780](https://arxiv.org/abs/2609.12780)\n-/\n\n@[expose] public section\nnamespace Erdos196\n\nset_option linter.style.formal_proof_palomar false in\n/--\nMust every permutation of $\\mathbb{N}$ contain a monotone 4-term arithmetic progression?\n\nHere a monotone $k$-term arithmetic progression in a permutation $f$ is a set of indices\n$i_1 < \\cdots < i_k$ such that $f(i_1), \\ldots, f(i_k)$ is an increasing or decreasing arithmetic\nprogression. [DEGS77] showed that every permutation of $\\mathbb{N}$ contains a monotone 3-term\narithmetic progression, and that there are permutations with no monotone 5-term arithmetic\nprogression.\n\nThe answer is no: [Ho26] constructs an explicit permutation of the positive integers with no\nmonotone 4-term arithmetic progression. Independent constructions with Lean formalizations were\ngiven shortly afterwards by Kruer and Kohlmeyer and, pseudonymously, in the repository\n`coleski/erdos196`; the linked formal proof establishes the negation of this statement. -/\n@[category research solved, question, AMS 5 11, formal_proof using lean4 at\n  \"https://github.com/lkruer/conjectures/blob/8ede860e8fc90a300207a2c17e8aefe6167b3086/problems/erdos-196/lean/Erdos196.lean\"]\ntheorem erdos_196 : ¬ ∀ (f : ℕ ≃ ℕ), HasMonotoneAP f 4 := by\n  sorry\n\nend Erdos196\n",
  "statement_hash": "d64d19bf3078e3ae232ee031ecb59e7084e83d8f75458dbc3b2994b93e0f2966",
  "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."
}