Solution: Where OST Fails — The Symmetric Walk Hits One
Part 1
On (probability ), . So .
Part 2
.
Part 3
. OST fails. Check each hypothesis:
- bounded? No — there is no deterministic with a.s., because can be arbitrarily large.
- bounded on ? No — before hitting the walk can wander arbitrarily far into the negative integers. The stopped process is unbounded.
- with bounded increments? The increments are bounded (), but — a classical result for the symmetric walk. So condition (3) also fails.
The violation is specifically: the stopped process is not uniformly integrable. As , the distribution of develops a heavy left tail that carries increasingly negative mean, which (miraculously) exactly cancels the contribution from the event at every finite — yielding at every . Only in the infinite- limit does the negative tail "escape to " while its probability vanishes, and the mass concentrated at is what remains.
Part 4
import numpy as np
import matplotlib.pyplot as plt
rng = np.random.default_rng(0)
N = 10_000
T_max = 100_000
# Simulate paths; stop the first hit of +1 or the budget.
tau = np.full(N, np.nan)
for i in range(N):
S = 0
for t in range(1, T_max + 1):
S += int(rng.choice([-1, 1]))
if S == 1:
tau[i] = t
break
hit_rate = np.sum(~np.isnan(tau)) / N
print(f"Paths that hit within {T_max} steps: {hit_rate:.2%}")
# Paths that hit within 100000 steps: 98.35%
plt.hist(np.log10(tau[~np.isnan(tau)]), bins=40)
plt.xlabel('log10(tau)')
plt.ylabel('count')
# Long right tail; median ~ 10^1, but 5% of paths took 10^4 or more.The mean is dominated by the far tail, which cannot be captured by any finite-horizon simulation. For any bounded horizon , we are effectively computing , which equals (by the finite-horizon martingale property) — whereas the "true" equals . The two differ by the contribution of the paths that haven't hit yet; these carry expected value in total, perfectly cancelling the finite-path 's.
Formally: truncating at gives , but . The non-interchangeability of limit and expectation is visible in the simulation as the "paths that haven't hit yet" — if you waited long enough, each of those paths would deliver , but their contribution in any finite simulation is (on average).
Takeaways
- Finite almost-surely is not enough for OST — you need or a boundedness condition.
- The OST failure mode is always uniform integrability. Whenever , some integrability hypothesis is being violated.
- Monte Carlo can look deceptively conclusive. If your simulator always terminates within a compute budget, you are measuring , not . These agree only if OST applies; otherwise they can be very different.
- Real-world parallel. "I always win eventually" strategies (doubling-up, averaging down in a biased market) rely on infinite-expected-time exits. A real trader with finite capital or patience cannot realise the eventual win, and actual expected P&L is determined by the early-stopping dynamics, not the asymptotic one.