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 764

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 A⊆NA\subseteq \mathbb{N}. Can there exist some constant c>0c>0 such that ∑n≤N1A∗1A∗1A(n)=cN+O(1)?\sum_{n\leq N} 1_A\ast 1_A\ast 1_A(n) = cN+O(1)?

The case of 1A∗1A(n)1_A\ast 1_A(n) is the subject of 763.

The answer is no, proved in a strong form by Vaughan [Va72], who showed that in fact ∑n≤N1A∗1A∗1A(n)=cN+o(N1/4(log⁡N)1/2)\sum_{n\leq N} 1_A\ast 1_A\ast 1_A(n) = cN+o\left(\frac{N^{1/4}}{(\log N)^{1/2}}\right) is impossible. Vaughan proves a more general result that applies to any hh-fold convolution, with different main terms permitted.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.03115 [math.NT] · NS.03115v1 for this version
Declaration:Erdos764.erdos_764
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:78d287ed4da5a8762fab3d97cb1d51a4f4445d19f165caafca2ef25778ea43ec
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/764.lean

Formal statement

theorem erdos_764 : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), tripleRep A n : ℝ) - c * N) =O[atTop]
      fun _ ↦ (1 : ℝ)
Show the full Challenge.lean (74 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 764

*References:*
- [erdosproblems.com/764](https://www.erdosproblems.com/764)
- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on
  Modern Mathematics, Vol. III (1965), 196-244.
- [Er70c] Erdős, P., *Some problems in additive number theory*. Amer. Math. Monthly (1970),
  619-621.
- [Va72] Vaughan, R. C., *On the addition of sequences of integers*. J. Number Theory (1972),
  1-16.
-/

@[expose] public section

open Filter Asymptotics AdditiveCombinatorics Set

namespace Erdos764

/-- The number of representations of `n` as an ordered sum of three elements of `A`,
$1_A\ast 1_A\ast 1_A(n)$. -/
noncomputable def tripleRep (A : Set ℕ) : ℕ → ℕ := 𝟙_A ∗ 𝟙_A ∗ 𝟙_A

set_option linter.style.formal_proof_palomar false in
/--
Let $A\subseteq \mathbb{N}$. Can there exist some constant $c>0$ such that
$$\sum_{n\leq N} 1_A\ast 1_A\ast 1_A(n) = cN+O(1)?$$

The case of $1_A\ast 1_A(n)$ is the subject of [763](https://www.erdosproblems.com/763).

The answer is no, proved in a strong form by Vaughan [Va72], who showed that in fact
$$\sum_{n\leq N} 1_A\ast 1_A\ast 1_A(n) = cN+o\left(\frac{N^{1/4}}{(\log N)^{1/2}}\right)$$
is impossible. Vaughan proves a more general result that applies to any $h$-fold convolution,
with different main terms permitted.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos764.lean#L3760"]
theorem erdos_764 : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), tripleRep A n : ℝ) - c * N) =O[atTop]
      fun _ ↦ (1 : ℝ) := by
  sorry

/--
Vaughan [Va72] showed that
$\sum_{n\leq N} 1_A\ast 1_A\ast 1_A(n) = cN+o\left(\frac{N^{1/4}}{(\log N)^{1/2}}\right)$ is
impossible.
-/
@[category research solved, AMS 11]
theorem erdos_764.variants.vaughan : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), tripleRep A n : ℝ) - c * N) =o[atTop]
      fun N ↦ (N : ℝ) ^ (1 / 4 : ℝ) / √(Real.log N) := by
  sorry

end Erdos764

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

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