equal
deleted
inserted
replaced
731 Logic.mk_equals (head_of (strip_abs_body fu), ft)), [])] |
731 Logic.mk_equals (head_of (strip_abs_body fu), ft)), [])] |
732 in |
732 in |
733 thy' |
733 thy' |
734 |> PureThy.store_thm (Binding.qualified_name (corr_name s vs), |
734 |> PureThy.store_thm (Binding.qualified_name (corr_name s vs), |
735 Thm.varifyT_global (funpow (length (OldTerm.term_vars corr_prop)) |
735 Thm.varifyT_global (funpow (length (OldTerm.term_vars corr_prop)) |
736 (Thm.forall_elim_var 0) (forall_intr_frees |
736 (Thm.forall_elim_var 0) (Thm.forall_intr_frees |
737 (ProofChecker.thm_of_proof thy' |
737 (ProofChecker.thm_of_proof thy' |
738 (fst (Proofterm.freeze_thaw_prf prf)))))) |
738 (fst (Proofterm.freeze_thaw_prf prf)))))) |
739 |> snd |
739 |> snd |
740 |> fold Code.add_default_eqn def_thms |
740 |> fold Code.add_default_eqn def_thms |
741 end |
741 end |