grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 150

lemma Parameters.exists_isTightFrame

What it saysFor parameters P, an exponent s, a prime p with a p-adic place \iota_p \colon \mathbb{C} \to \mathbb{C}_p (instance), and natural numbers m, R with (d\cdot N_1)^6\cdot(R + 1) \le m: there are a finite type I, vectors v \colon I \to E and multiplicities c \colon I \to \mathbb{N} such that (v, c) is a tight frame of length m (IsTightFrame v c m: \alpha^{-1}v_i \in \hat{O} for all i and \sum_i c_i\cdot \Phi_\sigma(v_i)\cdot \operatorname{conj}(\Phi_\tau(v_i)) = m\cdot [\sigma = \tau] for all infinite places \sigma, \tau), R \le c_i for every i, and for some index i, |\iota_p(s_1\cdot \operatorname{conj}(\Phi_\tau(v_i)))|_p = 1 for every infinite place \tau(s_1 = \operatorname{periodFactor}(P, s)).
The argument in briefGlue two tight frames: the frame (\zeta^i)_{i<N} (N = N_1) of length N, and a frame (u_{l, j, k, i}) of length c built for each prime factor l of N from the primitive l-th root of unity a_l = \zeta^{r_l} and t = 1 - c_0 + nz (n = (d+1)/4, N \mid nz^2 + z + 1). Since \gcd(c, N) = 1 and m - R(c + N) \ge(N - 1)(c - 1), m - R(c+N) = A\cdot c + B\cdot N (Frobenius), and multiplicities A + R, B + R give length m (the length is the scalar of the weighted Gram identity, not a count of vectors). Integrality of \alpha^{-1}u uses \Phi_N'(\zeta)(\zeta^r - 1)M = N\cdot V. The unit index: the first candidate is the vector 1 = \zeta^0; only if |\iota_p(s_1\cdot \operatorname{conj} \Phi_\tau(1))| \ne 1 for some \tau does the proof deduce p \mid N and take u_{p, 0, 1, 0}; the index chosen works for every \tau at the fixed (p, \iota_p).

30 steps, 28 of them leaves · New/Curve/TightFrameExists.lean, lines 90–148 · in the notes: Theorem A, p. 2 of Theta functions of a CM elliptic curve: periods, tight frames, conjugates and divisibility of jets

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. Facts: c_0(1 - c_0) = n := (d + 1)/4 in \mathcal{O}_E; \zeta is a primitive N_1-th root of unity in \mathcal{O}_E; N_1 \ne 0; and (\zeta^i)_{i<N_1} with multiplicity 1 is a tight frame of length N_1 (isTightFrame_zeta_pow).

    UsesParameters.c₀InE_mul_one_sub unit 152, Parameters.isTightFrame_zeta_pow unit 150

  2. Abbreviations N = N_1 and n = (d + 1)/4.

  3. 3factline 97

    For every prime factor l of N choose r_l, M_l \le N, V_l with N = l\cdot r_l, (q \mid M_l \iff q \ne l) for the prime factors q of N, V_l \mid M_l and \Phi_N'(\zeta)(\zeta^{r_l} - 1)M_l = N\cdot V_l.

    UsesParameters.exists_cyclotomic_different_factor unit 150

  4. 4factline 98

    N divides n^N: every prime factor of N divides n (dvd_norm_c₀), and its exponent in N is at most N.

    Lean statesN ∣ n ^ N

    UsesParameters.dvd_norm_c₀ unit 152

  5. There is z < N with N \mid n\cdot z^2 + z + 1. The map y \mapsto n\cdot y^2 + y of \mathbb{Z}/N is injective: if n a^2 + a = n b^2 + b then (a - b)(n(a + b) + 1) = 0, and n(a + b) + 1 is a unit because n(a + b) is nilpotent ((n(a+b))^N = 0 by step 4). Being an injective self-map of a finite set it is surjective, so it takes the value -1.

    Lean states∃ z < N, N ∣ n * z ^ 2 + z + 1

    Usesstep 4, Finite.surjective_of_injective, IsNilpotent.isUnit_add_one

  6. 6setupline 103

    Put t = 1 - c_0 + n\cdot z \in \mathcal{O}_E.

  7. 7setupline 104

    Put c = \sum_l (N + M_l\cdot(1 + 2n(z + l\cdot M_l\cdot e))), the sum over the prime factors l of N (e from step 5: n z^2 + z + 1 = N e).

  8. R(c + N) + (N - 1)(c - 1) \le m: bounding c from above (each M_l and l by N, z < N, N\cdot e = n z^2 + z + 1, n + 2 \le d, at most N + 1 prime factors) gives R(c + N) + (N - 1)(c - 1) \le(d\cdot N)^6\cdot(R + 1), which is \le m by hypothesis.

    UsesParameters.lt_d unit 152

  9. There are natural numbers B, A with B\cdot N + A\cdot c = m - R(c + N) (the coin problem: \gcd(N, c) = 1 and (N - 1)(c - 1) \le m - R(c + N), step 8). Coprimality: for a prime p \mid N, modulo p every summand of c with l \ne p vanishes (p \mid N, p \mid M_l), and the summand for l = p is \equiv M_p \not\equiv 0 (p \nmid M_p, p \mid n).

    Usesstep 8, step 3, Parameters.dvd_norm_c₀ unit 152, Nat.exists_add_mul_eq_of_gcd_dvd_of_mul_pred_le

  10. 10setupline 113

    Put a_l = \zeta^{r_l}, a primitive l-th root of unity.

  11. Define the vectors u_{l, j, k, i} = \zeta^j\cdot(0^k\cdot a_l^i + t\cdot M_l/N\cdot(a_l^i - a_l^k)) for j < r_l, k < l, i < l (0^k = 1 \text{ if } k = 0, else 0).

  12. 12constructionlines 116–117

    Take I = (indices of u) \sqcup (indices i < N of \zeta^i), v = u on the left and \zeta^i on the right, multiplicities A + R on the left and B + R on the right. R \le c_i is immediate. The unit index, by cases: if |\iota_p(s_1\cdot \operatorname{conj} \Phi_\tau(1))| = 1 for every \tau, the index of \zeta^0 = 1 (on the right) serves; otherwise (hypothesis h of step 14) the vector u_{p, 0, 1, 0} serves. Remaining: the frame identity, that second case, and the integrality of \alpha^{-1}u_{l, j, k, i} at every finite place v.

    Usesstep 9, step 11

  13. 13deduction7 steps insidelines 118–130

    The frame identity: \sum (multiplicity)\cdot \Phi_\sigma(v)\cdot \operatorname{conj} \Phi_\tau(v) = m\cdot [\sigma = \tau].

    1. 13.1deductionline 118

      The \zeta-part contributes (B + R)\cdot N\cdot [\sigma = \tau] (step 1); what remains is the u-part.

      Usesstep 1

    2. 13.2reductionlines 119–120

      Split the u-sum over the prime factors l; it suffices that for each l the sum over (j, k, i) is [\sigma = \tau]\cdot(N + M_l(1 + 2n(z + l M_l e))); then the total is (A + R)c + (B + R)N = m when \sigma = \tau (step 9) and 0 otherwise.

      Usesstep 9, step 7

    3. 13.3factline 121

      l is prime.

    4. 13.4factline 122

      \sum_{i<l} a_l^i = 0, a_l being a primitive l-th root of unity, l > 1.

      UsesIsPrimitiveRoot.geom_sum_eq_zero

    5. 13.5deductionlines 123–126

      Collect the relations used below, applied through \Phi_\sigma, \Phi_\tau and conjugation: c_0(1 - c_0) = n, n z^2 + z + 1 = N e, \overline{c}_0 = 1 - c_0 (star_c₀InE), the frame identity of (a_l^i) with the \zeta^j (from step 1 with N = l\cdot r_l), and the vanishing geometric sums of step 13.4.

      Usesstep 1, step 13.4, Parameters.star_c₀InE unit 152

    6. 13.6computationlines 127–129

      Expand \sum_{j, k, i} \Phi_\sigma(u)\cdot \operatorname{conj} \Phi_\tau(u) by distributing over the sums in j, k, i.

    7. 13.7computationline 130

      In each case \sigma = \tau and \sigma \ne \tau the expanded sum equals the required value: a polynomial identity in the collected relations, found by a Gröbner basis computation (grobner).

      Usesstep 13.5

  14. 14deduction6 steps insidelines 131–139

    The unit vector: if some \tau has |\iota_p(s_1\cdot \operatorname{conj} \Phi_\tau(1))| \ne 1 (hypothesis h), the vector u_{p, 0, 1, 0} works.

    1. 14.1deductionline 131

      p is a prime factor of N: otherwise |\iota_p(s_1)| = 1 (norm_iota_periodFactor_eq_one), against h.

      UsesParameters.norm_iota_periodFactor_eq_one unit 150

    2. 14.2witnessline 132

      Take the index (l = p, j = 0, k = 1, i = 0); u_{p, 0, 1, 0} = t\cdot M_p/N\cdot(1 - a_p).

    3. 14.3deductionline 133

      Rewrite h and the goal (at a given \tau) with norm_iota_periodFactor \tau and adeleExtension_alpha: h gives that c_0 lies in the prime \mathfrak{P} of E induced by x \mapsto \iota_p(\Phi_\tau(\overline{x})) (otherwise the \alpha-component is 1 and |\iota_p(s_1)| = 1), and there the \alpha-component is the inverse of the image of P'(\zeta).

      UsesParameters.norm_iota_periodFactor unit 150

    4. 14.4computationlines 134–135

      Rewrite the goal as |\iota_p(\Phi_\tau(\operatorname{conj}(P'(\zeta)\cdot u_{p, 0, 1, 0})))| = 1: the norm of the image of one element of E under x \mapsto \iota_p(\Phi_\tau(\overline{x})).

    5. 14.5deductionlines 136–138

      That integer is -t\cdot V_p; its image has norm \le 1 (norm_ringOfIntegers_le) and not < 1: otherwise -t\cdot V_p \in \mathfrak{P}; since c_0 \in \mathfrak{P} and p \mid n, t \equiv 1 mod \mathfrak{P}, so V_p \in \mathfrak{P}, hence M_p \in \mathfrak{P} (V_p \mid M_p) and p \mid M_p, against p \nmid M_p (step 3).

      Usesnorm_ringOfIntegers_le unit 92, step 3

    6. 14.6computationline 139

      The identity P'(\zeta)\cdot t\cdot M_p(1 - a_p)/N = -t\cdot V_p, from \Phi_N'(\zeta)(a_p - 1)M_p = N\cdot V_p.

      Usesstep 3

  15. Integrality of \alpha^{-1}u_{l, j, k, i} at a finite place v: write a_l^i - a_l^k = (a_l - 1)\cdot g with g \in \mathcal{O}_E, and c_0^N - (n\cdot(-z))^N = (c_0 + nz)\cdot w with w \in \mathcal{O}_E.

    Usessub_one_dvd_pow_sub_one, sub_dvd_pow_sub_pow

  16. For y \in \mathcal{O}_E: if N divides y\cdot t\cdot M_l\cdot(a_l - 1), say = N\cdot c, then v(y\cdot u_{l, j, k, i}) \le 1, because y\cdot u = \zeta^j\cdot(y\cdot 0^k\cdot a_l^i + c\cdot g) is an integer of E. (The written type ends at ≤ 1; the recorded typed_fact runs on into the pattern-matching alternative | ⟨c, _⟩ => of the have.)

    Lean states↑N ∣ y * t * (M l * (a l - 1)) → v.valuation _ (y * u ⟨l, j, k, i⟩) ≤ 1 | ⟨c, _⟩ =>

    Usesstep 15

  17. 17case-splitlines 146–148

    If c_0 \in v, then \alpha_v = 1/P'(\zeta) and step 16 with y = P'(\zeta) applies: P'(\zeta)\cdot t\cdot M_l(a_l - 1) = t\cdot N\cdot V_l. If c_0 \notin v, then \alpha_v = 1, c_0 is a unit at v, and step 16 with y = c_0^N applies: N divides c_0^N\cdot t, using c_0(1 - c_0) = n, N \mid n^N, N \mid nz^2 + z + 1 and step 15.

    Usesstep 16, step 3, step 4, step 5, step 15