src/HOL/UNITY/Detects.thy
changeset 57488 58db442609ac
parent 37936 1e4c5015a72e
child 58889 5b7a9633cfa8
--- a/src/HOL/UNITY/Detects.thy	Wed Jul 02 13:06:07 2014 +0200
+++ b/src/HOL/UNITY/Detects.thy	Wed Jul 02 13:23:11 2014 +0200
@@ -9,13 +9,11 @@
 
 theory Detects imports FP SubstAx begin
 
-consts
-   op_Detects  :: "['a set, 'a set] => 'a program set"  (infixl "Detects" 60)
-   op_Equality :: "['a set, 'a set] => 'a set"          (infixl "<==>" 60)
-   
-defs
-  Detects_def:  "A Detects B == (Always (-A \<union> B)) \<inter> (B LeadsTo A)"
-  Equality_def: "A <==> B == (-A \<union> B) \<inter> (A \<union> -B)"
+definition Detects :: "['a set, 'a set] => 'a program set"  (infixl "Detects" 60)
+  where "A Detects B = (Always (-A \<union> B)) \<inter> (B LeadsTo A)"
+
+definition Equality :: "['a set, 'a set] => 'a set"  (infixl "<==>" 60)
+  where "A <==> B = (-A \<union> B) \<inter> (A \<union> -B)"
 
 
 (* Corollary from Sectiom 3.6.4 *)