This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Not (!, ¬)

!expr
is the logical NOT function. It gives False if expr is True, and True if it is False.
  • Not gives symbolic results when necessary, applying various simplification rules to them.
  • If you are using Mathematica with a text-based front end, then you cannot use the notation !expr for Not[expr] if it appears at the very beginning of a line. In this case, !expr is interpreted as a shell escape.  »
New in 1 | Last modified in 3