src/HOL/Library/List_Prefix.thy
changeset 19086 1b3780be6cc2
parent 18730 843da46f89ac
child 21305 d41eddfd2b66
--- a/src/HOL/Library/List_Prefix.thy	Thu Feb 16 21:11:58 2006 +0100
+++ b/src/HOL/Library/List_Prefix.thy	Thu Feb 16 21:12:00 2006 +0100
@@ -155,9 +155,9 @@
 
 subsection {* Parallel lists *}
 
-constdefs
+definition
   parallel :: "'a list => 'a list => bool"    (infixl "\<parallel>" 50)
-  "xs \<parallel> ys == \<not> xs \<le> ys \<and> \<not> ys \<le> xs"
+  "(xs \<parallel> ys) = (\<not> xs \<le> ys \<and> \<not> ys \<le> xs)"
 
 lemma parallelI [intro]: "\<not> xs \<le> ys ==> \<not> ys \<le> xs ==> xs \<parallel> ys"
   unfolding parallel_def by blast
@@ -215,9 +215,9 @@
 
 subsection {* Postfix order on lists *}
 
-constdefs
+definition
   postfix :: "'a list => 'a list => bool"  ("(_/ >>= _)" [51, 50] 50)
-  "xs >>= ys == \<exists>zs. xs = zs @ ys"
+  "(xs >>= ys) = (\<exists>zs. xs = zs @ ys)"
 
 lemma postfix_refl [simp, intro!]: "xs >>= xs"
   by (auto simp add: postfix_def)