Let $f:C\rightarrow D$ be a chain map between chain complexes over a PID $R$. It's given that the chain map $H_q(f)$ is an isomorphism for every $q$ and that for every $q$, $C_q,D_q$ are free $R$-modules. Must $f$ be a chain equivalence ? If I recall correctly, this will be true if $R$ is assumed to be a field. I don't know about the general PID case though.
Thank you,
The answer is for chain complexes of free abelian groups. However the upshot is that there is a splitting $C_i=B_{i-1}\oplus Z_i$ because $B_{i-1}$ is free which holds in any pid. In fact if you should be able to prove the same for chain complexes of projective modules over a pid, since in this case submodules of projective modules are projective and you still have that splitting.
– shubhankar Nov 09 '20 at 20:07