The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Log.ENNRealLog
32 declarations. Mathlib docs · Source
Extended Nonnegative Real Logarithm
We define log as an extension of the logarithm of a positive real
to the extended nonnegative reals ℝ≥0∞. The function takes values
in the extended reals EReal, with log 0 = ⊥ and log ⊤ = ⊤.
Main Definitions
ENNReal.log: The extension of the real logarithm toℝ≥0∞.
Main Results
ENNReal.log_strictMono:logis increasing;ENNReal.log_injective,ENNReal.log_surjective,ENNReal.log_bijective:logis injective, surjective, and bijective;ENNReal.log_mul_add,ENNReal.log_pow,ENNReal.log_rpow:logsatisfies the identitieslog (x * y) = log x + log yandlog (x ^ y) = y * log x(with eithery ∈ ℕory ∈ ℝ).
Tags
ENNReal, EReal, logarithm
Definition
Monotonicity
Algebraic properties
def ENNReal.log E3 #
ENNReal → EReal
The logarithm function defined on the extended nonnegative reals ℝ≥0∞
to the extended reals EReal. Coincides with the usual logarithm function
and with Real.log on positive reals, and takes values log 0 = ⊥ and log ⊤ = ⊤.
Conventions about multiplication in ℝ≥0∞ and addition in EReal make the identity
log (x * y) = log x + log y unconditional.
theorem ENNReal.log_zero E0 #
ENNReal.log 0 = ⊥
theorem ENNReal.log_one E0 #
ENNReal.log 1 = 0
theorem ENNReal.log_top E0 #
⊤.log = ⊤
theorem ENNReal.log_ofReal E0 #
∀ (x : ℝ), (ENNReal.ofReal x).log = if x ≤ 0 then ⊥ else ↑(Real.log x)
theorem ENNReal.log_ofReal_of_pos E1 #
∀ {x : ℝ}, 0 < x → (ENNReal.ofReal x).log = ↑(Real.log x)
theorem ENNReal.log_pos_real E1 #
∀ {x : ENNReal}, x ≠ 0 → x ≠ ⊤ → x.log = ↑(Real.log x.toReal)
theorem ENNReal.log_pos_real' E1 #
∀ {x : ENNReal}, 0 < x.toReal → x.log = ↑(Real.log x.toReal)
theorem ENNReal.log_of_nnreal E1 #
∀ {x : NNReal}, x ≠ 0 → (↑x).log = ↑(Real.log ↑x)
theorem ENNReal.log_strictMono E3 #
StrictMono ENNReal.log
theorem ENNReal.log_monotone E1 #
Monotone ENNReal.log
theorem ENNReal.log_injective E3 #
Function.Injective ENNReal.log
theorem ENNReal.log_surjective E3 #
Function.Surjective ENNReal.log
theorem ENNReal.log_bijective E3 #
Function.Bijective ENNReal.log
theorem ENNReal.log_eq_iff E0 #
∀ {x y : ENNReal}, x.log = y.log ↔ x = y
theorem ENNReal.log_eq_bot_iff E0 #
∀ {x : ENNReal}, x.log = ⊥ ↔ x = 0
theorem ENNReal.log_eq_one_iff E0 #
∀ {x : ENNReal}, x.log = 0 ↔ x = 1
theorem ENNReal.log_eq_top_iff E0 #
∀ {x : ENNReal}, x.log = ⊤ ↔ x = ⊤
theorem ENNReal.log_lt_log_iff E0 #
∀ {x y : ENNReal}, x.log < y.log ↔ x < y
theorem ENNReal.bot_lt_log_iff E0 #
∀ {x : ENNReal}, ⊥ < x.log ↔ 0 < x
theorem ENNReal.log_lt_top_iff E0 #
∀ {x : ENNReal}, x.log < ⊤ ↔ x < ⊤
theorem ENNReal.log_lt_zero_iff E0 #
∀ {x : ENNReal}, x.log < 0 ↔ x < 1
theorem ENNReal.zero_lt_log_iff E0 #
∀ {x : ENNReal}, 0 < x.log ↔ 1 < x
theorem ENNReal.log_le_log_iff E0 #
∀ {x y : ENNReal}, x.log ≤ y.log ↔ x ≤ y
theorem ENNReal.log_le_zero_iff E0 #
∀ {x : ENNReal}, x.log ≤ 0 ↔ x ≤ 1
theorem ENNReal.zero_le_log_iff E0 #
∀ {x : ENNReal}, 0 ≤ x.log ↔ 1 ≤ x
theorem ENNReal.log_le_log E1 #
∀ {x y : ENNReal}, x ≤ y → x.log ≤ y.log
theorem ENNReal.log_lt_log E1 #
∀ {x y : ENNReal}, x < y → x.log < y.log
theorem ENNReal.log_mul_add E3 #
∀ {x y : ENNReal}, (x * y).log = x.log + y.log
theorem ENNReal.log_rpow E3 #
∀ {x : ENNReal} {y : ℝ}, (x ^ y).log = ↑y * x.log
theorem ENNReal.log_pow E3 #
∀ {x : ENNReal} {n : ℕ}, (x ^ n).log = ↑n * x.log
theorem ENNReal.log_inv E1 #
∀ {x : ENNReal}, x⁻¹.log = -x.log