author | blanchet |
Thu, 13 Mar 2014 14:48:20 +0100 | |
changeset 56105 | 75dc126f5dcb |
parent 56104 | fd6e132ee4fb |
child 56106 | 9cfea3ab002a |
--- a/src/HOL/Tools/SMT2/smt2_normalize.ML Thu Mar 13 14:48:20 2014 +0100 +++ b/src/HOL/Tools/SMT2/smt2_normalize.ML Thu Mar 13 14:48:20 2014 +0100 @@ -497,7 +497,7 @@ let val (is, thms) = split_list ithms val (thms', extra_thms) = f thms - in (is ~~ thms') @ tag_list (length is) extra_thms end + in (is ~~ thms') @ tag_list (fold Integer.max is 0 + 1) extra_thms end fun unfold2 ctxt ithms = ithms