I'm having getting Mathematica to use my inequality assumptions. Here's a simple example:

$Assumptions = (v-w*x+y*z)>0

Output: Sign[v-wx+yz] (Meaning that the assumption had no effect)

However, if I put in the pieces separately, it gives me the expected results.

$Assumptions = (v-w*x)>0

Output: 1

$Assumptions = (y*z)>0

Output: 1


1 Answer 1


The number of variables in the nonlinear expression in your first example (5) exceeds the limit set by the system sub-option "AssumptionsMaxNonlinearVariables" (which is 4).


{"SimplificationOptions" -> {"AssumptionsMaxNonlinearVariables" -> 4, "AssumptionsMaxVariables" -> 21, "AutosimplifyTrigs" -> True, "AutosimplifyTwoArgumentLog" -> True, "FiniteSumMaxTerms" -> 30, "FunctionExpandMaxSteps" -> 15, "ListableFirst" -> True, "RestartELProver" -> False, "SimplifyMaxExponents" -> 100, "SimplifyToPiecewise" -> True}}

Set the value of "AssumptionsMaxNonlinearVariables" to a larger number (say, 5) to make FullSimplify handle a larger number of nonlinear variables:

SetSystemOptions["SimplificationOptions" -> {"AssumptionsMaxNonlinearVariables" -> 5}];

$Assumptions = (v - w*x + y*z) > 0;
FullSimplify[Sign[(v - w*x + y*z)]]


Reset the value to its default using

SetSystemOptions["SimplificationOptions" -> {"AssumptionsMaxNonlinearVariables" -> 4}];

See also: Simplifying expressions with head Max

  • $\begingroup$ One last question: is there any documentation of what all of the SimplificationOptions mean? I'm having a hard time finding anything. $\endgroup$
    – Jeff Ack
    Commented Aug 18, 2017 at 20:16
  • $\begingroup$ @JeffAck, thank you for the accept. Unfortunately, I am not aware of any detailed information on SystemOptions beyond what is available on the documentation pages SystemOptions and SetSystemOptions. $\endgroup$
    – kglr
    Commented Aug 18, 2017 at 22:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.