Structured proof · Unit 151
lemma re_logDerivMean_one
chowlaSelbergConst d = \gamma - \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1\cdot\chi_d) (\gamma Euler's constant; 1\cdot\chi_d is the twist of the character modulo 1, i.e. the Legendre character modulo d, non-principal for odd d, so that then \ell(d) = \gamma - \operatorname{Re} L'/L(1, (\cdot/d))).Unfold G_{d,1}(1) and \ell(d): modulo 1 there is a single character, the trivial one, so \operatorname{Re} G_{d,1}(1) = \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1\cdot\chi_d) - \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1) - 1 (\varphi(1) = 1), and \ell(d) = \gamma - \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1\cdot\chi_d).
\widetilde{L}(\cdot, 1) for the trivial character modulo 1 is Mathlib's \zeta_{1} =
riemannZeta₁(\zeta_{1}(s) = 1 + (s - 1)\zeta_{0}(s), \zeta_{0} the completion at s = 1 of \zeta(s) - 1/(s - 1)): both functions are s \mapsto (s - 1)\zeta(s) for s \ne 1 — \widetilde{L} by its definition (Mathlib'sLFunctionTrivChar₁ 1, as L(s, 1) = \zeta(s) modulo 1), \zeta_{1} because \zeta(s) = (s - 1)^{-1}\zeta_{1}(s) for s \ne 1 — and both take the value 1 at s = 1 (\widetilde{L} the empty product \prod_{p\mid1}(1 - 1/p) = 1, \zeta_{1}(1) = 1).Lean states
@entireL 1 _ 1 = riemannZeta₁Uses
entireLunit 106,riemannZeta₁,riemannZeta_eq_inv_sub_mul,riemannZeta₁_one,DirichletCharacter.LFunctionTrivChar₁ With \widetilde{L}'/\widetilde{L}(1, 1) = \zeta_{1}'(1)/\zeta_{1}(1) = \gamma/1 = \gamma (\zeta_{1}(1) = 1 and \zeta_{1}'(1) = \gamma are the simp lemmas
riemannZeta₁_oneandderiv_riemannZeta₁_oneof Mathlib at the pin,ZetaAsymp.572 and 599, which the simp call of step 1 uses), \operatorname{Re} G_{d,1}(1) = \operatorname{Re} \widetilde{L}'/\widetilde{L}(1, 1\cdot\chi_d) - \gamma - 1 = -1 - \ell(d), by ring arithmetic.lean Usesstep 1.1,
riemannZeta₁,riemannZeta₁_one,deriv_riemannZeta₁_one