Section SH · Large-batch drift for a general spectrum
Proved in Lean
Lemma SH.13 (A logarithmic inequality)
For every \(k>0\),
\[
\log(1+k)-\frac{k}{1+k}\ge\frac12\log k .
\]
Proof.
Let \(D(k)\) be the left side minus the right side. Its derivative is
\[
D'(k)=\frac1{1+k}-\frac1{(1+k)^2}-\frac1{2k}=\frac{k^2-2k-1}{2k(1+k)^2},
\]
which is negative on \((0,1+\sqrt2)\) and positive on \((1+\sqrt2,\infty)\). So \(D\) attains its minimum at \(k_*=1+\sqrt2\). There \(1+k_*=\sqrt2\,k_*\) and \(k_*/(1+k_*)=1/\sqrt2\), so
\[
D(k_*)=\tfrac12\log2+\tfrac12\log k_*-\tfrac1{\sqrt2}=\tfrac12\log(2+2\sqrt2)-\tfrac1{\sqrt2}.
\]
This is positive because \(e^{\sqrt2}<e^{3/2}<4.5<2+2\sqrt2\), where the middle inequality is \(e^3<20.1<20.25\).
Used by
- Proposition SH.2 Tail modes
Lean
Proved in Lean
Muon.Oversampled.lem_app_os_log source
theorem lem_app_os_log {k : ℝ} (hk : 0 < k) :
1 / 2 * Real.log k ≤ Real.log (1 + k) - k / (1 + k) := by