equal
deleted
inserted
replaced
469 in |
469 in |
470 thy |
470 thy |
471 |> TheoryTarget.instantiation (dtcos, vs', [HOLogic.class_eq]) |
471 |> TheoryTarget.instantiation (dtcos, vs', [HOLogic.class_eq]) |
472 |> fold_map add_def dtcos |
472 |> fold_map add_def dtcos |
473 |-> (fn thms => Class.prove_instantiation_instance (K (tac thms)) |
473 |-> (fn thms => Class.prove_instantiation_instance (K (tac thms)) |
474 #> LocalTheory.exit |
474 #> LocalTheory.exit_global |
475 #> ProofContext.theory_of |
|
476 #> fold Code.del_eqn thms |
475 #> fold Code.del_eqn thms |
477 #> fold add_eq_thms dtcos) |
476 #> fold add_eq_thms dtcos) |
478 end; |
477 end; |
479 |
478 |
480 |
479 |