Unequal
lhs != rhs
evaluates to True if inequality is known or False if equality is known.
Attributes[Unequal] := {Protected}
Simple examples
Expressions known to be unequal will evaluate to True:
Sometimes expressions may or may not be unequal, or Expreduce does not know how to test for inequality. In these cases, the statement will remain unevaluated: Unequal considers Integers and Reals that are close enough to be equal: Unequal can test for Rational inequality: