{
  "id": "1563",
  "ident": "NS.01563",
  "slug": "erdos-289",
  "title": "Erdős Problem 289",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Is it true that, for all sufficiently large $k$, there exist finite intervals\n$I_1, \\dotsc, I_k \\subset \\mathbb{N}$, distinct, not overlapping or adjacent, with\n$|I_i| \\geq 2$ for $1 \\leq i \\leq k$ such that\n$$\n1 = \\sum_{i=1}^k \\sum_{n \\in I_i} \\frac{1}{n}?\n$$\nHere two intervals are adjacent if their union is again an interval, so any two of the\n$I_i$ must be separated by at least one integer.\n\nThis is true: a formal proof in Lean 4 was produced by the LEAP prover agent [Ku+26]\n(see the linked `formal_proof`). We note that other recent solutions were also posted ahead of\nthis one (see [erdosproblems.com/forum/thread/289/proof-claims](https://www.erdosproblems.com/forum/thread/289/proof-claims));\nthis formalization follows an independent, different proof path.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos289.erdos_289",
  "statement_lean": "theorem erdos_289 :\n    (∀ᶠ k : ℕ in atTop, ∃ I : Fin k → ℕ × ℕ,\n    (∀ i, (I i).1 < (I i).2) ∧\n    (∀ i j, i ≠ j → (I i).2 + 1 < (I j).1 ∨ (I j).2 + 1 < (I i).1) ∧\n    ∑ i, ∑ n ∈ .Icc (I i).1 (I i).2, (n⁻¹ : ℚ) = 1)",
  "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 289\n\n*References:*\n- [erdosproblems.com/289](https://www.erdosproblems.com/289)\n- [Ku+26] Kung, P.-N., Song, L., Hwang, D., Yoon, J., Li, C.-L., Severini, S., Olšák, M.,\n  Lockhart, E., Le, Q. V., Gokturk, B., Luong, T., Pfister, T., & Peng, N. (2026). _LEAP:\n  Supercharging LLMs for Formal Mathematics with Agentic Frameworks_.\n  [arXiv:2606.03303](https://arxiv.org/abs/2606.03303).\n-/\n\n@[expose] public section\n\nopen Asymptotics Filter Finset\n\nnamespace Erdos289\n\nset_option linter.style.formal_proof_palomar false in\n/-- Is it true that, for all sufficiently large $k$, there exist finite intervals\n$I_1, \\dotsc, I_k \\subset \\mathbb{N}$, distinct, not overlapping or adjacent, with\n$|I_i| \\geq 2$ for $1 \\leq i \\leq k$ such that\n$$\n1 = \\sum_{i=1}^k \\sum_{n \\in I_i} \\frac{1}{n}?\n$$\nHere two intervals are adjacent if their union is again an interval, so any two of the\n$I_i$ must be separated by at least one integer.\n\nThis is true: a formal proof in Lean 4 was produced by the LEAP prover agent [Ku+26]\n(see the linked `formal_proof`). We note that other recent solutions were also posted ahead of\nthis one (see [erdosproblems.com/forum/thread/289/proof-claims](https://www.erdosproblems.com/forum/thread/289/proof-claims));\nthis formalization follows an independent, different proof path.\n-/\n@[category research solved, question, AMS 11,\n  formal_proof using formal_conjectures at\n    \"https://github.com/lfsong-google/formal-conjectures/blob/ff33e501bb78a90ae4703e22e052f8bb38e10146/FormalConjectures/ErdosProblems/289.lean#L9514\"]\ntheorem erdos_289 :\n    (∀ᶠ k : ℕ in atTop, ∃ I : Fin k → ℕ × ℕ,\n    (∀ i, (I i).1 < (I i).2) ∧\n    (∀ i j, i ≠ j → (I i).2 + 1 < (I j).1 ∨ (I j).2 + 1 < (I i).1) ∧\n    ∑ i, ∑ n ∈ .Icc (I i).1 (I i).2, (n⁻¹ : ℚ) = 1) := by\n  sorry\n\nend Erdos289\n",
  "statement_hash": "514b99b07849ccc6af48b8394d4d65bfde4378bd76b16a5c4b9e7c0b9dabfb9d",
  "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."
}