fixed spurious catch-all patterns
authorblanchet
Tue, 03 Jan 2012 18:33:17 +0100
changeset 46080 b58591c75f0d
parent 46079 65bde43e829c
child 46081 8f6465f7021b
fixed spurious catch-all patterns
src/HOL/Tools/Nitpick/nitrox.ML
--- a/src/HOL/Tools/Nitpick/nitrox.ML	Tue Jan 03 13:06:03 2012 +0100
+++ b/src/HOL/Tools/Nitpick/nitrox.ML	Tue Jan 03 18:33:17 2012 +0100
@@ -91,9 +91,7 @@
           AAnd => HOLogic.mk_conj
         | AOr => HOLogic.mk_disj
         | AImplies => HOLogic.mk_imp
-        | AIf => HOLogic.mk_imp o swap
         | AIff => HOLogic.mk_eq
-        | ANotIff => HOLogic.mk_not o HOLogic.mk_eq
         | ANot => raise Fail "binary \"ANot\"")
   | AConn _ => raise Fail "malformed AConn"
   | AAtom u => hol_term_from_fo_term boolT u