Home |
Github |
discriminate
solves goals that are trivial inequalities
(something of the form x <> y
). This tactic will fail
if the goal is not an inequality or is non-trivial.
(* Simple usage *)
discriminate.
Before
=========================
1/1
1 <> 2
discriminate.
After
No more goals.
Before
=========================
1/1
"hello" <> "world"
discriminate.
After
No more goals.