no specialisation for predicates without introduction rules in the predicate compiler
authorbulwahn
Wed, 31 Mar 2010 16:44:41 +0200
changeset 36052 c240b2a5df90
parent 36051 810357220388
child 36053 29e242e9e9a3
no specialisation for predicates without introduction rules in the predicate compiler
src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML	Wed Mar 31 16:44:41 2010 +0200
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML	Wed Mar 31 16:44:41 2010 +0200
@@ -181,6 +181,7 @@
                     else
                       (case try (Predicate_Compile_Core.intros_of thy) pred_name of
                         NONE => thy
+                      | SOME [] => thy
                       | SOME intros =>
                           specialise_intros ((map fst specs) @ (pred_name :: black_list))
                             (pred, intros) pats thy)