I am trying to understand a proof in my book but i can't figure out a few things. Definitions first: $(\Delta X)_n :=X_n-X_{n-1}$ with $X_{\alpha-1}:=X_\alpha$, if $\alpha>-\infty$, so $(\Delta X)_\alpha=0$ if $\alpha>-\infty$.
A process $H=(H_n)_{n\in T}$ is called $\mathbb{F}$-predictable if $H_n$ is $\mathcal{F}_{n-1}$-measurable for all $n\in T$. Let $\alpha>-\infty$, $H$ be a $\mathbb{F}$-predictable real process and $X$ a $\mathbb{F}$-adapted real process, then $$(H\circ X)_n:= \sum^n_{j=\alpha+1}H_j\Delta X_j, n\in T$$ is called h-transform of $X$.
Let $\alpha>-\infty$. The process $$[X,Y]_n:=\sum^n_{i=\alpha +1}\Delta X_i\Delta Y_i$$ is called covariation for $\mathbb{F}$-adapted real processes $X$ and $Y$ and $[X]:=[X,X]$ is called square variation of $X$.
And here are the equations i don't understand.
"we can conclude for the martingale $H_\alpha M_\alpha +H\circ M$ \begin{align*} E(H_\alpha M_\alpha +(H\circ M)_n)^2 &=E(H_\alpha M_\alpha)^2+E[H\circ M]_n\\ &=E(H_\alpha M_\alpha)^2+EH^2\circ [M]_n\\ &\le EM^2_\alpha+E[M]_n =EM^2_n" \end{align*} I don't understand the first equation. How does he get there from the left side? And i am not quite sure about the last equation. Does it hold because $M$ is a martingale? Does that mean that $E[M]_n=0$? And is $EM^2_\alpha = EM^2_n$ because M is a martingale which means that the prize i get from a fair game of chance will be the same (in average)?