grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 152

lemma exists_data

What it saysExistence of admissible data. For parameters P and a real number \varepsilon with e0 : 0 < \varepsilon /6 and e1 : \varepsilon < 1/100: for all sufficiently large real x (eventually along atTop) there are admissible data D over P with x(D) = x, \log x_1(D) = x^{\varepsilon /6}, (10^{6}\cdot \log x)^{2} \le \log x_1(D), \log \log b(D) = \varepsilon \cdot \log x, and towerDeg(s(D))/\log b(D) \le \#\operatorname{thick}(D).
The argument in briefSubstitute x = e^X and work at a large real X (written x below), with W = e^{\varepsilon x/6}. Take m = 2^{o+1} \approx e^{x/2}, r = 3^{e+1} \approx e^{5x}, s = 22(o + 1), \mathit{logX} = x, \mathit{logX}_1 = W, \mathit{logB} = W^{6}. A weak Siegel–Walfisz theorem gives primes \equiv 1 \bmod M\omega (P, s)^{2} in every window of length W in [W, W^n]; h_K + 1 such primes split in K, and the class-group pigeonhole gives two, g_0 \ne g_1, with an integer \alpha of K of norm g_0g_1. Behrend's construction in \Phi \cong (\mathbb{Z}/N_1)^\times gives the \operatorname{thick} places. All size conditions are inequalities between powers of x, W and 2^n that hold for large x.

44 steps, 41 of them leaves · New/Data/DataExist.lean, lines 49–108 · in the notes: Theorem A, p. 1 of Admissible data: scales, ranks and sizes, and their existence Input 7, p. 11 of The main inequality, the bound for the primes, and the zero-free half-plane

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

    Fix a natural number n > \max (99\cdot N_0(P)\cdot d(P)/(\varepsilon /6), 6).

    Usesexists_nat_gt

  2. 2factline 53

    For every natural k, \exp ((\varepsilon /6)\cdot X)/X^k \to \infty as X \to \infty (\varepsilon /6 > 0 by e0).

    UsesReal.tendsto_exp_mul_div_rpow_atTop

  3. 3factline 54

    Hence for every natural k and real c, eventually \exp ((\varepsilon /6)\cdot X)/X^k \ge c.

    Usesstep 2, Filter.mem_atTop

  4. 4reductionline 55

    Since \exp maps atTop onto atTop, it suffices to prove, for all large real x, the statement at the point e^x: data D with x(D) = e^x, \log x_1(D) = (e^x)^{\varepsilon /6}, (10^{6}\cdot \log e^x)^{2} \le \log x_1(D), \log \log b(D) = \varepsilon \cdot \log e^x and towerDeg(s(D))/\log b(D) \le \#\operatorname{thick}(D). From here on x is the logarithm of the scale.

    UsesReal.map_exp_atTop, Filter.eventually_map

  5. For all large x at once, with W = e^{\varepsilon x/6}: (hg) the prime-window statement of exists_prime_modEq_one_log_mem for the modulus N_0(P)\cdot d(P) (divisible by 4) and the exponent n, at the point W: for every k > 1 with (N_0(P)\cdot d(P))^k \le W^n and every U \in [W, W^n] there is a prime p \equiv 1 \bmod (N_0(P)\cdot d(P))^k with U \le \log p \le U + W; (h3) W/x^{2} \ge 10^{12}; (hL) W/x^{n+1} \ge (8019\cdot N_0(P) + 2)\cdot 10368^n; (lx) x \ge 1; (h5) W \ge 2\cdot h_K + 10^{6}, h_K the class number of K; (x0) x > 0; x \ge 2; (hf) W \ge \exp (10^{12}\cdot c(P)); (hC) W/x \ge 8019\cdot 2^n\cdot n.

    Usesstep 3, exists_prime_modEq_one_log_mem unit 126, Parameters.c unit 152, Parameters.K unit 152, Filter.mem_atTop, Filter.Ioi_mem_atTop

  6. 6computationline 60

    Normalise these facts and the goal: real powers with natural exponents, denominators cleared, (e^x)^{\varepsilon /6} = e^{x\cdot \varepsilon /6}.

    Usesstep 5

  7. 7factline 61

    (N) For reals X \ge 1 and Y > 1 there is a natural number q with Y^q \le X < Y^{q+1}.

    Usesexists_nat_pow_near

  8. 8setupline 62

    From the choice of n: 99\cdot N_0(P)\cdot d(P) < n\cdot \varepsilon /6 and 6 < n. Take o with 2^o \le e^{x/2} < 2^{o+1} (m1, m2) and e with 3^e \le e^{5x} < 3^{e+1} (r1, r2); m = 2^{o+1} and r = 3^{e+1} will be the ranks.

    Usesstep 1, step 7

  9. 9setupline 63

    Put s = 22\cdot (o + 1).

  10. 10factline 64

    s8 : s \le 32x, since o\cdot \log 2 \le x/2 (from 2^o \le e^{x/2}), \log 2 > 0.6931471803 and x \ge 2.

    Lean statess ≤ 32 * x

    Usesstep 8, step 9, Real.log_two_gt_d9

  11. 11factline 65

    W0 : W = \exp ((\varepsilon /6)\cdot x) > 0.

    UsesReal.exp_pos

  12. Choose k with (2^n)^k \le 2^s/W < (2^n)^{k+1} (k1, k2), by N: 2^s/W \ge 1 because W = e^{\varepsilon x/6} \le e^{x/2} < 2^{o+1} \le (2^{o+1})^{22} = 2^s (\varepsilon < 1/100), and 2^n > 1.

    Usesstep 7, step 8, step 11, le_self_pow₀

  13. 13setupline 68

    Name W = \exp ((\varepsilon /6)\cdot x).

  14. 14factline 69

    (Y) W^i \le W^j for natural numbers i \le j, since W \ge 1.

    Lean statesW ^ i ≤ W ^ j

    Usesstep 13

  15. s6 : (N_0(P)\cdot d(P))^{2(s+6)} \le W^n, by comparing logarithms: 2(s + 6)\cdot \log (N_0(P)\cdot d(P)) \le 2(32x + 6)\cdot N_0(P)\cdot d(P) \le 99\cdot N_0(P)\cdot d(P)\cdot x < n\cdot (\varepsilon /6)\cdot x = n\cdot \log W (\log y \le y, s \le 32x, x \ge 2).

    Usesstep 8, step 10, step 11, Real.pow_le_of_le_log, Real.log_le_self

  16. 16factline 72

    s5 : 2^s \le W^n, since 2^s \le (N_0(P)\cdot d(P))^{2(s+6)} (N_0(P)\cdot d(P) \ge 2, as d(P) > 64) and s6.

    Lean states2 ^ s ≤ W ^ n

    Usesstep 15, Parameters.lt_d unit 152

  17. 17deductionline 73

    Apply hg with the exponent 2(s + 6) > 1 and s6: for every U \in [W, W^n] there is a prime p \equiv 1 \bmod (N_0(P)\cdot d(P))^{2(s+6)} with \log p \in [U, U + W]; and w2 : W^{2} \le W^{6}.

    Usesstep 5, step 14, step 15

  18. 18computationline 74

    Rewrite (N_0(P)\cdot d(P))^{(s+6)\cdot 2} = ((N_0(P)\cdot d(P))^{s+6})^{2} = M\omega (P, s)^{2} in hg, and k2 as 2^s < (2^n)^{k+1}\cdot W.

    Usesstep 12, step 17

  19. 19setup2 steps insidelines 75–77

    For every i \in \{0, \ldots , h_K\} choose a prime p_i \equiv 1 \bmod M\omega (P, s)^{2} (hp, hm) with 10W^{6} + 2iW \le \log p_i \le 10W^{6} + (2i + 1)W (l, u), together with i1 : 0 \le i\cdot W ∧ 2(i + 1)\cdot W \le W^{2}.

    Usesstep 17, step 18

    1. 0 \le i\cdot W and (i + 1)\cdot W\cdot 2 \le W^{2}, since i \le h_K and W \ge 2h_K + 10^{6} (h5).

      Lean states0 ≤ i * W ∧ (i + 1) * W * 2

      Usesstep 5

    2. 19.2deductionlines 76–77

      The window start U = 10W^{6} + 2iW lies in [W, W^n] (U \le 10W^{6} + W^{2} \le 11W^{6} \le W^{7} \le W^n as n \ge 7, W \ge 10^{6}), so hg gives the prime p_i.

      Usesstep 19.1, step 14, step 17

  20. 20factline 78

    hN : p_i \equiv 1 \bmod N_1(P, s)\cdot d(P), because N_1(P, s)\cdot d(P) divides M\omega (P, s) and hence M\omega (P, s)^{2}.

    Usesstep 19, Parameters.N₁_mul_d_dvd_M_omega unit 152, Nat.ModEq.of_dvd, Dvd.dvd.pow

  21. For each i choose finite places I_i, J_i of K above p_i with q(I_i) = q(J_i) = p_i and (p_i) = I_i\cdot J_i (nI, nJ, eJ): a place w of K above p_i has norm p_i, because chiK(d(P))(p_i) = 1 (p_i \equiv 1 \bmod N_1(P, s)\cdot d(P), chiK_eq_one_of_modEq_one) and q_eq_iff_legendreSym_ne_neg_one; so the inert case of prime_inert_or_eq_mul (norm p_i^{2}) is excluded and p_i splits as w\cdot J.

    Usesstep 20, FinPlace.exists_natCast_mem unit 106, QuadField.prime_inert_or_eq_mul unit 106, QuadField.q_eq_iff_legendreSym_ne_neg_one unit 106, Parameters.chiK_eq_one_of_modEq_one unit 152

  22. 22deductionline 83

    Pigeonhole in the class group (exists_mul_principal, each I_i\cdot J_i = (p_i) being principal): indices i \ne j and \alpha \in \mathcal{O}_K with I_i\cdot J_j = (\alpha ).

    Usesstep 21, exists_mul_principal unit 152

  23. 23setupline 84

    Put M = N_0(P)\cdot 3^{\lfloor \log _3 s\rfloor +5}.

  24. 24factline 85

    For every m' and every proof of m' \mid N_1(P, s), the class of placeOfInt(P, s, M + 1) in (\mathbb{Z}/m')^\times is M + 1 (placeClass_placeOfInt, as M + 1 \equiv 1 \bmod N_0(P) is prime to N_0(P)).

    Usesstep 23, Parameters.placeClass_placeOfInt unit 152, Parameters.placeOfInt unit 152

  25. 25deduction3 steps insidelines 86–91

    Behrend's construction (exists_three_term_free) for \varphi = placeClass(P, h_2) : \Phi (P, s) \to (\mathbb{Z}/2^{s+1})^\times (h_2 = two_pow_dvd_N₁), c = placeOfInt(P, s, -1), g = placeOfInt(P, s, M + 1), dimension n, side 2^k and L = 324\cdot s > 0 gives T \subseteq \Phi (P, s) with every \sigma \in T of the form placeOfInt(P, s, -1)\cdotplaceOfInt(P, s, M + 1)^e (t1), \#T \ge (2^k)^n/(n\cdot (2^k)^{2}) (t2) and the three-term property for 0 < i < j \le 324s (t). Its hypothesis (324s\cdot 2^k)^n \le orderOf(\varphi (g)) follows by cancelling the positive factor (M + 1) + 1 from (M + 2)\cdot (324s\cdot 2^k)^n \le 2^s \le (M + 2)\cdotorderOf(\varphi (g)).

    Usesexists_three_term_free unit 152, Parameters.placeClass unit 152, Parameters.two_pow_dvd_N₁ unit 152, Parameters.placeOfInt unit 152, le_of_mul_le_mul_left

    1. 25.1computationlines 87–89

      (M + 2)\cdot (324s\cdot 2^k)^n \le 2^s: M = N_0(P)\cdot 3^{\lfloor \log _3 s\rfloor }\cdot 3^{5} \le 243\cdot N_0(P)\cdot (s + 1) (3^{\lfloor \log _3 s\rfloor } \le s + 1), s + 1 \le 33x and s \le 32x, so (M + 2)(324s)^n \le (8019\cdot N_0(P)\cdot x + 2)\cdot (10368\cdot x)^n \le (8019\cdot N_0(P) + 2)\cdot 10368^n\cdot x^{n+1} \le W (hL, x \ge 1), and 2^{kn} \le 2^s/W (k1).

      Usesstep 5, step 10, step 12, step 23, Nat.pow_log_le_add_one

    2. 2^s \le (|M + 1| + 1)\cdotorderOf(\varphi (g)): the class of g = placeOfInt(P, s, M + 1) modulo 2^{s+1} is M + 1 (24), |M + 1| > 1, and (M + 1)^{\operatorname{orderOf}(\varphi g)} \equiv 1 \bmod 2^{s+1}; then two_pow_le_of_pow_eq_one.

      Usesstep 24, two_pow_le_of_pow_eq_one unit 106, orderOf_pos, pow_orderOf_eq_one

    3. 25.3factline 91

      The cancelled factor |M + 1| + 1 is positive.

  26. 26witness5 steps insidelines 92–99

    Define the data: \mathit{logX} = x, \mathit{logB} = W^{6}, \mathit{logX}_1 = W, the exponent s, m = 2^{o+1}, r = 3^{e+1}, s_{\mathrm{le}} = s8, \operatorname{thick} = T, g = (p_i, p_j), piG = \alpha; m_{\mathrm{pow}} (m = 2^{o+1}, s = 22(o + 1)) and r_{\mathrm{pow}} (r = 3^{e+1}) hold by construction. The fields scale, m_{\mathrm{mem}}, r_{\mathrm{mem}}, g_{\mathrm{prime}}, g_modEq_one, norm_piG, exists_prime_window and the five claimed properties are left as goals.

    UsesData unit 152, step 8, step 9, step 10, step 13, step 19, step 22, step 25

    1. thick_eq_neg_one_mod: for m' \mid N_1(P, s) with m' \mid M and \sigma \in T, \sigma = placeOfInt(P, s, -1)\cdotplaceOfInt(P, s, M + 1)^e has class (-1)\cdot (M + 1)^e = -1 in (\mathbb{Z}/m')^\times, since M \equiv 0 \bmod m' (placeClass_placeOfInt for -1, ZMod.natCast_eq_zero_iff).

      Usesstep 24, step 25, Parameters.placeClass_placeOfInt unit 152, ZMod.natCast_eq_zero_iff

    2. 26.2factline 94

      three_term is t (from 25); g_{\mathrm{prime}} and g_modEq_one are left as goals; dvd_g_sub_one: M\omega (P, s)^{2} divides p - 1 for p = p_i, p_j, from p \equiv 1 \bmod M\omega (P, s)^{2}.

      Usesstep 19, step 25

    3. g_{\mathrm{injective}}: i \mapsto p_i is strictly increasing on \{0, \ldots , h_K\} (\log p_i \le 10W^{6} + (2i + 1)W < 10W^{6} + 2(i + 1)W \le \log p_{i+1}), hence injective, and the pair (i, j) has i \ne j.

      Usesstep 19, step 22, Fin.strictMono_iff_lt_succ, Real.log_lt_log_iff

    4. g_{\mathrm{mem}}: (e^{W^{6}})^{10} \le p \le (e^{W^{6}})^{11} for p = p_i, p_j, since \log p \in [10W^{6} + 2iW, 10W^{6} + (2i + 1)W] \subseteq [10W^{6}, 11W^{6}] ((2i + 1)W \le W^{2} \le W^{6}).

      Usesstep 17, step 19

    5. 26.5computationlines 98–99

      norm_piG, exists_prime_window and the five properties are left open; then on all open goals simp settles the lower bounds e^{x/2} \le 2^{o+1} and e^{5x} \le 3^{e+1} of m_{\mathrm{mem}} and r_{\mathrm{mem}} (m2, r2), g_{\mathrm{prime}} (hp), g_modEq_one (hN), and norm_piG: \alpha \cdot \operatorname{conj}(\alpha ) = N(\alpha O_K) = N(I_i\cdot J_j) = p_i\cdot p_j (absNorm_span_eq_mul_star, hα, nI, nJ).

      Usesstep 8, step 19, step 20, step 21, step 22, QuadField.absNorm_span_eq_mul_star unit 106

  27. 27computationline 100

    scale: with \log \mathit{logB} = \log W^{6} = \varepsilon x and \log \mathit{logX}_1 = \log W = \varepsilon x/6: 10^{12}\cdot c(P) \le \varepsilon x (hf), 100\cdot \varepsilon x \le x (\varepsilon < 1/100), 10^{6}\cdot x \le W (h3, x \ge 1), 10^{6}\cdot W \le W^{6} (w2, W \ge 10^{6}) and 6\cdot (\varepsilon x/6) \le \varepsilon x.

    Usesstep 5, step 17, step 26

  28. 28computationline 101

    The upper bounds of m_{\mathrm{mem}} and r_{\mathrm{mem}}: 2^{o+1} = 2\cdot 2^o \le 2e^{x/2} and 3^{e+1} = 3\cdot 3^e \le 3e^{5x} (m1, r1).

    Usesstep 8, step 26

  29. 29reductionline 102

    exists_prime_window: since W \le \sqrt{(W^{6})} (from W^{2} \le W^{6}), it suffices, for every U with 100\cdot W^{6} \le U \le 2^s, to find a prime p \equiv 1 \bmod M\omega (P, s)^{2} with \log p \in [U, U + W].

    Usesstep 17, step 26, Real.le_sqrt_of_sq_le

  30. 30deductionline 103

    That is hg, because W \le 100\cdot W^{6} \le U \le 2^s \le W^n (s5).

    Usesstep 16, step 17, step 29

  31. 31computationline 104

    The remaining properties apart from the last: (10^{6}\cdot x)^{2} \le W = \log x_1 (h3), and \log \log b = \log (W^{6}) = 6\cdot (\varepsilon /6)\cdot x = \varepsilon x.

    Usesstep 5, step 26

  32. 32reductionlines 105–106

    The last property towerDeg(s)/W^{6} \le \#T: by t2 it suffices to bound towerDeg(s)/W^{6} by (2^k)^n/(n\cdot (2^k)^{2}); towerDeg(s) = 3^{\lfloor \log _3 s\rfloor +5}\cdot 2^s \le 243\cdot (s + 1)\cdot 2^s, 2^s < (2^n)^{k+1}\cdot W (k2) and s \le 32x.

    Usesstep 10, step 18, step 25, towerDeg unit 152, Nat.pow_log_le_add_one

  33. 33computationline 107

    Clearing denominators, use 2^k < W — because (2^k)^n = (2^n)^k \le 2^s/W < W^n (k1, s5) — and x \ge 1.

    Usesstep 12, step 16, step 32, lt_of_pow_lt_pow_left₀

  34. 34computationline 108

    The resulting polynomial inequality follows from 8019\cdot 2^n\cdot n\cdot x \le W (hC) and W^{3} \le W^{5}.

    Usesstep 5, step 14, step 33