equal
deleted
inserted
replaced
213 fun result () = |
213 fun result () = |
214 (case SINGLE (tac' {prems = prems, context = ctxt'}) (init stmt) of |
214 (case SINGLE (tac' {prems = prems, context = ctxt'}) (init stmt) of |
215 NONE => err "Tactic failed" |
215 NONE => err "Tactic failed" |
216 | SOME st => |
216 | SOME st => |
217 let |
217 let |
|
218 val _ = |
|
219 Theory.subthy (theory_of_thm st, thy) orelse err "Bad background theory of goal state"; |
218 val res = |
220 val res = |
219 (finish ctxt' st |
221 (finish ctxt' st |
220 |> Drule.flexflex_unique |
222 |> Drule.flexflex_unique |
221 |> Thm.check_shyps sorts |
223 |> Thm.check_shyps sorts |
222 (* |> Assumption.check_hyps ctxt' FIXME *)) |
224 (* |> Assumption.check_hyps ctxt' FIXME *)) |