src/Pure/Isar/proof.ML
changeset 34239 e18b0f7b9902
parent 33389 bb3a5fa94a91
child 34916 f625d8d6fcf3
equal deleted inserted replaced
34238:b28be884edda 34239:e18b0f7b9902
   860       flat (tl stmt)
   860       flat (tl stmt)
   861       |> Variable.exportT_terms goal_ctxt outer_ctxt;
   861       |> Variable.exportT_terms goal_ctxt outer_ctxt;
   862     val results =
   862     val results =
   863       tl (conclude_goal goal_ctxt goal stmt)
   863       tl (conclude_goal goal_ctxt goal stmt)
   864       |> burrow (ProofContext.export goal_ctxt outer_ctxt);
   864       |> burrow (ProofContext.export goal_ctxt outer_ctxt);
   865 
       
   866     val (after_local, after_global) = after_qed;
       
   867     fun after_local' x y = Position.setmp_thread_data pos (fn () => after_local x y) ();
       
   868     fun after_global' x y = Position.setmp_thread_data pos (fn () => after_global x y) ();
       
   869   in
   865   in
   870     outer_state
   866     outer_state
   871     |> map_context (after_ctxt props)
   867     |> map_context (after_ctxt props)
   872     |> pair ((after_local', after_global'), results)
   868     |> pair (after_qed, results)
   873   end;
   869   end;
   874 
   870 
   875 end;
   871 end;
   876 
   872 
   877 
   873