Solution (source code)

= Solution

For $A>0$, the first time $T_A=\inf\{n\geq0:X_n<-A\}$ is a <stopping time>. On $\{T_A\geq1\}$, the <bounded increments> assumption controls the overshoot:
$$
X_{T_A}\geq-A-M.
$$
Before that time, $X_n\geq-A$. Allowing the possibility $T_A=0$, the process
$$
Y_n=X_{n\wedge T_A}+A+M+X_0^-
$$
is a nonnegative <martingale>. Indeed, the <stopped martingale in discrete time> is a <martingale>, and the integrable $\mathcal F_0$-<measurable> variable $X_0^-$ is a constant-in-time <martingale>. If $T_A=0$, nonnegativity follows from $X_0+X_0^-=X_0^+$. Its <expectations> are constant and finite, so the <martingale convergence theorem> makes $Y_n$ converge to a finite value <almost surely>.

On $\{T_A=\infty\}$ this proves finite convergence of $X_n$. Taking the countable union over positive integer $A$, we conclude that $X_n$ converges finitely on the event $\{\inf_nX_n> -\infty\}$. Apply the same reasoning to the <martingale> $-X$ to obtain finite convergence on $\{\sup_nX_n<\infty\}$.

Outside the event of finite convergence, both the infimum and the supremum of the sequence must therefore be infinite in the respective directions. Removing any finite initial segment cannot change this, because each of its values is finite. Hence
$$
\boxed{\mathbb P\bigl(\{X_n\text{ converges finitely}\}\cup\{\liminf_nX_n=-\infty,\ \limsup_nX_n=+\infty\}\bigr)=1.}
$$
This is the <bounded-increment martingale convergence-or-oscillation dichotomy>. The $X_0^-$ term ensures the proof also covers an unbounded integrable initial value.