Let $X$ be a smooth algebraic variety with $\varphi$ a regular function on $X$. Let $X_0=\varphi^{-1}(0)$ and suppose that $X_0\subset X$ is a reduced, singular subvariety. Let $\pi:\widetilde{X}\to X$ be a strong resolution of the pair $(X,X_0)$. Denote $\widetilde{X}_0=\pi^{-1}(X_0)$. Denote $\widetilde{\varphi}=\varphi\circ\pi$.
Since $\widetilde{X}$ is a strong resolution of the pair $(X,X_0)$ we have that $\widetilde{X}_0$ is a simple normal crossings divisor- this means that in a Zariski neighborhood of any point $p\in \widetilde{X}_0$, one may choose coordinates so that the divisor $\widetilde{X}_0$ looks like an intersection of coordinate hyperplanes. This all makes sense to me.
Here's where my confusion comes in. I have seen the following claim: there exists a coordinate system near $p$ such that $\widetilde{\varphi}$ is monomial, ie there exist an invertible $\alpha$, coordinates $x_1,\cdots,x_n$, and nonnegative integers $a_1,\cdots,a_n$ such that on a neighborhood of $p$, we have $$\widetilde{\varphi}=\alpha x_1^{a_1}\cdots x_n^{a_n}$$
It seems intuitively to me like the proof of this statement should be more or less a one-liner. Unfortunately, the source does not contain it, I can't find that argument elsewhere, and I can't think of any good arguments to prove this. The best I can do is to say the following:
Since $\widetilde{\varphi}$ vanishes on $\widetilde{X}_0$, it should be in $I(\widetilde{X}_0)$, which is locally principal, so I can write it as $\sum f_ig$ where $g$ is locally a generator of $I(\widetilde{X}_0)$. I can then collect terms... but this argument seems wrong (what about something like $x^2y+xy^2$, for instance?).
Why is the claim about $\widetilde{\varphi}$ being locally monomial true?
I figured this out after a while of sitting on it.
The solution I started to present need a little addition to it, but is largely correct. In the notation of the post,
Since $\widetilde{\varphi}$ vanishes on $\widetilde{X}_0$, it should be in $I(\widetilde{X}_0)$, which is locally principal, so I can write it as $\sum f_ig$ where $g$ is locally a generator of $I(\widetilde{X}_0)$. I can then collect terms to write the function as $h(x_1^{a_1}\cdots x_m^{a_m})$ where $a_i$ are maximal non-negative integers. Then $h$ cannot vanish on any subvarieties intersecting $\widetilde{X}_0$ by the stipulation that $V(\widetilde{\varphi})=\widetilde{X}_0$. So $h$ is locally a unit, and the proof is finished.