{
  "id": "791",
  "ident": "NS.00791",
  "slug": "erdos-1145",
  "title": "Erdős Problem 1145",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $A=\\{1\\leq a_1 < a_2 < \\cdots\\}$ and $B=\\{1\\leq b_1 < b_2 < \\cdots\\}$ be sets of integers with\n$a_n/b_n\\to 1$.\n\nIf $A+B$ contains all sufficiently large positive integers then is it true that\n$\\limsup 1_A\\ast 1_B(n)=\\infty$?\n\nA conjecture of Erdős and Sárközy.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": true,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1145.erdos_1145",
  "statement_lean": "theorem erdos_1145 : Erdos1145Prop",
  "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\npublic import FormalConjectures.ErdosProblems.«28»\n\n/-!\n# Erdős Problem 1145\n\n*References:*\n- [erdosproblems.com/28](https://www.erdosproblems.com/28)\n- [erdosproblems.com/1145](https://www.erdosproblems.com/1145)\n-/\n\n@[expose] public section\n\nopen Set Filter Pointwise Topology AdditiveCombinatorics\n\nnamespace Erdos1145\n\n/--\nLet $A=\\{1\\leq a_1 < a_2 < \\cdots\\}$ and $B=\\{1\\leq b_1 < b_2 < \\cdots\\}$ be sets of integers with\n$a_n/b_n\\to 1$.\n\nIf $A+B$ contains all sufficiently large positive integers then is it true that\n$\\limsup 1_A\\ast 1_B(n)=\\infty$?\n\nFormalization note: There's some discussion in the comments of [erdosproblems.com/28] and\n[erdosproblems.com/1145] about whether or not $0$ should be included in $A$ or $B$ and has been\nleft purposely ambiguous. Problem 1145 was originally written as $A + B = \\mathbb{N}$, which\nwould imply that $0$ would need to exist in $A$ or $B$ to include $1$ in $A + B$. However, it's been\nmade more general and rewritten as \"sufficiently large positive integers\". The formalization below\nis the version that includes $0$.\n-/\ndef Erdos1145Prop : Prop :=\n  ∀ ⦃A B : Set ℕ⦄ (_ : A.Infinite) (_ : B.Infinite),\n    Tendsto (fun n ↦ (Nat.nth (· ∈ A) n : ℝ) / (Nat.nth (· ∈ B) n : ℝ)) atTop (𝓝 1) →\n    (∀ᶠ n in atTop, n ∈ A + B) →\n    limsup (fun n => ↑(((𝟙_A ∗ 𝟙_B) : ℕ → ℕ) n)) atTop = (⊤ : ℕ∞)\n\n/--\nLet $A=\\{1\\leq a_1 < a_2 < \\cdots\\}$ and $B=\\{1\\leq b_1 < b_2 < \\cdots\\}$ be sets of integers with\n$a_n/b_n\\to 1$.\n\nIf $A+B$ contains all sufficiently large positive integers then is it true that\n$\\limsup 1_A\\ast 1_B(n)=\\infty$?\n\nA conjecture of Erdős and Sárközy.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1145 : Erdos1145Prop := by\n  sorry\n\n/--\nA stronger form of [erdosproblems.com/28].\n-/\n@[category test, AMS 11]\ntheorem erdos_1145.test_implies_erdos_28 : Erdos1145Prop → type_of% Erdos28.erdos_28 := by\n  delta sumRep\n  intro h1145 s hs\n  rcases hs.exists_le with ⟨m, hm⟩\n  by_cases hfin : s.Finite\n  · exact absurd hs (hfin.add hfin).infinite_compl\n  · have hinf : s.Infinite := hfin\n    refine h1145 hinf hinf ?_ ?_\n    · refine Filter.Tendsto.congr' ?_ tendsto_const_nhds\n      filter_upwards [Filter.eventually_gt_atTop 0] with n hn\n      rw [div_self]\n      exact mod_cast Nat.pos_iff_ne_zero.mp <|\n        lt_of_lt_of_le hn (Nat.nth_strictMono hinf).le_apply\n    · filter_upwards [Filter.eventually_gt_atTop m] with n hn\n      by_contra hns\n      exact not_le_of_gt hn (hm n hns)\n\nend Erdos1145\n",
  "statement_hash": "3de29da0fc524d3b5ce8f801b01d66280676b7e9d40f6981d96600b7d2bb5f6f",
  "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."
}