grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 144

lemma det_interlacing_indicator

What it saysFor k \in \mathbb{N} and weakly decreasing x, y : Fin k \to \mathbb{R} (\mathit{hx}, \mathit{hy}): the determinant of the k\times k matrix whose (b, c) entry is 1 if y(c) < x(b) and 0 otherwise equals 1 if y(b) < x(b) for every b and x(c) \le y(b) whenever c = b + 1 (x_{1} > y_{1} \ge x_{2} > y_{2} \ge \cdots \ge x_k > y_k, interlacing), and 0 otherwise.
The argument in briefInduction on k. If y(0) < x(b+1) for some b, rows 0 and b + 1 are both all ones, so the determinant and the indicator (x(1) \le y(0) fails) vanish. Otherwise only the first entry of column 0 can be 1, and expanding along column 0 reduces to the tails.

5 steps, 3 of them leaves · New/TwistedHecke/InterlacingCone.lean, lines 27–36 · in the notes: Lemma 5.1, p. 16 of Elementary divisors of a Frobenius-twisted Hecke operator

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1induction2 steps insidelines 30–36

    Induction on k.

    1. 1.1caseline 31

      k = 0: the empty determinant is 1 and the condition is vacuous.

    2. 1.2case2 steps insidelines 32–36

      k + 1, with induction hypothesis \mathit{ih} for decreasing sequences of length k: distinguish whether y(0) < x(b+1) for some b.

      Usesexists_or_forall_not

      1. 1.2.1caselines 33–34

        If y(0) < x(b+1) for some b: rows 0 and b + 1 are equal (for every c, y(c) \le y(0) < x(b+1) \le x(0), so both entries are 1), hence the determinant is 0; and the condition fails, since x(1) \ge x(b+1) > y(0).

        UsesMatrix.det_zero_of_row_eq

      2. 1.2.2caselines 35–36

        Otherwise x(b+1) \le y(0) for every b: in column 0 only the entry at row 0 can be 1, so expanding along column 0 gives [y(0) < x(0)] times the determinant of the same kind for the tails (x(1..), y(1..)), which \mathit{ih} evaluates; the conditions match.

        UsesMatrix.det_succ_column_zero', Fin.sum_univ_succ, Fin.forall_fin_succ