Structured proof · Unit 141
lemma inv_xFin_mulVec_mem_of_spansLattice
What it saysLet E be a CM field, V a hermitian space over E (indices n, signs s) with a grading Y presenting it as (n_{0} \sqcup \{\operatorname{pt}\}) plus a string of odd length q (
hs), such that Y.SpansLattice (a, \pi, u) (hL); let x : n_{0} \sqcup \{\operatorname{pt}\} \to \mathbb{A}_f with x_i \in \hat{O} for i \in n_{0} (h) and \overline{\pi}\cdot x_{pt} \in \hat{O} (h₁), c \in \hat{O} (h₂), and v the vector with v(e_Y(i)) = x(i) on n_{0} \sqcup \{\operatorname{pt}\} and, at the string index b, u\cdot(\pi^{-1}x_{pt} + c) if 2b + 1 = q (the middle index) and 0 otherwise (hv). Then (x_f^{-1}\cdot v)_{i} \in \hat{O} for every basis index i: v lies in the lattice spanned by the finite frame x_f of V.The argument in briefv = x_f\cdot k^{-1}\cdot w for an integral vector w, so x_f^{-1}v = k^{-1}w is integral.
By
hL, x_f = G\cdot k with G =gradedLatticeBasis(e_Y, a, \pi, u) and k \in \mathrm{GL}(\hat{O}).Rewrite v by the following identity.
v = x_f\cdot k^{-1}\cdot w, w the integral vector equal to x on n_{0}, to \overline{\pi}\cdot x_{pt} at \operatorname{pt}, to c at the middle string index and 0 at the other string indices (reindexed by e_Y): for odd q, G sends e_{pt} to e_{pt}/\overline{\pi} + u\cdot z/(\pi\overline{\pi}) and the middle vector z to u\cdot z, so G\cdot w = x + u(\pi^{-1}x_{pt} + c)z = v.
Lean states
v = V.xFin.1 *ᵥ k⁻¹ *ᵥ Subtype.val ∘ (((⟨_, h ·⟩) ⊕ᵥ fun _ ↦ ⟨_, h₁⟩) ⊕ᵥ (if 2 * ·.1 + 1 = q then ⟨_, h₂⟩ else 0)) ∘
Hence x_f^{-1}v = k^{-1}\cdot w is a sum of products of integral entries.