{
  "id": "3112",
  "ident": "NS.03112",
  "slug": "erdos-763",
  "title": "Erdős Problem 763",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $A\\subseteq \\mathbb{N}$. Can there exist some constant $c>0$ such that\n$$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+O(1)?$$\n\nA conjecture of Erdős and Turán. Erdős and Fuchs [ErFu56] proved that the answer is no in a\nstrong form: in fact even\n$$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+o\\left(\\frac{N^{1/4}}{(\\log N)^{1/2}}\\right)$$\nis impossible. The error term here was improved to $o(N^{1/4})$ by Jurkat (unpublished) and\nMontgomery and Vaughan [MoVa90].\n\nSee also [764](https://www.erdosproblems.com/764) for a generalisation to more summands.",
  "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": "Erdos763.erdos_763",
  "statement_lean": "theorem erdos_763 : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧\n    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =O[atTop]\n      fun _ ↦ (1 : ℝ)",
  "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 763\n\n*References:*\n- [erdosproblems.com/763](https://www.erdosproblems.com/763)\n- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on\n  Modern Mathematics, Vol. III (1965), 196-244.\n- [Er70c] Erdős, P., *Some problems in additive number theory*. Amer. Math. Monthly (1970),\n  619-621.\n- [ErFu56] Erdős, P. and Fuchs, W. H. J., *On a problem of additive number theory*. J. London\n  Math. Soc. (1956), 67-73.\n- [MoVa90] Montgomery, H. L. and Vaughan, R. C., *On the Erdős-Fuchs theorems*. (1990), 331-338.\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics AdditiveCombinatorics\n\nnamespace Erdos763\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A\\subseteq \\mathbb{N}$. Can there exist some constant $c>0$ such that\n$$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+O(1)?$$\n\nA conjecture of Erdős and Turán. Erdős and Fuchs [ErFu56] proved that the answer is no in a\nstrong form: in fact even\n$$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+o\\left(\\frac{N^{1/4}}{(\\log N)^{1/2}}\\right)$$\nis impossible. The error term here was improved to $o(N^{1/4})$ by Jurkat (unpublished) and\nMontgomery and Vaughan [MoVa90].\n\nSee also [764](https://www.erdosproblems.com/764) for a generalisation to more summands.\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/Erdos763.lean#L1464\"]\ntheorem erdos_763 : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧\n    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =O[atTop]\n      fun _ ↦ (1 : ℝ) := by\n  sorry\n\n/--\nErdős and Fuchs [ErFu56] proved that\n$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+o\\left(\\frac{N^{1/4}}{(\\log N)^{1/2}}\\right)$ is impossible.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_763.variants.erdos_fuchs : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧\n    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =o[atTop]\n      fun N ↦ (N : ℝ) ^ (1 / 4 : ℝ) / √(Real.log N) := by\n  sorry\n\n/--\nJurkat (unpublished) and Montgomery and Vaughan [MoVa90] proved that even\n$\\sum_{n\\leq N} 1_A\\ast 1_A(n) = cN+o(N^{1/4})$ is impossible.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_763.variants.montgomery_vaughan : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧\n    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =o[atTop]\n      fun N ↦ (N : ℝ) ^ (1 / 4 : ℝ) := by\n  sorry\n\nend Erdos763\n",
  "statement_hash": "69bd1d5f09370edee809eae2e6b1d28d6af050c57be20b2601705788040f0574",
  "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."
}