src/HOL/Tools/res_axioms.ML
changeset 26562 9d25ef112cf6
parent 25761 466e714de2fc
child 26618 f3535afb58e8
equal deleted inserted replaced
26561:394cd765643d 26562:9d25ef112cf6
   337   | apply_depth (Abs(_,_,t)) = apply_depth t
   337   | apply_depth (Abs(_,_,t)) = apply_depth t
   338   | apply_depth _ = 0;
   338   | apply_depth _ = 0;
   339 
   339 
   340 fun too_complex t = 
   340 fun too_complex t = 
   341   apply_depth t > max_apply_depth orelse 
   341   apply_depth t > max_apply_depth orelse 
   342   Meson.too_many_clauses t orelse
   342   Meson.too_many_clauses NONE t orelse
   343   excessive_lambdas_fm [] t;
   343   excessive_lambdas_fm [] t;
   344   
   344   
   345 fun is_strange_thm th =
   345 fun is_strange_thm th =
   346   case head_of (concl_of th) of
   346   case head_of (concl_of th) of
   347       Const (a,_) => (a <> "Trueprop" andalso a <> "==")
   347       Const (a,_) => (a <> "Trueprop" andalso a <> "==")