Let $\left\{X_t\right\}_{t\in[0, T]}$ be a continuous and non-negative supermartingale. We define the stopping time $$\tau_0:=\inf\{t\in[0,T]:X(t)=0\}\wedge T$$ and immediately obtain by continuity of $X$ that $\mathbf{1}_{\{\tau_0<T\}}X(\tau_0)=0$ a.s.
I want to prove that $X(t)=0$ for almost every $\omega\in\{\tau_0<T\}$ where $t\in[\tau_0(\omega),T]$.
What I established so far (using optional stopping) is the following: $$E[\mathbf{1}_{\{\tau_0<T\}}X(T)]=E[\mathbf{1}_{\{\tau_0<T\}}E[X(T)\mid F_{\tau_0}]]\le E[\mathbf{1}_{\{\tau_0<T\}}X(\tau_0)]=0$$ Hence, as $X$ is non-negative, the desired result follows for the terminal time $t=T$. Can someone please help me to prove the whole result for all the other relevant times? Thanks a lot in advance!
You just need to look at more stopping times. For any $t\geq 0$, you have $${E}[\mathbf{1}_{\{\tau_0<T\}}X(T \wedge (\tau_0+t))] ={E}[\mathbf{1}_{\{\tau_0<T\}}E[X(T\wedge (\tau_0+t))|F_{\tau_0}]] \le {E}[\mathbf{1}_{\{\tau_0<T\}}X(\tau_0)]=0.$$ This gives
$$P\biggl(X(T\wedge(\tau_0+t))=0\mbox{ for all }t\in\mathbb{Q}\cap[0,T]; \tau_0<T\biggr) =P(\tau_0<T),$$ and sample path continuity will give you the desired conclusion.