src/HOLCF/Up3.thy
author nipkow
Fri, 16 Jul 2004 17:33:43 +0200
changeset 15057 b1a368d93c50
parent 14981 e73f8140af78
permissions -rw-r--r--
added Complex/root

(*  Title:      HOLCF/Up3.thy
    ID:         $Id$
    Author:     Franz Regensburger

Class instance of  ('a)u for class pcpo
*)

Up3 = Up2 +

instance u :: (pcpo)pcpo      (least_up,cpo_up)

constdefs  
        up  :: "'a -> ('a)u"
       "up  == (LAM x. Iup(x))"
        fup :: "('a->'c)-> ('a)u -> 'c"
       "fup == (LAM f p. Ifup(f)(p))"

translations
"case l of up$x => t1" == "fup$(LAM x. t1)$l"

end