Structured proof · Unit 150
lemma Parameters.exists_isTightFrame
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)).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).Uses
Parameters.unit 152,c₀InE_mul_one_sub Parameters.unit 150isTightFrame_zeta_pow Abbreviations N = N_1 and n = (d + 1)/4.
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.
N divides n^N: every prime factor of N divides n (
dvd_norm_c₀), and its exponent in N is at most N.Lean states
N ∣ n ^ NThere 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 + 1Usesstep 4,
Finite.,surjective_of_injective IsNilpotent.isUnit_add_one Put t = 1 - c_0 + n\cdot z \in \mathcal{O}_E.
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).
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.
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.unit 152,dvd_norm_c₀ Nat.exists_add_mul_eq_of_gcd_dvd_of_mul_pred_le Put a_l = \zeta^{r_l}, a primitive l-th root of unity.
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).
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.
The frame identity: \sum (multiplicity)\cdot \Phi_\sigma(v)\cdot \operatorname{conj} \Phi_\tau(v) = m\cdot [\sigma = \tau].
l is prime.
\sum_{i<l} a_l^i = 0, a_l being a primitive l-th root of unity, l > 1.
Uses
IsPrimitiveRoot.geom_sum_eq_zero 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.Expand \sum_{j, k, i} \Phi_\sigma(u)\cdot \operatorname{conj} \Phi_\tau(u) by distributing over the sums in j, k, i.
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.
p is a prime factor of N: otherwise |\iota_p(s_1)| = 1 (
norm_iota_periodFactor_eq_one), against h.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).
Rewrite h and the goal (at a given \tau) with
norm_iota_periodFactor\tau andadeleExtension_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).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})).
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).
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.
Uses
sub_one_dvd_pow_sub_one,sub_dvd_pow_sub_powFor 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 recordedtyped_factruns on into the pattern-matching alternative| ⟨c, _⟩ =>of thehave.)Lean states
↑N ∣ y * t * (M l * (a l - 1)) → v.valuation _ (y * u ⟨l, j, k, i⟩) ≤ 1 | ⟨c, _⟩ =>Usesstep 15
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.