Primality and GCD on pnat #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
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, _⟩}