Let $R$ be a (possibly non-commutative) unital ring and $M$ be a left $R$-module. If $M$ is finitely generated and projective, the natural map $$\iota:\mathrm{Hom}_R(M,R)\otimes_R M\to \mathrm{Hom}_R(M,M):f\otimes m \mapsto (m'\mapsto (f(m')m))$$ is an isomorphism and we can define the Hattori-Stallings trace by the composition $$\mathrm{Tr}:\mathrm{Hom}_R(M,M)\xrightarrow{\iota^{-1}}\mathrm{Hom}_R(M,R)\otimes_R M \xrightarrow{\mathrm{ev}} R/[R,R].$$ My first question is:
(1) Does $\mathrm{Tr}([f,g])=0$ hold for any $R$-module map $f,g:M\to M$?
If $M$ is further assumed to be free, this is true since we can take a free basis and directly compute it.
Next, assume $M$ to be a perfect module (i.e., there exists a finite-length projective resolution $P_\bullet \to M$ with each $P_n$ being finitely generated). In this case, we can presumably define the trace of $f:M\to M$ by taking a lift $f_\bullet:P_\bullet\to P_\bullet$ and setting $$\operatorname{Tr}(f) = \sum_i(-1)^i\operatorname{Tr}(f_i).$$
My second question is:
(2) How can we prove that this is well-defined? Or, are there any references?
This MO post claims that it is well-defined without any proof.
Thank you.
\mathrm{Tr}
and\operatorname{Tr}
don't always have the same effect, and in this case in particular the use of the former was the cause of a lack of proper horizontal spacing. $\endgroup$