src/ZF/pair.thy
author paulson
Fri, 29 Oct 2004 15:16:02 +0200
changeset 15270 8b3f707a78a7
parent 14864 419b45cdb400
child 16417 9bc16273c2d4
permissions -rw-r--r--
fixed reference to renamed theorem
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     1
(*  Title:      ZF/pair
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     2
    ID:         $Id$
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     4
    Copyright   1992  University of Cambridge
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     5
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     6
*)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
     7
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
     8
header{*Ordered Pairs*}
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
     9
9570
e16e168984e1 installation of cancellation simprocs for the integers
paulson
parents: 2469
diff changeset
    10
theory pair = upair
11694
wenzelm
parents: 9570
diff changeset
    11
files "simpdata.ML":
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    12
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    13
(** Lemmas for showing that <a,b> uniquely determines a and b **)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    14
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    15
lemma singleton_eq_iff [iff]: "{a} = {b} <-> a=b"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    16
by (rule extension [THEN iff_trans], blast)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    17
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    18
lemma doubleton_eq_iff: "{a,b} = {c,d} <-> (a=c & b=d) | (a=d & b=c)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    19
by (rule extension [THEN iff_trans], blast)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    20
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    21
lemma Pair_iff [simp]: "<a,b> = <c,d> <-> a=c & b=d"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    22
by (simp add: Pair_def doubleton_eq_iff, blast)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    23
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    24
lemmas Pair_inject = Pair_iff [THEN iffD1, THEN conjE, standard, elim!]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    25
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    26
lemmas Pair_inject1 = Pair_iff [THEN iffD1, THEN conjunct1, standard]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    27
lemmas Pair_inject2 = Pair_iff [THEN iffD1, THEN conjunct2, standard]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    28
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    29
lemma Pair_not_0: "<a,b> ~= 0"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    30
apply (unfold Pair_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    31
apply (blast elim: equalityE)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    32
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    33
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    34
lemmas Pair_neq_0 = Pair_not_0 [THEN notE, standard, elim!]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    35
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    36
declare sym [THEN Pair_neq_0, elim!]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    37
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    38
lemma Pair_neq_fst: "<a,b>=a ==> P"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    39
apply (unfold Pair_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    40
apply (rule consI1 [THEN mem_asym, THEN FalseE])
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    41
apply (erule subst)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    42
apply (rule consI1)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    43
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    44
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    45
lemma Pair_neq_snd: "<a,b>=b ==> P"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    46
apply (unfold Pair_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    47
apply (rule consI1 [THEN consI2, THEN mem_asym, THEN FalseE])
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    48
apply (erule subst)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    49
apply (rule consI1 [THEN consI2])
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    50
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    51
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    52
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    53
subsection{*Sigma: Disjoint Union of a Family of Sets*}
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    54
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    55
text{*Generalizes Cartesian product*}
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    56
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    57
lemma Sigma_iff [simp]: "<a,b>: Sigma(A,B) <-> a:A & b:B(a)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    58
by (simp add: Sigma_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    59
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    60
lemma SigmaI [TC,intro!]: "[| a:A;  b:B(a) |] ==> <a,b> : Sigma(A,B)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    61
by simp
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    62
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    63
lemmas SigmaD1 = Sigma_iff [THEN iffD1, THEN conjunct1, standard]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    64
lemmas SigmaD2 = Sigma_iff [THEN iffD1, THEN conjunct2, standard]
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    65
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    66
(*The general elimination rule*)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    67
lemma SigmaE [elim!]:
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    68
    "[| c: Sigma(A,B);   
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    69
        !!x y.[| x:A;  y:B(x);  c=<x,y> |] ==> P  
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    70
     |] ==> P"
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    71
by (unfold Sigma_def, blast) 
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    72
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    73
lemma SigmaE2 [elim!]:
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    74
    "[| <a,b> : Sigma(A,B);     
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    75
        [| a:A;  b:B(a) |] ==> P    
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    76
     |] ==> P"
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    77
by (unfold Sigma_def, blast) 
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    78
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    79
lemma Sigma_cong:
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    80
    "[| A=A';  !!x. x:A' ==> B(x)=B'(x) |] ==>  
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    81
     Sigma(A,B) = Sigma(A',B')"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    82
by (simp add: Sigma_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    83
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    84
(*Sigma_cong, Pi_cong NOT given to Addcongs: they cause
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    85
  flex-flex pairs and the "Check your prover" error.  Most
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    86
  Sigmas and Pis are abbreviated as * or -> *)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    87
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    88
lemma Sigma_empty1 [simp]: "Sigma(0,B) = 0"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    89
by blast
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    90
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    91
lemma Sigma_empty2 [simp]: "A*0 = 0"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    92
by blast
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    93
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    94
lemma Sigma_empty_iff: "A*B=0 <-> A=0 | B=0"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    95
by blast
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    96
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    97
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
    98
subsection{*Projections @{term fst} and @{term snd}*}
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
    99
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   100
lemma fst_conv [simp]: "fst(<a,b>) = a"
13544
895994073bdf various new lemmas for Constructible
paulson
parents: 13357
diff changeset
   101
by (simp add: fst_def)
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   102
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   103
lemma snd_conv [simp]: "snd(<a,b>) = b"
13544
895994073bdf various new lemmas for Constructible
paulson
parents: 13357
diff changeset
   104
by (simp add: snd_def)
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   105
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   106
lemma fst_type [TC]: "p:Sigma(A,B) ==> fst(p) : A"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   107
by auto
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   108
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   109
lemma snd_type [TC]: "p:Sigma(A,B) ==> snd(p) : B(fst(p))"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   110
by auto
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   111
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   112
lemma Pair_fst_snd_eq: "a: Sigma(A,B) ==> <fst(a),snd(a)> = a"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   113
by auto
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   114
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   115
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
   116
subsection{*The Eliminator, @{term split}*}
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   117
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   118
(*A META-equality, so that it applies to higher types as well...*)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   119
lemma split [simp]: "split(%x y. c(x,y), <a,b>) == c(a,b)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   120
by (simp add: split_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   121
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   122
lemma split_type [TC]:
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   123
    "[|  p:Sigma(A,B);    
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   124
         !!x y.[| x:A; y:B(x) |] ==> c(x,y):C(<x,y>)  
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   125
     |] ==> split(%x y. c(x,y), p) : C(p)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   126
apply (erule SigmaE, auto) 
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   127
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   128
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   129
lemma expand_split: 
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   130
  "u: A*B ==>    
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   131
        R(split(c,u)) <-> (ALL x:A. ALL y:B. u = <x,y> --> R(c(x,y)))"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   132
apply (simp add: split_def, auto)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   133
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   134
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   135
13357
6f54e992777e Removal of mono.thy
paulson
parents: 13240
diff changeset
   136
subsection{*A version of @{term split} for Formulae: Result Type @{typ o}*}
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   137
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   138
lemma splitI: "R(a,b) ==> split(R, <a,b>)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   139
by (simp add: split_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   140
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   141
lemma splitE:
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   142
    "[| split(R,z);  z:Sigma(A,B);                       
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   143
        !!x y. [| z = <x,y>;  R(x,y) |] ==> P            
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   144
     |] ==> P"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   145
apply (simp add: split_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   146
apply (erule SigmaE, force) 
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   147
done
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   148
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   149
lemma splitD: "split(R,<a,b>) ==> R(a,b)"
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   150
by (simp add: split_def)
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   151
14864
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   152
text {*
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   153
  \bigskip Complex rules for Sigma.
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   154
*}
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   155
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   156
lemma split_paired_Bex_Sigma [simp]:
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   157
     "(\<exists>z \<in> Sigma(A,B). P(z)) <-> (\<exists>x \<in> A. \<exists>y \<in> B(x). P(<x,y>))"
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   158
by blast
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   159
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   160
lemma split_paired_Ball_Sigma [simp]:
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   161
     "(\<forall>z \<in> Sigma(A,B). P(z)) <-> (\<forall>x \<in> A. \<forall>y \<in> B(x). P(<x,y>))"
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   162
by blast
419b45cdb400 new rules for simplifying quantifiers with Sigma
paulson
parents: 13544
diff changeset
   163
13240
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   164
ML
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   165
{*
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   166
val singleton_eq_iff = thm "singleton_eq_iff";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   167
val doubleton_eq_iff = thm "doubleton_eq_iff";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   168
val Pair_iff = thm "Pair_iff";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   169
val Pair_inject = thm "Pair_inject";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   170
val Pair_inject1 = thm "Pair_inject1";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   171
val Pair_inject2 = thm "Pair_inject2";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   172
val Pair_not_0 = thm "Pair_not_0";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   173
val Pair_neq_0 = thm "Pair_neq_0";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   174
val Pair_neq_fst = thm "Pair_neq_fst";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   175
val Pair_neq_snd = thm "Pair_neq_snd";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   176
val Sigma_iff = thm "Sigma_iff";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   177
val SigmaI = thm "SigmaI";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   178
val SigmaD1 = thm "SigmaD1";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   179
val SigmaD2 = thm "SigmaD2";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   180
val SigmaE = thm "SigmaE";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   181
val SigmaE2 = thm "SigmaE2";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   182
val Sigma_cong = thm "Sigma_cong";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   183
val Sigma_empty1 = thm "Sigma_empty1";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   184
val Sigma_empty2 = thm "Sigma_empty2";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   185
val Sigma_empty_iff = thm "Sigma_empty_iff";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   186
val fst_conv = thm "fst_conv";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   187
val snd_conv = thm "snd_conv";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   188
val fst_type = thm "fst_type";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   189
val snd_type = thm "snd_type";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   190
val Pair_fst_snd_eq = thm "Pair_fst_snd_eq";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   191
val split = thm "split";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   192
val split_type = thm "split_type";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   193
val expand_split = thm "expand_split";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   194
val splitI = thm "splitI";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   195
val splitE = thm "splitE";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   196
val splitD = thm "splitD";
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   197
*}
bb5f4faea1f3 conversion of Sum, pair to Isar script
paulson
parents: 11694
diff changeset
   198
9570
e16e168984e1 installation of cancellation simprocs for the integers
paulson
parents: 2469
diff changeset
   199
end
124
858ab9a9b047 made pseudo theories for all ML files;
clasohm
parents:
diff changeset
   200
2469
b50b8c0eec01 Implicit simpsets and clasets for FOL and ZF
paulson
parents: 124
diff changeset
   201