Modified def.
--- a/src/HOL/Lex/Auto.ML Sat Feb 28 15:41:17 1998 +0100
+++ b/src/HOL/Lex/Auto.ML Sat Feb 28 15:41:50 1998 +0100
@@ -4,8 +4,6 @@
Copyright 1995 TUM
*)
-open Auto;
-
goalw Auto.thy [nexts_def] "nexts A st [] = st";
by (Simp_tac 1);
qed"nexts_Nil";
--- a/src/HOL/Lex/Auto.thy Sat Feb 28 15:41:17 1998 +0100
+++ b/src/HOL/Lex/Auto.thy Sat Feb 28 15:41:50 1998 +0100
@@ -31,7 +31,7 @@
"nexts(A) == foldl(next(A))"
accepts :: ('a,'b) auto => 'a list => bool
- "accepts A xs == fin A (nexts A (start A) xs)"
+ "accepts A == (%xs. fin A (nexts A (start A) xs))"
acc_prefix :: ('a, 'b)auto => 'b => 'a list => bool
"acc_prefix A st xs == ? us. us <= xs & us~=[] & fin A (nexts A st us)"