Structured proof · Unit 147
lemma Data.triangleOrder_eq_mul_levelIndex
What it saysLet P be parameters, D admissible data and j a natural number. There is C \in \mathbb{C} such that for every m-fold twist \vartheta:
triangleOrder(D, false, \vartheta, j) = C\cdotlevelIndex(\vartheta, false, 0, j); the order of \mathrm{GL} over the residue ring of triangleModulus(false, \vartheta), of the rank of the node (0, j) of the grid V, is C times the index of the level nodeLevel(\vartheta, (false, 0, j)), with C independent of \vartheta.The argument in briefCount invertible matrices through the surjective reduction from O_E/\mathfrak{b}Q to O_E/MQ: the index of the level is a mean over the residue ring of \mathfrak{b}Q, and the reduction multiplies counts by a fixed power.
Take C =(|O_E/MQ (untwisted)| / |O_E/\mathfrak{b} (untwisted)|)^{|Y_j|^{2}}. For every \vartheta: the index of the level is the number of invertible |Y_j| \times |Y_j| matrices over O_E/\mathfrak{b}Q divided by \ldots (finite means,
finMean), the mean of the indicator of the units is unchanged when composed with the surjective reduction to O_E/MQ (finMean_comp_surjective, invertibility read on the determinant, the reduction being local), and the sizes of the residue rings factor over the places (card_𝔪).