Producers #
This file builds primality certificates from the witnesses the user provides.
The witness of a primality certificate for one prime, tagged by the certificate type.
- lucas (w : LucasWitness) : Witness
The witness of a Lucas certificate.
Instances For
Find the root and the factorization of p - 1 given by the first entry of witnesses that is
a Lucas witness for the prime p.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Numbers below this bound are proved prime by norm_num's evaluation of Nat.minFac.
Equations
Instances For
def Mathlib.Tactic.Primality.Cert.ofWitnesses (witnesses : List Witness) (known : Std.HashSet ℕ) (p : ℕ) :
Builds the certificate of p from the first entry of witnesses that fits each prime, with
norm_num below normNumBound and the user's proofs for the primes in known. Each prime's
certificate is built once.
Equations
- Mathlib.Tactic.Primality.Cert.ofWitnesses witnesses known p = (Mathlib.Tactic.Primality.Cert.ofWitnesses.go✝ witnesses known p).run' ∅