Suppose that $f:\mathbb{R} \to \mathbb{R}$ is a Borel function such that, for every $a > 0$, we always have:
$$\begin{equation*} \int_{\mathbb{R}}f(ax)\exp \left(-\frac{1}{2}(x-1)^2\right)dx =0 \end{equation*}$$
Does it follow that $f = 0$ almost surely ? Does the answer change if we limit the attention only to $f \in L^{\infty}$ ?
The background of the question is that, suppose $X$ obeys the distribution $N(\theta, \theta^2)$ for some $\theta> 0$ and we wish to determine if $X$ is a (boundly) completes statistic for $\theta$. Expanding the definition out with a change of variable will give the statement of the problem above. I am looking for an analysis solution .
Intuitively, the exponential centers at $1$ and the scale is not centered at $1$. A counterexample would be surprising but I cannot prove it.