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 200

Source:Erdős Problems · erdosproblems.com/200
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Does the longest arithmetic progression of primes in {1,…,N}\{1,\ldots,N\} have length o(log⁡N)o(\log N)?

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question
Cite as:NS.01287 [math.CO] · NS.01287v1 for this version
Declaration:Erdos200.erdos_200
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:a0d2197ea84d59442ca8650e8ab6a4c0b3d2bc3cce4793ecba0e50ad54b09bad
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/200.lean

Formal statement

theorem erdos_200 :
    (fun n => (longestPrimeArithmeticProgressions n : ℝ)) =o[atTop] (fun n => log n)
Show the full Challenge.lean (55 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 200

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

@[expose] public section

open Filter Real

namespace Erdos200

/--
The length of the longest arithmetic progression of primes in $\{1,\ldots,n\}$.
-/
noncomputable def longestPrimeArithmeticProgressions (n : ℕ) : ℕ :=
  sSup {(k : ℕ) | ∃ s ⊆ Set.Icc 1 n, s.IsAPOfLength k ∧ ∀ m ∈ s, m.Prime}

/--
Does the longest arithmetic progression of primes in $\{1,\ldots,N\}$ have length $o(\log N)$?
-/
@[category research open, question, AMS 5 11]
theorem erdos_200 :
    (fun n => (longestPrimeArithmeticProgressions n : ℝ)) =o[atTop] (fun n => log n) := by
  sorry

/--
It follows from the prime number theorem that such a progression has length $\leq(1+o(1))\log N$.
-/
@[category research solved, AMS 5 11]
theorem erdos_200.variants.upper : ∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
    ∀ n, longestPrimeArithmeticProgressions n ≤ (1 + o n) * log n := by
  sorry

end Erdos200

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

nosorry fetch erdos-200
nosorry submit erdos-200 nosorry/erdos-200/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.