Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 241

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is it true that f(N)∼N1/3f(N)\sim N^{1/3}?

Originally asked to Erdős by Bose.

This is discussed in problem C11 of Guy's collection [Gu04].

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question
Cite as:NS.01431 [math.CO] · NS.01431v1 for this version
Declaration:Erdos241.erdos_241
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:af999ed82d0d8b9e59ef7a7488a7aa9c50b9ab6a2f87ded05689cf5f3e3e3b49
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/241.lean

Formal statement

theorem erdos_241 :
    (fun N ↦ (f N 3 : ℝ)) ~[atTop] (fun N ↦ (N : ℝ) ^ ((1 : ℝ) / 3))
Show the full Challenge.lean (126 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 241

*References:*
- [erdosproblems.com/30](https://www.erdosproblems.com/30)
- [erdosproblems.com/241](https://www.erdosproblems.com/241)
- [BoCh62] Bose, R. C. and Chowla, S., Theorems in the additive theory of numbers. Comment. Math.
  Helv. (1962/63), 141-147.
- [Gr01] Green, Ben, The number of squares and {$B_h[g]$} sets. Acta Arith. (2001), 365-390.
- [Gu04] Guy, Richard K., Unsolved problems in number theory. (2004), xviii+437.
- [Wh24] White, Ethan Patrick, An optimal $L^2$ autoconvolution inequality. Canad. Math. Bull.
  67 (2024), 108-121. [doi:10.4153/S0008439523000565](https://doi.org/10.4153/S0008439523000565)
-/

@[expose] public section

open Filter Finset
open scoped Asymptotics

namespace Erdos241

/--
Let $f(N)$ be the maximum size of $A\subseteq \{1,\ldots,N\}$ such that the sums $a+b+c$ with
$a,b,c\in A$ are all distinct (aside from the trivial coincidences).

Formalization note: this is generalized to allow for different $r$.
-/
noncomputable def f (N r : ℕ) : ℕ :=
  open scoped Classical in
  letI candidates := (Icc 1 N).powerset.filter (fun A ↦
    ∀ m₁ m₂ : Multiset ℕ,
      m₁.card = r → m₂.card = r →
      (∀ x ∈ m₁, x ∈ A) → (∀ x ∈ m₂, x ∈ A) →
      m₁.sum = m₂.sum → m₁ = m₂)
  candidates.sup card

/--
Is it true that $f(N)\sim N^{1/3}$?

Originally asked to Erdős by Bose.

This is discussed in problem C11 of Guy's collection [Gu04].
-/
@[category research open, question, AMS 5]
theorem erdos_241 :
    (fun N ↦ (f N 3 : ℝ)) ~[atTop] (fun N ↦ (N : ℝ) ^ ((1 : ℝ) / 3)) := by
  sorry

/--
Bose and Chowla [BoCh62] provided a construction proving one half of this, namely
$(1+o(1))N^{1/3}\leq f(N)$.
-/
@[category research solved, AMS 5]
theorem erdos_241.variants.lower_bound :
    ∃ ε : ℕ → ℝ, ε =o[atTop] (fun _ ↦ (1 : ℝ)) ∧
    ∀ᶠ N in atTop, (1 + ε N) * (N : ℝ) ^ ((1 : ℝ) / 3) ≤ (f N 3 : ℝ) := by
  sorry

/--
Green [Gr01] proved the upper bound $f(N) \leq ((7/2)^{1/3}+o(1))N^{1/3}$
(note that $(7/2)^{1/3}\approx 1.519$).
-/
@[category research solved, AMS 5]
theorem erdos_241.variants.upper_bound :
    ∃ ε : ℕ → ℝ, ε =o[atTop] (fun _ ↦ (1 : ℝ)) ∧
    ∀ᶠ N in atTop, (f N 3 : ℝ) ≤ ((7 / 2 : ℝ) ^ ((1 : ℝ) / 3) + ε N) * (N : ℝ) ^ ((1 : ℝ) / 3) := by
  sorry

/--
Green's argument gives $f(N) \leq ((2/\mu_2^2)^{1/3}+o(1))N^{1/3}$, where
$\mu_2^2 = \inf \lVert g \ast g \rVert_2^2$ over $g \colon [-1/2,1/2] \to \mathbb{R}$ with
$\int g = 1$; Green used $\mu_2^2 \geq 4/7$. White [Wh24, Theorem 1 and Corollary 2] proved
$0.574636066 \leq \mu_2^2 \leq 0.574642912$, which gives the best upper bound known to date,
$f(N) \leq ((2/0.574636066)^{1/3}+o(1))N^{1/3}$ (note that $(2/0.574636066)^{1/3}\approx 1.5155$).
-/
@[category research solved, AMS 5]
theorem erdos_241.variants.upper_bound_white :
    ∃ ε : ℕ → ℝ, ε =o[atTop] (fun _ ↦ (1 : ℝ)) ∧
    ∀ᶠ N in atTop, (f N 3 : ℝ) ≤
      ((2 / 0.574636066 : ℝ) ^ ((1 : ℝ) / 3) + ε N) * (N : ℝ) ^ ((1 : ℝ) / 3) := by
  sorry

/--
The conjecture that the size of the set $A\subseteq \{1,\ldots,N\}$ is asymptotically $N^{1/r}$.
-/
def BoseChowlaConjecture (r : ℕ) : Prop :=
  (fun N ↦ (f N r : ℝ)) ~[atTop] (fun N ↦ (N : ℝ) ^ ((1 : ℝ) / r))

/--
More generally, Bose and Chowla [BoCh62] conjectured that the maximum size of
$A\subseteq \{1,\ldots,N\}$ with all $r$-fold sums distinct (aside from the trivial coincidences)
then $\lvert A\rvert \sim N^{1/r}.$
-/
@[category research open, AMS 5]
theorem erdos_241.variants.generalization (r : ℕ) (hr : r ≥ 2) :  BoseChowlaConjecture r := by
  sorry

/--
This is known only for $r=2$ (see [erdosproblems.com/30]).
-/
@[category research solved, AMS 5]
theorem erdos_241.variants.r_eq_2 :
    BoseChowlaConjecture 2 := by
  sorry

end Erdos241

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

nosorry fetch erdos-241
nosorry submit erdos-241 nosorry/erdos-241/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.