Structured proof · Unit 154
lemma New.grh
DirichletLNonvanishingRightOfHalf holds: for every natural number q \ne 0 (instance NeZero q), every Dirichlet character \chi modulo q with complex values and every complex number \rho with 1/2 < \operatorname{Re} \rho, if \chi is not the principal character or \rho \ne 1, then L(\rho , \chi ) \ne 0 (Mathlib's DirichletCharacter.LFunction ).Let q be a natural number with q \ne 0 (instance), \chi a Dirichlet character modulo q, and \rho a complex number with 1/2 < \operatorname{Re} \rho (
hρ); assume \chi \ne 1 or \rho \ne 1 (pole) and L(\rho , \chi ) = 0 (zero). We derive a contradiction.Put \varepsilon := (\min (\operatorname{Re} \rho , 1) - 1/2)/51. As \operatorname{Re} \rho > 1/2: \varepsilon > 0, \varepsilon \le 1/102 < 1/100, and 8\varepsilon + 1/2 < \operatorname{Re} \rho (these inequalities are verified where they are used).
Let \chi ' be the character modulo N_0 := 18480\cdot q induced by \chi (change of level along q \mid 18480\cdot q). Then \tilde{L}(\rho , \chi ') = 0. If \chi \ne 1, then \chi ' \ne 1 and L(\rho , \chi ') = L(\rho , \chi )\cdot \prod _{p \mid N_0 \text\{ prime \}}(1 - \chi (p)p^{(-\rho )}) = 0. If \chi = 1, then \chi ' = 1, \rho \ne 1 by (pole), and \tilde{L}(\rho , \chi ') = (\rho - 1)\cdot L(\rho , \chi ') = (\rho - 1)\cdot L(\rho , \chi )\cdot \prod _{p \mid N_0 \text\{ prime \}}(1 - \chi (p)p^{(-\rho )}) = 0 (Mathlib's change-of-level formula, valid as \rho \ne 1).
Lean states
entireL (χ.changeLevel (dvd_mul_left q 18480)) ρ = 0Uses
entireLunit 106,DirichletCharacter.,LFunction_changeLevel DirichletCharacter.,changeLevel_eq_one_iff DirichletCharacter.LFunctionTrivChar₁ Apply the one-sided criterion
entireL_ne_zero_of_primeError_lewith modulus M = N_0 = 18480\cdot q, \beta = 8\varepsilon + 1/2 (> 1/2), the residue class a = 9240\cdot q - 1 = N_0/2 - 1 (a unit modulo N_0: (9240q - 1)^{2} = 18480q\cdot (4620q - 1) + 1 \equiv 1), the point \rho (\beta < \operatorname{Re} \rho ) and the character \chi ': it says \tilde{L}(\rho , \chi ') \ne 0, which contradicts step 1.2. It remains to show, for every prime d with d \equiv 9240q - 1 \bmod 18480q (hypothesis h): d \equiv 7 \bmod 8, N_0 is coprime to d, and R_{d,N_0}(x) \le x^{(\beta - 1)} for all large x.Usesstep 1.1, step 1.2,
entireL_ne_zero_of_primeError_leunit 151,IsUnit.,of_mul_eq_one ZMod.natCast_self Such a prime d gives parameters P = (N_0, d) = (18480q, d) (
Parameters.): 18480 \mid 18480q; d is prime; and d \equiv N_0/2 - 1 \bmod N_0 gives N_0 \mid 2(d + 1) and N_0 \nmid d + 1.mk Uses
Parametersunit 152,ZMod.,natCast_eq_zero_iff Nat.mul_dvd_mul_iff_right For these parameters: d =
P.\equiv 7 \bmod 8 (d Parameters.); N_0 is coprime to d, since N_1(P, 0) = N_0\cdotinstHeegD towerDeg(0) is (Parameters.); andcoprime_N₁_d eventually_primeError_le_rpowfor P and \varepsilon (0 < \varepsilon /6 and \varepsilon < 1/100) gives R_{d,N_0}(x) \le x^{(8\varepsilon + 1/2 - 1)} = x^{(\beta - 1)} for all large x.Usesstep 1.3.1, step 1.1,
Parameters.unit 152,instHeegD Parameters.unit 152,coprime_N₁_d eventually_primeError_le_rpowunit 154,Nat.Coprime. coprime_mul_right