{
  "id": "2387",
  "ident": "NS.02387",
  "slug": "erdos-53",
  "title": "Erdős Problem 53",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $A$ be a finite set of integers. Is it true that, for every $k$, if $\\lvert A\\rvert$ is\nsufficiently large depending on $k$, then there are least $\\lvert A\\rvert^k$ many integers which\nare either the sum or product of distinct elements of $A$?\n\nAsked by Erdős and Szemerédi [ErSz83]. Solved in this form by Chang [Ch03].\n\nErdős and Szemerédi proved that there exist arbitrarily large sets $A$ such that the number of\nintegers which are the sum or product of distinct elements of $A$ is at most\n$$\\exp\\left(c \\frac{(\\log \\lvert A\\rvert)^2}{\\log\\log\\lvert A\\rvert}\\right)$$\nfor some constant $c>0$. (erdosproblems.com multiplies by $\\log\\log\\lvert A\\rvert$;\n[ErSz83, Theorem 2] divides by it.)\n\nSee also [52](https://www.erdosproblems.com/52).",
  "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": "Erdos53.erdos_53",
  "statement_lean": "theorem erdos_53 : ∀ k : ℕ, ∃ N : ℕ, ∀ A : Finset ℤ, N ≤ A.card →\n    A.card ^ k ≤ (sumsAndProducts A).card",
  "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 53\n\n*References:*\n- [erdosproblems.com/53](https://www.erdosproblems.com/53)\n- [Er77c] Erdős, Paul, *Problems and results on combinatorial number theory. III*. Number theory\n  day (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.\n- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number\n  theory*. Monographies de L'Enseignement Mathematique (1980).\n- [ErSz83] Erdős, P. and Szemerédi, E., *On sums and products of integers*. Studies in pure\n  mathematics (1983), 213-218.\n- [Er91] Erdős, P., *Problems and results in combinatorial analysis and combinatorial number\n  theory*. Graph theory, combinatorics, and applications, Vol. 1 (Kalamazoo, MI, 1988) (1991),\n  397-406.\n- [Er97] Erdős, Paul, *Problems in number theory*. New Zealand J. Math. (1997), 155-160.\n- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.\n- [Ch03] Chang, M.-C., *The Erdős-Szemerédi problem on sum set and product set*. Annals of Math.\n  (2003), 939-957.\n-/\n\n@[expose] public section\n\nnamespace Erdos53\n\n/-- The integers which are either the sum or the product of (one or more) distinct elements of\n`A`. -/\ndef sumsAndProducts (A : Finset ℤ) : Finset ℤ :=\n  (A.powerset.erase ∅).image (fun B => ∑ b ∈ B, b) ∪\n    (A.powerset.erase ∅).image (fun B => ∏ b ∈ B, b)\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $A$ be a finite set of integers. Is it true that, for every $k$, if $\\lvert A\\rvert$ is\nsufficiently large depending on $k$, then there are least $\\lvert A\\rvert^k$ many integers which\nare either the sum or product of distinct elements of $A$?\n\nAsked by Erdős and Szemerédi [ErSz83]. Solved in this form by Chang [Ch03].\n\nErdős and Szemerédi proved that there exist arbitrarily large sets $A$ such that the number of\nintegers which are the sum or product of distinct elements of $A$ is at most\n$$\\exp\\left(c \\frac{(\\log \\lvert A\\rvert)^2}{\\log\\log\\lvert A\\rvert}\\right)$$\nfor some constant $c>0$. (erdosproblems.com multiplies by $\\log\\log\\lvert A\\rvert$;\n[ErSz83, Theorem 2] divides by it.)\n\nSee also [52](https://www.erdosproblems.com/52).\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/Erdos53.lean#L3084\"]\ntheorem erdos_53 : ∀ k : ℕ, ∃ N : ℕ, ∀ A : Finset ℤ, N ≤ A.card →\n    A.card ^ k ≤ (sumsAndProducts A).card := by\n  sorry\n\n/--\nErdős and Szemerédi [ErSz83] proved that there exist arbitrarily large sets $A$ such that the\nnumber of integers which are the sum or product of distinct elements of $A$ is at most\n$$\\exp\\left(c \\frac{(\\log \\lvert A\\rvert)^2}{\\log\\log\\lvert A\\rvert}\\right)$$\nfor some constant $c>0$. (erdosproblems.com multiplies by $\\log\\log\\lvert A\\rvert$;\n[ErSz83, Theorem 2] divides by it.)\n-/\n@[category research solved, AMS 11]\ntheorem erdos_53.variants.upper : ∃ c : ℝ, 0 < c ∧ ∀ N : ℕ, ∃ A : Finset ℤ, N ≤ A.card ∧\n    ((sumsAndProducts A).card : ℝ) ≤\n      Real.exp (c * Real.log A.card ^ 2 / Real.log (Real.log A.card)) := by\n  sorry\n\nend Erdos53\n",
  "statement_hash": "7e09a69903df53e6deda9b97fe83ccf60e5f5a2d1b5c7757b606faea6e82882f",
  "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."
}