NLA-lib Explorer

NLAlib.submatrix_sumCompl_eq_fromBlocks

Library · theorem

Deflation, block form: a matrix \mathbf{M} whose column i_0 is \alpha times a coordinate vector is block upper triangular for the splitting of the indices into i_0 and the others: reindexed by Equiv.sumCompl (· = i₀) it is \begin{\mathbf{b}matri\mathbf{x}} \alpha & \mathbf{r} \\ \mathbf{0} & \mathbf{M}' \end{\mathbf{b}matri\mathbf{x}} with \mathbf{M}' the matrix with the row and the column i_0 deleted. This is the step of every triangularisation by induction on the size, after a similarity has put an eigenvector in the column i_0.

NLAlib.submatrix_sumCompl_eq_fromBlocks.{u_1, u_4} {K : Type u_1} [Field K] {n : Type u_4}
  [DecidableEq n] {M : Matrix n n K} {i₀ : n} {α : K}
  (hcol : ∀ (i : n), M i i₀ = if i = i₀ then α else 0) :
  M.submatrix ⇑(Equiv.sumCompl fun x ↦ x = i₀) ⇑(Equiv.sumCompl fun x ↦ x = i₀) =
    fromBlocks (diagonal fun x ↦ α) (of fun i j ↦ M ↑i ↑j) 0 (M.submatrix Subtype.val Subtype.val)

Full source on GitHub

Import NLAlib.Matrix.Spectral.EigenvalueListing.