In the proof of the fact that "if $I$ is an ideal of the regular local ring $(R,m)$ such that $R/I$ is regular then $I$ can be generated by part of a minimal generating set of of $m$", I saw in a textbook that the author takes the dimension of regular ring $R/I$ equal to $t$. The projections $m→m ̅→m ̅/m ̅^2$ (of $R$-modules) induce a surjective homomorphism $f:m/m^2→m ̅/m ̅^2$ of $R/m$-vector spaces, with $\ker f=(I+m^2)/m^2$. Hence the dimension (over $R/m$) of $(I+m^2)/m^2$ is $d-t$. ... My questions are:
(1) What is the formula of $f$?
(2) Why the dim of $(I+m^2)/m^2$ is $d-t$?
Thanks in advance.