--- a/src/Pure/proofterm.ML Sat Feb 11 17:17:45 2006 +0100
+++ b/src/Pure/proofterm.ML Sat Feb 11 17:17:47 2006 +0100
@@ -913,7 +913,7 @@
val prop = (case prf of PThm (_, _, prop, _) => prop | PAxm (_, prop, _) => prop
| Oracle (_, prop, _) => prop | _ => error "shrink: proof not in normal form");
val vs = vars_of prop;
- val (ts', ts'') = splitAt (length vs, ts)
+ val (ts', ts'') = chop (length vs) ts;
val insts = Library.take (length ts', map (fst o dest_Var) vs) ~~ ts';
val nvs = Library.foldl (fn (ixns', (ixn, ixns)) =>
insert (op =) ixn (case AList.lookup (op =) insts ixn of