grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 151

lemma primeError_eq_sum

What it saysFor a prime d, a natural number M \ne 0, a natural number A and a real number z with 0 < z (u) and z \le A (h): R_{d,M}(z) = \sum_{\nu=1}^{A} \lambda_{d,M}(\nu)\cdot(A/\nu - A/z)^{+}/A - \log z/\varphi(M) - \operatorname{Re} G_{d,M}(1), where (t)^{+} = \max(t, 0).
The argument in briefThe truncated sum up to z equals the positive-part sum up to A \ge z.

2 steps, 2 of them leaves · New/Endgame/PrimeError.lean, lines 60–64 · in the notes: Lemma 4.3, p. 9 of From a one-sided bound for primes to a zero-free half-plane

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

    0 < A, as 0 < z \le A.

  2. 2identitylines 63–64

    Unfold R_{d,M}(z) = \sum_{\nu\le z} \lambda(\nu)/\nu - z^{-1}\sum_{\nu\le z} \lambda(\nu) - \log z/\varphi(M) - \operatorname{Re} G_{d,M}(1). The two sums agree term by term: for \nu \le \lfloor z\rfloor (\le A), \lambda(\nu)(A/\nu - A/z)^{+}/A = \lambda(\nu)(1/\nu - 1/z); for \lfloor z\rfloor < \nu \le A, \nu > z and (A/\nu - A/z)^{+} = 0.

    Usesstep 1, primeError unit 151, lambdaSum unit 151, Finset.sum_congr_of_eq_on_inter, Nat.le_floor_iff