Why Doob's optional stopping theorem fails for symmetric random walks at unbounded hitting times
Let $Sn = \sum{i=1}^n \xii$ be a simple symmetric random walk on $\mathbb{Z}$ with $S0 = 0$ and $\mathbb{P}(\xii = \pm 1) = \frac{1}{2}$, and let $\tau = \inf\{n \ge 0 : Sn = 1\}$. Because $Sn$ is a martingale ($\mathbb{E}[Sn] = 0$) and $\mathbb{P}(\tau < \infty) = 1$,…