src/HOLCF/Fun1.thy
author wenzelm
Thu, 15 Feb 2001 17:18:54 +0100
changeset 11145 3e47692e3a3e
parent 4721 c8a8482a8124
child 12030 46d57d0290a2
permissions -rw-r--r--
eliminate get_def;

(*  Title:      HOLCF/Fun1.thy
    ID:         $Id$
    Author:     Franz Regensburger
    Copyright   1993  Technische Universitaet Muenchen


Definition of the partial ordering for the type of all functions => (fun)

REMARK: The ordering on 'a => 'b is only defined if 'b is in class po !!

*)

Fun1 = Pcpo +

instance flat<chfin (flat_imp_chfin)

(* to make << defineable: *)
instance fun  :: (term,sq_ord)sq_ord

defs
  less_fun_def "(op <<) == (%f1 f2.!x. f1 x << f2 x)"  
end