To prove this Lemma :
$$ E^Q \left[ Y|F(s) \right] = \frac{1}{Z(s)}E^P\left[ Y Z(t) | F(s) \right]$$
with $P$ and $Q$ two equivalent probability measures and $Z(t)$ is the expectation of the Radon Nikodym derivative $Z(t) = E^P \left[\frac{dQ}{dP}|F(t) \right]$, and $Y$ is $F(t)-$ measurable.
I found that in Shreve's Stochastic Calculus for Finance II, the result is concluded only by checking the partial averaging property :
$$ \int_A \frac{1}{Z(s)}E^P\left[ Y Z(t) | F(s) \right] dQ = \int_A E^Q \left[ Y|F(s) \right] dP$$ My question is why is it sufficient to check the partial averaging property to conclude the result? Why don't we just do without taking the expecation of both sides? Thank you