[step:Define $Z_t = \exp(iY_t + \frac{1}{2}|\theta|^2 t)$ and apply Ito's formula to show $Z$ is a local martingale]Define the process
\begin{align*}
Z: \Omega \times [0, \infty) &\to \mathbb{C} \\
(\omega, t) &\mapsto \exp\!\left(iY_t(\omega) + \tfrac{1}{2}|\theta|^2 t\right).
\end{align*}
Write $Z_t = \exp(U_t)$ where $U_t = iY_t + \frac{1}{2}|\theta|^2 t$. The process $U$ is a continuous semimartingale: its local martingale part is $iY_t$ and its finite variation part is $\frac{1}{2}|\theta|^2 t$.
Apply [Ito's Formula](/theorems/2099) to the function $\exp: \mathbb{C} \to \mathbb{C}$ (viewed as $\exp: \mathbb{R}^2 \to \mathbb{R}^2$ applied to the real and imaginary parts of $U$). Since $\exp' = \exp'' = \exp$, the formula gives
\begin{align*}
dZ_t = Z_t \, dU_t + \frac{1}{2} Z_t \, d\langle U \rangle_t.
\end{align*}
The quadratic variation of $U$ comes solely from its local martingale part $iY$:
\begin{align*}
\langle U \rangle_t = \langle iY \rangle_t = i^2 \langle Y \rangle_t = -|\theta|^2 t,
\end{align*}
where we used $\langle cY \rangle_t = c^2 \langle Y \rangle_t$ for a constant $c \in \mathbb{C}$ and $\langle Y \rangle_t = |\theta|^2 t$ from the previous step. Substituting $dU_t = i \, dY_t + \frac{1}{2}|\theta|^2 \, dt$ and $d\langle U \rangle_t = -|\theta|^2 \, dt$:
\begin{align*}
dZ_t = Z_t \left(i \, dY_t + \frac{1}{2}|\theta|^2 \, dt\right) + \frac{1}{2} Z_t \left(-|\theta|^2 \, dt\right) = Z_t \left(i \, dY_t + \frac{1}{2}|\theta|^2 \, dt - \frac{1}{2}|\theta|^2 \, dt\right) = i Z_t \, dY_t.
\end{align*}
The finite variation terms $\frac{1}{2}|\theta|^2 \, dt$ and $-\frac{1}{2}|\theta|^2 \, dt$ cancel exactly, leaving
\begin{align*}
dZ_t = i Z_t \, dY_t.
\end{align*}
Equivalently, $Z_t = Z_0 + i \int_0^t Z_s \, dY_s = 1 + i \int_0^t Z_s \, dY_s$. Since $Y$ is a continuous local martingale and $Z$ is a continuous adapted process, the stochastic integral $\int_0^t Z_s \, dY_s$ is a continuous local martingale. Therefore $Z$ is a continuous local martingale.[/step]