QuantifierElimination[QuantifierTools]
NegateFormula
negation of a rational Tarski formula
Calling Sequence
Parameters
Returns
Description
Examples
Compatibility
NegateFormula(expr)
expr
-
Rational Tarski Formula
Rational Tarski Formula logically equivalent to the negation of expr
NegateFormula does not just syntactically apply the Not operator, but instead processes the expr recursively to push the negation to the innermost relations, i.e., if expr does not itself contain any Not operators, then neither does the result.
The output will only be in prenex form if the input was - i.e. if the input features quantified expressions as arguments to boolean operators then the output will have the same property.
In other words, the logical structure is (mostly) retained, but perhaps with different operators.
with⁡QuantifierElimination:with⁡QuantifierTools:
NegateFormula⁡x=0
x≠0
NegateFormula⁡exists⁡x,And⁡x=0,y<0
∀⁡x,x≠0∨0≤y
NegateFormula⁡x=0⊻0<y
x≠0∧y≤0∨x=0∧0<y
The QuantifierElimination:-QuantifierTools:-NegateFormula command was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
QuantifierElimination
QuantifierTools
Download Help Document