Polynomials in intertwined endomorphisms #
A (semi)linear map f intertwining two endomorphisms g and g₂ intertwines every polynomial
in them: polynomial evaluation at g₂ after f agrees with f after evaluation at g, with the
coefficients transported along the ring homomorphism of f. This extends Mathlib's
Module.End.commute_pow_left_of_commute from powers to polynomials, and generalizes
Polynomial.aeval_comp_eq_comp_aeval from linear to semilinear maps.
Consequently a linear map intertwining two endomorphisms with coprime minimal polynomials is zero
(Module.End.eq_zero_of_comp_eq_of_isCoprime_minpoly): the minimal polynomial of the source
endomorphism kills it, while evaluated at the target endomorphism it is invertible.
A semilinear map intertwining two endomorphisms intertwines every polynomial in them, with coefficients transported along the ring homomorphism.
A linear map intertwining two endomorphisms with coprime minimal polynomials is zero.