TFL/examples/Subst/NNF.ML
author paulson
Wed, 13 Nov 1996 10:47:08 +0100
changeset 2183 8d42a7bccf0b
parent 2113 21266526ac42
permissions -rw-r--r--
Updated version and date

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