src/Pure/Proof/extraction.ML
changeset 26653 60e0cf6bef89
parent 26626 c6231d64d264
child 26939 1035c89b4c02
equal deleted inserted replaced
26652:43310f3721a5 26653:60e0cf6bef89
   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