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 #
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.