Let $(S_n)$ a martingale by ratio to $(X_n)$ (I'm not sure if the terme "by ratio" is correct, I hope you'll understand). A lemma of my lecture say:
$$\mathbb E[S_{n+m}\mid X_1,...,X_n]= S_n,\quad n,m\geq 1.$$
The proof goes like:
$$\mathbb E[S_{n+m}\mid X_1,...,X_n]\underset{(1)}{=}\mathbb E\big[\mathbb E[S_{n+m}\mid X_1,...,X_{n+m-1}]\ \big|\ X_1,...,X_n\big]=\mathbb E[S_{n+m-1}\mid X_1,...,X_n]$$
To me, for $(1)$, the fact that $(S_{n})$ is a martingale should imply that $$S_{n+m}=\mathbb E[S_{n+m+1}\mid X_1,...,X_{n+m}],$$ so why do we have $$S_{m+n}=\mathbb E[S_{n+m}\mid X_1,...,X_{n+m-1}]\ \ ?$$