tuned messages;
authorwenzelm
Mon, 29 Jul 2002 21:39:22 +0200
changeset 13430 ab814c7685a9
parent 13429 2232810416fc
child 13431 b0ba3b3573e1
tuned messages;
src/Pure/Isar/proof_context.ML
--- a/src/Pure/Isar/proof_context.ML	Mon Jul 29 18:07:53 2002 +0200
+++ b/src/Pure/Isar/proof_context.ML	Mon Jul 29 21:39:22 2002 +0200
@@ -1033,14 +1033,14 @@
       handle TERM _ => err "Not a meta-equality (==)";
     val (f, xs) = Term.strip_comb lhs;
     val (c, _) = Term.dest_Free f handle TERM _ =>
-      err "Head of lhs must be free or fixed variable";
+      err "Head of lhs must be a free/fixed variable";
 
     fun is_free (Free (x, _)) = not (is_fixed ctxt x)
       | is_free _ = false;
     val extra_frees = filter is_free (term_frees rhs) \\ xs;
   in
     conditional (not (forall (is_Bound orf is_free) xs andalso null (duplicates xs))) (fn () =>
-      err "Arguments of lhs must be distinct free or fixed variables");
+      err "Arguments of lhs must be distinct free/bound variables");
     conditional (f mem Term.term_frees rhs) (fn () =>
       err "Element to be defined occurs on rhs");
     conditional (not (null extra_frees)) (fn () =>