src/HOLCF/Fun1.thy
author slotosch
Sun, 25 May 1997 18:45:25 +0200
changeset 3327 9b8e638f8602
parent 3323 194ae2e0c193
child 4721 c8a8482a8124
permissions -rw-r--r--
Eliminated ccc1. Moved ID,oo into Cfun.

(*  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_chain_finite)

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

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