grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 151

lemma IsPolar.exists_window_sub_mul_le

What it saysA good second scale in every long window. For functions E, E' : \mathbb{R} \to \mathbb{R} and r, r' : \mathbb{C} \to \mathbb{C} with 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 argument in briefIf E - XE' > e^{-t} on the whole window [t, t^{2}], the k-th moment with k \approx t^{2}/9, corrected by two exponentials that dominate outside the window, would be \ge 0; but the moment bounds make it negative.

15 steps, 13 of them leaves · New/Endgame/OneSidedCriterion.lean, lines 73–99 · in the notes: Input 9, p. 11 of The main inequality, the bound for the primes, and the zero-free half-plane Theorem 3, p. 3 of From a one-sided bound for primes to a zero-free half-plane

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. The moment bounds of IsPolar.eventually_moment_le 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.

    UsesIsPolar.eventually_moment_le unit 151, Filter.Eventually.exists, Ioo_mem_nhdsGT

  2. 2identityline 77

    Restate 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}.

  3. Take t large: the bounds for E (c: pointwise, a: moments) and for E' (d, b) hold at t, t \ge 99/(\log R - \log 3) (u) and t \ge 9; fix X with 0 \le X \le e^{t}.

    Usesstep 1, step 2, Filter.mem_atTop

  4. 4setupline 80

    Put k := \lceil t^{2}/9\rceil (natural ceiling).

  5. 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_pow unit 107, Real.add_one_le_exp

  6. 6factline 83

    J: for R' > 0, v \mapsto v^{k} e^{-R'v} is integrable on (0, \infty) (its integral k!/R'^{k+1} is not 0).

    Usesstep 5, MeasureTheory.Integrable.of_integral_ne_zero

  7. 7reductionline 84

    Suppose the contrary (N): E(u) - X\cdot E'(u) > e^{-t} for every u \in [t, t^{2}].

  8. 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 states0 ≤ ∫ 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

  9. 9deduction3 steps insidelines 90–96

    But this integral is negative, a contradiction.

    1. 9.1identitylines 90–91

      Split the integral: it equals k!e^{7t}/R^{k+1} + k!e^{2t - t^{2}} + \int v^{k} e^{-3v}E - X\cdot\int v^{k} e^{-3v}E' - e^{-t}\cdot k!/3^{k+1} (I, with the integrability of steps 6 and 3).

      Usesstep 8, step 5, step 6, step 3

    2. 9.2deductionlines 92–93

      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}.

      Usesstep 9.1, step 3, step 5

    3. 9.3deductionlines 94–96

      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

  10. 10deduction2 steps insidelines 97–99

    The hole of step 8: for v > 0 outside [t, t^{2}], the bracket is \ge 0.

    1. 10.1deductionlines 97–98

      |E(v) - X\cdot E'(v) - e^{-t}|\cdot e^{-3v} \le e^{-3v}\cdot e^{v}\cdot(t + tX + 1) \le e^{-2v}\cdot e^{2t} (c, d, K); so it suffices that e^{2t - 2v} \le \max(e^{7t - \mathrm{Rv}}, e^{2t - t^{2} - v}) \le their sum.

      Usesstep 3, step 5, max_le_add_of_nonneg

    2. 10.2deductionline 99

      If v < t then 7t - Rv \ge 2t - 2v (as R < 4 and v < t); if v > t^{2} then 2t - t^{2} - v \ge 2t - 2v; this is linear arithmetic once v \notin [t, t^{2}] is split into these two cases.

      Usesstep 1