So the question is as follows: Let $M$ be a positive continous martingale, converging a.s. to zero as $t \rightarrow \infty$. Prove that for every $x>0$: $\mathbb{P}\{\sup_{\{t \geq 0 \}} M_t > x |\mathcal{F}_0\}=1 \wedge \frac{M_0}{x}.$
We've tried so far to define $\tau=t \wedge \inf\{k \leq t | M_k>x\}$. Then apply optional sampling to find: $EM_0=EM_t=EM_{\tau}.$ Then split into two indicators to find: $$EM_{\tau}=EM_{\tau}1_{\{\max_{k\leq t} M_k \geq x \}}+EM_{\tau}1_{\{\max_{k\leq t} M_k < x \}}= x \mathbb{P}(\max_{k\leq t} M_k \geq x)+0.$$
This would essentially prove the statement when letting $t \rightarrow \infty$ and conditioning on $\mathcal{F}_0$, but we're not sure of our reasoning and steps. It seems somewhat uncarefull. Could someone please help us with this proof.