src/Pure/goal.ML
changeset 65458 cf504b7a7aa7
parent 64567 7141a3a4dc83
child 67721 5348bea4accd
equal deleted inserted replaced
65457:2bf0d2fcd506 65458:cf504b7a7aa7
   208       (case SINGLE (tac' {prems = prems, context = ctxt'}) (init stmt) of
   208       (case SINGLE (tac' {prems = prems, context = ctxt'}) (init stmt) of
   209         NONE => err "Tactic failed"
   209         NONE => err "Tactic failed"
   210       | SOME st =>
   210       | SOME st =>
   211           let
   211           let
   212             val _ =
   212             val _ =
   213               Context.subthy_id (Thm.theory_id_of_thm st, Context.theory_id thy) orelse
   213               Context.subthy_id (Thm.theory_id st, Context.theory_id thy) orelse
   214                 err "Bad background theory of goal state";
   214                 err "Bad background theory of goal state";
   215             val res =
   215             val res =
   216               (finish ctxt' st
   216               (finish ctxt' st
   217                 |> Drule.flexflex_unique (SOME ctxt')
   217                 |> Drule.flexflex_unique (SOME ctxt')
   218                 |> Thm.check_shyps ctxt'
   218                 |> Thm.check_shyps ctxt'