src/HOLCF/dnat2.thy
author paulson
Mon Dec 07 18:26:25 1998 +0100 (1998-12-07)
changeset 6019 0e55c2fb2ebb
parent 243 c22b85994e17
permissions -rw-r--r--
tidying
nipkow@243
     1
(*  Title: 	HOLCF/dnat2.thy
nipkow@243
     2
    ID:         $Id$
nipkow@243
     3
    Author: 	Franz Regensburger
nipkow@243
     4
    Copyright   1993 Technische Universitaet Muenchen
nipkow@243
     5
nipkow@243
     6
Additional constants for dnat
nipkow@243
     7
nipkow@243
     8
*)
nipkow@243
     9
nipkow@243
    10
Dnat2 = Dnat +
nipkow@243
    11
nipkow@243
    12
consts
nipkow@243
    13
nipkow@243
    14
iterator	:: "dnat -> ('a -> 'a) -> 'a -> 'a"
nipkow@243
    15
nipkow@243
    16
nipkow@243
    17
rules
nipkow@243
    18
nipkow@243
    19
iterator_def	"iterator = fix[LAM h n f x.\
nipkow@243
    20
\	dnat_when[x][LAM m.f[h[m][f][x]]][n]]"
nipkow@243
    21
nipkow@243
    22
nipkow@243
    23
end
nipkow@243
    24
nipkow@243
    25
nipkow@243
    26
(*
nipkow@243
    27
nipkow@243
    28
		iterator[UU][f][x] = UU
nipkow@243
    29
		iterator[dzero][f][x] = x
nipkow@243
    30
      n~=UU --> iterator[dsucc[n]][f][x] = f[iterator[n][f][x]]
nipkow@243
    31
*)
nipkow@243
    32