src/Pure/Isar/instance.ML
changeset 25514 4b508bb31a6c
parent 25502 9200b36280c0
child 25536 01753a944433
equal deleted inserted replaced
25513:b7de6e23e143 25514:4b508bb31a6c
    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;