Definition and notation for extended natural numbers #
@[instance_reducible]
Equations
- instTopENat = { top := instTopENat._aux_1 }
@[instance_reducible]
Equations
- instInhabitedENat = { default := instInhabitedENat._aux_1 }
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
Instances For
@[deprecated ENat.recTopCoe_natCast (since := "2026-07-17")]
Alias of ENat.recTopCoe_natCast.