Let $(\Omega,\mathcal F,\mathbb P)$ a probability space and $\mathcal G\subset \mathcal F$ a subfield. To prove that
$$\mathbb E[\alpha X+\beta Y\mid \mathcal G]=\alpha \mathbb E[X\mid \mathcal G]+\beta \mathbb E[Y\mid \mathcal G]\ \ a.s.$$
I proves that $$\forall G\in \mathcal G, \ \ \mathbb E\Big[\mathbb E[\alpha X+\beta Y\mid \mathcal G]\boldsymbol 1_G\Big]=\mathbb E\Big[\left(\alpha \mathbb E[X\mid \mathcal G]+\beta \mathbb E[Y\mid \mathcal G]\right)\boldsymbol 1_G\Big],$$ but why is it enough to conclude that $\mathbb E[\alpha X+\beta Y\mid \mathcal G]=\alpha \mathbb E[X\mid \mathcal G]+\beta \mathbb E[Y\mid \mathcal G]$ a.s. ?
What I thought is that if for all $G\in \mathcal G$, $$\mathbb E[X\boldsymbol 1_G]=\mathbb E[Y\boldsymbol 1_G]\implies \mathbb E[(X-Y)\boldsymbol 1_G]=0\implies (X-Y)=0\ a.s.\implies X=Y\ \ a.s.$$ but as I could ask before here, it looks wrong. Any explanation ?