src/HOLCF/Up3.thy
changeset 2278 d63ffafce255
child 2291 fbd14a05fb88
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/HOLCF/Up3.thy	Fri Nov 29 12:22:22 1996 +0100
@@ -0,0 +1,40 @@
+(*  Title:      HOLCF/Up3.thy
+    ID:         $Id$
+    Author:     Franz Regensburger
+    Copyright   1993 Technische Universitaet Muenchen
+
+
+Class instance of  ('a)u for class pcpo
+
+*)
+
+Up3 = Up2 +
+
+arities "u" :: (pcpo)pcpo                       (* Witness up2.ML *)
+
+consts  
+        up  :: "'a -> ('a)u" 
+        fup :: "('a->'c)-> ('a)u -> 'c"
+
+rules 
+
+        inst_up_pcpo  "(UU::('a)u) = UU_up"
+
+defs
+        up_def   "up  == (LAM x.Iup(x))"
+        fup_def  "fup == (LAM f p.Ifup(f)(p))"
+
+translations
+
+"case l of up`x => t1" == "fup`(LAM x.t1)`l"
+
+(* start 8bit 1 *)
+translations
+
+"case l of up`x => t1" == "fup`(¤x.t1)`l"
+(* end 8bit 1 *)
+
+end
+
+
+