is_norm_hhf moved to drule.ML;
authorwenzelm
Thu, 17 Jan 2002 20:59:46 +0100
changeset 12796 95bfef18da83
parent 12795 fc716621f19d
child 12797 4de06a8f67ef
is_norm_hhf moved to drule.ML;
src/Pure/logic.ML
--- a/src/Pure/logic.ML	Thu Jan 17 20:59:31 2002 +0100
+++ b/src/Pure/logic.ML	Thu Jan 17 20:59:46 2002 +0100
@@ -47,7 +47,6 @@
   val strip_assums_hyp  : term -> term list
   val strip_assums_concl: term -> term
   val strip_params      : term -> (string * typ) list
-  val is_norm_hhf       : term -> bool
   val has_meta_prems    : term -> int -> bool
   val flatten_params    : int -> term -> term
   val auto_rename       : bool ref
@@ -264,12 +263,6 @@
   | strip_params (Const("all",_)$Abs(a,T,t)) = (a,T) :: strip_params t
   | strip_params B = [];
 
-(*test for HHF normal form*)
-fun is_norm_hhf (Const ("==>", _) $ _ $ (Const ("all", _) $ _)) = false
-  | is_norm_hhf (t $ u) = is_norm_hhf t andalso is_norm_hhf u
-  | is_norm_hhf (Abs (_, _, t)) = is_norm_hhf t
-  | is_norm_hhf _ = true;
-
 (*test for meta connectives in prems of a 'subgoal'*)
 fun has_meta_prems prop i =
   let