Title:Erdős Problem 789
Statement:Let be maximal such that if with then there is with such that if with then .
Estimate .
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question |
| Cite as: | NS.03206 [math.CO] · NS.03206v1 for this version |
| Declaration: | Erdos789.erdos_789 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 832e0544610a12a63e3b03a724a42bca6e3fcc0f3073f20af99d686abf15eda8 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/789.lean |
Formal statement
theorem erdos_789 :
(fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] erdos_789.answerShow the full Challenge.lean (146 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 789
In this problem, a function $h : \mathbb{N} \to\mathbb{N}$ is defined maximally by
some counting property.
The problem asks to estimate $h(n)$. This has been interpreted here as asking for $\Theta(h(n))$.
The principal version includes the unknown function `erdos_789.answer`.
Straus [Str66] proved that $h(n) \ll \sqrt{n}$. Erdős [Er62c] and Choi [Ch74b] proved that
$(n\log(n))^{1/3} \ll h(n)$. Korsky [Ko26] improved this to $h(n) \gg \sqrt{n\log\log n/\log n}$.
The variants record these bounds and the open question whether $h(n) = \Theta(\sqrt{n})$. The file
proves Korsky's bound, following [Ko26], and derives from it the Erdős–Choi bound and
$h(n) \neq O((n\log(n))^{1/3})$.
*References:*
- [erdosproblems.com/789](https://www.erdosproblems.com/789)
- [Str66] Straus, E. G., _On a problem in combinatorial number theory_. J. Math. Sci. (1966), 77--80.
- [Er62c] Erdős, Pál, _Some remarks on number theory_. {III}. Mat. Lapok (1962), 28--38.
- [Ch74b] Choi, S. L. G., _On an extremal problem in number theory_. J. Number Theory (1974), 105--111.
- [Ko26] Korsky, S., _A near-square-root bound for an additive problem of Erdős and Straus_ (2026).
[Proof claim](https://www.erdosproblems.com/forum/thread/789/proof-claims).
-/
@[expose] public section
open Filter
open scoped Asymptotics Finset
namespace Erdos789
/-- Given a non-negative integer $n$, we say $m$ is a separating cardinality of
subset sums if, for any set $A$ of $n$ integers, there is some $B\subseteq A$ of
size $\geq m$ such that subset sums of $B$ can only ever coincide when the
subsets have the same cardinality. -/
def IsSubsetSumSeparatingCard (n m : ℕ) : Prop :=
∀ A : Finset ℤ, #A = n → ∃ B : Finset ℤ, B ⊆ A ∧ m ≤ #B ∧
(∀ᵉ (T ⊆ B) (S ⊆ B), S.Nonempty → T.Nonempty → ∑ a ∈ T, a = ∑ b ∈ S, b → #T = #S)
/-- The subset sum threshold $h(n)$, for each positive $n$, is the maximal separating
cardinality of subset sums for $n$. -/
noncomputable def subsetSumThreshold (n : ℕ): ℕ :=
sSup { m | IsSubsetSumSeparatingCard n m }
def erdos_789.answer : ℕ → ℝ := sorry
/--
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)$.
-/
@[category research open, question value, AMS 5]
theorem erdos_789 :
(fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] erdos_789.answer := by
sorry
/--
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$.
Is $h(n) = \Theta(\sqrt{n})$?
-/
@[category research open, AMS 5]
theorem erdos_789.variants.sq :
(fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop] fun n ↦ √n := by
sorry
/-- Straus [Str66] proved that $h(n) \ll \sqrt{n}$. -/
@[category research solved, AMS 5]
theorem erdos_789.variants.isBigO_sq :
(fun n ↦ (subsetSumThreshold n : ℝ)) =O[atTop] fun n ↦ √n := by
sorry
/-- By the solved variant `erdos_789.variants.isBigO_sq`, in order to prove
`erdos_789.variants.sq` it suffices to show $\sqrt{n}=O(h(n))$. -/
@[category research open, AMS 5]
theorem erdos_789.variants.sq_isBigO :
(fun n : ℕ ↦ √n) =O[atTop] fun n ↦ (subsetSumThreshold n : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- Korsky [Ko26] proved that $h(n) \gg \sqrt{n\log\log n/\log n}$. -/
@[category research solved, AMS 5, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/57a0dc60e2cc245b69870647d122fb851f72d8e4/FormalConjectures/ErdosProblems/789.lean#L907"]
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 : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- Erdős [Er62c] and Choi [Ch74b] proved that $(n\log(n))^{1/3}\ll h(n)$. This also follows from
`erdos_789.variants.sqrt_loglog_div_log_isBigO`. -/
@[category research solved, AMS 5, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/57a0dc60e2cc245b69870647d122fb851f72d8e4/FormalConjectures/ErdosProblems/789.lean#L973"]
theorem erdos_789.variants.cube_root_linearithmic_isBigO :
(fun n : ℕ ↦ (n * Real.log n) ^ ((1 : ℝ) / 3)) =O[atTop]
fun n ↦ (subsetSumThreshold n : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- It is not true that $h(n) = O((n\log(n))^{1/3})$. This follows from
`erdos_789.variants.sqrt_loglog_div_log_isBigO` [Ko26]. -/
@[category research solved, AMS 5, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/57a0dc60e2cc245b69870647d122fb851f72d8e4/FormalConjectures/ErdosProblems/789.lean#L981"]
theorem erdos_789.variants.isBigO_cube_root_linearithmic :
¬ (fun n ↦ (subsetSumThreshold n : ℝ)) =O[atTop]
fun n ↦ (n * Real.log n) ^ ((1 : ℝ) / 3) := by
sorry
set_option linter.style.formal_proof_palomar false in
/-- It is not true that $h(n) = \Theta((n\log(n))^{1/3})$. This follows from
`erdos_789.variants.isBigO_cube_root_linearithmic`. -/
@[category research solved, AMS 5, formal_proof using formal_conjectures at
"https://github.com/mo271/formal-conjectures/blob/57a0dc60e2cc245b69870647d122fb851f72d8e4/FormalConjectures/ErdosProblems/789.lean#L994"]
theorem erdos_789.variants.cube_root_linearithmic :
¬ (fun n ↦ (subsetSumThreshold n : ℝ)) =Θ[atTop]
fun n ↦ (n * Real.log n) ^ ((1 : ℝ) / 3) := by
sorry
end Erdos789
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos789.erdos_789 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_789 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-789 nosorry submit erdos-789 nosorry/erdos-789/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-789-variants-sq — open
- erdos-789-variants-isbigo-sq — known result
- erdos-789-variants-sq-isbigo — open
- erdos-789-variants-sqrt-loglog-div-log-isbigo — known result
- erdos-789-variants-cube-root-linearithmic-isbigo — known result
- erdos-789-variants-isbigo-cube-root-linearithmic — known result
- erdos-789-variants-cube-root-linearithmic — known result
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.