[guided]In this step, the [test function](/page/Test%20Function) already fixed in the proof is a nonnegative function $\varphi\in C_c^\infty(\Omega_k)$, and its compact support is
\begin{align*}
K:=\operatorname{supp}\varphi\subset\Omega_k.
\end{align*}
We choose a relatively compact open set $V\subset\Omega_k$ with smooth boundary such that $K\subset V$. The obstacle is not [integration by parts](/theorems/2098) on a smooth domain; it is the fact that $r_p$ fails to be smooth on the [cut locus](/page/Cut%20Locus) $\operatorname{Cut}(p)$. The correct object is therefore the [distributional Laplacian](/page/Distributional%20Laplacian). Since $V$ stays away from $p$, the distance function $r_p$ is locally [semiconcave](/page/Semiconcavity) on $V$. Semiconcavity is the regularity input that replaces an ad hoc exhaustion of the cut locus: it implies that the distributional second derivatives, and hence $\Delta_g r_p$, are Radon measures on $V$.
We now apply the [distributional Hessian structure theorem for semiconcave distance functions](/page/Semiconcavity). The theorem requires a locally semiconcave distance function on a relatively compact open set away from the base point, together with the smooth radial region on which the distance function is classically smooth. These requirements hold here: $V$ is relatively compact, $V\subset M\setminus\{p\}$, the function $r_p|_V$ is locally semiconcave, and $r_p$ is smooth on $\mathcal{R}\cap V$ by the definition of $\mathcal{R}$. In the traced form needed here, the theorem states that the distributional Laplacian is the sum of the classical absolutely continuous density on the smooth radial region, a jump measure on the codimension-one part of the cut locus whose density is nonpositive, and any remaining singular measure; semiconcavity makes the total singular contribution nonpositive in the Radon-measure order. Hence the theorem gives
\begin{align*}
\Delta_g r_p
=
(\Delta_g r_p)_{\mathrm{reg}}\,d\operatorname{vol}_g+\mu_{\operatorname{Cut}}
\end{align*}
on $V$. Here $(\Delta_g r_p)_{\mathrm{reg}}$ is the density of the absolutely continuous part with respect to $d\operatorname{vol}_g$, and it agrees with the classical smooth Laplacian of $r_p$ on $\mathcal{R}\cap V$ for $d\operatorname{vol}_g$-almost every point. The measure $\mu_{\operatorname{Cut}}$ is the total singular contribution, is supported on $\operatorname{Cut}(p)\cap V$, and is nonpositive.
Why is the sign nonpositive? Let $\mathcal{H}_{g,n-1}$ denote the codimension-one [Hausdorff measure](/page/Hausdorff%20Measure) induced by the Riemannian distance $d_g$. At $\mathcal{H}_{g,n-1}$-almost every point of the cut locus where exactly two smooth sheets of the distance function meet, there are two one-sided metric gradients $\nabla r_p^+$ and $\nabla r_p^-$. If $\nu$ is the unit normal pointing from the minus side to the plus side, the jump contribution to the distributional Laplacian has density
\begin{align*}
g(\nabla r_p^- - \nabla r_p^+,\nu)
\end{align*}
with respect to $\mathcal{H}_{g,n-1}$ on that sheet. The semiconcavity of $r_p$ gives the monotonicity inequality
\begin{align*}
g(\nabla r_p^- - \nabla r_p^+,\nu)\leq 0,
\end{align*}
and the remaining singular part is also nonpositive in the Radon-measure sense. This is the precise form of the informal statement that the cut locus contributes no positive mass to $\Delta_g r_p$.
Therefore, for every nonnegative test function $\psi\in C_c^\infty(V)$,
\begin{align*}
(\Delta_g r_p)(\psi)
=
\int_{\mathcal{R}\cap V}\psi\,\Delta_g r_p\,d\operatorname{vol}_g+
\int_V \psi\,d\mu_{\operatorname{Cut}}
\leq
\int_{\mathcal{R}\cap V}\psi\,\Delta_g r_p\,d\operatorname{vol}_g.
\end{align*}
The distributional action on the left is
\begin{align*}
(\Delta_g r_p)(\psi)
:=
-\int_V g(\nabla r_p,\nabla\psi)\,d\operatorname{vol}_g,
\end{align*}
which is legitimate because $r_p\in W^{1,\infty}_{\mathrm{loc}}(V)$ and $\psi$ is smooth with compact support.[/guided]