Structured proof · Unit 141
lemma Grading.IsAdaptedAt.ideleLogVal_add_rev_nonpos
IsSplitSquarefree(P, N, \pi)). Assume (hg) that, if s is odd, for no n \in B_f and w \in P is (nx)^{-1}\cdot K_w(X)\cdot(nx) \subseteq K_w(V), i.e. some a \in maxCompactAt(X, w) has (nx)^{-1}\cdotinclXFin(a)\cdot(nx) \notin maxCompactAt(\iota, w). Then for every string index i and finite place w: ideleLogVal(\beta_i)_{w} + ideleLogVal(\beta_{s-1-i})_{\overline{w}} \le 0, i.e. \operatorname{ord}_w(\beta_i) + \operatorname{ord}_{\overline{w}}(\beta_{s-1-i}) \ge 0.exists_mem_besselFin) would put the conjugate of K_w(X) inside K_w(V), contradicting hg.For any adapted basis at a point with diagonal \beta and any string index i: \overline{\beta}_i\cdot\beta_{s-1-i}\cdot J(i, s-1-i) is integral (
gram_string_entry: the Gram matrix of a lattice basis in \mathrm{GL}(\hat{O}) is integral); J(i, s-1-i) is 1, or -N at the middle index.ideleLogVal(\pi)_{w} = -1 if w \in P and 0 otherwise (q).Lean states
ideleLogVal π w = ite (w ∈ P) (-1) 0ideleLogVal(\operatorname{conj}(\beta^{-1})_{a})_{w} = -ideleLogVal(\beta_a)_{\overline{w}}.Lean states
ideleLogVal (star β⁻¹ a) w = -ideleLogVal (β a) (star w)Let \gamma_a = \beta_a for a \le i and \gamma_a = \operatorname{conj}(\beta^{-1})_{s-1-a} for a > i.
Let d be the diagonal matrix with 1 on X and \gamma on the string.
d is an adapted basis of itself with diagonal \gamma.
Lean states
Y.IsAdaptedBasis d d γThere is y \in G_f(\iota) supported at \{w, \overline{w}\} with d = x_f\cdot y\cdot x at w (
atSplit: the w-component can be prescribed because \overline{w} \ne w).Lean states
∃ y ∈ supportedOn ι {w}, d.map (evalAt w) = (V.xFin * ↑(y * x)).map (evalAt w)Choose an adapted basis h' at y\cdot x, and argue by contraposition: assuming the inequality fails, we show the inclusion of maximal compacts that
hgexcludes.The diagonal of h' has the valuations of \gamma at w (
ideleLogVal_eq, as y\cdot x and d agree at w), those of \beta away from w and \overline{w} (y is supported there), and at \overline{w} is bounded by those of \gamma (ideleLogVal_le, an integrality at \overline{w}).Uses
Grading.unit 141,IsAdaptedBasis. ideleLogVal_eq Grading.unit 141, step 7, step 8IsAdaptedBasis. ideleLogVal_le So the first-half diagonals of h and h' have equal valuations, and
exists_mem_besselFingives k \in K_{0} with (y x)k x^{-1} \in B_f; take this element as n and w \in P. For a \inmaxCompactAt(X, w), the conjugate (nx)^{-1}\cdotinclXFin(a)\cdot(nx) is supported at w, \overline{w} (it is 1 elsewhere).and integral at w: it is k^{-1} times the conjugate of \operatorname{diag}(B, 1) by d^{-1}x_f times k, and the lattice of x at w is that of d, which is stable under \operatorname{diag}(B, 1) (B \in \mathrm{GL}(O_w)).