Logarithm estimates for the local lemma #
Section 10.2 of bs_lambda.txt applies the asymmetric Lovász local lemma. This file
collects the facts about Real.log that the verification needs; none of them mentions the
construction.
Two general estimates #
le_mul_pow_mul_pow_of_lt_logturns a local-lemma conditionp ≤ c p y₁^a y₂^binto the logarithmic inequalitya (-log y₁) + b (-log y₂) < log c;neg_log_one_sub_leis the elementary bound-log (1-y) ≤ y / (1-y)used to replace those logarithms by exact rationals.
Two certified rational bounds #
The local lemma is applied with x₁ = (29/16) p₁ and x₂ = (17/2) p₂, so the two log c
above are log (29/16) and log (17/2); log_29_div_16_gt and log_17_div_2_gt bound them
below. Both split off a power of two, so that Mathlib's Real.log_two_gt_d9 does most of the
work, and bound the remaining factor:
log (29/16) = log 2 + log (29/32), andlog (29/32) = log (1 - 3/32)is bounded below by the cubic Taylor estimateReal.abs_log_sub_add_sum_range_le(log_29_div_32_gt);log (17/2) = 3 log 2 + log (17/16), andlog (17/16) = -log (16/17) > 1/17byReal.log_lt_sub_one_of_pos(log_17_div_16_gt).
Adapted for Lean Pool from Timeroot/BS_Lam at commit
7bd39a8d41ee7910d3296d0477ad18f8fff9d870; ported to Lean Pool with proof and dependency cleanup.
Two general estimates #
The analytic core of an asymmetric local-lemma condition: if log c exceeds the weighted
sum of the logarithmic losses -log yᵢ, then p ≤ c p y₁^m y₂^n.
Two certified rational bounds #
Cubic Taylor lower bound for log (29/32) = log (1 - 3/32). The exact bound the Taylor
estimate gives is -(3225/32768) - 81/950272 = -0.09850442…; the true value is
-0.09806….
Lower bound 1/17 < log (17/16), from log t < t - 1 at t = 16/17.
Certified rational lower bound 0.594 < log (29/16), the first of the two logarithm
estimates required by the local-lemma verification in Section 10.2 of bs_lambda.txt. The
true value is 0.5947071077….
Certified rational lower bound 2.138 < log (17/2), the second of the two logarithm
estimates required by the local-lemma verification in Section 10.2 of bs_lambda.txt. The
true value is 2.1400661635….