Show that $f=g$ almost everywhere on $\mathbb{R}^n$. Let $f$ and $g$ be complex-valued locally integrable functions on $\mathbb{R}^n$. Let $T_f$ and $T_g$ be the distributions associated with $f$ and $g$, respectively. Assume that $T_f$ and $T_g$ are identical as distributions, i.e., $\langle T_f,\phi\rangle=\langle T_g,\phi\rangle$ for all $\phi\in\mathscr{D}(\mathbb{R}^n)$. Then can we say that $f=g$ almost everywhere on $\mathbb{R}^n$ ?
My Intuition :
We should proceed via contradiction. Suppose that there exists a measurable set $E\subset\mathbb{R}^n$ such that $m(E)>0$ and $f-g\not=0$ on $E$. Now I don't know how to go further.
 A: Let's prove that $f=g$ almost everywhere, i.e that $h:= f-g$ is equal to $0$ almost everywhere.
First, note that you have $\int_{\mathbb R^n}h\phi =0$ for all $\phi\in\mathcal C_0^\infty$ by hypothesis.
Next, let $\phi\in\mathcal C_0^\infty$ be supported on the unit ball centered at the origin, and such that $\int_{\mathbb R^n}\phi = 1 $. We can write for all $x\in\mathbb R^n$ and $r>0$ ($\mu$ is the Lebesgue measure) :
$$\begin{align}
h(x)&=h(x)\cdot\int_{\mathbb R^n} \phi({x-y})d\mu(y)\\
&=\int h(x)\phi({x-y})d\mu(y)\\
&=\frac{1}{r^n}\int h(x)\phi\left(\frac{x-y}r\right)d\mu(y)\\
&=\frac{1}{r^n}\int [h(x)-h(y)+h(y)]\phi\left(\frac{x-y}r\right)d\mu(y)\\
&=\frac{1}{r^n}\int [h(x)-h(y)]\phi\left(\frac{x-y}r\right)d\mu(y) \tag1\\
&+ \frac{1}{r^n}\int h(y)\phi\left(\frac{x-y}r\right)d\mu(y)\tag2\end{align} $$
Now, notice that because $\phi\in\mathcal C_0^\infty$, $\varphi :=\phi((x-\cdot)/r)$ is also in $C_0^\infty $ for all $r>0$. Hence the second integral $(2)$ is equal to $0$ for all $r>0$.
Finally, you have by Lebesgue's differentiation theorem that
$$\lim_{r\to0} \frac{1}{r^n}\int_{\|x-y\|\le r}|h(y)-h(x)|\ d\mu(y) = 0 $$
For almost all $x$ in $\mathbb R^n$, from which you can conclude that $(1)$ goes to $0$ as $r\to0$ (apply the triangle inequality and the boundedness of $\phi$).
By taking the limit as $r\to0$, the desired result follows.
