Title:Erdős Problem 218 · variants.ge
Statement:The set of indices for which a prime gap is preceded by a larger or equal prime gap has a natural density of .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.01369 [math.NT] · NS.01369v1 for this version |
| Declaration: | Erdos218.erdos_218.variants.ge |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 05eef9dcd3cf3b6994b4509a038cc2b62b7ee12da253cb55b94b374c942a212c |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/218.lean |
Formal statement
theorem erdos_218.variants.ge : {n | primeGap (n + 1) ≤ primeGap n}.HasDensity <| 1 / 2Show the full Challenge.lean (56 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 218
*Reference:* [erdosproblems.com/218](https://www.erdosproblems.com/218)
-/
@[expose] public section
namespace Erdos218
/--
The set of indices $n$ for which a prime gap is followed by a larger or equal prime gap has a
natural density of $\frac 1 2$.
-/
@[category research open, AMS 11]
theorem erdos_218.variants.le : {n | primeGap n ≤ primeGap (n + 1)}.HasDensity <| 1 / 2 := by
sorry
/--
The set of indices $n$ for which a prime gap is preceded by a larger or equal prime gap has a
natural density of $\frac 1 2$.
-/
@[category research open, AMS 11]
theorem erdos_218.variants.ge : {n | primeGap (n + 1) ≤ primeGap n}.HasDensity <| 1 / 2 := by
sorry
/--
There are infinitely many indices $n$ such that the prime gap at $n$ is equal to the prime gap
at $n+1$. This is equivalent to the existence of infinitely many arithmetic progressions of
length $3$, see `erdos_141.variants.infinite_three`.
-/
@[category research open, AMS 11]
theorem erdos_218.variants.infinite_equal_prime_gap : {n | primeGap n = primeGap (n + 1)}.Infinite := by
sorry
end Erdos218
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos218.erdos_218.variants.ge with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ge : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-218--erdos-218-variants-ge # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-218--erdos-218-variants-ge nosorry submit erdos-218--erdos-218-variants-ge nosorry/erdos-218--erdos-218-variants-ge/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.