{
  "id": "1099",
  "ident": "NS.01099",
  "slug": "erdos-14",
  "title": "Erdős Problem 14",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $A ⊆ \\mathbb{N}$. Let $B ⊆ \\mathbb{N}$ be the set of integers which are representable\nin exactly one way as the sum of two elements from $A$. Is it true that for all\n$\\epsilon > 0$ and large $N$, $|\\{1,\\ldots,N\\} \\setminus B| \\gg_\\epsilon N^{1/2 - \\epsilon}$?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/14",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos14.erdos_14.parts.i",
  "statement_lean": "theorem erdos_14.parts.i :\n    ∀ A, ∀ ε > 0, nonUniqueSumCount A ≫ almostSquareRoot ε",
  "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/-!\n# Erdős Problem 14\n\n*Reference:* [erdosproblems.com/14](https://www.erdosproblems.com/14)\n-/\n\n@[expose] public section\n\nnamespace Erdos14\n\nopen Asymptotics Filter\n\n\n/--\nThe number of integers in $\\{1,\\ldots,N\\}$ which are not representable in exactly one way\nas the sum of two elements from $A$ (either because they are not representable at all, or\nbecause they are representable in more than one way).\n-/\nnoncomputable def nonUniqueSumCount (A : Set ℕ) (N : ℕ) : ℝ :=\n  ((Set.Icc 1 N) \\ (allUniqueSums A)).ncard\n\nnoncomputable def almostSquareRoot (ε : ℝ) (N : ℕ) : ℝ :=\n  N ^ (1/2 - ε)\n\nnoncomputable def squareRoot (N : ℕ) : ℝ :=\n  Real.sqrt N\n\n/--\nLet $A ⊆ \\mathbb{N}$. Let $B ⊆ \\mathbb{N}$ be the set of integers which are representable\nin exactly one way as the sum of two elements from $A$. Is it true that for all\n$\\epsilon > 0$ and large $N$, $|\\{1,\\ldots,N\\} \\setminus B| \\gg_\\epsilon N^{1/2 - \\epsilon}$?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_14.parts.i :\n    ∀ A, ∀ ε > 0, nonUniqueSumCount A ≫ almostSquareRoot ε := by sorry\n\n/--\nIs it possible that $|\\{1,\\ldots,N\\} \\setminus B| = o(N^\\frac{1}{2})$?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_14.parts.ii :\n    ∃ (A : Set ℕ), IsLittleO atTop (nonUniqueSumCount A) squareRoot := by\n  sorry\n\nend Erdos14\n",
  "statement_hash": "1697ffed4f379cf34a9529522bfc730108e03636d017d795c3e826b62501928d",
  "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."
}