NLA-lib Explorer

Real.log_one_add_le_cubic

Library · theorem

For u > -1, \log(1 + u) \le u - \frac{u^2}{2} + \frac{u^3}{3} \,. For u \le 0 this is Real.log_one_add_le_cubic_of_nonpos; for u \ge 0 the difference has derivative u^3 / (1 + u) \ge 0 and vanishes at 0.

Real.log_one_add_le_cubic {u : ℝ} (h1 : -1 < u) : Real.log (1 + u) ≤ u - u ^ 2 / 2 + u ^ 3 / 3

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.SpecialFunctions.Log.Deriv.