Mathlib.Data.PNat.Notation
6 declarations. Mathlib docs · Source
def PNat E1 #
Type
ℕ+ is the type of positive natural numbers. It is defined as a subtype,
and the VM representation of ℕ+ is the same as ℕ because the proof
is not stored.
instance instDecidableEqPNat E0 #
DecidableEq ℕ+
def «termℕ+» E1 #
Lean.ParserDescr
ℕ+ is the type of positive natural numbers. It is defined as a subtype,
and the VM representation of ℕ+ is the same as ℕ because the proof
is not stored.
def PNat.val E1 #
ℕ+ → ℕ
The underlying natural number
instance coePNatNat E0 #
Coe ℕ+ ℕ
instance instReprPNat E0 #
Repr ℕ+