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 985

Source:Erdős Problems · erdosproblems.com/985
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: partial in aiXiv:2609.02593 (2026-03-06). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. partial A partial result is recorded toward the question of whether every prime pp has a prime q<pq<p that is a primitive root modulo pp. The record does not state its content. Known context: Hooley proved Artin's conjecture under GRH, and Heath-Brown proved that one of 2, 3, 5 is a primitive root for infinitely many primes. — aiXiv:2609.02593, 2026-03-06 · 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:

Is it true that, for every prime pp, there is a prime q≤pq \leq p which is a primitive root modulo pp?

The answer is yes. Assuming the Generalized Riemann Hypothesis for Dirichlet LL-functions, the least prime primitive root modulo pp is less than p−2\sqrt{p} - 2 for every prime p>2791p > 2791 [MTT16, Theorem 1]. A finite computation covers the odd primes p≤2791p \leq 2791. The Generalized Riemann Hypothesis is proved [Al26].

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

Formal statement

theorem erdos_985 : ∀ᵉ (p : ℕ) (hp_prime : p.Prime) (hp_nontrivial : p ≠ 2),
    ∃ q, q.Prime ∧ q < p ∧ orderOf (q : ZMod p) = p - 1
Show the full Challenge.lean (54 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 985

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

@[expose] public section

namespace Erdos985

/--
Is it true that, for every prime $p$, there is a prime $q \leq p$ which is a primitive root modulo $p$?
-/
@[category research open, question, AMS 11]
theorem erdos_985 : ∀ᵉ (p : ℕ) (hp_prime : p.Prime) (hp_nontrivial : p ≠ 2),
    ∃ q, q.Prime ∧ q < p ∧ orderOf (q : ZMod p) = p - 1 := by
  sorry

-- TODO: Artin conjectured that 2 is a primitive root for infinitely many primes $p$, which
-- Hooley proved assuming the Generalised Riemann Hypothesis.

/--
Heath-Brown proved that at least one of 2, 3, or 5 is a primitive root for infinitely many primes $p$.
-/
@[category research solved, AMS 11]
theorem erdos_985.variants.two_three_five_primitive_root :
    Set.Infinite
      {p : ℕ | p.Prime ∧
      (orderOf (2 : ZMod p) = p - 1 ∨
       orderOf (3 : ZMod p) = p - 1 ∨
       orderOf (5 : ZMod p) = p - 1)} := by
  sorry

end Erdos985

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

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