1 version of the statement of Two fiber product presentations of a small extension, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 1 , first version
Let $C$ be a commutative local ring with maximal ideal $\mathfrak m$ and residue field $k$. Suppose $0\ne e\in\mathfrak m$ and $\mathfrak m e=0$. Write $D=k[\varepsilon]/(\varepsilon^2)$, let $r:C\to k$ be reduction, let $j:k\to D$ be the constant inclusion, and let $d:D\to k$ send $\varepsilon$ to zero.
There are a commutative ring $P$ and homomorphisms $i:C\to P$, $p,\sigma:P\to C$, and $q:P\to D$ satisfying
$$pi=\sigma i=1_C,\qquad qi=jr.$$
The map $\operatorname{Spec}C\xrightarrow{\operatorname{Spec}\sigma}\operatorname{Spec}P$ is a surjective closed immersion. Both comparison homomorphisms
$$P\xrightarrow{(p,\sigma)}C\times_{C/(e)}C,\qquad P\xrightarrow{(p,q)}C\times_kD$$
are isomorphisms, where the first fiber product uses the quotient map on each copy of $C$, and the second uses $r$ and $d$.