I'm sure this must've been asked before here but I couldn't find it. I'm trying exercise 11.9 from Le Gall's "Measure theory, Probability, and Stochastic processes". The objective is to prove what I wrote in the title, when $X,Y\in L^1$. It starts by asking to prove the case when they're $L^2$, and then prove that for $a>0$ $$\mathbb E[X\mid X\wedge a]\wedge a=X\wedge a$$ I have managed to do both of these things. Then it follows by asking to prove that $$\mathbb E[X\wedge a\mid Y\wedge a]=Y\wedge a$$ which I haven't managed; I do see how to conclude from there that $X=Y$ but I'm stuck on that step. The book has teh hint to prove $\mathbb E[X\wedge a\mid Y\wedge a]\leq Y\wedge a$ which I deed by using that $\min(\cdot,a)$ is concave and using that $\mathbb E[\mathbb E[\cdot\mid Y\wedge a]\mid Y]=\mathbb E[\mathbb E[\cdot\mid Y]\mid Y\wedge a]$, but I don't see where to go from there; I've tried to find a clever conditioning, or to decompose $X=X1_{[X<a]}+X1_{[X\geq a]}$ but haven't gotten anything. Any help is appreciated! I feel like I'm missing some crucial understanding about conditional expectation, as my intuition is very poor...
EDIT: I was made aware in the comments that this has been asked before here, I understand all proofs in that link but this one, which uses the approach I'm trying to use. To me it seems like they only prove the same inequality I proved. I would like to see someone show me how to go from that inequality to equality; to see how the book intended me to solve it