equal
deleted
inserted
replaced
59 thy |
59 thy |
60 |> TheoryTarget.instantiation arities |
60 |> TheoryTarget.instantiation arities |
61 |> `(fn ctxt => map (mk_def ctxt) defs) |
61 |> `(fn ctxt => map (mk_def ctxt) defs) |
62 |-> (fn defs => fold_map Specification.definition defs) |
62 |-> (fn defs => fold_map Specification.definition defs) |
63 |-> (fn defs => `(fn ctxt => export_defs ctxt defs)) |
63 |-> (fn defs => `(fn ctxt => export_defs ctxt defs)) |
64 ||> LocalTheory.exit |
64 ||> LocalTheory.reinit |
65 ||> ProofContext.theory_of |
65 (*||> ProofContext.theory_of |
66 ||> TheoryTarget.instantiation arities |
66 ||> TheoryTarget.instantiation arities*) |
67 |-> (fn defs => do_proof defs) |
67 |-> (fn defs => do_proof defs) |
68 else |
68 else |
69 thy |
69 thy |
70 |> do_proof' arities |
70 |> do_proof' arities |
71 end; |
71 end; |