Sorry for presumably another dumb question... But here we go:
Reduce[Sin[Cos[x]] == 0 && 0 <= x <= Pi/2, x]
(* x == Pi/2 *)
Yep. Nice.
So now, a seemingly equivalent statement:
Reduce[Sin[Cos[x]] == 0 && IntervalMemberQ[Interval[{0, Pi/2}], x], x]
(* False *)
Fun...
Where's my mistake?
PS.
Reduce[Equivalent[0 <= x <= Pi/2, IntervalMemberQ[Interval[{0, Pi/2}], x]], x]
(* x < 0 || x > Pi/2 *)
Funny as well.
0<=x<=Pi/2is neitherTruenorFalseand remains unevaluated, whileIntervalMemberQ[Interval[{0, Pi/2}], x]]is roughly equivalent toTrueQ[0<=x<=Pi/2]and necessarily returnsFalse? – LLlAMnYP Mar 13 '15 at 22:11IntervalMemberQ[{0, Pi/2}],x]without prior assignment of $x$ Mathematica necessarily returnsFalsebecause $x$ might in fact be assigned a value for which the Boolean statement isFalse. This structure (properly) appears numerous places throughout Mathematica, such as assuming a function's value isRealwhen in fact it might be more restrictive and anInteger. – David G. Stork Mar 14 '15 at 17:46