NLA-lib Explorer

NLAlib.IsQZ.det_sub_X_smul

Library · theorem

This statement changed in the recorded rename: 2026-11-qz.

Affine determinant in QZ form. Suppose unitary \mathbf{Q},\mathbf{Z} reduce \mathbf{A},\mathbf{B} to upper triangular \mathbf{S},\mathbf{T}. As a polynomial in \mathbf{x}, \det(\mathbf{A}-\mathbf{x}\mathbf{B}) equals \det(\mathbf{Q})\det(\mathbf{Z}^{\mathsf{H}})\prod_i(s_{ii}-\mathbf{x} t_{ii}). Polynomial form of the triangularization in [MolerStewart1973, §1]. Result: generalized-schur-pencil-determinant

NLAlib.IsQZ.det_sub_X_smul.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  [DecidableEq n] [LinearOrder n] {Q Z A B : Matrix n n 𝕜} (h : IsQZ A B Q Z) :
  (A.map ⇑Polynomial.C - Polynomial.X • B.map ⇑Polynomial.C).det =
    Polynomial.C (Q.det * Zᴴ.det) *
      ∏ i, (Polynomial.C ((Qᴴ * A * Z) i i) - Polynomial.X * Polynomial.C ((Qᴴ * B * Z) i i))

Full source on GitHub

Import NLAlib.Matrix.Spectral.Congruence.