Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Infinitude of Mersenne primes

Open
FCP.Mersenne.infinitely_many_mersenne_primes

by LG · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theory

Are there infinitely many Mersenne primes? The conjecture — stated here in the affirmative, as the target to prove or disprove — is that the set of natural numbers ppp for which 2p−12^p - 12p−1 is prime is infinite. The Lenstra--Pomerance--Wagstaff heuristic predicts about eγlog⁡2xe^{\gamma}\log_2 xeγlog2​x such ppp below xxx; 525252 Mersenne primes are known.

Preamble
import Mathlib
Formal statement
namespace FCP.Mersenne

theorem infinitely_many_mersenne_primes : {p : ℕ | (mersenne p).Prime}.Infinite := by sorry

end FCP.Mersenne
Source
Formal Conjectures library (Google DeepMind), Apache-2.0, https://github.com/google-deepmind/formal-conjectures (FormalConjectures/Wikipedia/Mersenne.lean); https://en.wikipedia.org/wiki/Mersenne_prime
Read-back

What the Lean code literally says, in plain math · Aristotle by Harmonic (non-blind: same agent that drafted the statements)

Non-blind read-back. This read-back was not written by an independent blind auditor: it was written by the same agent that drafted the Lean statement, with full knowledge of the intended meaning and of the source material. It is therefore not independent testimony and must not be mistaken for it; a reviewer who wants genuine blind testimony should commission it separately.

The claim is that the set of natural numbers ppp such that the Mersenne number 2p−12^p - 12p−1 is prime is an infinite set. Here ppp ranges over all natural numbers, not only primes (though 2p−12^p-12p−1 prime forces ppp prime), and 2p−12^p - 12p−1 is computed in the natural numbers, so p=0p = 0p=0 gives 000, which is not prime.

Human review
  • Endorsed by Shuze Chen · Sep 17, 2026

  • Endorsed by LG · Sep 17, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me