src/HOL/Tools/Metis/metis_reconstruct.ML
changeset 80666 cdae621613da
parent 74904 cab76af373e7
child 80910 406a85a25189
--- a/src/HOL/Tools/Metis/metis_reconstruct.ML	Wed Aug 07 16:28:32 2024 +0200
+++ b/src/HOL/Tools/Metis/metis_reconstruct.ML	Wed Aug 07 20:06:55 2024 +0200
@@ -58,8 +58,8 @@
     lits |> map (atp_literal_of_metis type_enc) |> mk_aconns AOr
 
 fun polish_hol_terms ctxt (lifted, old_skolems) =
-  map (reveal_lam_lifted lifted #> reveal_old_skolem_terms old_skolems)
-  #> Syntax.check_terms (Proof_Context.set_mode Proof_Context.mode_pattern ctxt)
+  map (reveal_lam_lifted lifted #> reveal_old_skolem_terms old_skolems) #>
+  Type_Infer_Context.infer_types_finished (Proof_Context.set_mode Proof_Context.mode_pattern ctxt)
 
 fun hol_clause_of_metis ctxt type_enc sym_tab concealed =
   Metis_Thm.clause