src/HOL/Tools/BNF/bnf_comp.ML
changeset 55930 25a90cebbbe5
parent 55908 e6d570cb0f5e
child 55935 8f20d09d294e
--- a/src/HOL/Tools/BNF/bnf_comp.ML	Wed Mar 05 17:23:28 2014 -0800
+++ b/src/HOL/Tools/BNF/bnf_comp.ML	Thu Mar 06 12:17:26 2014 +0100
@@ -197,7 +197,8 @@
         val setT = fastype_of set;
         val var_set' = Const (@{const_name id_bnf_comp}, setT --> setT) $ Var ((Name.uu, 0), setT);
         val goal = mk_Trueprop_eq (var_set', set);
-        fun tac {context = ctxt, prems = _} = mk_simplified_set_tac ctxt;
+        fun tac {context = ctxt, prems = _} =
+          mk_simplified_set_tac ctxt (collect_set_map_of_bnf outer);
         val set'_eq_set =
           Goal.prove names_lthy [] [] goal tac
           |> Thm.close_derivation;