Mathlib.Data.ENat.Pow
20 declarations. Mathlib docs · Source
instance ENat.instPow E0 #
Pow ℕ∞ ℕ∞
theorem ENat.epow_def E0 #
∀ {x y : ℕ∞}, x ^ y = if y < ⊤ then x ^ y.toNat else if x = 0 then 0 else if x = 1 then 1 else ⊤
theorem ENat.epow_natCast E0 #
∀ {x : ℕ∞} {y : ℕ}, x ^ ↑y = x ^ y
theorem ENat.zero_epow_top E0 #
0 ^ ⊤ = 0
theorem ENat.zero_epow E1 #
∀ {y : ℕ∞}, y ≠ 0 → 0 ^ y = 0
theorem ENat.one_epow E0 #
∀ {y : ℕ∞}, 1 ^ y = 1
theorem ENat.top_epow_top E0 #
⊤ ^ ⊤ = ⊤
theorem ENat.top_epow E1 #
∀ {y : ℕ∞}, y ≠ 0 → ⊤ ^ y = ⊤
theorem ENat.epow_zero E0 #
∀ {x : ℕ∞}, x ^ 0 = 1
theorem ENat.epow_one E0 #
∀ {x : ℕ∞}, x ^ 1 = x
theorem ENat.epow_top E1 #
∀ {x : ℕ∞}, 1 < x → x ^ ⊤ = ⊤
theorem ENat.epow_right_mono E1 #
∀ {x : ℕ∞}, x ≠ 0 → Monotone fun y ↦ x ^ y
theorem ENat.one_le_epow E1 #
∀ {x y : ℕ∞}, x ≠ 0 → 1 ≤ x ^ y
theorem ENat.epow_pos E1 #
∀ {x y : ℕ∞}, x ≠ 0 → 0 < x ^ y
theorem ENat.epow_left_mono E1 #
∀ {y : ℕ∞}, Monotone fun x ↦ x ^ y
theorem ENat.epow_eq_zero_iff E0 #
∀ {x y : ℕ∞}, x ^ y = 0 ↔ x = 0 ∧ y ≠ 0
theorem ENat.epow_eq_one_iff E0 #
∀ {x y : ℕ∞}, x ^ y = 1 ↔ x = 1 ∨ y = 0
theorem ENat.epow_add E1 #
∀ {x y z : ℕ∞}, x ^ (y + z) = x ^ y * x ^ z
theorem ENat.mul_epow E1 #
∀ {x y z : ℕ∞}, (x * y) ^ z = x ^ z * y ^ z
theorem ENat.epow_mul E1 #
∀ {x y z : ℕ∞}, x ^ (y * z) = (x ^ y) ^ z