src/HOL/Finite_Set.ML
author wenzelm
Thu Jan 10 01:10:58 2002 +0100 (2002-01-10)
changeset 12693 827818b891c7
parent 12396 2298d5b8e530
child 14485 ea2707645af8
permissions -rw-r--r--
qualified exports from locales;
wenzelm@12396
     1
wenzelm@12396
     2
(* legacy ML bindings *)
wenzelm@12396
     3
wenzelm@12396
     4
structure Finites =
wenzelm@12396
     5
struct
wenzelm@12396
     6
  val intrs = thms "Finites.intros";
wenzelm@12396
     7
  val elims = thms "Finites.cases";
wenzelm@12396
     8
  val elim = thm "Finites.cases";
wenzelm@12396
     9
  val induct = thm "Finites.induct";
wenzelm@12396
    10
  val mk_cases = InductivePackage.the_mk_cases (the_context ()) "Finite_Set.Finites";
wenzelm@12396
    11
  val [emptyI, insertI] = thms "Finites.intros";
wenzelm@12396
    12
end;
wenzelm@12396
    13
wenzelm@12396
    14
structure cardR =
wenzelm@12396
    15
struct
wenzelm@12396
    16
  val intrs = thms "cardR.intros";
wenzelm@12396
    17
  val elims = thms "cardR.cases";
wenzelm@12396
    18
  val elim = thm "cardR.cases";
wenzelm@12396
    19
  val induct = thm "cardR.induct";
wenzelm@12396
    20
  val mk_cases = InductivePackage.the_mk_cases (the_context ()) "Finite_Set.cardR";
wenzelm@12396
    21
  val [EmptyI, InsertI] = thms "cardR.intros";
wenzelm@12396
    22
end;
wenzelm@12396
    23
wenzelm@12396
    24
structure foldSet =
wenzelm@12396
    25
struct
wenzelm@12396
    26
  val intrs = thms "foldSet.intros";
wenzelm@12396
    27
  val elims = thms "foldSet.cases";
wenzelm@12396
    28
  val elim = thm "foldSet.cases";
wenzelm@12396
    29
  val induct = thm "foldSet.induct";
wenzelm@12396
    30
  val mk_cases = InductivePackage.the_mk_cases (the_context ()) "Finite_Set.foldSet";
wenzelm@12396
    31
  val [emptyI, insertI] = thms "foldSet.intros";
wenzelm@12396
    32
end;
wenzelm@12396
    33
wenzelm@12396
    34
val Diff1_foldSet = thm "Diff1_foldSet";
wenzelm@12396
    35
val bounded_nat_set_is_finite = thm "bounded_nat_set_is_finite";
wenzelm@12396
    36
val cardR_SucD = thm "cardR_SucD";
wenzelm@12396
    37
val cardR_determ = thm "cardR_determ";
wenzelm@12396
    38
val cardR_emptyE = thm "cardR_emptyE";
wenzelm@12396
    39
val cardR_imp_finite = thm "cardR_imp_finite";
wenzelm@12396
    40
val cardR_insertE = thm "cardR_insertE";
wenzelm@12396
    41
val card_0_eq = thm "card_0_eq";
wenzelm@12396
    42
val card_Diff1_le = thm "card_Diff1_le";
wenzelm@12396
    43
val card_Diff1_less = thm "card_Diff1_less";
wenzelm@12396
    44
val card_Diff2_less = thm "card_Diff2_less";
wenzelm@12396
    45
val card_Diff_singleton = thm "card_Diff_singleton";
wenzelm@12396
    46
val card_Diff_singleton_if = thm "card_Diff_singleton_if";
wenzelm@12396
    47
val card_Diff_subset = thm "card_Diff_subset";
wenzelm@12396
    48
val card_Pow = thm "card_Pow";
wenzelm@12396
    49
val card_Suc_Diff1 = thm "card_Suc_Diff1";
wenzelm@12396
    50
val card_Un_Int = thm "card_Un_Int";
wenzelm@12396
    51
val card_Un_disjoint = thm "card_Un_disjoint";
wenzelm@12396
    52
val card_bij_eq = thm "card_bij_eq";
wenzelm@12396
    53
val card_def = thm "card_def";
wenzelm@12396
    54
val card_empty = thm "card_empty";
wenzelm@12396
    55
val card_eq_setsum = thm "card_eq_setsum";
wenzelm@12396
    56
val card_equality = thm "card_equality";
wenzelm@12396
    57
val card_image = thm "card_image";
wenzelm@12396
    58
val card_image_le = thm "card_image_le";
wenzelm@12396
    59
val card_inj_on_le = thm "card_inj_on_le";
wenzelm@12396
    60
val card_insert = thm "card_insert";
wenzelm@12396
    61
val card_insert_disjoint = thm "card_insert_disjoint";
wenzelm@12396
    62
val card_insert_if = thm "card_insert_if";
wenzelm@12396
    63
val card_insert_le = thm "card_insert_le";
wenzelm@12396
    64
val card_mono = thm "card_mono";
wenzelm@12396
    65
val card_psubset = thm "card_psubset";
wenzelm@12396
    66
val card_s_0_eq_empty = thm "card_s_0_eq_empty";
wenzelm@12396
    67
val card_seteq = thm "card_seteq";
wenzelm@12396
    68
val choose_deconstruct = thm "choose_deconstruct";
wenzelm@12396
    69
val constr_bij = thm "constr_bij";
wenzelm@12396
    70
val dvd_partition = thm "dvd_partition";
wenzelm@12396
    71
val empty_foldSetE = thm "empty_foldSetE";
wenzelm@12396
    72
val endo_inj_surj = thm "endo_inj_surj";
wenzelm@12396
    73
val finite = thm "finite";
wenzelm@12396
    74
val finiteI = thm "finiteI";
wenzelm@12396
    75
val finite_Diff = thm "finite_Diff";
wenzelm@12396
    76
val finite_Diff_insert = thm "finite_Diff_insert";
wenzelm@12396
    77
val finite_Field = thm "finite_Field";
wenzelm@12396
    78
val finite_Int = thm "finite_Int";
wenzelm@12396
    79
val finite_Pow_iff = thm "finite_Pow_iff";
wenzelm@12396
    80
val finite_Prod_UNIV = thm "finite_Prod_UNIV";
wenzelm@12396
    81
val finite_SigmaI = thm "finite_SigmaI";
wenzelm@12396
    82
val finite_UN = thm "finite_UN";
wenzelm@12396
    83
val finite_UN_I = thm "finite_UN_I";
wenzelm@12396
    84
val finite_Un = thm "finite_Un";
wenzelm@12396
    85
val finite_UnI = thm "finite_UnI";
wenzelm@12396
    86
val finite_atMost = thm "finite_atMost";
wenzelm@12396
    87
val finite_converse = thm "finite_converse";
wenzelm@12396
    88
val finite_empty_induct = thm "finite_empty_induct";
wenzelm@12396
    89
val finite_imageD = thm "finite_imageD";
wenzelm@12396
    90
val finite_imageI = thm "finite_imageI";
wenzelm@12396
    91
val finite_imp_cardR = thm "finite_imp_cardR";
wenzelm@12396
    92
val finite_imp_foldSet = thm "finite_imp_foldSet";
wenzelm@12396
    93
val finite_induct = thm "finite_induct";
wenzelm@12396
    94
val finite_insert = thm "finite_insert";
wenzelm@12396
    95
val finite_lessThan = thm "finite_lessThan";
wenzelm@12396
    96
val finite_range_imageI = thm "finite_range_imageI";
wenzelm@12396
    97
val finite_subset = thm "finite_subset";
wenzelm@12396
    98
val finite_subset_induct = thm "finite_subset_induct";
wenzelm@12396
    99
val finite_trancl = thm "finite_trancl";
wenzelm@12693
   100
val foldSet_determ = thm "LC.foldSet_determ";
wenzelm@12396
   101
val foldSet_imp_finite = thm "foldSet_imp_finite";
wenzelm@12693
   102
val fold_Un_Int = thm "ACe.fold_Un_Int";
wenzelm@12693
   103
val fold_Un_disjoint = thm "ACe.fold_Un_disjoint";
wenzelm@12693
   104
val fold_Un_disjoint2 = thm "ACe.fold_Un_disjoint2";
wenzelm@12693
   105
val fold_commute = thm "LC.fold_commute";
wenzelm@12396
   106
val fold_def = thm "fold_def";
wenzelm@12396
   107
val fold_empty = thm "fold_empty";
wenzelm@12693
   108
val fold_equality = thm "LC.fold_equality";
wenzelm@12693
   109
val fold_insert = thm "LC.fold_insert";
wenzelm@12693
   110
val fold_nest_Un_Int = thm "LC.fold_nest_Un_Int";
wenzelm@12693
   111
val fold_nest_Un_disjoint = thm "LC.fold_nest_Un_disjoint";
wenzelm@12396
   112
val n_sub_lemma = thm "n_sub_lemma";
wenzelm@12396
   113
val n_subsets = thm "n_subsets";
wenzelm@12396
   114
val psubset_card_mono = thm "psubset_card_mono";
wenzelm@12396
   115
val setsum_0 = thm "setsum_0";
wenzelm@12396
   116
val setsum_SucD = thm "setsum_SucD";
wenzelm@12396
   117
val setsum_UN_disjoint = thm "setsum_UN_disjoint";
wenzelm@12396
   118
val setsum_Un = thm "setsum_Un";
wenzelm@12396
   119
val setsum_Un_Int = thm "setsum_Un_Int";
wenzelm@12396
   120
val setsum_Un_disjoint = thm "setsum_Un_disjoint";
wenzelm@12396
   121
val setsum_addf = thm "setsum_addf";
wenzelm@12396
   122
val setsum_cong = thm "setsum_cong";
wenzelm@12396
   123
val setsum_def = thm "setsum_def";
wenzelm@12396
   124
val setsum_diff1 = thm "setsum_diff1";
wenzelm@12396
   125
val setsum_empty = thm "setsum_empty";
wenzelm@12396
   126
val setsum_eq_0_iff = thm "setsum_eq_0_iff";
wenzelm@12396
   127
val setsum_insert = thm "setsum_insert";
wenzelm@12396
   128
val trancl_subset_Field2 = thm "trancl_subset_Field2";