[step:Show that $B_s = M_{T_s}$ is continuous and $(\mathcal{G}_s)$-adapted]**Adaptedness.** For each $s \geq 0$, $T_s$ is a stopping time for $(\mathcal{F}_t)$ and $M$ is a continuous adapted process. The general fact that $X_T$ is $\mathcal{F}_T$-measurable whenever $X$ is a continuous adapted process and $T$ is a stopping time gives $B_s = M_{T_s} \in \mathcal{F}_{T_s} = \mathcal{G}_s$.
**Continuity.** Since $M$ is continuous and $s \mapsto T_s$ is right-continuous, the composition $s \mapsto M_{T_s}$ is right-continuous. Left-continuity requires a separate argument.
Define the left limit $T_{s-} = \lim_{r \nearrow s} T_r = \inf\{t \geq 0 : \langle M \rangle_t \geq s\}$. We have $T_{s-} \leq T_s$, with two cases:
**Case 1: $T_s = T_{s-}$.** Then $s \mapsto T_s$ is continuous at $s$, so $B_{r} = M_{T_r} \to M_{T_{s-}} = M_{T_s} = B_s$ as $r \nearrow s$. The process $B$ is continuous at $s$.
**Case 2: $T_s > T_{s-}$.** Since $\langle M \rangle_{T_{s-}} \leq s$ (by the definition of $T_{s-}$) and $\langle M \rangle_{T_s} = s$ (established above), the quadratic variation $\langle M \rangle$ takes the value $s$ at both $T_{s-}$ and $T_s$. Since $\langle M \rangle$ is non-decreasing, $\langle M \rangle$ is constant on the interval $[T_{s-}, T_s]$, equal to $s$.
[claim:$M$ is constant on any interval where $\langle M \rangle$ is constant]
Let $[a, b] \subset [0, \infty)$ and suppose $\langle M \rangle_t = \langle M \rangle_a$ for all $t \in [a, b]$. Then $M_t = M_a$ for all $t \in [a, b]$ almost surely.
[/claim]
[proof]
The stopped process $M^b - M^a$ is a continuous local martingale starting at $0$ with quadratic variation $\langle M^b - M^a \rangle_t = \langle M \rangle_{(t \wedge b) \vee a} - \langle M \rangle_a$ for $t \geq a$. For $t \in [a, b]$, this equals $\langle M \rangle_t - \langle M \rangle_a = 0$. By the [Quadratic Variation Vanishes Iff the Martingale Vanishes](/theorems/2084) theorem applied to the continuous local martingale $N_t := M_{(t+a) \wedge b} - M_a$ (which satisfies $N_0 = 0$ and $\langle N \rangle_t = \langle M \rangle_{(t+a) \wedge b} - \langle M \rangle_a = 0$ for $t \in [0, b-a]$), we conclude $N_t = 0$ for all $t \in [0, b-a]$, i.e., $M_t = M_a$ for all $t \in [a, b]$.
[/proof]
Since $\langle M \rangle$ is constant on $[T_{s-}, T_s]$, the claim gives $M_{T_s} = M_{T_{s-}}$. Therefore
\begin{align*}
\lim_{r \nearrow s} B_r = \lim_{r \nearrow s} M_{T_r} = M_{T_{s-}} = M_{T_s} = B_s.
\end{align*}
The process $B$ is left-continuous at $s$.
In both cases, $B$ is continuous at $s$. Since $s \geq 0$ was arbitrary, $B$ is a continuous process.[/step]