Let $X$ and $Y$ be compact subsets of $\mathbb{R}^d$, let $\mu$ and $\nu$ be finite Borel measures on $X$ and $Y$, resp.
Is it possible to find a dense subset of $L^2(X \times Y)$ consisting of functions of the form $fg$ where $f \in L^2(X)$ and $g \in L^2(Y)$? Can the subset be taken to be countable?
Edit: The answer is yes if for every simple function $h \in L^2(X \times Y)$ and every $\epsilon > 0$, there are simple functions $f \in L^2(X)$ and $g \in L^2(Y)$ such that $\|h-fg\|_2 < \epsilon$.
For the situation, I have in mind $\mu$ is Lebesgue measure.
The following argument gives something close but not quite good enough: If $\{f_n\}$ is an orthonormal basis for $L^2(X)$ and $\{g_m\}$ is an orthonormal basis for $L^2(Y)$, then $\{f_n g_m\}$ is an orthonormal basis for $L^2(X\times Y)$, so that the set of all finite linear combinations $\{f_n g_m\}$ is dense in $L^2(X \times Y)$. See Orthonormal basis for product $L^2$ space