correct indexing in the presence of lambda-lifting
authorblanchet
Tue, 30 Sep 2014 10:25:04 +0200
changeset 58488 289d1c39968c
parent 58487 1ae4ab94ea63
child 58489 558459615a73
correct indexing in the presence of lambda-lifting
src/HOL/Tools/SMT/verit_proof_parse.ML
--- a/src/HOL/Tools/SMT/verit_proof_parse.ML	Mon Sep 29 22:09:17 2014 +0200
+++ b/src/HOL/Tools/SMT/verit_proof_parse.ML	Tue Sep 30 10:25:04 2014 +0200
@@ -40,8 +40,8 @@
     val assm_steps = map step_of_assm used_assms
     val steps = assm_steps @ actual_steps
 
-    val conjecture_i = 0
-    val prems_i = 1
+    val conjecture_i = length ll_defs
+    val prems_i = conjecture_i + 1
     val num_prems = length prems
     val facts_i = prems_i + num_prems
     val num_facts = length xfacts