grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 147

lemma partner_block

What it saysLet n, a, b be finite index types, R a commutative ring, e : b \sqcup a \simeq n, \chi a multiplicative character of R and f any complex function on a \times b matrices over R. Cut an a \times n matrix x by e into column blocks x =(x_{1} | x_{2}) with x_{2} square (a \times a), and an n \times b matrix y into row blocks y =(y_{1} ; y_{2}) with y_{1} square (b \times b). Then the functions \Phi(x) = \chi^{-1}(\det x_{2})\cdot f(x_{2}^{-1}x_{1}) and \Psi(y) = \chi^{-1}(\det y_{1})\cdot f(-y_{2}y_{1}^{-1}) are partners for \chi over R with respect to e and the whole ring as O (IsPartner ⊤ e χ Φ Ψ): \Phi vanishes off the matrices invLastRows(e, k), \Psi off firstCols(e, k), k \in \mathrm{GL}_n(R), and \Phi(invLastRows(e, k)) = \chi(\det k)\cdot \Psi(firstCols(e, k)) for all k.
The argument in briefWitnesses: x = invLastRows(e, k) for k the block matrix (1 0; x_{1} x_{2})^{-1} and y = firstCols(e, k) for k =(y_{1} 0; y_{2} 1); the identity is Jacobi's complementary minors: \det x_{2}\cdot \det k = \det of the first block of k.

7 steps, 7 of them leaves · New/Exchange/BlockPartners.lean, lines 94–108 · in the notes: Lemma 3.8, p. 14 of Partner data, vanishing on standard data, and the exchange identity at the top of the tower

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1statementlines 96–97

    Not a step of the proof: lines 96–97 are the rest of the statement, which ends before the := on line 97 (a second-reader message). The line census takes the := of let y := on line 96 for the start of the value, so the check requires these lines to be owned here. They state: the second function of the pair, \Psi(y) = \chi^{-1}(\det y_{1})\cdot f(-y_{2}y_{1}^{-1}) with y cut by e into row blocks y_{1} (b \times b) and y_{2}; the assertion is IsPartner(\top, e, \chi, \Phi, \Psi) for this \Psi and \Phi(x) = \chi^{-1}(\det x_{2})\cdot f(x_{2}^{-1}x_{1}).

  2. Support of \Phi: where \Phi(x) \ne 0, x_{2} is invertible, and x = invLastRows(e, k) for k the reindexed inverse of the block matrix (1 0; x_{1} x_{2}); support of \Psi: where \Psi(y) \ne 0, y_{1} is invertible, and y = firstCols(e, k) for k the reindexed block matrix (y_{1} 0; y_{2} 1); for the identity it suffices to treat k \in \mathrm{GL}_n(R) reindexed by e.

  3. The membership and block identities for these witnesses hold by unfolding (\chi vanishes on non-units; the inverses of the block matrices).

  4. For k \in \mathrm{GL}_n(R): \det of the matrix stacking 1 above invLastRows(e, k), times \det k, equals \det of firstCols(e, k)'s first block (det_fromRows_invLastRows, Jacobi's complementary minors), and invLastRows(e, k)\cdotfirstCols(e, k) = 0 (invLastRows_mul_firstCols).

    Usesdet_fromRows_invLastRows unit 112, invLastRows_mul_firstCols unit 112

  5. Write invLastRows(e, k) by its column blocks and firstCols(e, k) by its row blocks.

  6. With these blocks, \det x_{2}\cdot \det k = \det y_{1} and x_{1}y_{1} + x_{2}y_{2} = 0, so \chi^{-1}(\det x_{2}) = \chi(\det k)\chi^{-1}(\det y_{1}) and x_{2}^{-1}x_{1} = -y_{2}y_{1}^{-1} when the blocks are invertible; both sides vanish otherwise.

    Usesstep 4, step 5

  7. The last identity x_{2}^{-1}x_{1} = -y_{2}y_{1}^{-1} from x_{1}y_{1} + x_{2}y_{2} = 0, cancelling the invertible x_{2}.

    Usesstep 6, Matrix.nonsing_inv_mul_cancel_left