Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 53

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let AA be a finite set of integers. Is it true that, for every kk, if ∣A∣\lvert A\rvert is sufficiently large depending on kk, then there are least ∣A∣k\lvert A\rvert^k many integers which are either the sum or product of distinct elements of AA?

Asked by Erdős and Szemerédi [ErSz83]. Solved in this form by Chang [Ch03].

Erdős and Szemerédi proved that there exist arbitrarily large sets AA such that the number of integers which are the sum or product of distinct elements of AA is at most exp⁡(c(log⁡∣A∣)2log⁡log⁡∣A∣)\exp\left(c \frac{(\log \lvert A\rvert)^2}{\log\log\lvert A\rvert}\right) for some constant c>0c>0. (erdosproblems.com multiplies by log⁡log⁡∣A∣\log\log\lvert A\rvert; [ErSz83, Theorem 2] divides by it.)

See also 52.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02387 [math.NT] · NS.02387v1 for this version
Declaration:Erdos53.erdos_53
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:7e09a69903df53e6deda9b97fe83ccf60e5f5a2d1b5c7757b606faea6e82882f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/53.lean

Formal statement

theorem erdos_53 : ∀ k : ℕ, ∃ N : ℕ, ∀ A : Finset ℤ, N ≤ A.card →
    A.card ^ k ≤ (sumsAndProducts A).card
Show the full Challenge.lean (86 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 53

*References:*
- [erdosproblems.com/53](https://www.erdosproblems.com/53)
- [Er77c] Erdős, Paul, *Problems and results on combinatorial number theory. III*. Number theory
  day (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [ErSz83] Erdős, P. and Szemerédi, E., *On sums and products of integers*. Studies in pure
  mathematics (1983), 213-218.
- [Er91] Erdős, P., *Problems and results in combinatorial analysis and combinatorial number
  theory*. Graph theory, combinatorics, and applications, Vol. 1 (Kalamazoo, MI, 1988) (1991),
  397-406.
- [Er97] Erdős, Paul, *Problems in number theory*. New Zealand J. Math. (1997), 155-160.
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.
- [Ch03] Chang, M.-C., *The Erdős-Szemerédi problem on sum set and product set*. Annals of Math.
  (2003), 939-957.
-/

@[expose] public section

namespace Erdos53

/-- The integers which are either the sum or the product of (one or more) distinct elements of
`A`. -/
def sumsAndProducts (A : Finset ℤ) : Finset ℤ :=
  (A.powerset.erase ∅).image (fun B => ∑ b ∈ B, b) ∪
    (A.powerset.erase ∅).image (fun B => ∏ b ∈ B, b)

set_option linter.style.formal_proof_palomar false in
/--
Let $A$ be a finite set of integers. Is it true that, for every $k$, if $\lvert A\rvert$ is
sufficiently large depending on $k$, then there are least $\lvert A\rvert^k$ many integers which
are either the sum or product of distinct elements of $A$?

Asked by Erdős and Szemerédi [ErSz83]. Solved in this form by Chang [Ch03].

Erdős and Szemerédi proved that there exist arbitrarily large sets $A$ such that the number of
integers which are the sum or product of distinct elements of $A$ is at most
$$\exp\left(c \frac{(\log \lvert A\rvert)^2}{\log\log\lvert A\rvert}\right)$$
for some constant $c>0$. (erdosproblems.com multiplies by $\log\log\lvert A\rvert$;
[ErSz83, Theorem 2] divides by it.)

See also [52](https://www.erdosproblems.com/52).
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos53.lean#L3084"]
theorem erdos_53 : ∀ k : ℕ, ∃ N : ℕ, ∀ A : Finset ℤ, N ≤ A.card →
    A.card ^ k ≤ (sumsAndProducts A).card := by
  sorry

/--
Erdős and Szemerédi [ErSz83] proved that there exist arbitrarily large sets $A$ such that the
number of integers which are the sum or product of distinct elements of $A$ is at most
$$\exp\left(c \frac{(\log \lvert A\rvert)^2}{\log\log\lvert A\rvert}\right)$$
for some constant $c>0$. (erdosproblems.com multiplies by $\log\log\lvert A\rvert$;
[ErSz83, Theorem 2] divides by it.)
-/
@[category research solved, AMS 11]
theorem erdos_53.variants.upper : ∃ c : ℝ, 0 < c ∧ ∀ N : ℕ, ∃ A : Finset ℤ, N ≤ A.card ∧
    ((sumsAndProducts A).card : ℝ) ≤
      Real.exp (c * Real.log A.card ^ 2 / Real.log (Real.log A.card)) := by
  sorry

end Erdos53

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos53.erdos_53 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_53 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-53
nosorry submit erdos-53 nosorry/erdos-53/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.