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 971

Source:Erdős Problems · erdosproblems.com/971
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: partial in aiXiv:2609.02589 (2026-01-31). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. partial A partial result is recorded (2026-01-31) toward the question whether some c>0c>0 gives p(a,d)>(1+c)ϕ(d)log⁡dp(a,d)>(1+c)\phi(d)\log d for ≫ϕ(d)\gg\phi(d) residues aa for all large dd, where p(a,d)p(a,d) is the least prime ≡a(modd)\equiv a \pmod d. Erdős had proved this for an infinite sequence of dd. He also proved that p(a,d)<ϵϕ(d)log⁡dp(a,d)<\epsilon\phi(d)\log d for ≫ϵϕ(d)\gg_\epsilon\phi(d) values of aa. — aiXiv:2609.02589, 2026-01-31 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Let p(a, d) be the least prime congruent to a (mod d). Does there exist a constant c > 0 such that for all large d, p(a, d) > (1 + c) * φ(d) * log d for ≫ φ(d) many values of a?

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

Formal statement

theorem erdos_971 :
    ∃ c > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ d in atTop,
      C * (d.totient : ℝ) ≤
        #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) > (1 + c) * d.totient * log d}
Show the full Challenge.lean (77 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 971

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

@[expose] public section

namespace Erdos971

open Filter Finset Real

/-- `leastCongruentPrime a d` is the least prime congruent to `a` modulo `d`. -/
noncomputable def leastCongruentPrime (a d : ℕ) : ℕ :=
  sInf {p : ℕ | p.Prime ∧ p ≡ a [MOD d]}

/--
Let `p(a, d)` be the least prime congruent to `a (mod d)`.
Does there exist a constant `c > 0` such that for all large `d`,
`p(a, d) > (1 + c) * φ(d) * log d` for `≫ φ(d)` many values of `a`?
-/
@[category research open, question, AMS 11]
theorem erdos_971 :
    ∃ c > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ d in atTop,
      C * (d.totient : ℝ) ≤
        #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) > (1 + c) * d.totient * log d} := by
  sorry

/--
Erdős [Er49c] proved that the statement in `erdos_971` holds for infinitely many values of `d`.

[Er49c] Erdős, P., _On some applications of Brun's method_. Acta Univ. Szeged. Sect. Sci. Math.
(1949), 57--63.
-/
@[category research solved, AMS 11]
theorem erdos_971.variants.infinite_sequence :
    ∃ c > (0 : ℝ), ∃ C > (0 : ℝ),
      {d : ℕ | C * (d.totient : ℝ) ≤
        #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) > (1 + c) * d.totient * log d}}.Infinite :=
    by
  sorry

/--
Erdős [Er49c] proved that for any `ε > 0` we have `p(a, d) < ε * φ(d) * log d` for `≫_ε φ(d)` many
values of `a` (for all large `d`).

[Er49c] Erdős, P., _On some applications of Brun's method_. Acta Univ. Szeged. Sect. Sci. Math.
(1949), 57--63.
-/
@[category research solved, AMS 11]
theorem erdos_971.variants.many_small :
    ∀ ε > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ d in atTop,
      C * (d.totient : ℝ) ≤
        #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) < ε * d.totient * log d} := by
  sorry

end Erdos971

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

nosorry fetch erdos-971
nosorry submit erdos-971 nosorry/erdos-971/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.