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 763

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(n)=cN+O(1)?\sum_{n\leq N} 1_A\ast 1_A(n) = cN+O(1)?

A conjecture of Erdős and Turán. Erdős and Fuchs [ErFu56] proved that the answer is no in a strong form: in fact even ∑n≤N1A∗1A(n)=cN+o(N1/4(log⁡N)1/2)\sum_{n\leq N} 1_A\ast 1_A(n) = cN+o\left(\frac{N^{1/4}}{(\log N)^{1/2}}\right) is impossible. The error term here was improved to o(N1/4)o(N^{1/4}) by Jurkat (unpublished) and Montgomery and Vaughan [MoVa90].

See also 764 for a generalisation to more summands.

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

Formal statement

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

public import FormalConjecturesUtil

/-!
# Erdős Problem 763

*References:*
- [erdosproblems.com/763](https://www.erdosproblems.com/763)
- [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.
- [ErFu56] Erdős, P. and Fuchs, W. H. J., *On a problem of additive number theory*. J. London
  Math. Soc. (1956), 67-73.
- [MoVa90] Montgomery, H. L. and Vaughan, R. C., *On the Erdős-Fuchs theorems*. (1990), 331-338.
-/

@[expose] public section

open Filter Asymptotics AdditiveCombinatorics

namespace Erdos763

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(n) = cN+O(1)?$$

A conjecture of Erdős and Turán. Erdős and Fuchs [ErFu56] proved that the answer is no in a
strong form: in fact even
$$\sum_{n\leq N} 1_A\ast 1_A(n) = cN+o\left(\frac{N^{1/4}}{(\log N)^{1/2}}\right)$$
is impossible. The error term here was improved to $o(N^{1/4})$ by Jurkat (unpublished) and
Montgomery and Vaughan [MoVa90].

See also [764](https://www.erdosproblems.com/764) for a generalisation to more summands.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos763.lean#L1464"]
theorem erdos_763 : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =O[atTop]
      fun _ ↦ (1 : ℝ) := by
  sorry

/--
Erdős and Fuchs [ErFu56] proved that
$\sum_{n\leq N} 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_763.variants.erdos_fuchs : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =o[atTop]
      fun N ↦ (N : ℝ) ^ (1 / 4 : ℝ) / √(Real.log N) := by
  sorry

/--
Jurkat (unpublished) and Montgomery and Vaughan [MoVa90] proved that even
$\sum_{n\leq N} 1_A\ast 1_A(n) = cN+o(N^{1/4})$ is impossible.
-/
@[category research solved, AMS 11]
theorem erdos_763.variants.montgomery_vaughan : ¬ ∃ (A : Set ℕ) (c : ℝ), 0 < c ∧
    (fun N : ℕ ↦ (∑ n ∈ Finset.range (N + 1), sumRep A n : ℝ) - c * N) =o[atTop]
      fun N ↦ (N : ℝ) ^ (1 / 4 : ℝ) := by
  sorry

end Erdos763

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

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