Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 31

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:

Given any infinite set A⊂NA\subset \mathbb{N} there is a set BB of density 00 such that A+BA+B contains all except finitely many integers.

Conjectured by Erdős and Straus. Proved by Lorentz [Lo54].

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

Formal statement

theorem erdos_31 : ∀ A : Set ℕ, A.Infinite →
    ∃ B : Set ℕ, B.HasDensity 0 ∧ ∀ᶠ n in atTop, n ∈ A + B
Show the full Challenge.lean (57 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 31

*References:*
- [erdosproblems.com/31](https://www.erdosproblems.com/31)
- [Er56] Erdős, P., *Problems and results in additive number theory*. Colloque sur la Théorie des
  Nombres, Bruxelles, 1955 (1956), 127-137.
- [Er59] Erdős, P., *Über einige Probleme der additiven Zahlentheorie*. Sammelband zu Ehren des 250.
  Geburtstages Leonhard Eulers (1959), 116-119.
- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on
  Modern Mathematics, Vol. III (1965), 196-244.
- [Er73] Erdős, P., *Problems and results on combinatorial number theory*. A survey of combinatorial
  theory (Proc. Internat. Sympos., Colorado State Univ., Fort Collins, Colo., 1971) (1973), 117-138.
- [Lo54] Lorentz, G. G., *On a problem of additive number theory*. Proc. Amer. Math. Soc.
  (1954), 838-841.
-/

@[expose] public section

namespace Erdos31

open Filter
open scoped Pointwise

set_option linter.style.formal_proof_palomar false in
/--
Given any infinite set $A\subset \mathbb{N}$ there is a set $B$ of density $0$ such that $A+B$ contains all except finitely many integers.

Conjectured by Erdős and Straus. Proved by Lorentz [Lo54].
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos31.lean"]
theorem erdos_31 : ∀ A : Set ℕ, A.Infinite →
    ∃ B : Set ℕ, B.HasDensity 0 ∧ ∀ᶠ n in atTop, n ∈ A + B := by
  sorry

end Erdos31

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

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