Primality and GCD on pnat #
This file extends the theory of ℕ+ with gcd, lcm and Prime functions, analogous to those on
Nat.
Prime numbers #
Primality predicate for ℕ+, defined in terms of Nat.Prime.
Instances For
Coprime numbers and gcd #
@[deprecated PNat.gcd_eq_left_iff_dvd (since := "2025-11-14")]
Alias of the reverse direction of PNat.gcd_eq_left_iff_dvd.