New Mersenne conjecture (Bateman--Selfridge--Wagstaff)
OpenFCP.Mersenne.new_mersenne_conjectureThe New Mersenne conjecture. For every odd natural number , if any two of the following three conditions hold, then so does the third:
- is prime (a Mersenne prime);
- is prime (a Wagstaff prime);
- or for some .
The conjecture, due to Bateman, Selfridge and Wagstaff, has been verified for all up to very large bounds. It is stated here for all odd ; it suffices to check odd primes, and it genuinely fails at , which is why oddness is assumed.
import Mathlib import Definitions.Def_FCP_Mersenne
namespace FCP.Mersenne theorem new_mersenne_conjecture (p : ℕ) (hp : Odd p) : NewMersenneStatement p := by sorry end FCP.Mersenne
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.
Let be an odd natural number. The conclusion is the conjunction of three implications:
- if is prime and ( is odd and is prime), then has special form;
- if is prime and has special form, then is odd and is prime;
- if ( is odd and is prime) and has special form, then is prime.
'Special form' means that equals , , or for some natural , with truncated natural subtraction. The Wagstaff condition uses truncating division by : it asserts primality of the natural number obtained by dividing by and discarding the remainder, which for odd is exact. Oddness of is both a hypothesis of the theorem and part of the Wagstaff condition.
Confirmed by the mission captain (proposal self-audit).