Documentation

FormalConjectures.Wikipedia.RegularPrimes

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

noncomputable def RegularPrimes.IsRegularPrime (p : ) [Fact (Nat.Prime p)] :

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
Instances For

    The prime 37 is not a regular prime.

    The set of regular primes.

    Equations
    Instances For

      The set of irregular primes.

      Equations
      Instances For

        The primes 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31 are regular.

        The prime 37 is not a regular prime.

        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.

        Equations
        Instances For

          Conjecture: The set of regular primes is infinite.