Example #1
0
 def acos(expr, assumptions):
     x = expr.args[0]
     if ask(Q.nonpositive(x - 1) & Q.nonnegative(x + 1), assumptions):
         return True
Example #2
0
 def acos(expr, assumptions):
     x = expr.args[0]
     if ask(Q.nonpositive(x - 1) & Q.nonnegative(x + 1), assumptions):
         return True
Example #3
0
 def asin(expr, assumptions):
     x = expr.args[0]
     if ask(Q.positive(x) & Q.nonpositive(x - 1), assumptions):
         return True
     if ask(Q.negative(x) & Q.nonnegative(x + 1), assumptions):
         return False
Example #4
0
 def asin(expr, assumptions):
     x = expr.args[0]
     if ask(Q.positive(x) & Q.nonpositive(x - 1), assumptions):
         return True
     if ask(Q.negative(x) & Q.nonnegative(x + 1), assumptions):
         return False