Chapter 5 — Discrete-Time Martingales
1. Filtrations and information
A filtration \((\mathcal F_n)\) is an increasing sequence of sigma-algebras describing the information available through time:
A process adapted to \((\mathcal F_n)\) has \(X_n\) measurable with respect to \(\mathcal F_n\).
2. Martingale definition
A process \((M_n)\) is a martingale if
and
A submartingale replaces equality by \(\ge\), and a supermartingale by \(\le\).
3. How to verify a martingale
A course-level verification should check:
- adaptedness;
- integrability;
- conditional expectation of the next value.
A process can have constant ordinary expectation without being a martingale. The conditional relation is the essential condition.
4. Stopping times
A random time \(T\) is a stopping time with respect to \((\mathcal F_n)\) when
The definition ensures that the decision to stop at time \(n\) uses only information available by time \(n\).
5. Stopped processes
Given a process \(X_n\) and a stopping time \(T\), define
The stopped process freezes the trajectory after the stopping time.
6. Optional-stopping intuition
Optional-stopping results relate the martingale property to stopped expectations, but the theorem requires hypotheses. Integrability, bounded stopping times or other regularity assumptions cannot simply be ignored.
StochX's finite/discrete objects are therefore best used as executable demonstrations and checks of explicit assumptions, not as a replacement for a proof of a theorem.
7. Implementation map
Filtrationrepresents the information structure.Martingalerepresents the process and its martingale condition.StoppingTimerepresents the stopping rule.StoppedProcessrepresents the stopped trajectory.
See the martingale guide and API reference for the Python contract.