src/HOLCF/ccc1.thy
author regensbu
Mon, 28 Nov 1994 19:48:30 +0100
changeset 752 b89462f9d5f1
parent 625 119391dd1d59
child 1168 74be52691d62
permissions -rw-r--r--
---------------------------------------------------------------------- Committing in HOLCF Use new translation mechanism and keyword syntax, cinfix.ML no longer needed. Optimized proofs in Cont.ML Modified Files: Cfun1.ML Cfun2.thy Cont.ML Cprod3.thy Makefile README Sprod3.thy Tr2.thy ccc1.thy ----------------------------------------------------------------------

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

Merge Theories Cprof, Sprod, Ssum, Lift, Fix and
define constants for categorical reasoning
*)

ccc1 = Cprod3 + Sprod3 + Ssum3 + Lift3 + Fix +

consts
	ID 	:: "'a -> 'a"
	cfcomp	:: "('b->'c)->('a->'b)->'a->'c"

syntax	"@oo"	:: "('b->'c)=>('a->'b)=>'a->'c" ("_ oo _" [101,100] 100)
     
translations 	"f1 oo f2" == "cfcomp[f1][f2]"

rules

  ID_def	"ID ==(LAM x.x)"
  oo_def	"cfcomp == (LAM f g x.f[g[x]])" 

end