clarified -- more standard maxidx;
authorwenzelm
Fri, 05 Aug 2016 20:40:46 +0200
changeset 63617 3646e2ba554c
parent 63616 ff66974e31be
child 63618 9c4bb72d1f4f
clarified -- more standard maxidx;
src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML	Fri Aug 05 20:45:58 2016 +0200
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_specialisation.ML	Fri Aug 05 20:40:46 2016 +0200
@@ -84,7 +84,7 @@
       (let
         val (prems, concl) = Logic.strip_horn (Thm.prop_of intro)
         val env = Pattern.unify (Context.Theory thy)
-          (HOLogic.mk_Trueprop (list_comb (pred, pats)), concl) (Envir.empty 0)
+          (HOLogic.mk_Trueprop (list_comb (pred, pats)), concl) Envir.init
         val prems = map (Envir.norm_term env) prems
         val args = map (Envir.norm_term env) result_pats
         val concl = HOLogic.mk_Trueprop (list_comb (specialised_const, args))