Definition and notation for extended natural numbers #
Extended natural numbers ℕ∞ = WithTop ℕ
.
Equations
- «termℕ∞» = Lean.ParserDescr.node `«termℕ∞» 1024 (Lean.ParserDescr.symbol "ℕ∞")
Instances For
Recursor for ENat
using the preferred forms ⊤
and ↑a
.
Equations
- ENat.recTopCoe top coe none = top
- ENat.recTopCoe top coe (some a) = coe a