Haar wavelet functions are defined as
\begin{equation} \psi (x)={\begin{cases}1\quad &0\leq x<{\frac {1}{2}},\\ -1&{\frac {1}{2}}\leq x<1,\\ 0&{\mbox{otherwise.}} \end{cases}} \end{equation}
$$\psi_{j,k}(x):=\psi(2^jx−k)$$
We are interested in finding the closed-form expression for $f(j_1,j_2,k_1,k_2,y)$ of the convolution:
\begin{equation} \int _{\mathbb {R}}\psi _{j_{1},k_{1}}(x)\psi _{j_{2},k_{2}}(y-x)\,dx=f(j_1,j_2,k_1,k_2,y). \end{equation}
Because $\psi_{j_1,k_1}(x)$ is nonzero only in the interval $$x\in I_{n_1,k_1} =\frac{1}{2^{n_1}} [ k_1, k_1+1),$$ and $\psi_{j_2,k_2}(y-x)$ is nonzero only in the interval $$x\in J_{n_2,k_2}(y): =y+\frac{1}{2^{n_2}} (-(k_2+1), -k_2],$$ Thus a necessary condition for $f$ to be nonzero is that the intervals $I_{n_1,k_1},J_{n_2,k_2}(y)$ overlap.
Thanks!

