src/Pure/Isar/proof.ML
changeset 39232 69c6d3e87660
parent 39129 976af4e27cde
child 39616 8052101883c3
equal deleted inserted replaced
39231:25c345302a17 39232:69c6d3e87660
   988     |> local_goal print_results prep_att prepp "show" before_qed after_qed' stmt
   988     |> local_goal print_results prep_att prepp "show" before_qed after_qed' stmt
   989     |> int ? (fn goal_state =>
   989     |> int ? (fn goal_state =>
   990       (case test_proof goal_state of
   990       (case test_proof goal_state of
   991         Exn.Result (SOME _) => goal_state
   991         Exn.Result (SOME _) => goal_state
   992       | Exn.Result NONE => error (fail_msg (context_of goal_state))
   992       | Exn.Result NONE => error (fail_msg (context_of goal_state))
   993       | Exn.Exn Exn.Interrupt => raise Exn.Interrupt
   993       | Exn.Exn exn =>
   994       | Exn.Exn exn => raise Exn.EXCEPTIONS ([exn, ERROR (fail_msg (context_of goal_state))])))
   994           if Exn.is_interrupt exn then reraise exn
       
   995           else raise Exn.EXCEPTIONS ([exn, ERROR (fail_msg (context_of goal_state))])))
   995   end;
   996   end;
   996 
   997 
   997 in
   998 in
   998 
   999 
   999 val have = gen_have (K I) ProofContext.bind_propp_i;
  1000 val have = gen_have (K I) ProofContext.bind_propp_i;