src/HOL/Fun.ML
author paulson
Mon, 07 Oct 1996 10:28:44 +0200
changeset 2056 93c093620c28
parent 2031 03a843f0f447
child 2499 0bc87b063447
permissions -rw-r--r--
Removed commands made redundant by new one-point rules
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1465
5d7a7e439cec expanded tabs
clasohm
parents: 1264
diff changeset
     1
(*  Title:      HOL/Fun
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     2
    ID:         $Id$
1465
5d7a7e439cec expanded tabs
clasohm
parents: 1264
diff changeset
     3
    Author:     Tobias Nipkow, Cambridge University Computer Laboratory
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     4
    Copyright   1993  University of Cambridge
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     5
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     6
Lemmas about functions.
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     7
*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     8
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     9
goal Fun.thy "(f = g) = (!x. f(x)=g(x))";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    10
by (rtac iffI 1);
1264
3eb91524b938 added local simpsets; removed IOA from 'make test'
clasohm
parents: 923
diff changeset
    11
by (Asm_simp_tac 1);
3eb91524b938 added local simpsets; removed IOA from 'make test'
clasohm
parents: 923
diff changeset
    12
by (rtac ext 1 THEN Asm_simp_tac 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    13
qed "expand_fun_eq";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    14
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    15
val prems = goal Fun.thy
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    16
    "[| f(x)=u;  !!x. P(x) ==> g(f(x)) = x;  P(x) |] ==> x=g(u)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    17
by (rtac (arg_cong RS box_equals) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    18
by (REPEAT (resolve_tac (prems@[refl]) 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    19
qed "apply_inverse";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    20
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    21
1883
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    22
(*** Image of a set under a function ***)
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    23
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    24
(*Frequently b does not have the syntactic form of f(x).*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    25
val prems = goalw Fun.thy [image_def] "[| b=f(x);  x:A |] ==> b : f``A";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    26
by (REPEAT (resolve_tac (prems @ [CollectI,bexI,prem]) 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    27
qed "image_eqI";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    28
1883
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    29
bind_thm ("imageI", refl RS image_eqI);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    30
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    31
(*The eta-expansion gives variable-name preservation.*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    32
val major::prems = goalw Fun.thy [image_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    33
    "[| b : (%x.f(x))``A;  !!x.[| b=f(x);  x:A |] ==> P |] ==> P"; 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    34
by (rtac (major RS CollectD RS bexE) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    35
by (REPEAT (ares_tac prems 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    36
qed "imageE";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    37
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    38
goalw Fun.thy [o_def] "(f o g)``r = f``(g``r)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    39
by (rtac set_ext 1);
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
    40
by (fast_tac (!claset addIs [imageI] addSEs [imageE]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    41
qed "image_compose";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    42
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    43
goal Fun.thy "f``(A Un B) = f``A Un f``B";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    44
by (rtac set_ext 1);
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
    45
by (fast_tac (!claset addIs [imageI,UnCI] addSEs [imageE,UnE]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    46
qed "image_Un";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    47
1883
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    48
(*** Range of a function -- just a translation for image! ***)
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    49
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    50
goal Fun.thy "!!b. b=f(x) ==> b : range(f)";
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    51
by (EVERY1 [etac image_eqI, rtac UNIV_I]);
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    52
bind_thm ("range_eqI", UNIV_I RSN (2,image_eqI));
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    53
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    54
bind_thm ("rangeI", UNIV_I RS imageI);
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    55
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    56
val [major,minor] = goal Fun.thy 
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    57
    "[| b : range(%x.f(x));  !!x. b=f(x) ==> P |] ==> P"; 
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    58
by (rtac (major RS imageE) 1);
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    59
by (etac minor 1);
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
    60
qed "rangeE";
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    61
(*** inj(f): f is a one-to-one function ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    62
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    63
val prems = goalw Fun.thy [inj_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    64
    "[| !! x y. f(x) = f(y) ==> x=y |] ==> inj(f)";
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
    65
by (fast_tac (!claset addIs prems) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    66
qed "injI";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    67
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    68
val [major] = goal Fun.thy "(!!x. g(f(x)) = x) ==> inj(f)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    69
by (rtac injI 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    70
by (etac (arg_cong RS box_equals) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    71
by (rtac major 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    72
by (rtac major 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    73
qed "inj_inverseI";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    74
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    75
val [major,minor] = goalw Fun.thy [inj_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    76
    "[| inj(f); f(x) = f(y) |] ==> x=y";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    77
by (rtac (major RS spec RS spec RS mp) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    78
by (rtac minor 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    79
qed "injD";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    80
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    81
(*Useful with the simplifier*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    82
val [major] = goal Fun.thy "inj(f) ==> (f(x) = f(y)) = (x=y)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    83
by (rtac iffI 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    84
by (etac (major RS injD) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    85
by (etac arg_cong 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    86
qed "inj_eq";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    87
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    88
val [major] = goal Fun.thy "inj(f) ==> (@x.f(x)=f(y)) = y";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    89
by (rtac (major RS injD) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    90
by (rtac selectI 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    91
by (rtac refl 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    92
qed "inj_select";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    93
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    94
(*A one-to-one function has an inverse (given using select).*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    95
val [major] = goalw Fun.thy [Inv_def] "inj(f) ==> Inv f (f x) = x";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    96
by (EVERY1 [rtac (major RS inj_select)]);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    97
qed "Inv_f_f";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    98
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    99
(* Useful??? *)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   100
val [oneone,minor] = goal Fun.thy
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   101
    "[| inj(f); !!y. y: range(f) ==> P(Inv f y) |] ==> P(x)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   102
by (res_inst_tac [("t", "x")] (oneone RS (Inv_f_f RS subst)) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   103
by (rtac (rangeI RS minor) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   104
qed "inj_transfer";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   105
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   106
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   107
(*** inj_onto f A: f is one-to-one over A ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   108
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   109
val prems = goalw Fun.thy [inj_onto_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   110
    "(!! x y. [| f(x) = f(y);  x:A;  y:A |] ==> x=y) ==> inj_onto f A";
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   111
by (fast_tac (!claset addIs prems addSIs [ballI]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   112
qed "inj_ontoI";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   113
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   114
val [major] = goal Fun.thy 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   115
    "(!!x. x:A ==> g(f(x)) = x) ==> inj_onto f A";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   116
by (rtac inj_ontoI 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   117
by (etac (apply_inverse RS trans) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   118
by (REPEAT (eresolve_tac [asm_rl,major] 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   119
qed "inj_onto_inverseI";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   120
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   121
val major::prems = goalw Fun.thy [inj_onto_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   122
    "[| inj_onto f A;  f(x)=f(y);  x:A;  y:A |] ==> x=y";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   123
by (rtac (major RS bspec RS bspec RS mp) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   124
by (REPEAT (resolve_tac prems 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   125
qed "inj_ontoD";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   126
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   127
goal Fun.thy "!!x y.[| inj_onto f A;  x:A;  y:A |] ==> (f(x)=f(y)) = (x=y)";
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   128
by (fast_tac (!claset addSEs [inj_ontoD]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   129
qed "inj_onto_iff";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   130
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   131
val major::prems = goal Fun.thy
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   132
    "[| inj_onto f A;  ~x=y;  x:A;  y:A |] ==> ~ f(x)=f(y)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   133
by (rtac contrapos 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   134
by (etac (major RS inj_ontoD) 2);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   135
by (REPEAT (resolve_tac prems 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   136
qed "inj_onto_contraD";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   137
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   138
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   139
(*** Lemmas about inj ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   140
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   141
val prems = goalw Fun.thy [o_def]
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   142
    "[| inj(f);  inj_onto g (range f) |] ==> inj(g o f)";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   143
by (cut_facts_tac prems 1);
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   144
by (fast_tac (!claset addIs [injI,rangeI]
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   145
                     addEs [injD,inj_ontoD]) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   146
qed "comp_inj";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   147
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   148
val [prem] = goal Fun.thy "inj(f) ==> inj_onto f A";
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   149
by (fast_tac (!claset addIs [prem RS injD, inj_ontoI]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   150
qed "inj_imp";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   151
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   152
val [prem] = goalw Fun.thy [Inv_def] "y : range(f) ==> f(Inv f y) = y";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   153
by (EVERY1 [rtac (prem RS rangeE), rtac selectI, etac sym]);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   154
qed "f_Inv_f";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   155
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   156
val prems = goal Fun.thy
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   157
    "[| Inv f x=Inv f y; x: range(f);  y: range(f) |] ==> x=y";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   158
by (rtac (arg_cong RS box_equals) 1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   159
by (REPEAT (resolve_tac (prems @ [f_Inv_f]) 1));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   160
qed "Inv_injective";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   161
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   162
val prems = goal Fun.thy
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   163
    "[| inj(f);  A<=range(f) |] ==> inj_onto (Inv f) A";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   164
by (cut_facts_tac prems 1);
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   165
by (fast_tac (!claset addIs [inj_ontoI] 
1465
5d7a7e439cec expanded tabs
clasohm
parents: 1264
diff changeset
   166
                     addEs [Inv_injective,injD,subsetD]) 1);
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   167
qed "inj_onto_Inv";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   168
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   169
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   170
(*** Set reasoning tools ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   171
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   172
AddSIs [ballI, PowI, subsetI, InterI, INT_I, INT1_I, CollectI, 
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   173
            ComplI, IntI, DiffI, UnCI, insertCI]; 
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   174
AddIs  [bexI, UnionI, UN_I, UN1_I, imageI, rangeI]; 
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   175
AddSEs [bexE, make_elim PowD, UnionE, UN_E, UN1_E, DiffE,
2031
03a843f0f447 Ran expandshort
paulson
parents: 1883
diff changeset
   176
            make_elim singleton_inject,
1754
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   177
            CollectE, ComplE, IntE, UnE, insertE, imageE, rangeE, emptyE]; 
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   178
AddEs  [ballE, InterD, InterE, INT_D, INT_E, make_elim INT1_D,
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   179
            subsetD, subsetCE];
852093aeb0ab Replaced fast_tac by Fast_tac (which uses default claset)
berghofe
parents: 1672
diff changeset
   180
1837
ce5dc74dec97 Now set_cs is just taken from !claset
paulson
parents: 1822
diff changeset
   181
val set_cs = !claset delrules [equalityI];
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   182
1883
00b4b6992945 Redefining "range" as a macro
paulson
parents: 1837
diff changeset
   183