NLA-lib Explorer

NLAlib.forall_existsUnique_mul_sub_mul_eq_iff_disjoint_spectrum

Library · theorem

The Sylvester solvability criterion. Over an algebraically closed field, \mathbf{A}\mathbf{X}-\mathbf{X}\mathbf{B}=\mathbf{C} has a unique solution for every right-hand side \mathbf{C} exactly when the spectra of \mathbf{A} and \mathbf{B} are disjoint. The two matrix sizes may be different or zero. [HornJohnson2013, Theorem 2.4.4.1]. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, sylvesterLinearMap_bijective_iff_disjoint_spectrum, through unique solvability. Result: sylvester-equation

NLAlib.forall_existsUnique_mul_sub_mul_eq_iff_disjoint_spectrum.{u_1, u_2, u_3} {K : Type u_1}
  [Field K] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n]
  [IsAlgClosed K] (A : Matrix m m K) (B : Matrix n n K) :
  (∀ (C : Matrix m n K), ∃! X, A * X - X * B = C) ↔ Disjoint (spectrum K A) (spectrum K B)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SylvesterEquation.