NLA-lib Explorer

Real.abs_mul_mul_log_mul_le

Library · theorem

\lvert G s \log(G s) \rvert \le \lvert G \log G \rvert + G for G \ge 0 and s \in [0, 1]: shrinking \mathbf{x} \ge 0 by a factor in [0, 1] makes \lvert \mathbf{x} \log \mathbf{x} \rvert exceed its old value by at most \mathbf{x}.

Real.abs_mul_mul_log_mul_le {G s : ℝ} (hG : 0 ≤ G) (hs0 : 0 ≤ s) (hs1 : s ≤ 1) :
  |G * s * Real.log (G * s)| ≤ |G * Real.log G| + G

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.SpecialFunctions.Log.Basic.