Title:Erdős Problem 360
Statement:Let be minimal such that can be partitioned into classes so that cannot be expressed as a sum of distinct elements from the same class. How fast does grow?
A problem of Erdős and Graham [ErGr80]. Conlon, Fox, and Pham [CFP21, Theorem 1.5] determined the order of growth of up to a multiplicative constant, proving Here is Euler's totient function, and the statement is asymptotic ().
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | question |
| Cite as: | NS.01890 [math.CO] · NS.01890v1 for this version |
| Declaration: | Erdos360.erdos_360 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | a3203dd8c6ca313d61a210ef694389470a6cd67925b533537cf92f15ba91a10d |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/360.lean |
Formal statement
theorem erdos_360 : (fun n : ℕ ↦ (f n : ℝ)) =Θ[atTop] erdos_360.answerShow the full Challenge.lean (95 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 360
*References:*
- [erdosproblems.com/360](https://www.erdosproblems.com/360)
- [AlEr96] Alon, Noga and Erdős, Paul, *Sure monochromatic subset sums*. Acta Arith. 74 (1996),
269-272.
- [CFP21] Conlon, D. and Fox, J. and Pham, H. T., *Subset sums, completeness and colorings*.
[arXiv:2104.14766](https://arxiv.org/abs/2104.14766) (2021).
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
theory*. Monographies de L'Enseignement Mathématique (1980).
- [Vu07] Vu, Van H., *Some new results on subset sums*. J. Number Theory 124 (2007), 229-233.
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos360
/-- $f(n)$: the least number of classes in a partition of $\{1,\ldots,n-1\}$ such that $n$ is not
a sum of distinct elements of one class. A class contains $n$ among its subset sums exactly when
some finite subset of the class sums to $n$.
For $n \geq 2$ the partition into singletons is admissible (each element is less than $n$), so the
set is non-empty and `sInf` is its minimum. For $n \leq 1$ the set $\{1,\ldots,n-1\}$ is empty,
the empty partition is admissible, and $f(n) = 0$. -/
noncomputable def f (n : ℕ) : ℕ :=
sInf {r : ℕ | ∃ P : Finpartition (Finset.Icc 1 (n - 1)),
P.parts.card = r ∧ ∀ A ∈ P.parts, n ∉ subsetSums (A : Set ℕ)}
/-- The answer: $\frac{n^{1/3}(n/\phi(n))}{(\log n)^{1/3}(\log\log n)^{2/3}}$. -/
noncomputable def erdos_360.answer (n : ℕ) : ℝ :=
(n : ℝ) ^ (1 / 3 : ℝ) * ((n : ℝ) / (n.totient : ℝ)) /
(Real.log n ^ (1 / 3 : ℝ) * Real.log (Real.log n) ^ (2 / 3 : ℝ))
/--
Let $f(n)$ be minimal such that $\{1,\ldots,n-1\}$ can be partitioned into $f(n)$ classes so that
$n$ cannot be expressed as a sum of distinct elements from the same class. How fast does $f(n)$
grow?
A problem of Erdős and Graham [ErGr80]. Conlon, Fox, and Pham [CFP21, Theorem 1.5] determined
the order of growth of $f(n)$ up to a multiplicative constant, proving
$$f(n) \asymp \frac{n^{1/3}(n/\phi(n))}{(\log n)^{1/3}(\log\log n)^{2/3}}.$$
Here $\phi$ is Euler's totient function, and the statement is asymptotic ($n \to \infty$).
-/
@[category research solved, question value, AMS 5 11]
theorem erdos_360 : (fun n : ℕ ↦ (f n : ℝ)) =Θ[atTop] erdos_360.answer := by
sorry
/--
Alon and Erdős [AlEr96] proved that $f(n) = n^{1/3+o(1)}$, and more precisely
$$\frac{n^{1/3}}{(\log n)^{4/3}}\ll f(n) \ll
\frac{n^{1/3}}{(\log n)^{1/3}}(\log\log n)^{1/3}.$$
This is the two-sided bound, which implies the first claim.
-/
@[category research solved, AMS 5 11]
theorem erdos_360.variants.alon_erdos :
(fun n : ℕ ↦ (n : ℝ) ^ (1 / 3 : ℝ) / Real.log n ^ (4 / 3 : ℝ)) =O[atTop]
(fun n : ℕ ↦ (f n : ℝ)) ∧
(fun n : ℕ ↦ (f n : ℝ)) =O[atTop]
(fun n : ℕ ↦ (n : ℝ) ^ (1 / 3 : ℝ) / Real.log n ^ (1 / 3 : ℝ) *
Real.log (Real.log n) ^ (1 / 3 : ℝ)) := by
sorry
/--
Vu [Vu07] improved the lower bound to
$$f(n) \gg \frac{n^{1/3}}{\log n}.$$
-/
@[category research solved, AMS 5 11]
theorem erdos_360.variants.vu :
(fun n : ℕ ↦ (n : ℝ) ^ (1 / 3 : ℝ) / Real.log n) =O[atTop] (fun n : ℕ ↦ (f n : ℝ)) := by
sorry
end Erdos360
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos360.erdos_360 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_360 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-360 nosorry submit erdos-360 nosorry/erdos-360/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-360-variants-alon-erdos — known result
- erdos-360-variants-vu — 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.