TFL/examples/Subst/NNF.ML
author paulson
Wed, 02 Apr 1997 15:18:21 +0200
changeset 2866 0a648ebbf6d4
parent 2113 21266526ac42
permissions -rw-r--r--
Now loads blast.ML

goal HOL.thy "(~(!x. P x)) = (? x. ~(P x)) & \
           \  (~(? x. P x)) = (!x. ~(P x)) & \
           \  (~(x-->y)) = (x & (~ y))     & \
           \  ((~ x) | y) = (x --> y)      & \
           \  (~(x & y)) = ((~ x) | (~ y)) & \
           \  (~(x | y)) = ((~ x) & (~ y)) & \
           \  (~(~x)) = x";
by (fast_tac HOL_cs 1);
val NNF_rews = map (fn th => th RS eq_reflection)
                   (Prim.Rules.CONJUNCTS (result()))