Let $f:(A,\mathfrak{m}) \to (B,\mathfrak{n})$ be a local homomorphism of local rings (i.e. the image of the maximal ideal $\mathfrak{m}$ is contained in $\mathfrak{n}$). Suppose that
- $B$ is a local regular ring, i.e. $\dim B =\dim_{B/\mathfrak{n}} \mathfrak{n}/\mathfrak{n}^2$
- $f$ is surjective, and
- $\mathfrak{m}/\mathfrak{m}^2 =\mathfrak{n}/\mathfrak{n}^2$.
Does it necessarily follow that $f$ is an isomorphism?
I tried considering a system of parameters $x_1, \ldots, x_d$ of $B$, and then passing to dimensions: $$\dim B/(x_1, \ldots, x_d)= \dim B -d =\dim_{B/\mathfrak{n}} \mathfrak{n}/\mathfrak{n}^2 -d = \dim_{A/\mathfrak{m}} \mathfrak{m}/\mathfrak{m}^2 -d.$$ I have no idea if this argument yields something useful, but its the only thing that made sense considering the assumptions of the problem.