Title:Erdős Problem 33 · variants.vanDoorn
Statement:The smallest possible value of
lim sup n → ∞ |A ∩ {1, …, N}| / N^(1/2)is at most2φ^(5/2) ≈ 6.66, withφequal to the golden ratio. Proven by Wouter van Doorn.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.01725 [math.NT] · NS.01725v1 for this version |
| Declaration: | Erdos33.erdos_33.variants.vanDoorn |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | c7d6d6ed695e29b06bfc3587c6c3dff8a0dc8504a4817b0dbe8878b2205f133b |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/33.lean |
Formal statement
theorem erdos_33.variants.vanDoorn :
⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal)) ≤ ↑(2 * (φ ^ ((5 : ℝ) / 2)))Show the full Challenge.lean (78 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 33
*Reference:* [erdosproblems.com/33](https://www.erdosproblems.com/33)
-/
@[expose] public section
variable {α : Type} [AddCommMonoid α]
open Set
open scoped goldenRatio
namespace Erdos33
/-- Let `A ⊆ ℕ` be a set such that every integer can be written as `n^2 + a` for some `a` in `A`
and `n ≥ 0`. -/
-- Formalisation note: Changed 'every large integer' to 'every integer' as for the statement these
-- conditions are equivalent. Also, this was the formulation in the original paper `by Erdos.
def AdditiveBasisCondition (A : Set ℕ) : Prop :=
∀ (k : ℕ), ∃ (n : ℕ) (a : ℕ), a ∈ A ∧ k = a + n^2
def erdos_33.answer : EReal := sorry
/-- Let `A ⊆ ℕ` be a set such that every integer can be written as `n^2 + a`
for some `a` in `A` and `n ≥ 0`. What is the smallest possible value of
`lim sup n → ∞ |A ∩ {1, …, N}| / N^(1/2)`?
-/
@[category research open, question value, AMS 11]
theorem erdos_33 : ⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal)) = erdos_33.answer := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Erdos observed that this value is finite and > 1. This records the lower bound `> 1`,
i.e. that `1` is a strict lower bound for every admissible `A`; the finiteness is
`erdos_33.variants.vanDoorn`.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/8c9a8ab727c1f06935b48a5ab4db145572cab9e9/erdos-33/Solution.lean#L70"]
theorem erdos_33.variants.one_mem_lowerBounds :
1 < ⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal)) := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The smallest possible value of `lim sup n → ∞ |A ∩ {1, …, N}| / N^(1/2)`
is at most `2φ^(5/2) ≈ 6.66`, with `φ` equal to the golden ratio. Proven by
Wouter van Doorn.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/8c9a8ab727c1f06935b48a5ab4db145572cab9e9/erdos-33/Solution.lean#L75"]
theorem erdos_33.variants.vanDoorn :
⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal)) ≤ ↑(2 * (φ ^ ((5 : ℝ) / 2))) := by
sorry
end Erdos33
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos33.erdos_33.variants.vanDoorn with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_vanDoorn : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-33--erdos-33-variants-vandoorn # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-33--erdos-33-variants-vandoorn nosorry submit erdos-33--erdos-33-variants-vandoorn nosorry/erdos-33--erdos-33-variants-vandoorn/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.