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 238 · variants.small_c1

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

It is well-known that the conjecture above is true when c₁ is sufficiently small.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.01424 [math.NT] · NS.01424v1 for this version
Declaration:Erdos238.erdos_238.variants.small_c1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:81a40d9056f6f5f6ad8906cc0ed95f0f38f0419e8f0eedae5b250a55bbb23f36
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/238.lean

Formal statement

theorem erdos_238.variants.small_c1 : ∀ c₂ > 0, ∀ᶠ c₁ in 𝓝[>] 0, ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ),
    c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime)
    ∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1)
Show the full Challenge.lean (54 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 238

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

@[expose] public section

open scoped Topology
open Set Filter Real

namespace Erdos238

/--
Let `c₁, c₂ > 0`. Is it true that for any sufficiently large `x`, there exists more than
`c₁ * log x` many consecutive primes `≤ x` such that the difference between any two is `> c₂`?
-/
@[category research open, question, AMS 11]
theorem erdos_238 : ∀ᵉ (c₁ > 0) (c₂ > 0), ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ),
    c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime)
    ∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1) := by
  sorry

/--
It is well-known that the conjecture above is true when `c₁` is sufficiently small.
-/
@[category research solved, AMS 11]
theorem erdos_238.variants.small_c1 : ∀ c₂ > 0, ∀ᶠ c₁ in 𝓝[>] 0, ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ),
    c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime)
    ∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1) := by
  sorry


end Erdos238

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

nosorry desk erdos-238--erdos-238-variants-small-c1      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-238--erdos-238-variants-small-c1
nosorry submit erdos-238--erdos-238-variants-small-c1 nosorry/erdos-238--erdos-238-variants-small-c1/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.