src/HOL/Nat.ML
author wenzelm
Wed Dec 06 01:12:36 2006 +0100 (2006-12-06)
changeset 21669 c68717c16013
parent 17274 746bb4c56800
permissions -rw-r--r--
removed legacy ML bindings;
oheimb@2441
     1
(*  Title:      HOL/Nat.ML
clasohm@923
     2
    ID:         $Id$
clasohm@923
     3
*)
clasohm@923
     4
berghofe@13450
     5
(** legacy ML bindings **)
berghofe@5188
     6
berghofe@13450
     7
structure nat =
berghofe@13450
     8
struct
berghofe@13450
     9
  val distinct = thms "nat.distinct";
berghofe@13450
    10
  val inject = thms "nat.inject";
berghofe@13450
    11
  val exhaust = thm "nat.exhaust";
berghofe@13450
    12
  val cases = thms "nat.cases";
berghofe@13450
    13
  val split = thm "nat.split";
berghofe@13450
    14
  val split_asm = thm "nat.split_asm";
berghofe@13450
    15
  val induct = thm "nat.induct";
berghofe@13450
    16
  val recs = thms "nat.recs";
berghofe@13450
    17
  val simps = thms "nat.simps";
berghofe@13450
    18
end;
berghofe@13450
    19
berghofe@13450
    20
val Least_Suc = thm "Least_Suc";
berghofe@13450
    21
val Least_Suc2 = thm "Least_Suc2";
berghofe@13450
    22
val One_nat_def = thm "One_nat_def";
berghofe@13450
    23
val Suc_Suc_eq = thm "Suc_Suc_eq";
berghofe@13450
    24
val Suc_def = thm "Suc_def";
berghofe@13450
    25
val Suc_diff_diff = thm "Suc_diff_diff";
berghofe@13450
    26
val Suc_diff_le = thm "Suc_diff_le";
berghofe@13450
    27
val Suc_inject = thm "Suc_inject";
berghofe@13450
    28
val Suc_leD = thm "Suc_leD";
berghofe@13450
    29
val Suc_leI = thm "Suc_leI";
berghofe@13450
    30
val Suc_le_D = thm "Suc_le_D";
berghofe@13450
    31
val Suc_le_eq = thm "Suc_le_eq";
berghofe@13450
    32
val Suc_le_lessD = thm "Suc_le_lessD";
berghofe@13450
    33
val Suc_le_mono = thm "Suc_le_mono";
berghofe@13450
    34
val Suc_lessD = thm "Suc_lessD";
berghofe@13450
    35
val Suc_lessE = thm "Suc_lessE";
berghofe@13450
    36
val Suc_lessI = thm "Suc_lessI";
berghofe@13450
    37
val Suc_less_SucD = thm "Suc_less_SucD";
berghofe@13450
    38
val Suc_less_eq = thm "Suc_less_eq";
berghofe@13450
    39
val Suc_mono = thm "Suc_mono";
berghofe@13450
    40
val Suc_mult_cancel1 = thm "Suc_mult_cancel1";
berghofe@13450
    41
val Suc_mult_le_cancel1 = thm "Suc_mult_le_cancel1";
berghofe@13450
    42
val Suc_mult_less_cancel1 = thm "Suc_mult_less_cancel1";
berghofe@13450
    43
val Suc_n_not_le_n = thm "Suc_n_not_le_n";
berghofe@13450
    44
val Suc_n_not_n = thm "Suc_n_not_n";
berghofe@13450
    45
val Suc_neq_Zero = thm "Suc_neq_Zero";
berghofe@13450
    46
val Suc_not_Zero = thm "Suc_not_Zero";
berghofe@13450
    47
val Suc_pred = thm "Suc_pred";
berghofe@13450
    48
val Zero_nat_def = thm "Zero_nat_def";
berghofe@13450
    49
val Zero_neq_Suc = thm "Zero_neq_Suc";
berghofe@13450
    50
val Zero_not_Suc = thm "Zero_not_Suc";
berghofe@13450
    51
val add_0 = thm "add_0";
berghofe@13450
    52
val add_0_right = thm "add_0_right";
berghofe@13450
    53
val add_Suc = thm "add_Suc";
berghofe@13450
    54
val add_Suc_right = thm "add_Suc_right";
berghofe@13450
    55
val add_ac = thms "add_ac";
berghofe@13450
    56
val add_assoc = thm "add_assoc";
berghofe@13450
    57
val add_commute = thm "add_commute";
berghofe@13450
    58
val add_diff_inverse = thm "add_diff_inverse";
berghofe@13450
    59
val add_eq_self_zero = thm "add_eq_self_zero";
berghofe@13450
    60
val add_gr_0 = thm "add_gr_0";
berghofe@13450
    61
val add_is_0 = thm "add_is_0";
berghofe@13450
    62
val add_is_1 = thm "add_is_1";
berghofe@13450
    63
val add_leD1 = thm "add_leD1";
berghofe@13450
    64
val add_leD2 = thm "add_leD2";
berghofe@13450
    65
val add_leE = thm "add_leE";
berghofe@13450
    66
val add_le_mono = thm "add_le_mono";
berghofe@13450
    67
val add_le_mono1 = thm "add_le_mono1";
paulson@14331
    68
val nat_add_left_cancel = thm "nat_add_left_cancel";
paulson@14331
    69
val nat_add_left_cancel_le = thm "nat_add_left_cancel_le";
paulson@14331
    70
val nat_add_left_cancel_less = thm "nat_add_left_cancel_less";
berghofe@13450
    71
val add_left_commute = thm "add_left_commute";
berghofe@13450
    72
val add_lessD1 = thm "add_lessD1";
berghofe@13450
    73
val add_less_mono = thm "add_less_mono";
berghofe@13450
    74
val add_less_mono1 = thm "add_less_mono1";
berghofe@13450
    75
val add_mult_distrib = thm "add_mult_distrib";
berghofe@13450
    76
val add_mult_distrib2 = thm "add_mult_distrib2";
paulson@14331
    77
val nat_add_right_cancel = thm "nat_add_right_cancel";
berghofe@13450
    78
val def_nat_rec_0 = thm "def_nat_rec_0";
berghofe@13450
    79
val def_nat_rec_Suc = thm "def_nat_rec_Suc";
berghofe@13450
    80
val diff_0 = thm "diff_0";
berghofe@13450
    81
val diff_0_eq_0 = thm "diff_0_eq_0";
berghofe@13450
    82
val diff_Suc = thm "diff_Suc";
berghofe@13450
    83
val diff_Suc_Suc = thm "diff_Suc_Suc";
berghofe@13450
    84
val diff_Suc_less = thm "diff_Suc_less";
berghofe@13450
    85
val diff_add_0 = thm "diff_add_0";
berghofe@13450
    86
val diff_add_assoc = thm "diff_add_assoc";
berghofe@13450
    87
val diff_add_assoc2 = thm "diff_add_assoc2";
berghofe@13450
    88
val diff_add_inverse = thm "diff_add_inverse";
berghofe@13450
    89
val diff_add_inverse2 = thm "diff_add_inverse2";
berghofe@13450
    90
val diff_cancel = thm "diff_cancel";
berghofe@13450
    91
val diff_cancel2 = thm "diff_cancel2";
berghofe@13450
    92
val diff_commute = thm "diff_commute";
berghofe@13450
    93
val diff_diff_left = thm "diff_diff_left";
berghofe@13450
    94
val diff_induct = thm "diff_induct";
berghofe@13450
    95
val diff_is_0_eq = thm "diff_is_0_eq";
berghofe@13450
    96
val diff_le_self = thm "diff_le_self";
berghofe@13450
    97
val diff_less_Suc = thm "diff_less_Suc";
berghofe@13450
    98
val diff_mult_distrib = thm "diff_mult_distrib"; 
berghofe@13450
    99
val diff_mult_distrib2 = thm "diff_mult_distrib2"; 
berghofe@13450
   100
val diff_self_eq_0 = thm "diff_self_eq_0";
berghofe@13450
   101
val eq_imp_le = thm "eq_imp_le";
berghofe@13450
   102
val gr0I = thm "gr0I";
berghofe@13450
   103
val gr0_conv_Suc = thm "gr0_conv_Suc";
berghofe@13450
   104
val gr_implies_not0 = thm "gr_implies_not0";
berghofe@13450
   105
val inj_Suc = thm "inj_Suc";
berghofe@13450
   106
val le0 = thm "le0";
berghofe@13450
   107
val le_0_eq = thm "le_0_eq";
berghofe@13450
   108
val le_SucE = thm "le_SucE";
berghofe@13450
   109
val le_SucI = thm "le_SucI";
berghofe@13450
   110
val le_Suc_eq = thm "le_Suc_eq";
berghofe@13450
   111
val le_add1 = thm "le_add1";
berghofe@13450
   112
val le_add2 = thm "le_add2";
berghofe@13450
   113
val le_add_diff_inverse = thm "le_add_diff_inverse";
berghofe@13450
   114
val le_add_diff_inverse2 = thm "le_add_diff_inverse2";
berghofe@13450
   115
val le_anti_sym = thm "le_anti_sym";
berghofe@13450
   116
val le_def = thm "le_def";
berghofe@13450
   117
val le_eq_less_or_eq = thm "le_eq_less_or_eq";
berghofe@13450
   118
val le_imp_diff_is_add = thm "le_imp_diff_is_add";
berghofe@13450
   119
val le_imp_less_Suc = thm "le_imp_less_Suc";
berghofe@13450
   120
val le_imp_less_or_eq = thm "le_imp_less_or_eq";
berghofe@13450
   121
val le_less_trans = thm "le_less_trans";
berghofe@13450
   122
val le_neq_implies_less = thm "le_neq_implies_less";
berghofe@13450
   123
val le_refl = thm "le_refl";
berghofe@13450
   124
val le_simps = thms "le_simps";
berghofe@13450
   125
val le_trans = thm "le_trans";
berghofe@13450
   126
val lessE = thm "lessE";
berghofe@13450
   127
val lessI = thm "lessI";
berghofe@13450
   128
val less_Suc0 = thm "less_Suc0";
berghofe@13450
   129
val less_SucE = thm "less_SucE";
berghofe@13450
   130
val less_SucI = thm "less_SucI";
berghofe@13450
   131
val less_Suc_eq = thm "less_Suc_eq";
berghofe@13450
   132
val less_Suc_eq_0_disj = thm "less_Suc_eq_0_disj";
berghofe@13450
   133
val less_Suc_eq_le = thm "less_Suc_eq_le";
berghofe@13450
   134
val less_add_Suc1 = thm "less_add_Suc1";
berghofe@13450
   135
val less_add_Suc2 = thm "less_add_Suc2";
berghofe@13450
   136
val less_add_eq_less = thm "less_add_eq_less";
berghofe@13450
   137
val less_asym = thm "less_asym";
berghofe@13450
   138
val less_def = thm "less_def";
berghofe@13450
   139
val less_eq = thm "less_eq";
berghofe@13450
   140
val less_iff_Suc_add = thm "less_iff_Suc_add";
berghofe@13450
   141
val less_imp_Suc_add = thm "less_imp_Suc_add";
berghofe@13450
   142
val less_imp_add_positive = thm "less_imp_add_positive";
berghofe@13450
   143
val less_imp_diff_less = thm "less_imp_diff_less";
berghofe@13450
   144
val less_imp_le = thm "less_imp_le";
berghofe@13450
   145
val less_irrefl = thm "less_irrefl";
berghofe@13450
   146
val less_le_trans = thm "less_le_trans";
berghofe@13450
   147
val less_linear = thm "less_linear";
berghofe@13450
   148
val less_mono_imp_le_mono = thm "less_mono_imp_le_mono";
berghofe@13450
   149
val less_not_refl = thm "less_not_refl";
berghofe@13450
   150
val less_not_refl2 = thm "less_not_refl2";
berghofe@13450
   151
val less_not_refl3 = thm "less_not_refl3";
berghofe@13450
   152
val less_not_sym = thm "less_not_sym";
berghofe@13450
   153
val less_one = thm "less_one";
berghofe@13450
   154
val less_or_eq_imp_le = thm "less_or_eq_imp_le";
berghofe@13450
   155
val less_trans = thm "less_trans";
berghofe@13450
   156
val less_trans_Suc = thm "less_trans_Suc";
berghofe@13450
   157
val less_zeroE = thm "less_zeroE";
berghofe@13450
   158
val max_0L = thm "max_0L";
berghofe@13450
   159
val max_0R = thm "max_0R";
berghofe@13450
   160
val max_Suc_Suc = thm "max_Suc_Suc";
berghofe@13450
   161
val min_0L = thm "min_0L";
berghofe@13450
   162
val min_0R = thm "min_0R";
berghofe@13450
   163
val min_Suc_Suc = thm "min_Suc_Suc";
berghofe@13450
   164
val mult_0 = thm "mult_0";
berghofe@13450
   165
val mult_0_right = thm "mult_0_right";
berghofe@13450
   166
val mult_1 = thm "mult_1";
berghofe@13450
   167
val mult_1_right = thm "mult_1_right";
berghofe@13450
   168
val mult_Suc = thm "mult_Suc";
berghofe@13450
   169
val mult_Suc_right = thm "mult_Suc_right";
berghofe@13450
   170
val mult_ac = thms "mult_ac";
berghofe@13450
   171
val mult_assoc = thm "mult_assoc";
berghofe@13450
   172
val mult_cancel1 = thm "mult_cancel1";
berghofe@13450
   173
val mult_cancel2 = thm "mult_cancel2";
berghofe@13450
   174
val mult_commute = thm "mult_commute";
berghofe@13450
   175
val mult_eq_1_iff = thm "mult_eq_1_iff";
berghofe@13450
   176
val mult_eq_self_implies_10 = thm "mult_eq_self_implies_10";
berghofe@13450
   177
val mult_is_0 = thm "mult_is_0";
berghofe@13450
   178
val mult_le_cancel1 = thm "mult_le_cancel1";
berghofe@13450
   179
val mult_le_cancel2 = thm "mult_le_cancel2";
berghofe@13450
   180
val mult_le_mono = thm "mult_le_mono";
berghofe@13450
   181
val mult_le_mono1 = thm "mult_le_mono1";
berghofe@13450
   182
val mult_le_mono2 = thm "mult_le_mono2";
berghofe@13450
   183
val mult_left_commute = thm "mult_left_commute";
berghofe@13450
   184
val mult_less_cancel1 = thm "mult_less_cancel1";
berghofe@13450
   185
val mult_less_cancel2 = thm "mult_less_cancel2";
berghofe@13450
   186
val mult_less_mono1 = thm "mult_less_mono1";
berghofe@13450
   187
val mult_less_mono2 = thm "mult_less_mono2";
berghofe@13450
   188
val n_not_Suc_n = thm "n_not_Suc_n";
berghofe@13450
   189
val nat_distrib = thms "nat_distrib";
berghofe@13450
   190
val nat_induct = thm "nat_induct";
berghofe@13450
   191
val nat_induct2 = thm "nat_induct2";
berghofe@13450
   192
val nat_le_linear = thm "nat_le_linear";
berghofe@13450
   193
val nat_less_cases = thm "nat_less_cases";
berghofe@13450
   194
val nat_less_induct = thm "nat_less_induct";
berghofe@13450
   195
val nat_less_le = thm "nat_less_le";
berghofe@13450
   196
val nat_neq_iff = thm "nat_neq_iff";
berghofe@13450
   197
val nat_not_singleton = thm "nat_not_singleton";
berghofe@13450
   198
val neq0_conv = thm "neq0_conv";
berghofe@13450
   199
val not0_implies_Suc = thm "not0_implies_Suc";
berghofe@13450
   200
val not_add_less1 = thm "not_add_less1";
berghofe@13450
   201
val not_add_less2 = thm "not_add_less2";
berghofe@13450
   202
val not_gr0 = thm "not_gr0";
berghofe@13450
   203
val not_leE = thm "not_leE";
berghofe@13450
   204
val not_less0 = thm "not_less0";
berghofe@13450
   205
val not_less_eq = thm "not_less_eq";
berghofe@13450
   206
val not_less_less_Suc_eq = thm "not_less_less_Suc_eq";
berghofe@13450
   207
val not_less_simps = thms "not_less_simps";
berghofe@13450
   208
val one_eq_mult_iff = thm "one_eq_mult_iff";
berghofe@13450
   209
val one_is_add = thm "one_is_add";
berghofe@13450
   210
val one_le_mult_iff = thm "one_le_mult_iff";
berghofe@13450
   211
val one_reorient = thm "one_reorient";
berghofe@13450
   212
val pred_nat_def = thm "pred_nat_def";
berghofe@13450
   213
val trans_le_add1 = thm "trans_le_add1";
berghofe@13450
   214
val trans_le_add2 = thm "trans_le_add2";
berghofe@13450
   215
val trans_less_add1 = thm "trans_less_add1";
berghofe@13450
   216
val trans_less_add2 = thm "trans_less_add2";
berghofe@13450
   217
val wf_less = thm "wf_less";
berghofe@13450
   218
val wf_pred_nat = thm "wf_pred_nat";
berghofe@13450
   219
val zero_induct = thm "zero_induct";
berghofe@13450
   220
val zero_induct_lemma = thm "zero_induct_lemma";
berghofe@13450
   221
val zero_less_Suc = thm "zero_less_Suc";
berghofe@13450
   222
val zero_less_diff = thm "zero_less_diff";
berghofe@13450
   223
val zero_less_mult_iff = thm "zero_less_mult_iff";
berghofe@13450
   224
val zero_reorient = thm "zero_reorient";
wenzelm@17274
   225
val linorder_neqE_nat = thm "linorder_neqE_nat";