src/HOLCF/stream2.thy
author paulson
Thu, 08 Jul 1999 13:38:41 +0200
changeset 6915 4ab8e31a8421
parent 297 5ef75ff3baeb
permissions -rw-r--r--
Now if_weak_cong is a standard congruence rule

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

Additional constants for stream
*)

Stream2 = Stream +

consts

smap		:: "('a -> 'b) -> 'a stream -> 'b stream"

rules

smap_def
  "smap = fix[LAM h f s. stream_when[LAM x l.scons[f[x]][h[f][l]]][s]]"


end
      

(*
		smap[f][UU] = UU
      x~=UU --> smap[f][scons[x][xs]] = scons[f[x]][smap[f][xs]]

*)