Documentation

Mathlib.Data.PNat.Notation

Definition and notation for positive natural numbers #

def PNat :

ℕ+ 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.

Instances For
    @[implicit_reducible]
    instance instDecidableEqPNat :
    DecidableEq ℕ+
    def «termℕ+» :
    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.

    Instances For
      def PNat.val :
      ℕ+

      The underlying natural number

      Instances For
        @[implicit_reducible]
        instance coePNatNat :
        Coe ℕ+
        @[implicit_reducible]
        instance instReprPNat :
        Repr ℕ+