Let $\phi : A \to B$ be a morphism of rings and let $f : X \to S$ be the corresponding morphism of schemes. let $\mathfrak{q}$ be a prime ideal of $A$ corresponding to a point $s$ of $S$.
Let $T = Spec(\mathscr{O}_{S,s}/\mathfrak{m}_s^n)$ be a thickening of $s$ (we have a natural morphism $T \to S$). I would like to understand $f^{-1}(T) = X \times_S T$ in terms of commutative algebra.
In this mathoverflow answer (https://mathoverflow.net/questions/86048/verifying-claims-in-the-proof-of-the-rigidity-lemma-mumford-git) they say that $f^{-1}(t)$ corresponds to the ideal $Q = \phi(\mathfrak{q})B$ of $B$ and I think they say that $f^{-1}(T)$ corresponds to $Q^n$ but i'm not to sure how to see this (and I feel they probably use some hypothesis on f).