I've been working through Fundamentals of Stochastic Filtering (Bain, Crisan) and am a little perplexed by the following (initially) seemingly straightforward exercise and its given solution.
We are given a certain finite Borel measure $\mu$ on $\mathbb{R}^d$ and we wish to determine whether or not it is absolutely continuous with respect to Lebesgue measure. The exercise purports the following:
Let $\{\varphi_i\} _{i>0}$ be an orthonormal basis of $L^2(\mathbb{R}^d$) with the property that $\varphi_i$ is continuous and bounded for all $i$. Let $\mu$ be a finite measure. If
$$\sum_{i=1}^\infty \, \mu(\varphi_i)^2 <\infty $$
then $\mu$ is absolutely continuous with respect to Lebesgue measure. Moreover, if $g_\mu$ is the density of $\mu$ with respect to Lebesgue measure, then $g_\mu \in L^2(\mathbb{R}^d)$.
The solution in the book goes as follows: we construct a density function, use it to define a new measure (which is necessarily absolutely continuous with respect to Lebesgue measure) and then show that this new measure is indeed the one we were given.
Defining our density function $\bar{g_\mu} = \sum_{i=1}^\infty \, \mu(\varphi_i) \varphi_i$, it is easy to see that this is in $L^2$. Defining $\bar{\mu}$ to be the finite measure given rise to by this density, we see that $\bar{\mu}(\varphi_i) = \mu(\varphi_i)$ for all i. All well so good. The problem is showing that our wavelet basis $\{\varphi_i\}_{i>0}$ is a separating set of functions with respect to Borel measures on $\mathbb{R^d}$, which would show that $\bar{\mu} = \mu$. The book simply says:
[...] via an approximation argument $\bar{\mu}(A) = \mu(A) $ for any ball A of arbitrary center and radius. Hence $\bar{\mu} = \mu$.
The issue I have here is making this approximation argument or any similar one work. The most obvious idea is to show that $ \bar{\mu}(f) =\mu(f)$ for any continuous bounded function $f$. If we approximate naively $f$ in $L^2$ by functions in the span of our wavelet basis, this will also approximate the left hand side since we have absolute continuity between Lebesgue measure and $\bar{\mu}$. However, the same cannot be said a priori about the right hand side.
I note that the proposition supposed continuity of the wavelet functions, but this was never explicitly referred to in the proof. In fact, continuity must be necessary here, because it's easy to construct a counter example to this if the wavelets are allowed to be discontinuous (take $\mu$ to be Dirac measure at the origin, with any wavelet basis whose basis functions are modified to be zero at the origin). Being able to approximate in $L^2$ alone is clearly not strong enough - we need some uniform or uniform-like strength. Unfortunately though I can't think of any specific properties (such as their span forming an algebra) of general wavelets that would let us infer this.
As I type this, it occurs to me that for the way this result is applied in the book, it is enough for it to hold for one particular choice of basis. Using finiteness of $\mu$, it would be enough to exhibit existence of a wavelet basis that can uniformly approximate any given continuous $f$ on $\mathbb{R}^d$ (or on any given compact interval/cube). I guess we could use truncated trigonometric base functions (truncation in the sense of domain) - allowing for uniform convergence on $...,[-1,0],[0,1],[1,2],...$ simultaneously (similarly for $\mathbb{R}^d$. Now the wavelets are only piecewise continuous, but this is probably not a problem). For the time being I'll likely go with this makeshift approach, so I hope I haven't made any mistakes in my reasoning.
For general continuous wavelets, is the original proposition true, I wonder.
EDIT: It turns out that my above makeshift approach isn't going to work for proving the main result since I need the wavelets to have bounded partial derivatives up to second order.