Title:Erdős Problem 16
Statement:Is the set of odd integers not of the form the union of an infinite arithmetic progression and a set of density ?
Erdős called this conjecture "rather silly".
Chen [Ch23] has proved the answer is no.
This was formalized in Lean by Chin using Aristotle.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01158 [math.NT] · NS.01158v1 for this version |
| Declaration: | Erdos16.erdos_16 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | d79b16a1fd77f92c873016add2d93b533128b8939926938ce2b1abfa8eac1eb9 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/16.lean |
Formal statement
theorem erdos_16 :
¬ ∃ A B : Set ℕ, Erdos16Set = A ∪ B ∧
(∃ a d : ℕ, d > 0 ∧ A = { x | ∃ m : ℕ, x = a + m * d }) ∧
density_zero BShow the full Challenge.lean (96 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 16
*References:*
- [erdosproblems.com/16](https://www.erdosproblems.com/16)
- [Ch23] Chen, Yong-Gao, A conjecture of Erdős on $p+2^k$. arXiv:2312.04120 (2023).
- [Er50] Erdős, P., On integers of the form $2^k+p$ and some related problems. Summa Brasil. Math.
(1950), 113-123.
- [Ro34] Romanoff, N. P., Über einige Sätze der additiven Zahlentheorie. Math. Ann. (1934), 668-678.
-/
@[expose] public section
open Nat Filter Set
open scoped Topology
namespace Erdos16
/--
The set of odd integers not of the form $2^k+p$.
-/
def Erdos16Set : Set ℕ :=
{ n | Odd n ∧ ¬ ∃ k p : ℕ, p.Prime ∧ n = 2 ^ k + p }
/--
A set of natural numbers has density 0.
-/
def density_zero (S : Set ℕ) : Prop :=
open scoped Classical in
Tendsto (fun x : ℕ ↦ (count (· ∈ S) x : ℝ) / (x : ℝ)) atTop (𝓝 0)
set_option linter.style.formal_proof_palomar false in
/--
Is the set of odd integers not of the form $2^k+p$ the union of an infinite arithmetic progression
and a set of density $0$?
Erdős called this conjecture "rather silly".
Chen [Ch23] has proved the answer is no.
This was formalized in Lean by Chin using Aristotle.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/danielchin/proofs/blob/main/Proofs/ErdosProblems/Erdos16.lean"]
theorem erdos_16 :
¬ ∃ A B : Set ℕ, Erdos16Set = A ∪ B ∧
(∃ a d : ℕ, d > 0 ∧ A = { x | ∃ m : ℕ, x = a + m * d }) ∧
density_zero B := by
sorry
/--
A set of natural numbers has positive lower density.
-/
def positive_lower_density (S : Set ℕ) : Prop :=
open scoped Classical in
0 < atTop.liminf (fun n : ℕ ↦ ((count (· ∈ S) n : ℝ) / (n : ℝ) : EReal))
/--
Romanoff [Ro34] showed that the set of odd integers of this form has positive density.
-/
@[category research solved, AMS 11]
theorem erdos_16.variant.romanoff :
let S := { n : ℕ | Odd n ∧ ∃ k p : ℕ, p.Prime ∧ n = 2 ^ k + p }
positive_lower_density S := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Using covering congruences Erdős [Er50] proved that the set of odd integers which are not of this
form contains an infinite arithmetic progression.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/anatoliiohorodnyk/lean-fc-proofs/blob/5da9642575b26c2c816a49bcb56b33fed5456619/Proofs/T_Erdos16_erdos_16_variant_erdos.lean#L103"]
theorem erdos_16.variant.erdos :
∃ a d : ℕ, d > 0 ∧ { x | ∃ m : ℕ, x = a + m * d } ⊆ Erdos16Set := by
sorry
end Erdos16
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos16.erdos_16 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_16 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-16 nosorry submit erdos-16 nosorry/erdos-16/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-16-variant-romanoff — known result
- erdos-16-variant-erdos — known result
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.