src/HOLCF/Fun1.thy
author kleing
Sat, 17 Apr 2004 00:46:22 +0200
changeset 14610 9c2e31e483b2
parent 12338 de0f4a63baa5
child 14981 e73f8140af78
permissions -rw-r--r--
added HOL-Matrix, added HOL/Matrix/ROOT.ML

(*  Title:      HOLCF/Fun1.thy
    ID:         $Id$
    Author:     Franz Regensburger
    License:    GPL (GNU GENERAL PUBLIC LICENSE)

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  :: (type, sq_ord) sq_ord

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