Structured proof · Unit 145
lemma Data.diagramWeight_le_by_index
What it saysFor data D , j < m, an infinite place \tau and a row index i \in \mathbb{N}: the row length
diagramWeight(ranks of X_{j + 1} , \kappa)( \tau , i ) = \sum_{i < h < n_{j + 1}} \kappa ( \tau , h ) is at most (\kappa ( \tau , 1 ) if i = 0; w_{0} ( \tau ) if 0 < i < k; 0 otherwise) + ((b_{1} + b_{2} if i = 0 else 0) + h_{2}^{2}).The argument in briefBound each \kappa ( \tau , h ) by
κ_le and count.Sum the bounds over the range.
The result is at most the claimed bound, using ( n_{m} + 2 ) \cdot \mathsf{h} \le h_{2}^{2} (size of the data).