cleanly separate each Metis encoding
authorblanchet
Thu, 19 Jan 2012 21:37:12 +0100
changeset 46296 860b7803c4fa
parent 46252 9aad9b87354a
child 46297 0a4907baf9db
cleanly separate each Metis encoding
src/HOL/Tools/Sledgehammer/sledgehammer_provers.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_provers.ML	Thu Jan 19 16:16:13 2012 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_provers.ML	Thu Jan 19 21:37:12 2012 +0100
@@ -399,9 +399,10 @@
   | _ => "Try this"
 
 fun bunch_of_reconstructors needs_full_types lam_trans =
-  [(false, Metis (hd partial_type_encs, lam_trans true)),
-   (true, Metis (full_typesN, lam_trans false)),
+  [(false, Metis (partial_type_enc, lam_trans true)),
+   (true, Metis (full_type_enc, lam_trans false)),
    (false, Metis (no_typesN, lam_trans false)),
+   (true, Metis (really_full_type_enc, lam_trans false)),
    (true, SMT)]
   |> map_filter (fn (full_types, reconstr) =>
                     if needs_full_types andalso not full_types then NONE