[step:Define the mother wavelet $\psi$ and verify the vanishing moment count]
Define the high-pass filter
\begin{align*}
m_1: \mathbb{T} &\to \mathbb{C}, \\
\xi &\mapsto e^{-i\xi}\, \overline{m_0(\xi + \pi)}.
\end{align*}
Then define $\psi: \mathbb{R} \to \mathbb{R}$ by
\begin{align*}
\hat\psi(\xi) := m_1(\xi/2)\, \hat\varphi(\xi/2).
\end{align*}
The [Mother Wavelet Construction Theorem](/theorems/???) (already cited in proof of Wavelet ONB) guarantees that with this definition, $\psi \in W_0$ and $\{\psi(\cdot - k) : k \in \mathbb{Z}\}$ is an orthonormal basis of $W_0$. Hypothesis: $m_0$ is a low-pass filter satisfying QMF and $m_0(0) = 1$, both granted from step 2.
Compact support of $\psi$: since $\hat\psi(\xi) = m_1(\xi/2)\hat\varphi(\xi/2)$ and $m_1$ is a trigonometric polynomial of degree $2N - 1$, $\psi$ is a finite linear combination of dilates and translates of $\varphi$, all of which are supported on $[0, 2N-1]$. Direct check: $\psi(x) = \sqrt{2} \sum_{k} (-1)^k \overline{h}_{1-k}\, \varphi(2x - k)$, where $h_k$ are the filter coefficients of $m_0$, supported on $0 \le k \le 2N-1$. Hence $\operatorname{supp}\psi \subseteq [0, 2N-1]$, establishing (D1).
The wavelet ONB property (D2) follows directly from the [Wavelet Orthonormal Basis](/theorems/3222) theorem (proved separately): $\{\varphi(\cdot - k)\}$ ONB of $V_0$ and $\{\psi(\cdot - k)\}$ ONB of $W_0$ extend by dilation to give the full ONB.
Vanishing moments (D3): we compute
\begin{align*}
\hat\psi(0) &= m_1(0)\, \hat\varphi(0) = e^0 \, \overline{m_0(\pi)} \cdot \hat\varphi(0).
\end{align*}
By construction $m_0(\pi) = ((1 + e^{-i\pi})/2)^N Q(\pi) = 0$, so $\hat\psi(0) = 0$. More generally,
\begin{align*}
\hat\psi(\xi) = e^{-i\xi/2}\, \overline{m_0(\xi/2 + \pi)}\, \hat\varphi(\xi/2),
\end{align*}
and $m_0(\eta + \pi) = ((1 + e^{-i(\eta+\pi)})/2)^N Q(\eta + \pi) = ((1 - e^{-i\eta})/2)^N\, Q(\eta + \pi)$. Near $\eta = 0$, $(1 - e^{-i\eta})/2 = i\eta/2 + O(\eta^2)$, so $((1 - e^{-i\eta})/2)^N = (i\eta/2)^N + O(\eta^{N+1})$. Substituting $\eta = \xi/2$,
\begin{align*}
m_0(\xi/2 + \pi) = (i\xi/4)^N + O(\xi^{N+1}) \qquad \text{as } \xi \to 0,
\end{align*}
hence $\hat\psi(\xi) = O(|\xi|^N)$ as $\xi \to 0$. By the standard Fourier characterisation of vanishing moments — $\hat\psi$ has a zero of order at least $N$ at the origin if and only if $\int x^m \psi(x)\, d\mathcal{L}^1(x) = 0$ for $0 \le m < N$, since
\begin{align*}
\hat\psi(\xi) = \int_{\mathbb{R}} \psi(x)\, e^{-i\xi x}\, d\mathcal{L}^1(x) = \sum_{m=0}^\infty \frac{(-i\xi)^m}{m!}\int_{\mathbb{R}}x^m\psi(x)\, d\mathcal{L}^1(x)
\end{align*}
when the integrals converge (justified since $\psi$ has compact support, hence $x^m \psi \in L^1$ for all $m$) — we obtain that $\psi$ has at least $N$ vanishing moments. The strict count: $\hat\psi$ has a zero of order *exactly* $N$ at the origin because the leading term in the expansion above is $(i\xi/4)^N \overline{Q(\pi)}\,\hat\varphi(0)$, and $\overline{Q(\pi)}\,\hat\varphi(0) \ne 0$ (since $Q$ has no zero at $\pi$ for our explicit Daubechies $Q$, and $\hat\varphi(0) = \prod_{k=1}^\infty m_0(0) = 1 \ne 0$). So the $(N)$-th moment is non-zero, establishing (D3).
[/step]