grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 151

lemma Data.heightPerRow_le

What it saysChoice of the level prime. For parameters P (N_{0} = P.N_{0}, d = P.d) and admissible data D for P (Lean's Data P): h_{0}(D) \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \mathcal{B}(D), where h_{0}(D) = D.heightPerRow = m_D\cdot(\sum_{\tau\in\mathrm{tops}(D)} (\mathrm{jetSize}_D(a_D) - \operatorname{Ask}(D, a_D, \tau)) + k_D\cdot\mathsf{U}(D)) - \#\operatorname{tops}(D)\cdot a_D\cdot\log N_D (N_D the level prime of D) and \mathcal{B}(D) = f_D\cdot a_D\cdot(\log b_D)^{3}.
The argument in briefStirling bounds the jet size; the level prime N is chosen with \log N \ge \lambda, which cancels the main term m\cdot a(\overline{w} + G) of the excesses; the rest is within the budget.

10 steps, 9 of them leaves · New/Endgame/ShortAndEnough.lean, lines 48–70 · in the notes: Proposition 9.4, p. 18 of From a one-sided bound for primes to a zero-free half-plane

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1setupline 49

    Put \overline{w} := (1/f_D)\cdot\sum_{\tau} \log w_D(\tau), the mean of the \log-weights over all infinite places.

    UsesData.nominalWeight unit 152

  2. 2setupline 50

    Put G := \log(g\cdot\mathrm{rd}_E/(2\pi)) (g = g_{0}g_{1}) (hG).

    UsesData.gProd unit 152, Data.rootDisc unit 152

  3. Stirling: \log a_D! \le a_D\cdot\log a_D - a_D + (1 + \log a_D/2), from the monotonicity of \log of Stirling's sequence n!/(\sqrt{2n}(n/e)^{n}) (its value at a_D is at most its value at 1), with a_D \ge 1.

    Lean stateslog D.a.factorial ≤ D.a * log D.a - D.a + (1 + log D.a / 2)

    UsesData.nat_le_of_hasLogBound unit 152, Data.HasLogBound.pos unit 152, Stirling.log_stirlingSeq'_antitone, Stirling.log_stirlingSeq_formula

  4. The excess: \mathrm{jetSize}_D(a_D) - Ask_main(D) \le a_D\cdot(\overline{w} + G) + (1 + \log a_D/2). Indeed \mathrm{jetSize}_D(a_D) = \log a_D! - a_D\cdot\log(\Omega/g) with \Omega = e^{\ell(d)}\cdot2\pi/\mathrm{rd}_E, and Ask_main(D) = a_D(\log a_D - 1 - \ell(d) - \overline{w}), so the difference is \log a_D! - a_D \log a_D + a_D + a_D(G + \overline{w}), and step 3 applies.

    Lean statesD.jetSize D.a - D.mainAsk ≤ D.a * (w + G) + (1 + log D.a / 2)

    Usesstep 1, step 2, step 3, Data.jetSize unit 152, Data.mainAsk unit 151, Parameters.bigOmega unit 152

  5. The level: m_D\cdot(\overline{w} + G) - (G + (15/2)\cdot\log b_D) \le \log N_D, because the left side is \lambda_D = Data.logLevelTarget and \lambda_D \le \log N_D (Data.log_N_mem_window).

    Lean statesD.m * (w + G) - (G + 15 / 2 * D.logB) ≤ log D.N

    Usesstep 1, step 2, Data.log_N_mem_window unit 141, Data.logLevelTarget unit 141

  6. 6deduction4 steps insidelines 62–70

    h_{0}(D) \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \mathcal{B}(D), by the following chain.

    1. 6.1identitylines 62–65

      h_{0}(D) = h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \#\operatorname{tops}(D)\cdot(m_D\cdot(\mathrm{jetSize}_D(a_D) - Ask_main(D)) - a_D\cdot\log N_D): unfold h_{0}, h_{\mathrm{main}} = m\cdot k\cdot\mathsf{U} and \operatorname{rem} = \sum_{\tau} (\operatorname{Ask}(D, a_D, \tau) - Ask_main(D)), and rearrange.

      UsesData.heightPerRow unit 145, Data.mainHeight unit 151, Data.remainder unit 151

    2. 6.2deductionlines 66–67

      \ldots \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \#\operatorname{tops}(D)\cdot(m_D\cdot(a_D(\overline{w} + G) + (1 + \log a_D/2)) - a_D\cdot(m_D(\overline{w} + G) - (G + (15/2)\log b_D))), by steps 4 and 5 (all factors are non-negative).

      Usesstep 4, step 5

    3. 6.3identityline 69

      \ldots = h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \#\operatorname{tops}(D)\cdot(m_D\cdot(1 + \log a_D/2) + a_D\cdot(G + (15/2)\cdot\log b_D)): the terms m_D\cdot a_D\cdot(\overline{w} + G) cancel.

    4. 6.4deductionline 70

      \ldots \le h_{\mathrm{main}}(D) - m_D\cdot\operatorname{rem}(D) + \mathcal{B}(D), by the size comparison (Data.le_of_hasLogBound): \#\operatorname{tops}(D)\cdot(m_D(1 + \log a_D/2) + a_D(G + 7.5\cdot\log b_D)) \le f_D\cdot a_D\cdot(\log b_D)^{3}.

      UsesData.le_of_hasLogBound unit 152, Data.budget unit 152