src/HOLCF/One.thy
author regensbu
Thu Jun 29 16:28:40 1995 +0200 (1995-06-29)
changeset 1168 74be52691d62
parent 625 119391dd1d59
child 1274 ea0668a1c0ba
permissions -rw-r--r--
The curried version of HOLCF is now just called HOLCF. The old
uncurried version is no longer supported
nipkow@243
     1
(*  Title: 	HOLCF/one.thy
nipkow@243
     2
    ID:         $Id$
nipkow@243
     3
    Author: 	Franz Regensburger
nipkow@243
     4
    Copyright   1993 Technische Universitaet Muenchen
nipkow@243
     5
nipkow@625
     6
Introduce atomic type one = (void)u
nipkow@243
     7
nipkow@625
     8
The type is axiomatized as the least solution of a domain equation.
nipkow@625
     9
The functor term that specifies the domain equation is: 
nipkow@243
    10
nipkow@625
    11
  FT = <U,K_{void}>
nipkow@243
    12
nipkow@625
    13
For details see chapter 5 of:
nipkow@243
    14
nipkow@625
    15
[Franz Regensburger] HOLCF: Eine konservative Erweiterung von HOL um LCF,
nipkow@625
    16
                     Dissertation, Technische Universit"at M"unchen, 1994
nipkow@243
    17
nipkow@243
    18
*)
nipkow@243
    19
nipkow@243
    20
One = ccc1+
nipkow@243
    21
nipkow@243
    22
types one 0
nipkow@243
    23
arities one :: pcpo
nipkow@243
    24
nipkow@243
    25
consts
nipkow@243
    26
	abs_one		:: "(void)u -> one"
nipkow@243
    27
	rep_one		:: "one -> (void)u"
nipkow@243
    28
	one 		:: "one"
nipkow@243
    29
	one_when 	:: "'c -> one -> 'c"
nipkow@243
    30
nipkow@243
    31
rules
regensbu@1168
    32
  abs_one_iso	"abs_one`(rep_one`u) = u"
regensbu@1168
    33
  rep_one_iso	"rep_one`(abs_one`x) = x"
nipkow@243
    34
regensbu@1168
    35
defs
regensbu@1168
    36
  one_def	"one == abs_one`(up`UU)"
regensbu@1168
    37
  one_when_def "one_when == (LAM c u.lift`(LAM x.c)`(rep_one`u))"
nipkow@243
    38
end
nipkow@243
    39
nipkow@243
    40
nipkow@243
    41
nipkow@243
    42
nipkow@243
    43