grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 133

lemma sum_norm_lie_coordProj_sq

What it saysLet n be a finite index type, w : n \to \mathbb{Z} and X a complex n \times n matrix; put a = \sum_{j} | w_{j} | and, for t \in \mathbb{Z}, let P_{t} = coordProj( \{ i : t \le w_{i} \} ) be the diagonal projection onto the coordinates i with w_{i} \ge t. Then ( 1 ) \sum_{t = - a + 1}^{a} \lVert [ P_{t} , X ] \rVert^{2} = gapWeightedNormSq( w , X ), with the Frobenius norm and [ P , X ] = PX - XP, and ( 2 ) \sum_{t = - a + 1}^{a} \operatorname{tr} ( P_{t} \cdot X ) = \sum_{i} ( w_{i} + a ) \cdot X_{ii}.
The argument in briefEntrywise, [ P_{t} , X ]_{ij} = ( 1_{w_{i} \ge t} - 1_{w_{j} \ge t} ) X_{ij} and ( P_{tX} )_{ii} = 1_{w_{i} \ge t} X_{ii}; summing over t \in ( - a , a ] counts the integers t between w_{j} and w_{i} (giving | w_{i} - w_{j} |) and those in ( - a , w_{i} ] (giving w_{i} + a). (intro_lines 18–20 are not proof: they are the rest of the statement, lines 18–20 by the statement-boundary overlay of a second-reader message; the line census takes the := of letI a := for the start of the value.)

3 steps, 3 of them leaves · New/DiscreteSeries/GaussianShape.lean, lines 18–25 · in the notes: Lemma 5.1, p. 19 of Discrete series coefficients near the identity, Laplace's method for two coefficients, and Bessel functions with a peak

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1factline 21

    - a \le w_{i} \le a for every i, with a = \sum_{j} | w_{j} |.

    Usesneg_sum_abs_le_and_le_sum_abs unit 112

  2. 2computationlines 21–24

    Expand both identities entrywise: the Frobenius norm as \sum_{i , j} | \cdot |^{2} , [ P_{t} , X ]_{ij} = ( 1_{w_{i} \ge t} - 1_{w_{j} \ge t} ) \cdot X_{ij}, the trace as \sum_{i}; exchange the sums over t and over ( i , j ), and rewrite the inner sums over t as the numbers of integers t \in ( - a , a ] with exactly one of w_{i} \ge t, w_{j} \ge t (first identity) and with t \le w_{i} (second identity).

    UsescoordProj unit 112, frobenius_norm_sq_eq_sum unit 112

  3. 3computationline 25

    Both counts are evaluated using step 1: the integers t \in ( - a , a ] lying between \min ( w_{i} , w_{j} ) (exclusive) and \max ( w_{i} , w_{j} ) (inclusive) are | w_{i} - w_{j} | many, and those with t \le w_{i} are w_{i} + a many.

    Usesstep 1