Structured proof · Unit 141
lemma Grading.exists_isAdaptedAt
What it saysFor a field E with a CM type, a grading Y of V (X plus a string of length s, norm N) and y \in G_f(\iota): there are b, \beta with
IsAdaptedAt(y)(b, \beta): every lattice x_f\cdot\hat{O}^{\iota} has an adapted basis.The argument in briefA primitive (Hermite) basis change of x_f\cdot y, block triangular for
flagOrder, is an adapted basis.x_f\cdot y is invertible, so by
IsValuationPair.(for (\mathbb{A}_f, \hat{O}) and the weightsexists_isPrimitiveMatrix_mul flagOrder) there is an invertible b, block upper triangular forflagOrder, with (x_f y)\cdot b primitive (H).Take \beta_i = b(e(i), e(i)): these diagonal entries are units, since (b\cdot b^{-1})_{ii} = b_{ii}(b^{-1})_{ii} = 1 (
mul_apply_string_of_blockTriangular); b is block triangular by H.The lattice condition follows from primitivity (
isPrimitiveMatrix_iff), the diagonal condition by definition.