You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromsympy.abcimportafromsympyimportask, Q, MatrixSymbolX=MatrixSymbol('X', 2, 2)
ask(Q.positive(X)) # returns False as expected as it doesn't make sense for a matrix to be positiveask(Q.is_true(a), (Q.is_true(a) &Q.positive(X))) # True instead of raising inconsistent assumptions exception ask((Q.positive(X) |Q.positive(a)) &~Q.positive(a), Q.positive(X) &~Q.positive(a)) # True instead of False
What's happening here is that satask doesn't think that Q.positive(X) is False but key(*args)._eval_ask(assumptions) does.
The text was updated successfully, but these errors were encountered:
What's happening here is that satask doesn't think that Q.positive(X) is False but
key(*args)._eval_ask(assumptions)
does.The text was updated successfully, but these errors were encountered: