use 'prove_sorry'
authorblanchet
Thu, 09 Jan 2014 15:08:05 +0100
changeset 54952 d9fd054a3386
parent 54951 e25b4d22082b
child 54953 a2f4cf3387fc
use 'prove_sorry'
src/HOL/BNF/Tools/bnf_lfp_rec_sugar.ML
--- a/src/HOL/BNF/Tools/bnf_lfp_rec_sugar.ML	Thu Jan 09 15:07:25 2014 +0100
+++ b/src/HOL/BNF/Tools/bnf_lfp_rec_sugar.ML	Thu Jan 09 15:08:05 2014 +0100
@@ -511,9 +511,9 @@
             (#user_eqn x, length (#left_args x) + length (#right_args x), #rec_thm y)))
           |> map (fn (user_eqn, num_extra_args, rec_thm) =>
             mk_primrec_tac lthy num_extra_args nested_map_idents nested_map_comps def_thms rec_thm
-            |> K |> Goal.prove lthy [] [] user_eqn
+            |> K |> Goal.prove_sorry lthy [] [] user_eqn
             |> Thm.close_derivation);
-        val poss = find_indices (fn (x, y) => #ctr x = #ctr y) fun_data eqns_data;
+        val poss = find_indices (op = o pairself #ctr) fun_data eqns_data;
       in
         (poss, simp_thmss)
       end;