The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V02. Numbers

Mathlib.Basic.Real.ENatENNReal

32 declarations. Mathlib docs · Source

def ENat.toENNReal E1 #

ℕ∞ → ENNReal

Coercion from ℕ∞ to ℝ≥0∞.

instance ENat.hasCoeENNReal E0 #

CoeTC ℕ∞ ENNReal

theorem ENat.map_coe_nnreal E0 #

ENat.map Nat.cast = ENat.toENNReal

def ENat.toENNRealOrderEmbedding E1 #

ℕ∞ ↪o ENNReal

Coercion ℕ∞ → ℝ≥0∞ as an OrderEmbedding.

theorem ENat.toENNRealOrderEmbedding_apply E0 #

⇑ENat.toENNRealOrderEmbedding = WithTop.map Nat.cast

def ENat.toENNRealRingHom E1 #

ℕ∞ →+* ENNReal

Coercion ℕ∞ → ℝ≥0∞ as a ring homomorphism.

theorem ENat.toENNRealRingHom_apply E0 #

⇑ENat.toENNRealRingHom = ENat.toENNReal

theorem ENat.toENNReal_top E0 #

↑⊤ = ⊤

theorem ENat.toENNReal_coe E0 #

∀ (n : ℕ), ↑↑n = ↑n

theorem ENat.toENNReal_ofNat E0 #

∀ (n : ℕ) [inst : n.AtLeastTwo], ↑(OfNat.ofNat n) = OfNat.ofNat n

theorem ENat.toENNReal_inj E0 #

∀ {m n : ℕ∞}, ↑m = ↑n ↔ m = n

theorem ENat.toENNReal_eq_top E0 #

∀ {n : ℕ∞}, ↑n = ⊤ ↔ n = ⊤

theorem ENat.toENNReal_ne_top E1 #

∀ {n : ℕ∞}, ↑n ≠ ⊤ ↔ n ≠ ⊤

theorem ENat.toENNReal_le E0 #

∀ {m n : ℕ∞}, ↑m ≤ ↑n ↔ m ≤ n

theorem ENat.toENNReal_lt E0 #

∀ {m n : ℕ∞}, ↑m < ↑n ↔ m < n

theorem ENat.toENNReal_le_natCast E0 #

∀ {m : ℕ∞} {n : ℕ}, ↑m ≤ ↑n ↔ m ≤ ↑n

theorem ENat.toENNReal_lt_natCast E0 #

∀ {m : ℕ∞} {n : ℕ}, ↑m < ↑n ↔ m < ↑n

theorem ENat.natCast_le_toENNReal E0 #

∀ {m : ℕ} {n : ℕ∞}, ↑m ≤ ↑n ↔ ↑m ≤ n

theorem ENat.natCast_lt_toENNReal E0 #

∀ {m : ℕ} {n : ℕ∞}, ↑m < ↑n ↔ ↑m < n

theorem ENat.toENNReal_lt_top E0 #

∀ {n : ℕ∞}, ↑n < ⊤ ↔ n < ⊤

theorem ENat.toENNReal_mono E1 #

Monotone ENat.toENNReal

theorem ENat.toENNReal_strictMono E1 #

StrictMono ENat.toENNReal

theorem ENat.toENNReal_zero E0 #

↑0 = 0

theorem ENat.toENNReal_eq_zero E0 #

∀ {n : ℕ∞}, ↑n = 0 ↔ n = 0

theorem ENat.toENNReal_add E0 #

∀ (m n : ℕ∞), ↑(m + n) = ↑m + ↑n

theorem ENat.toENNReal_one E0 #

↑1 = 1

theorem ENat.toENNReal_eq_one E0 #

∀ {n : ℕ∞}, ↑n = 1 ↔ n = 1

theorem ENat.toENNReal_mul E0 #

∀ (m n : ℕ∞), ↑(m * n) = ↑m * ↑n

theorem ENat.toENNReal_pow E0 #

∀ (x : ℕ∞) (n : ℕ), ↑(x ^ n) = ↑x ^ n

theorem ENat.toENNReal_min E0 #

∀ (m n : ℕ∞), ↑(min m n) = min ↑m ↑n

theorem ENat.toENNReal_max E0 #

∀ (m n : ℕ∞), ↑(max m n) = max ↑m ↑n

theorem ENat.toENNReal_sub E0 #

∀ (m n : ℕ∞), ↑(m - n) = ↑m - ↑n