The positive natural numbers #
This file develops the type ℕ+ or PNat, the subtype of natural numbers that are positive.
It is defined in Data.PNat.Defs, but most of the development is deferred to here so
that Data.PNat.Defs can have very few imports.
The order isomorphism between ℕ and ℕ+ given by succ.
Instances For
@[simp]
@[simp]
@[simp]
@[deprecated one_lt_of_gt (since := "2026-05-07")]
@[implicit_reducible]
Subtraction a - b is defined in the obvious way when a > b, and by a - b = 1 if a ≤ b.