Structured proof · Unit 151
lemma IsPolar.exists_window_sub_mul_le
IsPolar(E, r) (h) and IsPolar(E', r') (h'): for every sufficiently large real t and every real X with 0 \le X \le e^{t}, there is u with t \le u \le t^{2} and E(u) - X\cdot E'(u) \le e^{-t}.The moment bounds of
IsPolar.hold for E and for E' for all R > 3 close to 3; take one such R with 3 < R < 4 (p, q), with the moment bounds c (for E) and d (for E'), each eventually in t.eventually_moment_le Uses
IsPolar.unit 151,eventually_moment_le Filter.,Eventually. exists Ioo_mem_nhdsGTRestate the bounds with two-sided inequalities: -t\cdot e^{v} \le E(v) \le t\cdot e^{v}, and -k!t/R^{k} \le \int F_k \le k!t/R^{k}.
Put k := \lceil t^{2}/9\rceil (natural ceiling).
Record: 0 < R (w); for every R' > 0, \int_{0}^\infty v^{k} e^{-R'v} dv = k!/R'^{k+1} (I,
laplace_pow); and t + tX + 1 \le e^{t}\cdot e^{t} (K, from t + 1 \le e^{t} and X \le e^{t}).Usesstep 1, step 4,
laplace_powunit 107,Real.add_one_le_exp Suppose the contrary (N): E(u) - X\cdot E'(u) > e^{-t} for every u \in [t, t^{2}].
0 \le \int_{0}^\infty v^{k}\cdot(e^{-\mathrm{Rv}}e^{7t} + e^{-v}e^{2t - t^{2}} + e^{-3v}(E(v) - X\cdot E'(v) - e^{-t})) dv: the integrand is \ge 0 at every v > 0; for v \in [t, t^{2}] by N; for v outside the window by the hole proved in step 10.
Lean states
0 ≤ ∫ v in Ioi 0, v ^ k * ((-R * v).exp * (7 * t).exp + (-1 * v).exp * (2 * t - t ^ 2).exp + (-3 * v).exp * (E v - _ * X - (-t).exp))Usesstep 7,
MeasureTheory.setIntegral_nonneg But this integral is negative, a contradiction.
Bound the moments: \int v^{k} e^{-3v}E \le k!t/R^{k} (a), -X\cdot\int v^{k} e^{-3v}E' \le X\cdot k!t/R^{k} (b), so the two moment terms are at most k!(t + tX)/R^{k} < k!(t + tX + 1)/R^{k} \le k!e^{2t}/R^{k} (K); the integral being \ge 0 then gives e^{-t}k!/3^{k+1} < k!e^{7t}/R^{k+1} + k!e^{2t - t^{2}} + k!e^{2t}/R^{k}.
Each of the three terms on the right is at most a third of the left side, so their sum is at most the left side: a contradiction. In logarithms this is linear arithmetic, using \log 3 < 1.0987, |k - t^{2}/9| \le 1 and t\cdot(\log R - \log 3) \ge 99 (u): e.g. (3/R)^{k} \le e^{-k \log(R/3)} \le e^{-11t}.
Usesstep 9.2, step 3, step 4,
Real.,log_three_lt_d9 Nat.,abs_sub_ceil_le add_thirds
The hole of step 8: for v > 0 outside [t, t^{2}], the bracket is \ge 0.