Mathlib.Data.ENat.Defs
9 declarations and 1 deprecated aliases. Mathlib docs · Source
def ENat E1 #
Type
Extended natural numbers ℕ∞ = WithTop ℕ.
instance instTopENat E0 #
Top ℕ∞
instance instReprENat E0 #
Repr ℕ∞
instance instInhabitedENat E0 #
Inhabited ℕ∞
def «termℕ∞» E1 #
Lean.ParserDescr
Extended natural numbers ℕ∞ = WithTop ℕ.
instance ENat.instNatCast E0 #
NatCast ℕ∞
def ENat.recTopCoe E1 #
{C : ℕ∞ → Sort u_1} → C ⊤ → ((a : ℕ) → C ↑a) → (n : ℕ∞) → C n
Recursor for ENat using the preferred forms ⊤ and ↑a.
theorem ENat.recTopCoe_top E0 #
∀ {C : ℕ∞ → Sort u_1} (d : C ⊤) (f : (a : ℕ) → C ↑a), ENat.recTopCoe d f ⊤ = d
theorem ENat.recTopCoe_natCast E0 #
∀ {C : ℕ∞ → Sort u_1} (d : C ⊤) (f : (a : ℕ) → C ↑a) (x : ℕ), ENat.recTopCoe d f ↑x = f x
Deprecated aliases
| Name | New name | Since |
|---|---|---|
ENat.recTopCoe_coe | ENat.recTopCoe_natCast | 2026-07-17 |