Let $X, Y$ denote random variables. Let $f(\cdot)$ denote a real-value function. I know that $$P(X|Y, f(Y))$$ is equivalent to $$P(X|Y).$$
Now suppose I have
$$P(X|a \leq Y \leq b, f(Y))$$
where $a, b$ are constants. Is this equal to
$$P(X|a \leq Y \leq b)?$$
No.
As an example, suppose
Then
and these are not the same