[guided]The heart of the proof is to compute $d(ZY)$ and observe the cancellation. Let us trace through the product rule carefully.
We have two processes:
- $Z_t = \mathcal{E}(M)_t$ with $dZ_t = Z_t \, dM_t$ (from the [Stochastic Exponential](/theorems/2102) theorem).
- $Y_t = X^{T_n}_t - \langle X^{T_n}, M \rangle_t$ with $dY_t = dX^{T_n}_t - d\langle X^{T_n}, M \rangle_t$.
The [Integration by Parts](/theorems/2097) formula for continuous semimartingales states $d(ZY) = Y \, dZ + Z \, dY + d\langle Y, Z \rangle$.
**Computing $d\langle Y, Z \rangle$:** The covariation is bilinear and the covariation of a finite-variation process with any semimartingale is zero (by the [Continuous Finite Variation Local Martingale is Identically Zero](/theorems/2081) theorem applied to the continuous case). So:
\begin{align*}
\langle Y, Z \rangle = \langle X^{T_n} - \langle X^{T_n}, M \rangle, Z \rangle = \langle X^{T_n}, Z \rangle,
\end{align*}
because $\langle X^{T_n}, M \rangle$ is a finite-variation process.
Since $dZ_t = Z_t \, dM_t$, the covariation $\langle X^{T_n}, Z \rangle_t = \int_0^t Z_s \, d\langle X^{T_n}, M \rangle_s$ by the bilinearity of covariation and the [Bracket of Two Stochastic Integrals](/theorems/2092) formula. Thus $d\langle Y, Z \rangle_t = Z_t \, d\langle X^{T_n}, M \rangle_t$.
**Assembling the product rule:**
\begin{align*}
d(Z_t Y_t) &= Y_t \, dZ_t + Z_t \, dY_t + d\langle Y, Z \rangle_t \\
&= Y_t Z_t \, dM_t + Z_t(dX^{T_n}_t - d\langle X^{T_n}, M \rangle_t) + Z_t \, d\langle X^{T_n}, M \rangle_t.
\end{align*}
The $-Z_t \, d\langle X^{T_n}, M \rangle_t$ from $Z \, dY$ and the $+Z_t \, d\langle X^{T_n}, M \rangle_t$ from $d\langle Y, Z \rangle$ cancel, leaving
\begin{align*}
d(Z_t Y_t) = Y_t Z_t \, dM_t + Z_t \, dX^{T_n}_t.
\end{align*}
Why do these cancel? Because the $-\langle X^{T_n}, M \rangle$ term in $Y$ was placed there precisely to absorb the covariation between $X^{T_n}$ and $Z$. This is the mechanism of Girsanov: the "drift correction" $-\langle X, M \rangle$ in $\tilde{X} = X - \langle X, M \rangle$ is engineered so that $Z \tilde{X}$ has no finite-variation part, i.e., is a local martingale.
Both remaining terms are stochastic integrals against continuous local martingales with locally bounded integrands (since $|Y| \leq n$ and $Z$ is continuous), so $ZY$ is a continuous local martingale under $\mathbb{P}$.
**Upgrading to a true martingale:** The hypothesis states $Z = \mathcal{E}(M)$ is a uniformly integrable $\mathbb{P}$-martingale. This means $\{Z_\tau\}$ is uniformly integrable over all stopping times $\tau$. Since $|Y| \leq n$, we have $|Z_\tau Y_\tau| \leq n Z_\tau$ for every stopping time $\tau$, so $\{Z_\tau Y_\tau\}$ is uniformly integrable. By the [Characterization of Martingales Among Local Martingales](/theorems/2078), $ZY$ is a true $\mathbb{P}$-martingale.[/guided]