Zulip Chat Archive

Stream: Is there code for X?

Topic: Cayley-Hamilton theorem


Andrew Yang (Jul 01 2022 at 02:26):

Do we have the following formulation of the Cayley-Hamilton theorem?

Let AA be a commutative ring, MM be a f.g. AA-module, II be an ideal of AA, and ϕEndA(M)\phi \in \operatorname{End}_A(M) such that ϕ(M)IM\phi(M) \subseteq I M.
Then there exists some nNn \in \mathbb{N} and aiIia_i \in I^i such that ϕn=aiϕn1++an=0 \phi^n = a_i \phi^{n-1} + \dots + a_n = 0.

I see that we have linear_algebra/matrix/charpoly/* that works for all commutative rings, but it is in terms of matrices, and I couldn't find the condition on the coefficients.

I also see that we have linear_algebra/matrix/to_lin that turns a linear map to a matrix, but it seems like it needs a basis rather than merely a spanning set.

Eric Wieser (Jul 01 2022 at 06:17):

Maybe docs#matrix.pow_eq_aeval_mod_charpoly?

Eric Wieser (Jul 01 2022 at 06:20):

docs#linear_map.pow_eq_aeval_mod_charpoly

Andrew Yang (Jul 01 2022 at 07:13):

I'm not sure how to apply them in this scenario? Plus, the latter theorem seems to only apply to free modules.

Eric Wieser (Jul 01 2022 at 07:31):

It looks like that entire file only covers free modules

Eric Wieser (Jul 01 2022 at 07:35):

I found your version referenced elsewhere (in "M7210 Lecture 37") as "Generalized Cayley-Hamilton; see Eisenbud, Commutative Algebra, p. 120"

Riccardo Brasca (Jul 01 2022 at 07:39):

This is more general than the usual Cayley-Hamilton theorem, and I don't think we have it.

Kevin Buzzard (Jul 01 2022 at 07:44):

This result is used in the Atiyah-Macdonald proof of Nakayama's Lemma so it might be worth checking our proof of that

Andrew Yang (Jul 01 2022 at 08:22):

The proof of Nakayama's lemma in mathlib doesn't seem to follow Atiyah-Macdonald.

Andrew Yang (Jul 03 2022 at 11:36):

So I was trying to assign matrices to linear maps, and I ended up with this picture

Given RR-modules MM, MM', both EndR(M)\operatorname{End}_R(M') and EndR(M)\operatorname{End}_R(M) acts on HomR(M,M)\operatorname{Hom}_R(M, M').
Now fix an fHomR(M,M)f \in \operatorname{Hom}_R(M, M'). We say that an element of EndR(M)\operatorname{End}_R(M') and an element of EndR(M)\operatorname{End}_R(M) are associated if they take ff to the same image.
Then the subset of either endomorphism rings that has associates are RR-subalgebras, and if ff is furthermore surjective, we obtain a RR-algebra homomorphism from the former to the latter, mapping a function to its (unique) associate.

Is there something standard or easier or more general behind this?

Kevin Buzzard (Jul 03 2022 at 11:54):

This looks to me like a statement in category theory

Kevin Buzzard (Jul 03 2022 at 11:54):

(that doesn't ring a bell with me)

Eric Wieser (Jul 03 2022 at 12:12):

Given RR-modules MM, MM', both EndR(M)\operatorname{End}_R(M') and EndR(M)\operatorname{End}_R(M) acts on HomR(M,M)\operatorname{Hom}_R(M, M').

Note that only the first of these is safe as a has_smul instance (and indeed, mathlib has it). We can't have both because of ambiguity when M=MM' = M

Kevin Buzzard (Jul 03 2022 at 12:15):

One acts on the left, the other on the right.

Eric Wieser (Jul 03 2022 at 12:21):

Which would you say is which, mathematically? Currently the action of End R M' has a left-action on M →ₗ[R] M', which sounds like it might be the reverse of what you'd expect

Kevin Buzzard (Jul 03 2022 at 12:26):

I am confused because mathematically that doesn't look true to me.

Kevin Buzzard (Jul 03 2022 at 12:28):

If ϕ:MM\phi:M\to M' and e,f:MMe,f:M'\to M' then (ϕe)f=ϕ(ef)(\phi\circ e)\circ f=\phi\circ(e\circ f). [edit: this doesn't typecheck]

Kevin Buzzard (Jul 03 2022 at 12:28):

oh oops I'm wrong

Kevin Buzzard (Jul 03 2022 at 12:28):

I've been doing too much category theory :-( (composition of functions is in the opposite direction there!)

Kevin Buzzard (Jul 03 2022 at 12:29):

yeah, it's definitely the reverse of what I'd expect before I put pen to paper :-)

Reid Barton (Jul 03 2022 at 12:34):

You mean you've been doing too much category_theory

Eric Wieser (Jul 03 2022 at 12:52):

I'm sure there is a reason why an action of mul_opposite (End R M) on M →ₗ[R] M' (aka the right action in question) is a bad idea, but it would at least be consistent with composition when M' = M. I'll see if I can construct the problematic case next week.


Last updated: Dec 20 2023 at 11:08 UTC