NLA-lib Explorer

NLAlib.forall_eq_zero_iff_disjoint_spectrum

Library · theorem

Over an algebraically closed field, \mathbf{A}\mathbf{X}=\mathbf{X}\mathbf{B} has only the zero solution exactly when the spectra of \mathbf{A} and \mathbf{B} are disjoint. The row and column index types may be empty. [HornJohnson2013, Theorem 2.4.4.1]. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, sylvesterLinearMap_injective_iff_disjoint_spectrum, through the equation interface.

NLAlib.forall_eq_zero_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) :
  (∀ (X : Matrix m n K), A * X = X * B → X = 0) ↔ Disjoint (spectrum K A) (spectrum K B)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SylvesterEquation.