NLAlib.isCoprime_charpoly_iff_disjoint_spectrum_complexify
Library ยท theorem
The characteristic polynomials of real or complex matrices are coprime exactly when their complex spectra are disjoint. This transfers complex spectral separation to existsUnique_mul_sub_mul_eq_of_isCoprime_charpoly without duplicating the solver theorem. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, the transport step of existsUnique_real_sylvester_of_disjoint_complex_spectrum, over RCLike.
NLAlib.isCoprime_charpoly_iff_disjoint_spectrum_complexify.{u_2, u_3, u_4} {m : Type u_2}
{n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] {๐ : Type u_4} [RCLike ๐]
(A : Matrix m m ๐) (B : Matrix n n ๐) :
IsCoprime A.charpoly B.charpoly โ Disjoint (spectrum โ (complexify A)) (spectrum โ (complexify B))Import NLAlib.Matrix.Spectral.SylvesterEquation.