src/HOLCF/Cfun.ML
author huffman
Thu, 26 May 2005 02:23:27 +0200
changeset 16081 81a4b4a245b0
parent 15641 b389f108c485
child 16085 c004b9bc970e
permissions -rw-r--r--
cleaned up, added cpair_less and cpair_eq_pair, removed some obsolete stuff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15576
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     1
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     2
(* legacy ML bindings *)
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     3
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     4
val less_cfun_def = thm "less_cfun_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     5
val Rep_Cfun = thm "Rep_Cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     6
val Rep_Cfun_inverse = thm "Rep_Cfun_inverse";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     7
val Abs_Cfun_inverse = thm "Abs_Cfun_inverse";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     8
val refl_less_cfun = thm "refl_less_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
     9
val antisym_less_cfun = thm "antisym_less_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    10
val trans_less_cfun = thm "trans_less_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    11
val cfun_cong = thm "cfun_cong";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    12
val cfun_fun_cong = thm "cfun_fun_cong";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    13
val cfun_arg_cong = thm "cfun_arg_cong";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    14
val Abs_Cfun_inverse2 = thm "Abs_Cfun_inverse2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    15
val Cfunapp2 = thm "Cfunapp2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    16
val beta_cfun = thm "beta_cfun";
15641
b389f108c485 added theorems eta_cfun and cont2cont_eta
huffman
parents: 15576
diff changeset
    17
val eta_cfun = thm "eta_cfun";
15576
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    18
val inst_cfun_po = thm "inst_cfun_po";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    19
val less_cfun = thm "less_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    20
val minimal_cfun = thm "minimal_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    21
val UU_cfun_def = thm "UU_cfun_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    22
val least_cfun = thm "least_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    23
val cont_Rep_CFun2 = thm "cont_Rep_CFun2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    24
val monofun_Rep_CFun2 = thm "monofun_Rep_CFun2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    25
val contlub_Rep_CFun2 = thm "contlub_Rep_CFun2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    26
val cont_cfun_arg = thm "cont_cfun_arg";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    27
val contlub_cfun_arg = thm "contlub_cfun_arg";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    28
val monofun_Rep_CFun1 = thm "monofun_Rep_CFun1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    29
val monofun_cfun_fun = thm "monofun_cfun_fun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    30
val monofun_cfun_arg = thm "monofun_cfun_arg";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    31
val chain_monofun = thm "chain_monofun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    32
val monofun_cfun = thm "monofun_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    33
val strictI = thm "strictI";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    34
val ch2ch_Rep_CFunR = thm "ch2ch_Rep_CFunR";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    35
val ch2ch_Rep_CFunL = thm "ch2ch_Rep_CFunL";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    36
val lub_cfun_mono = thm "lub_cfun_mono";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    37
val ex_lubcfun = thm "ex_lubcfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    38
val cont_lubcfun = thm "cont_lubcfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    39
val lub_cfun = thm "lub_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    40
val thelub_cfun = thm "thelub_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    41
val cpo_cfun = thm "cpo_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    42
val ext_cfun = thm "ext_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    43
val semi_monofun_Abs_CFun = thm "semi_monofun_Abs_CFun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    44
val less_cfun2 = thm "less_cfun2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    45
val Istrictify_def = thm "Istrictify_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    46
val strictify_def = thm "strictify_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    47
val ID_def = thm "ID_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    48
val oo_def = thm "oo_def";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    49
val inst_cfun_pcpo = thm "inst_cfun_pcpo";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    50
val contlub_Rep_CFun1 = thm "contlub_Rep_CFun1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    51
val cont_Rep_CFun1 = thm "cont_Rep_CFun1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    52
val contlub_cfun_fun = thm "contlub_cfun_fun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    53
val cont_cfun_fun = thm "cont_cfun_fun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    54
val contlub_cfun = thm "contlub_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    55
val cont_cfun = thm "cont_cfun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    56
val cont2cont_Rep_CFun = thm "cont2cont_Rep_CFun";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    57
val cont2mono_LAM = thm "cont2mono_LAM";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    58
val cont2cont_LAM = thm "cont2cont_LAM";
15641
b389f108c485 added theorems eta_cfun and cont2cont_eta
huffman
parents: 15576
diff changeset
    59
val cont2cont_eta = thm "cont2cont_eta";
15576
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    60
val cont_lemmas1 = [cont_const, cont_id, cont_Rep_CFun2,
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    61
                    cont2cont_Rep_CFun, cont2cont_LAM];
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    62
val strict_Rep_CFun1 = thm "strict_Rep_CFun1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    63
val Istrictify1 = thm "Istrictify1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    64
val Istrictify2 = thm "Istrictify2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    65
val monofun_Istrictify1 = thm "monofun_Istrictify1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    66
val monofun_Istrictify2 = thm "monofun_Istrictify2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    67
val contlub_Istrictify1 = thm "contlub_Istrictify1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    68
val contlub_Istrictify2 = thm "contlub_Istrictify2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    69
val cont_Istrictify1 = thm "cont_Istrictify1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    70
val cont_Istrictify2 = thm "cont_Istrictify2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    71
val strictify1 = thm "strictify1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    72
val strictify2 = thm "strictify2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    73
val chfin_Rep_CFunR = thm "chfin_Rep_CFunR";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    74
val iso_strict = thm "iso_strict";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    75
val isorep_defined = thm "isorep_defined";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    76
val isoabs_defined = thm "isoabs_defined";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    77
val chfin2chfin = thm "chfin2chfin";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    78
val flat2flat = thm "flat2flat";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    79
val flat_codom = thm "flat_codom";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    80
val ID1 = thm "ID1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    81
val cfcomp1 = thm "cfcomp1";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    82
val cfcomp2 = thm "cfcomp2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    83
val ID2 = thm "ID2";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    84
val ID3 = thm "ID3";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    85
val assoc_oo = thm "assoc_oo";
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    86
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    87
structure Cfun =
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    88
struct
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    89
  val thy = the_context ();
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    90
  val Istrictify_def = Istrictify_def;
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    91
  val strictify_def = strictify_def;
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    92
  val ID_def = ID_def;
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    93
  val oo_def = oo_def;
efb95d0d01f7 converted to new-style theories, and combined numbered files
huffman
parents:
diff changeset
    94
end;