Is Erdős Problem #789 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/789 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(h(n)\) be maximal such that if \(A\subseteq \mathbb{Z}\) with \(\lvert A\rvert=n\) then there is \(B\subseteq A\) with \(\lvert B\rvert \geq h(n)\) such that if \(a_1+\cdots+a_r=b_1+\cdots+b_s\) with \(a_i,b_i\in B\) then \(r=s\).
Estimate \(h(n)\).
In Lean:
theorem erdos_789 :
(fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] erdos_789.answerStated in Lean
in the atlas →8 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos789.erdos_789opentheorem erdos_789 : (fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] erdos_789.answerProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F789%23Erdos789.erdos_789Erdos789.erdos_789.variants.sqopentheorem erdos_789.variants.sq : (fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] fun n ↦ √nProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F789%23Erdos789.erdos_789.variants.sqErdos789.erdos_789.variants.isBigO_sqsolved upstreamtheorem erdos_789.variants.isBigO_sq : (fun n ↦ (subsetSumThreshold n : ℝ)) =O[atTop] fun n ↦ √nErdos789.erdos_789.variants.sq_isBigOopentheorem erdos_789.variants.sq_isBigO : (fun n : ℕ ↦ √n) =O[atTop] fun n ↦ (subsetSumThreshold n : ℝ)Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F789%23Erdos789.erdos_789.variants.sq_isBigOtheorem erdos_789.variants.cube_root_linearithmic : ¬ (fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] fun n ↦ (n * Real.log n) ^ ((1 : ℝ) / 3)theorem erdos_789.variants.sqrt_loglog_div_log_isBigO : (fun n : ℕ ↦ √(n * Real.log (Real.log n) / Real.log n)) =O[atTop] fun n ↦ (subsetSumThreshold n : ℝ)theorem erdos_789.variants.cube_root_linearithmic_isBigO : (fun n : ℕ ↦ (n * Real.log n) ^ ((1 : ℝ) / 3)) =O[atTop] fun n ↦ (subsetSumThreshold n : ℝ)theorem erdos_789.variants.isBigO_cube_root_linearithmic : ¬ (fun n ↦ (subsetSumThreshold n : ℝ)) =O[atTop] fun n ↦ (n * Real.log n) ^ ((1 : ℝ) / 3)