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 772

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 k≥1k\geq 1 and Hk(n)H_k(n) be the maximal rr such that if A⊂NA\subset\mathbb{N} has ∣A∣=n\lvert A\rvert=n and ∥1A∗1A∥∞≤k\| 1_A\ast 1_A\|_\infty \leq k then AA contains a Sidon set of size at least rr.

Is it true that Hk(n)/n1/2→∞H_k(n)/n^{1/2}\to \infty?

The answer is yes, and in fact Hk(n)≫kn2/3H_k(n) \gg_k n^{2/3}, proved by Alon and Erdős [AlEr85].

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question, formal_proof
Cite as:NS.03147 [math.CO] · NS.03147v1 for this version
Declaration:Erdos772.erdos_772.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:5202e73218d0489b36ebe39963917bbbff60a84544292c71e63e90efc802b79f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/772.lean

Formal statement

theorem erdos_772.parts.i :
    ∀ k ≥ 1, Tendsto (fun n : ℕ ↦ (H k n : ℝ) / √n) atTop atTop
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 772

*References:*
- [erdosproblems.com/772](https://www.erdosproblems.com/772)
- [Er80e] Erdős, P., _Some applications of Ramsey's theorem to additive number theory_. European
  J. Combin. (1980), 43-46.
- [Er84d] Erdős, P., _Extremal problems in number theory, combinatorics and geometry_. Proceedings
  of the International Congress of Mathematicians, Vol. 1, 2 (Warsaw, 1983) (1984), 51-70.
- [AlEr85] Alon, Noga and Erdős, P., _An application of graph theory to additive number theory_.
  European J. Combin. (1985), 201-203.
-/

@[expose] public section

open Filter Real AdditiveCombinatorics

namespace Erdos772

/-- $H_k(n)$ is the maximal $r$ such that if $A\subset\mathbb{N}$ has $\lvert A\rvert=n$ and
$\| 1_A\ast 1_A\|_\infty \leq k$ then $A$ contains a Sidon set of size at least $r$.

Here $1_A\ast 1_A(m)$ counts the ordered pairs $(a,b)\in A^2$ with $a+b=m$. (The value is
truncated at $n$, which only matters when no such $A$ exists.) -/
noncomputable def H (k n : ℕ) : ℕ :=
  sSup {r | r ≤ n ∧ ∀ A : Finset ℕ, A.card = n → (∀ m, sumRep A m ≤ k) →
    ∃ S ⊆ A, IsSidon (S : Set ℕ) ∧ r ≤ S.card}

set_option linter.style.formal_proof_palomar false in
/--
Let $k\geq 1$ and $H_k(n)$ be the maximal $r$ such that if $A\subset\mathbb{N}$ has
$\lvert A\rvert=n$ and $\| 1_A\ast 1_A\|_\infty \leq k$ then $A$ contains a Sidon set of size at
least $r$.

Is it true that $H_k(n)/n^{1/2}\to \infty$?

The answer is yes, and in fact $H_k(n) \gg_k n^{2/3}$, proved by Alon and Erdős [AlEr85].
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos772.lean#L1040"]
theorem erdos_772.parts.i :
    ∀ k ≥ 1, Tendsto (fun n : ℕ ↦ (H k n : ℝ) / √n) atTop atTop := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Is it true that $H_k(n) > n^{1/2+c}$ for some constant $c>0$?

The answer is yes, and in fact $H_k(n) \gg_k n^{2/3}$, proved by Alon and Erdős [AlEr85].
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos772.lean#L1040"]
theorem erdos_772.parts.ii :
    ∀ k ≥ 1, ∃ c > 0, ∀ᶠ n : ℕ in atTop, (n : ℝ) ^ (1 / 2 + c : ℝ) < H k n := by
  sorry

/-- Alon and Erdős [AlEr85] proved that $H_k(n) \gg_k n^{2/3}$. -/
@[category research solved, AMS 5 11]
theorem erdos_772.variants.alon_erdos (k : ℕ) (hk : 1 ≤ k) :
    ∃ c > 0, ∀ᶠ n : ℕ in atTop, c * (n : ℝ) ^ (2 / 3 : ℝ) ≤ H k n := by
  sorry

/-- Erdős [Er84d] proved that $H_k(n) \ll n^{2/3}$, where the implied constant is absolute.

Since $1_A\ast 1_A$ counts ordered pairs, the bound needs $k\geq 4$: the construction of
Erdős has at most two unordered representations of each sum, hence at most four ordered ones,
while $k\leq 2$ forces $A$ itself to be Sidon and so $H_k(n)=n$. For $k=3$ the only collisions
are $a+b=2c$, so the Sidon subsets of $A$ are its $3$-term-progression-free subsets, which have
size $n^{1-o(1)}$, and the bound fails there too. -/
@[category research solved, AMS 5 11]
theorem erdos_772.variants.upper_bound :
    ∃ C : ℝ, ∀ k ≥ 4, ∀ᶠ n : ℕ in atTop,
      (H k n : ℝ) ≤ C * (n : ℝ) ^ (2 / 3 : ℝ) := by
  sorry

end Erdos772

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

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