src/HOLCF/cfun3.thy
author nipkow
Thu, 13 Apr 2000 10:30:28 +0200
changeset 8698 8812dad6ef12
parent 243 c22b85994e17
permissions -rw-r--r--
made mod_less_divisor a simplification rule.

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

Class instance of  -> for class pcpo

*)

Cfun3 = Cfun2 +

arities "->"	:: (pcpo,pcpo)pcpo		(* Witness cfun2.ML *)

consts  
	Istrictify   :: "('a->'b)=>'a=>'b"
	strictify    :: "('a->'b)->'a->'b"

rules 

inst_cfun_pcpo	"UU::'a->'b = UU_cfun"

Istrictify_def	"Istrictify(f,x) == (@z.\
\			  ( x=UU --> z = UU)\
\			& (~x=UU --> z = f[x]))"	

strictify_def	"strictify == (LAM f x.Istrictify(f,x))"

end