TFL/examples/Subst/NNF.ML
author wenzelm
Fri, 28 Feb 1997 16:56:31 +0100
changeset 2704 afa01c9f1ab0
parent 2113 21266526ac42
permissions -rw-r--r--
more robust handling of invocation errors; added -m MODE option;

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()))