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