NLA-lib Explorer

NLAlib.re_det_conjTranspose_mul_self_updateCol

Library · theorem

The Gram determinant after replacing a column. If column i of a matrix \mathbf{C} of full column rank is replaced by \mathbf{C}\mathbf{t} + \mathbf{d} with \mathbf{C}^{\mathsf{H}}\mathbf{d} = \mathbf{0}, the Gram determinant is multiplied by \lvert \mathbf{t}_i \rvert^2 + \|\mathbf{d}\|^2 \bigl((\mathbf{C}^{\mathsf{H}}\mathbf{C})^{-1}\bigr)_{i,i}\,. [GuEisenstat1996, Lemma 3.1].

NLAlib.re_det_conjTranspose_mul_self_updateCol.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {p : Type u_3} [Fintype m] [Fintype p] [DecidableEq p] {C : Matrix m p 𝕜}
  (hC : Function.Injective C.mulVec) (i : p) (t : p → 𝕜) {d : m → 𝕜} (hd : Cᴴ *ᵥ d = 0) :
  RCLike.re ((C.updateCol i (C *ᵥ t + d))ᴴ * C.updateCol i (C *ᵥ t + d)).det =
    RCLike.re (Cᴴ * C).det * (‖t i‖ ^ 2 + ‖WithLp.toLp 2 d‖ ^ 2 * RCLike.re ((Cᴴ * C)⁻¹ i i))

Full source on GitHub

Import NLAlib.Matrix.Factorizations.ColumnVolume.