Question that I have after reading some of the answers to this question about the etymology of projective modules. It goes as follows:
Let $P$ be an $R$-module, $R$ being some arbitrary ring. Is it the case that if there exists a free $R$-module $M$ such that $P$ is isomorphic to a submodule $P'$ of $M$, and a surjective map $f: M \rightarrow P'$ such that $f^2 = f$, then $P$ is necessarily a projective $R$-module?
EDIT: I have come to learn that this indeed is the case, though I still could very much use a formal proof.