Natural logarithms below powers of two #
Parameter calculations that keep their quantities as powers of two need log x ≤ k once
x ≤ 2 ^ k: the natural logarithm of 2 ^ k is k log 2, and log 2 ≤ 1.
Main results #
Real.log_two_lt_one:log 2 < 1, fromlog x < x - 1, without the decimal bounds ofMathlib.Analysis.Complex.ExponentialBounds.Real.log_le_of_le_two_pow:log x ≤ kfor0 < x ≤ 2 ^ k.
log 2 < 1, since log x < x - 1 for x ≠ 1. Unlike Real.log_two_lt_d9, it needs only
Mathlib.Analysis.SpecialFunctions.Log.Basic.