NLA-lib Explorer

Matrix.finrank_ker_toBlock_eq_finrank_ker_inv_toBlock_not

Library · theorem

Headline of complementary-nullities (provisional)

Complementary nullities. For an invertible \mathbf{A} and sets of indices r (rows) and c (columns), the block of \mathbf{A} on rows r and columns c and the block of \mathbf{A}^{-1} on rows outside c and columns outside r have kernels of the same dimension. The blocks need not be square. [HornJohnson2013, §0.7.5]; here over any field. Result: complementary-nullities

Matrix.finrank_ker_toBlock_eq_finrank_ker_inv_toBlock_not.{u_1, u_4} {K : Type u_1} [Field K]
  {n : Type u_4} [Fintype n] [DecidableEq n] (A : Matrix n n K) (hA : IsUnit A) (r c : n → Prop)
  [DecidablePred r] [DecidablePred c] :
  Module.finrank K ↥(A.toBlock r c).mulVecLin.ker =
    Module.finrank K ↥(A⁻¹.toBlock (fun i ↦ ¬c i) fun i ↦ ¬r i).mulVecLin.ker

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.Rank.