Structured proof · Unit 141
lemma IsSplitLevel.translateSum_eq_sum_name
translateSum(n, n', S, N, m), P^{S} = projOnFinPart(S), D = diagN(n, S), D' = diagN(m, P \setminus S), \mathbf{b}_z = lastColDatum(z) and \mathbf{c}_z = charDatum(z).Let j = \operatorname{idem}(P) and \varepsilon = \operatorname{idem}(S), the finite adeles equal to 1 on P, resp. S, and 0 elsewhere.
\varepsilon\cdot\overline{\varepsilon} = 0 and j + \overline{j} = \varepsilon + \overline{\varepsilon}: S is disjoint from \overline{S}, and P \cup \overline{P} = S \cup \overline{S} (both are the places dividing N).
Lean states
ε * star ε = 0 ∧ j + star j = ε + star εFor y \in (\mathbb{Z}/N)^{S} and x =
residueOverN(y): (\varepsilon + \overline{\varepsilon})x = x, (\varepsilon + \overline{\varepsilon})\overline{x} = \overline{x} and \overline{x}\cdot x = 0 (x is supported on S, \overline{x} on \overline{S}).Lean states
let x := residueOverN y; (ε + star ε) * x = x ∧ (ε + star ε) * star x = star x ∧ star x * x = 0It suffices to prove the identity after the injective map from the tensor product of the finite parts to the tensor product of the ambient spaces (flatness over \mathbb{C}).
Write the left side as the image under (\mathrm{name}_P \cdot applied to v) \otimes (\mathrm{name}_P \cdot applied to v') of \sum_{y} \mathrm{schrodingerAct}_P(-y/N in the last column)(box indicator) \otimes \mathrm{schrodingerAct}_P(-\overline{y}/N in the last row)(box indicator) (goal a), and that sum of tensors of functions as \sum_{z} of the tensors of the functions \mathbf{b}_z(\cdot D) and \mathbf{c}_z(D'\cdot) (goal b).
Goal a: the projection P^{S} is the mean over lattice translates above S \cup \overline{S}, i.e. the name of the box indicator (idempotent of S \cup \overline{S} = \varepsilon + \overline{\varepsilon}), and the Heisenberg translates of names are names of the translated (Schrödinger) functions (
name_schrodingerAct_boxIndicator).Goal b: tensors of functions are separated by point evaluations (
tensor_eq_zero_of_separating), so it suffices that both sides agree at every pair of matrices (T, R).Evaluate both sides at (T, R).
Let p = 1 + \varepsilon(N - 1), the adele equal to N on S and 1 elsewhere.
For a finite adele x: jx and j\overline{x} are integral iff \varepsilon x and \varepsilon\overline{x} are (P \cup \overline{P} = S \cup \overline{S}).
Lean states
j * x ∈ Ô E ∧ j * star x ∈ Ô E ↔ ε * x ∈ Ô E ∧ ε * star x ∈ Ô EFor adeles t, s there is b \in (\mathbb{Z}/N)^{S} such that for every y: j(t - y/N) and j(s - \overline{y}/N) are integral iff j(tp) and j((N + 1 - p)s) are integral and b = y (apply
exists_sub_residueOverN_mem_ifffor S to z = jt + \operatorname{conj}(js) and use step 10).Lean states
∃ b, ∀ y : S → ZMod N, j * (t - residueOverN y) ∈ Ô E ∧ j * (s - star (residueOverN y)) ∈ Ô E ↔ (j * (t * p) ∈ Ô E ∧ j * ((N + 1 - p) * s) ∈ Ô E) ∧ b = yUses
IsSplitLevel.unit 141, step 10exists_sub_residueOverN_mem_iff At P,
diagN(n, S) = \operatorname{diag}(1, \ldots, 1, p) anddiagN(m, P \setminus S) = \operatorname{diag}(1, \ldots, 1, N + 1 - p).Lean states
(diagN n S).1 = diagonal (evalPlaces P <| ite ·.isLeft 1 p) ∧ (diagN m (P \ S)).1 = diagonal (evalPlaces P <| ite ·.isLeft 1 (N + 1 - p))Simplify both sides at (T, R) with step 13 and the following facts.
\mathrm{evalPlaces}_P(x) is integral iff j\cdot x \in \hat{O}.
Lean states
∀ x, evalPlaces P x ∈ O ↔ j * x ∈ Ô EWith step 13, both sides at (T, R) become sums over y of products of integrality indicators and values of the additive character.
Specialise e at b and split the remaining case distinctions (the integrality conditions at y = b may fail, and then the term at b vanishes).
Name c the reduction of the relevant entry.
The two values of the additive character agree, since their arguments differ by an element of \hat{O} (
psi₀_congr): by e for each entry and byreduction_eq_iff_idem_mul_memfor u = \sum_{i} R(last, i)\cdot T(i, last).Rearrange the sums.
The remaining goals are closed by grind.