extra syntax for JN, making it more like UN
authorpaulson
Thu, 26 Aug 1999 11:33:24 +0200
changeset 7359 98a2afab3f86
parent 7358 9e95b846ad42
child 7360 7d3136b9af08
extra syntax for JN, making it more like UN
src/HOL/UNITY/Union.thy
--- a/src/HOL/UNITY/Union.thy	Thu Aug 26 11:32:39 1999 +0200
+++ b/src/HOL/UNITY/Union.thy	Thu Aug 26 11:33:24 1999 +0200
@@ -6,6 +6,8 @@
 Unions of programs
 
 Partly from Misra's Chapter 5: Asynchronous Compositions of Programs
+
+Do we need a Meet operator?  (Aka Intersection)
 *)
 
 Union = SubstAx + FP +
@@ -32,9 +34,12 @@
     "Disjoint F G == Acts F Int Acts G <= {Id}"
 
 syntax
+  "@JOIN1"     :: [pttrns, 'b set] => 'b set         ("(3JN _./ _)" 10)
   "@JOIN"      :: [pttrn, 'a set, 'b set] => 'b set  ("(3JN _:_./ _)" 10)
 
 translations
   "JN x:A. B"   == "JOIN A (%x. B)"
+  "JN x y. B"   == "JN x. JN y. B"
+  "JN x. B"     == "JOIN UNIV (%x. B)"
 
 end