Renamed constant "not" to "Not"
authorpaulson
Tue, 04 Mar 1997 10:48:36 +0100
changeset 2718 460fd0f8d478
parent 2717 b29c45ef3d86
child 2719 27167b432e7a
Renamed constant "not" to "Not"
src/HOL/NatDef.ML
src/HOL/simpdata.ML
--- a/src/HOL/NatDef.ML	Tue Mar 04 10:42:28 1997 +0100
+++ b/src/HOL/NatDef.ML	Tue Mar 04 10:48:36 1997 +0100
@@ -667,7 +667,7 @@
   | negate None = None;
 
 fun decomp(_$(Const(rel,T)$lhs$rhs)) = decomp2(rel,T,lhs,rhs)
-  | decomp(_$(Const("not",_)$(Const(rel,T)$lhs$rhs))) =
+  | decomp(_$(Const("Not",_)$(Const(rel,T)$lhs$rhs))) =
       negate(decomp2(rel,T,lhs,rhs))
   | decomp _ = None
 
--- a/src/HOL/simpdata.ML	Tue Mar 04 10:42:28 1997 +0100
+++ b/src/HOL/simpdata.ML	Tue Mar 04 10:48:36 1997 +0100
@@ -22,7 +22,7 @@
 
   fun addIff th = 
       (case HOLogic.dest_Trueprop (#prop(rep_thm th)) of
-                (Const("not",_) $ A) =>
+                (Const("Not",_) $ A) =>
                     AddSEs [zero_var_indexes (th RS notE)]
               | (con $ _ $ _) =>
                     if con=iff_const
@@ -36,7 +36,7 @@
 
   fun delIff th = 
       (case HOLogic.dest_Trueprop (#prop(rep_thm th)) of
-                (Const("not",_) $ A) =>
+                (Const("Not",_) $ A) =>
                     Delrules [zero_var_indexes (th RS notE)]
               | (con $ _ $ _) =>
                     if con=iff_const
@@ -83,7 +83,7 @@
   fun mk_meta_eq r = case concl_of r of
           Const("==",_)$_$_ => r
       |   _$(Const("op =",_)$_$_) => r RS eq_reflection
-      |   _$(Const("not",_)$_) => r RS not_P_imp_P_eq_False
+      |   _$(Const("Not",_)$_) => r RS not_P_imp_P_eq_False
       |   _ => r RS P_imp_P_eq_True;
   (* last 2 lines requires all formulae to be of the from Trueprop(.) *)