Primality and GCD on pnat #
This file extends the theory of ℕ+ with gcd, lcm and prime functions, analogous to those on
nat.
@[protected, instance]
Equations
- nat.primes.coe_pnat = {coe := λ (p : nat.primes), ⟨↑p, _⟩}
data.pnat.prime
This file extends the theory of ℕ+ with gcd, lcm and prime functions, analogous to those on
nat.