equal
deleted
inserted
replaced
737 Logic.mk_equals (head_of (strip_abs_body fu), ft)), [])] |
737 Logic.mk_equals (head_of (strip_abs_body fu), ft)), [])] |
738 in |
738 in |
739 thy' |
739 thy' |
740 |> PureThy.store_thm (corr_name s vs, |
740 |> PureThy.store_thm (corr_name s vs, |
741 Thm.varifyT (funpow (length (term_vars corr_prop)) |
741 Thm.varifyT (funpow (length (term_vars corr_prop)) |
742 (forall_elim_var 0) (forall_intr_frees |
742 (Thm.forall_elim_var 0) (forall_intr_frees |
743 (ProofChecker.thm_of_proof thy' |
743 (ProofChecker.thm_of_proof thy' |
744 (fst (Proofterm.freeze_thaw_prf prf)))))) |
744 (fst (Proofterm.freeze_thaw_prf prf)))))) |
745 |> snd |
745 |> snd |
746 |> fold Code.add_default_func def_thms |
746 |> fold Code.add_default_func def_thms |
747 end |
747 end |