[step:Define the regular part by subtracting the Green function from the fundamental solution]
Fix $y \in \Omega$. Let $\mathcal{L}^n$ denote $n$-dimensional [Lebesgue measure](/page/Lebesgue%20Measure). Define the punctured Euclidean space $\mathbb{R}^m_0 := \mathbb{R}^m \setminus \{0\}$ for each integer $m \geq 1$, and define the open unit ball $B(0,1) := \{z \in \mathbb{R}^n : |z| < 1\}$. Define the geometric constant
\begin{align*}
\omega_n := \mathcal{L}^n(B(0,1)).
\end{align*}
Let $\Phi: \mathbb{R}^n_0 \to \mathbb{R}$ be the fundamental solution of $-\Delta$. With this convention, for $n \geq 3$,
\begin{align*}
\Phi(z)=\frac{1}{n(n-2)\omega_n}|z|^{2-n}, \qquad z \in \mathbb{R}^n_0,
\end{align*}
and for $n=2$,
\begin{align*}
\Phi(z)=-\frac{1}{2\pi}\log |z|, \qquad z \in \mathbb{R}^2_0.
\end{align*}
Define the map $H_y: \Omega \setminus \{y\} \to \mathbb{R}$ by
\begin{align*}
H_y(x) := \Phi(x-y)-G(x,y).
\end{align*}
For $x \in \Omega \setminus \{y\}$ this definition is equivalent to
\begin{align*}
G(x,y)=\Phi(x-y)-H_y(x).
\end{align*}
The defining property of the Dirichlet Green function for $-\Delta$ is that, in the distributional sense on $\Omega$,
\begin{align*}
-\Delta_x G(\cdot,y)=\delta_y,
\end{align*}
where $\delta_y$ is the Dirac measure at $y$. The defining property of the fundamental solution is that
\begin{align*}
-\Delta_x \Phi(\cdot-y)=\delta_y
\end{align*}
in the distributional sense on $\Omega$. Since the Dirichlet Green function $G(\cdot,y)$ and the translated fundamental solution $\Phi(\cdot-y)$ are locally integrable on $\Omega$, their difference $H_y$ defines a distribution on all of $\Omega$. Therefore
\begin{align*}
-\Delta H_y = -\Delta \Phi(\cdot-y)+\Delta G(\cdot,y)=\delta_y-\delta_y=0.
\end{align*}
as distributions on $\Omega$.
By the distributional form of [interior smoothness of harmonic functions](/theorems/36), often called Weyl's lemma for harmonic distributions, $H_y$ has a representative, still denoted $H_y$, satisfying
\begin{align*}
H_y \in C^\infty(\Omega)
\end{align*}
and
\begin{align*}
\Delta H_y=0
\end{align*}
pointwise in $\Omega$. On $\Omega \setminus \{y\}$ this smooth representative agrees with the originally defined pointwise function $\Phi(\cdot-y)-G(\cdot,y)$: the two functions define the same distribution there, hence agree $\mathcal{L}^n$-a.e., and both sides are continuous on every [open set](/page/Open%20Set) compactly contained in $\Omega \setminus \{y\}$. Thus $H_y$ is harmonic in $\Omega$ and the identity $G(x,y)=\Phi(x-y)-H_y(x)$ remains valid for every $x \in \Omega \setminus \{y\}$.
[/step]