{
  "id": "3261",
  "ident": "NS.03261",
  "slug": "erdos-806",
  "title": "Erdős Problem 806",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $A\\subseteq \\{1,\\ldots,n\\}$ with $\\lvert A\\rvert \\leq n^{1/2}$. Must there exist some\n$B\\subset\\mathbb{Z}$ with $\\lvert B\\rvert=o(n^{1/2})$ such that $A\\subseteq B+B$?\n\nA problem of Erdős and Newman [ErNe77], who proved that there exist $A$ with\n$\\lvert A\\rvert\\asymp n^{1/2}$ such that if $A\\subseteq B+B$ then\n$$\\lvert B\\rvert \\gg \\frac{\\log\\log n}{\\log n}n^{1/2}.$$\n\nResolved by Alon, Bukh, and Sudakov [ABS09], who proved that for any $A\\subseteq \\{1,\\ldots,n\\}$\nwith $\\lvert A\\rvert \\leq n^{1/2}$ there exists some $B$ such that $A\\subseteq B+B$ and\n$$\\lvert B\\rvert \\ll \\frac{\\log\\log n}{\\log n}n^{1/2}.$$\n\nSee also [333](https://www.erdosproblems.com/333).",
  "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": "Erdos806.erdos_806",
  "statement_lean": "theorem erdos_806 : ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,\n    ∀ A : Finset ℕ, A ⊆ Finset.Icc 1 n → (A.card : ℝ) ≤ √n →\n      ∃ B : Finset ℤ, A.map Nat.castEmbedding ⊆ B + B ∧ (B.card : ℝ) ≤ ε * √n",
  "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 806\n\n*References:*\n- [erdosproblems.com/806](https://www.erdosproblems.com/806)\n- [ErNe77] Erdős, P. and Newman, D. J., *Bases for sets of integers*. J. Number Theory (1977),\n  420-425.\n- [ABS09] Alon, Noga and Bukh, Boris and Sudakov, Benny, *Discrete Kakeya-type problems and small\n  bases*. Israel J. Math. (2009), 285-301.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped Pointwise\n\nnamespace Erdos806\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A\\subseteq \\{1,\\ldots,n\\}$ with $\\lvert A\\rvert \\leq n^{1/2}$. Must there exist some\n$B\\subset\\mathbb{Z}$ with $\\lvert B\\rvert=o(n^{1/2})$ such that $A\\subseteq B+B$?\n\nA problem of Erdős and Newman [ErNe77], who proved that there exist $A$ with\n$\\lvert A\\rvert\\asymp n^{1/2}$ such that if $A\\subseteq B+B$ then\n$$\\lvert B\\rvert \\gg \\frac{\\log\\log n}{\\log n}n^{1/2}.$$\n\nResolved by Alon, Bukh, and Sudakov [ABS09], who proved that for any $A\\subseteq \\{1,\\ldots,n\\}$\nwith $\\lvert A\\rvert \\leq n^{1/2}$ there exists some $B$ such that $A\\subseteq B+B$ and\n$$\\lvert B\\rvert \\ll \\frac{\\log\\log n}{\\log n}n^{1/2}.$$\n\nSee also [333](https://www.erdosproblems.com/333).\n-/\n@[category research solved, question, AMS 11, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos806.lean#L744\"]\ntheorem erdos_806 : ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,\n    ∀ A : Finset ℕ, A ⊆ Finset.Icc 1 n → (A.card : ℝ) ≤ √n →\n      ∃ B : Finset ℤ, A.map Nat.castEmbedding ⊆ B + B ∧ (B.card : ℝ) ≤ ε * √n := by\n  sorry\n\n/--\nAlon, Bukh, and Sudakov [ABS09] proved that for any $A\\subseteq \\{1,\\ldots,n\\}$ with\n$\\lvert A\\rvert \\leq n^{1/2}$ there exists some $B$ such that $A\\subseteq B+B$ and\n$\\lvert B\\rvert \\ll \\frac{\\log\\log n}{\\log n}n^{1/2}$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_806.variants.alon_bukh_sudakov : ∃ C : ℝ, ∀ᶠ n : ℕ in atTop,\n    ∀ A : Finset ℕ, A ⊆ Finset.Icc 1 n → (A.card : ℝ) ≤ √n →\n      ∃ B : Finset ℤ, A.map Nat.castEmbedding ⊆ B + B ∧\n        (B.card : ℝ) ≤ C * Real.log (Real.log n) / Real.log n * √n := by\n  sorry\n\n/--\nErdős and Newman [ErNe77] proved that there exist $A\\subseteq\\{1,\\ldots,n\\}$ with\n$\\lvert A\\rvert\\asymp n^{1/2}$ such that if $A\\subseteq B+B$ then\n$\\lvert B\\rvert \\gg \\frac{\\log\\log n}{\\log n}n^{1/2}$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_806.variants.erdos_newman : ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,\n    ∃ A : Finset ℕ, A ⊆ Finset.Icc 1 n ∧ c * √n ≤ A.card ∧ (A.card : ℝ) ≤ √n ∧\n      ∀ B : Finset ℤ, A.map Nat.castEmbedding ⊆ B + B →\n        c * Real.log (Real.log n) / Real.log n * √n ≤ B.card := by\n  sorry\n\nend Erdos806\n",
  "statement_hash": "aefe03af0b7f332fc6ccef9abf7346f714e6605d660f6cb901f6f9f0202d7a78",
  "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."
}