We work on a filtered probability space $(\Omega,\mathcal{F},(\mathcal{F})_{t\in[0,T]},P)$. Let $X,Y$ be two càdlàg adapted stochastic processes. What is the difference between the following two conditions:
- $X_t= Y_t \enspace P$-a.s. $\forall t\in [0,T]$
- $X_{\tau}= Y_{\tau} \enspace P$-a.s. $\forall [0,T]$-valued stopping times $\tau$
Question: Which of the two conditions implies the other one, and are they even equivalent?
Partial answer: I think that 2. $\Rightarrow$ 1. holds. Indeed, if 2. holds, then for $t\in [0,T]$ fixed, defining $\tau(\omega)$ to be equal to $t$ for all $\omega$, yields that $\tau$ is a stopping time, and thus 1. holds.
What about the other direction, i.e. does 1. $\Rightarrow$ 2. hold?
Note: The same question under the assumption that $X,Y$ are làdlàg is discussed in this post. In this case 1. $\Rightarrow$ 2. does not hold. There is a counterexample in the accepted answer.