Infinite Regular Primes #
We define the notion of regular primes, which are prime numbers that are coprime with the
cardinality of the class group of the p
-th cyclotomic field. We also state that there are
infinitely many regular primes.
Reference: Wikipedia
TODO: remove this once mathlib is updated as it seems that in this version of mathlib we need to do this manually.
A natural prime number p
is regular if p
is coprime with the order of the class group
of the p
-th cyclotomic field.
Equations
- RegularPrimes.IsRegularPrime p = p.Coprime (Fintype.card (ClassGroup (NumberField.RingOfIntegers (CyclotomicField ⟨p, ⋯⟩ ℚ))))
Instances For
The set of regular primes.
Equations
- RegularPrimes.regularPrimes = {p : ℕ | ∃ (hp : Nat.Prime p), RegularPrimes.IsRegularPrime p}
Instances For
The set of irregular primes.
Equations
- RegularPrimes.irregularPrimes = {p : ℕ | ∃ (hp : Nat.Prime p), ¬RegularPrimes.IsRegularPrime p}
Instances For
An equivanlent definitions of regualr prime p
is that it does not divide the numerator of the
first p-3
Bernoulli numbers. Not in Mathlib.
The set of irregular primes is infinite.
Conjecture: The set of regular primes is infinite.
Instances For
Conjecture: The set of regular primes is infinite.