Suppose $S$ is a subring $R$ and R is free of finite rank as a module over $S$. Is there a Ring homomorphism from $R$ to $S$? The reason I ask is to prove that if S has invariable basis number(IBN) then R has IBN.
I know that since $R$ is free of finite rank there exists a module isomorphism $R\cong SxSx..xS$ for finite number of $S$. But I don't see how I can use that module isomorphism to generate a ring homomorphism.
Any ideas?
Edit: The accepted answer shows that there need not be a ring isomorphism. Hence, does anyone know how to prove the IBN statement?
What if $S= \mathbb Z$ and $R = \mathbb Z[i]$, the Gaussian integers?