equal
deleted
inserted
replaced
370 |> Local_Theory.note |
370 |> Local_Theory.note |
371 ((qualify (Binding.name "simps"), @{attributes [simp, nitpick_simp]}), maps snd simps') |
371 ((qualify (Binding.name "simps"), @{attributes [simp, nitpick_simp]}), maps snd simps') |
372 |> snd |
372 |> snd |
373 end) |
373 end) |
374 [goals] |> |
374 [goals] |> |
375 Proof.apply (Method.Basic (fn ctxt => fn _ => |
375 Proof.refine_singleton (Method.Basic (fn ctxt => fn _ => |
376 EMPTY_CASES |
376 Method.CONTEXT_TACTIC |
377 (rewrite_goals_tac ctxt defs_thms THEN |
377 (rewrite_goals_tac ctxt defs_thms THEN |
378 compose_tac ctxt (false, rule, length rule_prems) 1))) |> |
378 compose_tac ctxt (false, rule, length rule_prems) 1))) |
379 Seq.hd |
|
380 end; |
379 end; |
381 |
380 |
382 in |
381 in |
383 |
382 |
384 val primrec = gen_primrec Specification.check_spec (K I); |
383 val primrec = gen_primrec Specification.check_spec (K I); |