src/HOLCF/Fun1.thy
author paulson
Wed, 09 Oct 1996 13:32:33 +0200
changeset 2073 fb0655539d05
parent 1479 21eb5e156d91
child 2640 ee4dfce170a0
permissions -rw-r--r--
New unified treatment of sequent calculi by Sara Kalvala combines the old LK and Modal with the new ILL (Int. Linear Logic)

(*  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 +

(* default class is still term *)

consts
  less_fun      :: "['a=>'b::po,'a=>'b] => bool"        

defs
   (* definition of the ordering less_fun            *)
   (* in fun1.ML it is proved that less_fun is a po *)
   
  less_fun_def "less_fun f1 f2 == ! x. f1(x) << f2(x)"  

end