Elementary bounds on -log (1 - x) #
This file bounds the quadratic remainder -log (1 - x) - x, then specializes the estimate to
x = y ^ (-s). The sharp factor 2 in the denominator comes from reading Mathlib's complex
logarithm bound along the reals. It also records the coarser estimate
-log (1 - x) ≤ x + 2 x ^ 2 for 0 ≤ x ≤ 1/2.
Main results #
Real.neg_log_one_sub_sub_le: for0 ≤ x < 1, the remainder is at mostx² / (2 (1 - x)).Real.neg_log_one_sub_rpow_sub_le_div: for2 ≤ yand0 < s, it is at mosty ^ (-2s) / (2 (1 - 2 ^ (-s))).Real.neg_log_one_sub_rpow_sub_le: for2 ≤ yand1 ≤ s, it is at mosty⁻².Real.neg_log_one_sub_le_add_two_mul_sq: for0 ≤ x ≤ 1/2,-log (1 - x)is at mostx + 2 x ^ 2.Complex.norm_neg_log_one_sub_sub_le: for complexzwith‖z‖ ≤ 1/2, the remainder-log (1 - z) - zhas norm at most‖z‖ ^ 2.
References #
The shape of Real.neg_log_one_sub_sub_le follows the private declaration
neg_log_one_sub_sub_le in CebotarevDensity/Density.lean of
CBirkbeck/chebotarev-density (Apache-2.0,
C. Birkbeck and R. Brasca), commit 8575c9df1ae0a61120ab5c964c7911414254bec7. The sharper
constant here comes from Mathlib's Complex.norm_log_one_sub_inv_sub_self_le.