remove subtlety whose justification got lost in time -- the new code is possibly less precise but sounder
authorblanchet
Wed, 04 Jan 2012 12:09:53 +0100
changeset 46114 e6d33b200f42
parent 46113 dd112cd72c48
child 46115 ecab67f5a5c2
remove subtlety whose justification got lost in time -- the new code is possibly less precise but sounder
src/HOL/Tools/Nitpick/nitpick.ML
--- a/src/HOL/Tools/Nitpick/nitpick.ML	Wed Jan 04 12:09:53 2012 +0100
+++ b/src/HOL/Tools/Nitpick/nitpick.ML	Wed Jan 04 12:09:53 2012 +0100
@@ -350,9 +350,7 @@
       fold add_free_and_const_names (nondef_us @ def_us @ need_us) ([], [])
     val (sel_names, nonsel_names) =
       List.partition (is_sel o nickname_of) const_names
-    val sound_finitizes =
-      none_true (filter_out (fn (SOME (Type (@{type_name fun}, _)), _) => true
-                          | _ => false) finitizes)
+    val sound_finitizes = none_true finitizes
     val standard = forall snd stds
 (*
     val _ =