The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Log.NegMulLog
39 declarations. Mathlib docs · Source
The functions x ↦ x * log x and x ↦ - x * log x
The purpose of this file is to record basic analytic properties of
x ↦ x * log x, calledmul_login theorem statementsx ↦ - x * log x, namednegMulLog, which is notably used in the theory of Shannon entropy.
Main definitions
negMulLog: the functionx ↦ - x * log xfromℝtoℝ.
theorem Real.self_sub_one_lt_mul_log E1 #
∀ {x : ℝ}, 0 ≤ x → x ≠ 1 → x - 1 < x * Real.log x
theorem Real.self_sub_one_le_mul_log E1 #
∀ {x : ℝ}, 0 ≤ x → x - 1 ≤ x * Real.log x
theorem Real.continuous_mul_log E1 #
Continuous fun x ↦ x * Real.log x
theorem Real.Continuous.mul_log E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {f : α → ℝ}, Continuous f → Continuous fun a ↦ f a * Real.log (f a)
theorem Real.differentiableOn_mul_log E1 #
DifferentiableOn ℝ (fun x ↦ x * Real.log x) {0}ᶜ
theorem Real.deriv_mul_log E1 #
∀ {x : ℝ}, x ≠ 0 → deriv (fun x ↦ x * Real.log x) x = Real.log x + 1
theorem Real.hasDerivAt_mul_log E1 #
∀ {x : ℝ}, x ≠ 0 → HasDerivAt (fun x ↦ x * Real.log x) (Real.log x + 1) x
theorem Real.rightDeriv_mul_log E0 #
∀ {x : ℝ}, x ≠ 0 → derivWithin (fun x ↦ x * Real.log x) (Set.Ioi x) x = Real.log x + 1
theorem Real.leftDeriv_mul_log E0 #
∀ {x : ℝ}, x ≠ 0 → derivWithin (fun x ↦ x * Real.log x) (Set.Iio x) x = Real.log x + 1
theorem Real.tendsto_deriv_mul_log_atTop E1 #
Filter.Tendsto (fun x ↦ deriv (fun x ↦ x * Real.log x) x) Filter.atTop Filter.atTop
theorem Real.tendsto_rightDeriv_mul_log_atTop E1 #
Filter.Tendsto (fun x ↦ derivWithin (fun x ↦ x * Real.log x) (Set.Ioi x) x) Filter.atTop Filter.atTop
theorem Real.not_DifferentiableAt_log_mul_zero E1 #
¬DifferentiableAt ℝ (fun x ↦ x * Real.log x) 0
At x=0, (fun x ↦ x * log x) is not differentiable
(but note that it is continuous, see continuous_mul_log).
theorem Real.deriv_mul_log_zero E1 #
deriv (fun x ↦ x * Real.log x) 0 = 0
Not differentiable, hence deriv has junk value zero.
theorem Real.not_continuousAt_deriv_mul_log_zero E1 #
¬ContinuousAt (deriv fun x ↦ x * Real.log x) 0
theorem Real.deriv2_mul_log E1 #
∀ (x : ℝ), deriv^[2] (fun x ↦ x * Real.log x) x = x⁻¹
theorem Real.strictConvexOn_mul_log E1 #
StrictConvexOn ℝ (Set.Ici 0) fun x ↦ x * Real.log x
theorem Real.convexOn_mul_log E1 #
ConvexOn ℝ (Set.Ici 0) fun x ↦ x * Real.log x
theorem Real.mul_log_nonneg E1 #
∀ {x : ℝ}, 1 ≤ x → 0 ≤ x * Real.log x
theorem Real.mul_log_pos E1 #
∀ {x : ℝ}, 1 < x → 0 < x * Real.log x
theorem Real.mul_log_nonpos E1 #
∀ {x : ℝ}, 0 ≤ x → x ≤ 1 → x * Real.log x ≤ 0
theorem Real.mul_log_neg E1 #
∀ {x : ℝ}, 0 < x → x < 1 → x * Real.log x < 0
def Real.negMulLog E3 #
ℝ → ℝ
The function x ↦ - x * log x from ℝ to ℝ.
theorem Real.negMulLog_def E0 #
Real.negMulLog = fun x ↦ -x * Real.log x
theorem Real.negMulLog_eq_neg E1 #
Real.negMulLog = fun x ↦ -(x * Real.log x)
theorem Real.negMulLog_zero E0 #
Real.negMulLog 0 = 0
theorem Real.negMulLog_one E0 #
Real.negMulLog 1 = 0
theorem Real.negMulLog_nonneg E1 #
∀ {x : ℝ}, 0 ≤ x → x ≤ 1 → 0 ≤ x.negMulLog
theorem Real.negMulLog_mul E1 #
∀ (x y : ℝ), (x * y).negMulLog = y * x.negMulLog + x * y.negMulLog
theorem Real.continuous_negMulLog E1 #
Continuous Real.negMulLog
theorem Real.differentiableOn_negMulLog E1 #
DifferentiableOn ℝ Real.negMulLog {0}ᶜ
theorem Real.differentiableAt_negMulLog_iff E0 #
∀ {x : ℝ}, DifferentiableAt ℝ Real.negMulLog x ↔ x ≠ 0
theorem Real.differentiableAt_negMulLog E1 #
∀ {x : ℝ}, x ≠ 0 → DifferentiableAt ℝ Real.negMulLog x
Alias of the reverse direction of Real.differentiableAt_negMulLog_iff.
theorem Real.deriv_negMulLog E1 #
∀ {x : ℝ}, x ≠ 0 → deriv Real.negMulLog x = -Real.log x - 1
theorem Real.hasDerivAt_negMulLog E1 #
∀ {x : ℝ}, x ≠ 0 → HasDerivAt Real.negMulLog (-Real.log x - 1) x
theorem Real.deriv2_negMulLog E1 #
∀ (x : ℝ), deriv^[2] Real.negMulLog x = -x⁻¹
theorem Real.strictConcaveOn_negMulLog E1 #
StrictConcaveOn ℝ (Set.Ici 0) Real.negMulLog
theorem Real.concaveOn_negMulLog E1 #
ConcaveOn ℝ (Set.Ici 0) Real.negMulLog
theorem Real.negMulLog_lt_one_sub_self E1 #
∀ {x : ℝ}, 0 ≤ x → x ≠ 1 → x.negMulLog < 1 - x
theorem Real.negMulLog_le_one_sub_self E1 #
∀ {x : ℝ}, 0 ≤ x → x.negMulLog ≤ 1 - x