src/HOL/Tools/ATP/atp_reconstruct.ML
changeset 43212 050a03afe024
parent 43204 ac02112a208e
child 43228 2ed2f092e990
--- a/src/HOL/Tools/ATP/atp_reconstruct.ML	Mon Jun 06 20:36:36 2011 +0200
+++ b/src/HOL/Tools/ATP/atp_reconstruct.ML	Mon Jun 06 20:56:06 2011 +0200
@@ -427,7 +427,10 @@
 fun term_from_atp ctxt textual sym_tab =
   let
     val thy = Proof_Context.theory_of ctxt
-    (* see also "mk_var" in "Metis_Reconstruct" *)
+    (* For Metis, we use 1 rather than 0 because variable references in clauses
+       may otherwise conflict with variable constraints in the goal. At least,
+       type inference often fails otherwise. See also "axiom_inference" in
+       "Metis_Reconstruct". *)
     val var_index = if textual then 0 else 1
     fun do_term extra_ts opt_T u =
       case u of