src/HOLCF/One.thy
author slotosch
Mon Feb 17 10:57:11 1997 +0100 (1997-02-17)
changeset 2640 ee4dfce170a0
parent 2275 dbce3dce821a
child 3717 e28553315355
permissions -rw-r--r--
Changes of HOLCF from Oscar Slotosch:

1. axclass instead of class
* less instead of
less_fun,
less_cfun,
less_sprod,
less_cprod,
less_ssum,
less_up,
less_lift
* @x.!y.x<<y instead of UUU instead of
UU_fun, UU_cfun, ...
* no witness type void needed (eliminated Void.thy.Void.ML)
* inst_<typ>_<class> derived as theorems

2. improved some proves on less_sprod and less_cprod
* eliminated the following theorems
Sprod1.ML: less_sprod1a
Sprod1.ML: less_sprod1b
Sprod1.ML: less_sprod2a
Sprod1.ML: less_sprod2b
Sprod1.ML: less_sprod2c
Sprod2.ML: less_sprod3a
Sprod2.ML: less_sprod3b
Sprod2.ML: less_sprod4b
Sprod2.ML: less_sprod4c
Sprod3.ML: less_sprod5b
Sprod3.ML: less_sprod5c
Cprod1.ML: less_cprod1b
Cprod1.ML: less_cprod2a
Cprod1.ML: less_cprod2b
Cprod1.ML: less_cprod2c
Cprod2.ML: less_cprod3a
Cprod2.ML: less_cprod3b

3. new classes:
* cpo<po,
* chfin<pcpo,
* flat<pcpo,
* derived: flat<chfin
to do: show instances for lift

4. Data Type One
* Used lift for the definition: one = unit lift
* Changed the constant one into ONE

5. Data Type Tr
* Used lift for the definition: tr = bool lift
* adopted definitions of if,andalso,orelse,neg
* only one theory Tr.thy,Tr.ML instead of
Tr1.thy,Tr1.ML, Tr2.thy,Tr2.ML
* reintroduced ceils for =TT,=FF

6. typedef
* Using typedef instead of faking type definitions
to do: change fapp, fabs from Cfun1 to Rep_Cfun, Abs_Cfun

7. adopted examples and domain construct to theses changes

These changes eliminated all rules and arities from HOLCF
slotosch@2640
     1
(*  Title:      HOLCF/One.thy
nipkow@243
     2
    ID:         $Id$
slotosch@2640
     3
    Author:     Oscar Slotosch
slotosch@2640
     4
    Copyright   1997 Technische Universitaet Muenchen
nipkow@243
     5
*)
nipkow@243
     6
slotosch@2640
     7
One = Lift +
nipkow@243
     8
slotosch@2640
     9
types one = "unit lift"
nipkow@243
    10
nipkow@243
    11
consts
slotosch@2640
    12
	ONE             :: "one"
slotosch@2640
    13
slotosch@2640
    14
translations
slotosch@2640
    15
	     "one" == (type) "unit lift" 
nipkow@243
    16
nipkow@243
    17
rules
slotosch@2640
    18
  ONE_def     "ONE == Def()"
nipkow@243
    19
end
nipkow@243
    20
nipkow@243
    21