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 587

Source:Erdős Problems · erdosproblems.com/587
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Nguyen and Vu proved that ∣A∣≪N1/3(log⁡N)O(1)|A| \ll N^{1/3} (\log N)^{O(1)}.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.02512 [math.NT] · NS.02512v1 for this version
Declaration:Erdos587.erdos_587.variants.nguyen_vu
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:5037a9c23cedabf5de4ab779b8e72879abedc3ef8e64ceaf8dd1719e1269aa70
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/587.lean

Formal statement

theorem erdos_587.variants.nguyen_vu : ∃ᵉ (O > 0) (O' > 0),
    ∀ᶠ N in Filter.atTop, (MaxNotSqSum N : ℝ) ≤ O' * Real.nthRoot 3 N * (N : ℝ).log^O
Show the full Challenge.lean (48 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 587

*Reference:* [erdosproblems.com/587](https://www.erdosproblems.com/587)
-/

@[expose] public section

namespace Erdos587

/--
`MaxNotSqSum N` is the size of the largest subset `A` of
`{1,...,N}` such that for all non-empty `S ⊆ A`, the sum
`∑ n ∈ S, n` is not a square.
-/
def MaxNotSqSum (N : ℕ) : ℕ :=
    (Finset.Icc 1 N |>.powerset.filter fun A => ∀ S ⊆ A, S ≠ ⊥ →
      ¬ IsSquare (∑ n ∈ S, n)).sup Finset.card

/--
Nguyen and Vu proved that $|A| \ll N^{1/3} (\log N)^{O(1)}$.
-/
@[category research solved, AMS 11]
theorem erdos_587.variants.nguyen_vu : ∃ᵉ (O > 0) (O' > 0),
    ∀ᶠ N in Filter.atTop, (MaxNotSqSum N : ℝ) ≤ O' * Real.nthRoot 3 N * (N : ℝ).log^O := by
  sorry

end Erdos587

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

nosorry fetch erdos-587
nosorry submit erdos-587 nosorry/erdos-587/Solution.lean --wait

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.