author | paulson <lp15@cam.ac.uk> |
Fri, 05 Sep 2025 21:53:19 +0100 | |
changeset 83073 | d4ce097aa59f |
parent 76216 | 9fc34f76b4e8 |
permissions | -rw-r--r-- |
13505 | 1 |
(* Title: ZF/Constructible/Wellorderings.thy |
2 |
Author: Lawrence C Paulson, Cambridge University Computer Laboratory |
|
3 |
*) |
|
4 |
||
60770 | 5 |
section \<open>Relativized Wellorderings\<close> |
13223 | 6 |
|
16417 | 7 |
theory Wellorderings imports Relative begin |
13223 | 8 |
|
69593 | 9 |
text\<open>We define functions analogous to \<^term>\<open>ordermap\<close> \<^term>\<open>ordertype\<close> |
13223 | 10 |
but without using recursion. Instead, there is a direct appeal |
11 |
to Replacement. This will be the basis for a version relativized |
|
61798 | 12 |
to some class \<open>M\<close>. The main result is Theorem I 7.6 in Kunen, |
60770 | 13 |
page 17.\<close> |
13223 | 14 |
|
15 |
||
60770 | 16 |
subsection\<open>Wellorderings\<close> |
13223 | 17 |
|
21233 | 18 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
19 |
irreflexive :: "[i\<Rightarrow>o,i,i]\<Rightarrow>o" where |
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
20 |
"irreflexive(M,A,r) \<equiv> \<forall>x[M]. x\<in>A \<longrightarrow> \<langle>x,x\<rangle> \<notin> r" |
13223 | 21 |
|
21404
eb85850d3eb7
more robust syntax for definition/abbreviation/notation;
wenzelm
parents:
21233
diff
changeset
|
22 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
23 |
transitive_rel :: "[i\<Rightarrow>o,i,i]\<Rightarrow>o" where |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
24 |
"transitive_rel(M,A,r) \<equiv> |
46823 | 25 |
\<forall>x[M]. x\<in>A \<longrightarrow> (\<forall>y[M]. y\<in>A \<longrightarrow> (\<forall>z[M]. z\<in>A \<longrightarrow> |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
26 |
\<langle>x,y\<rangle>\<in>r \<longrightarrow> \<langle>y,z\<rangle>\<in>r \<longrightarrow> \<langle>x,z\<rangle>\<in>r))" |
13223 | 27 |
|
21404
eb85850d3eb7
more robust syntax for definition/abbreviation/notation;
wenzelm
parents:
21233
diff
changeset
|
28 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
29 |
linear_rel :: "[i\<Rightarrow>o,i,i]\<Rightarrow>o" where |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
30 |
"linear_rel(M,A,r) \<equiv> |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
31 |
\<forall>x[M]. x\<in>A \<longrightarrow> (\<forall>y[M]. y\<in>A \<longrightarrow> \<langle>x,y\<rangle>\<in>r | x=y | \<langle>y,x\<rangle>\<in>r)" |
13223 | 32 |
|
21404
eb85850d3eb7
more robust syntax for definition/abbreviation/notation;
wenzelm
parents:
21233
diff
changeset
|
33 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
34 |
wellfounded :: "[i\<Rightarrow>o,i]\<Rightarrow>o" where |
67443
3abf6a722518
standardized towards new-style formal comments: isabelle update_comments;
wenzelm
parents:
61798
diff
changeset
|
35 |
\<comment> \<open>EVERY non-empty set has an \<open>r\<close>-minimal element\<close> |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
36 |
"wellfounded(M,r) \<equiv> |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
37 |
\<forall>x[M]. x\<noteq>0 \<longrightarrow> (\<exists>y[M]. y\<in>x \<and> \<not>(\<exists>z[M]. z\<in>x \<and> \<langle>z,y\<rangle> \<in> r))" |
21404
eb85850d3eb7
more robust syntax for definition/abbreviation/notation;
wenzelm
parents:
21233
diff
changeset
|
38 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
39 |
wellfounded_on :: "[i\<Rightarrow>o,i,i]\<Rightarrow>o" where |
67443
3abf6a722518
standardized towards new-style formal comments: isabelle update_comments;
wenzelm
parents:
61798
diff
changeset
|
40 |
\<comment> \<open>every non-empty SUBSET OF \<open>A\<close> has an \<open>r\<close>-minimal element\<close> |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
41 |
"wellfounded_on(M,A,r) \<equiv> |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
42 |
\<forall>x[M]. x\<noteq>0 \<longrightarrow> x\<subseteq>A \<longrightarrow> (\<exists>y[M]. y\<in>x \<and> \<not>(\<exists>z[M]. z\<in>x \<and> \<langle>z,y\<rangle> \<in> r))" |
13223 | 43 |
|
21404
eb85850d3eb7
more robust syntax for definition/abbreviation/notation;
wenzelm
parents:
21233
diff
changeset
|
44 |
definition |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
45 |
wellordered :: "[i\<Rightarrow>o,i,i]\<Rightarrow>o" where |
67443
3abf6a722518
standardized towards new-style formal comments: isabelle update_comments;
wenzelm
parents:
61798
diff
changeset
|
46 |
\<comment> \<open>linear and wellfounded on \<open>A\<close>\<close> |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
47 |
"wellordered(M,A,r) \<equiv> |
76214 | 48 |
transitive_rel(M,A,r) \<and> linear_rel(M,A,r) \<and> wellfounded_on(M,A,r)" |
13223 | 49 |
|
50 |
||
60770 | 51 |
subsubsection \<open>Trivial absoluteness proofs\<close> |
13223 | 52 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
53 |
lemma (in M_basic) irreflexive_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
54 |
"M(A) \<Longrightarrow> irreflexive(M,A,r) \<longleftrightarrow> irrefl(A,r)" |
13223 | 55 |
by (simp add: irreflexive_def irrefl_def) |
56 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
57 |
lemma (in M_basic) transitive_rel_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
58 |
"M(A) \<Longrightarrow> transitive_rel(M,A,r) \<longleftrightarrow> trans[A](r)" |
13223 | 59 |
by (simp add: transitive_rel_def trans_on_def) |
60 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
61 |
lemma (in M_basic) linear_rel_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
62 |
"M(A) \<Longrightarrow> linear_rel(M,A,r) \<longleftrightarrow> linear(A,r)" |
13223 | 63 |
by (simp add: linear_rel_def linear_def) |
64 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
65 |
lemma (in M_basic) wellordered_is_trans_on: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
66 |
"\<lbrakk>wellordered(M,A,r); M(A)\<rbrakk> \<Longrightarrow> trans[A](r)" |
13505 | 67 |
by (auto simp add: wellordered_def) |
13223 | 68 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
69 |
lemma (in M_basic) wellordered_is_linear: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
70 |
"\<lbrakk>wellordered(M,A,r); M(A)\<rbrakk> \<Longrightarrow> linear(A,r)" |
13505 | 71 |
by (auto simp add: wellordered_def) |
13223 | 72 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
73 |
lemma (in M_basic) wellordered_is_wellfounded_on: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
74 |
"\<lbrakk>wellordered(M,A,r); M(A)\<rbrakk> \<Longrightarrow> wellfounded_on(M,A,r)" |
13505 | 75 |
by (auto simp add: wellordered_def) |
13223 | 76 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
77 |
lemma (in M_basic) wellfounded_imp_wellfounded_on: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
78 |
"\<lbrakk>wellfounded(M,r); M(A)\<rbrakk> \<Longrightarrow> wellfounded_on(M,A,r)" |
13223 | 79 |
by (auto simp add: wellfounded_def wellfounded_on_def) |
80 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
81 |
lemma (in M_basic) wellfounded_on_subset_A: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
82 |
"\<lbrakk>wellfounded_on(M,A,r); B<=A\<rbrakk> \<Longrightarrow> wellfounded_on(M,B,r)" |
13269 | 83 |
by (simp add: wellfounded_on_def, blast) |
84 |
||
13223 | 85 |
|
60770 | 86 |
subsubsection \<open>Well-founded relations\<close> |
13223 | 87 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
88 |
lemma (in M_basic) wellfounded_on_iff_wellfounded: |
46823 | 89 |
"wellfounded_on(M,A,r) \<longleftrightarrow> wellfounded(M, r \<inter> A*A)" |
13223 | 90 |
apply (simp add: wellfounded_on_def wellfounded_def, safe) |
13780 | 91 |
apply force |
13299 | 92 |
apply (drule_tac x=x in rspec, assumption, blast) |
13223 | 93 |
done |
94 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
95 |
lemma (in M_basic) wellfounded_on_imp_wellfounded: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
96 |
"\<lbrakk>wellfounded_on(M,A,r); r \<subseteq> A*A\<rbrakk> \<Longrightarrow> wellfounded(M,r)" |
13247 | 97 |
by (simp add: wellfounded_on_iff_wellfounded subset_Int_iff) |
98 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
99 |
lemma (in M_basic) wellfounded_on_field_imp_wellfounded: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
100 |
"wellfounded_on(M, field(r), r) \<Longrightarrow> wellfounded(M,r)" |
13269 | 101 |
by (simp add: wellfounded_def wellfounded_on_iff_wellfounded, fast) |
102 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
103 |
lemma (in M_basic) wellfounded_iff_wellfounded_on_field: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
104 |
"M(r) \<Longrightarrow> wellfounded(M,r) \<longleftrightarrow> wellfounded_on(M, field(r), r)" |
13269 | 105 |
by (blast intro: wellfounded_imp_wellfounded_on |
106 |
wellfounded_on_field_imp_wellfounded) |
|
107 |
||
13251
74cb2af8811e
new treatment of wfrec, replacing wf[A](r) by wf(r)
paulson
parents:
13247
diff
changeset
|
108 |
(*Consider the least z in domain(r) such that P(z) does not hold...*) |
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
109 |
lemma (in M_basic) wellfounded_induct: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
110 |
"\<lbrakk>wellfounded(M,r); M(a); M(r); separation(M, \<lambda>x. \<not>P(x)); |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
111 |
\<forall>x. M(x) \<and> (\<forall>y. \<langle>y,x\<rangle> \<in> r \<longrightarrow> P(y)) \<longrightarrow> P(x)\<rbrakk> |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
112 |
\<Longrightarrow> P(a)" |
13251
74cb2af8811e
new treatment of wfrec, replacing wf[A](r) by wf(r)
paulson
parents:
13247
diff
changeset
|
113 |
apply (simp (no_asm_use) add: wellfounded_def) |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
114 |
apply (drule_tac x="{z \<in> domain(r). \<not>P(z)}" in rspec) |
13299 | 115 |
apply (blast dest: transM)+ |
13251
74cb2af8811e
new treatment of wfrec, replacing wf[A](r) by wf(r)
paulson
parents:
13247
diff
changeset
|
116 |
done |
74cb2af8811e
new treatment of wfrec, replacing wf[A](r) by wf(r)
paulson
parents:
13247
diff
changeset
|
117 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
118 |
lemma (in M_basic) wellfounded_on_induct: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
119 |
"\<lbrakk>a\<in>A; wellfounded_on(M,A,r); M(A); |
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
120 |
separation(M, \<lambda>x. x\<in>A \<longrightarrow> \<not>P(x)); |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
121 |
\<forall>x\<in>A. M(x) \<and> (\<forall>y\<in>A. \<langle>y,x\<rangle> \<in> r \<longrightarrow> P(y)) \<longrightarrow> P(x)\<rbrakk> |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
122 |
\<Longrightarrow> P(a)" |
13223 | 123 |
apply (simp (no_asm_use) add: wellfounded_on_def) |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
124 |
apply (drule_tac x="{z\<in>A. z\<in>A \<longrightarrow> \<not>P(z)}" in rspec) |
13299 | 125 |
apply (blast intro: transM)+ |
13223 | 126 |
done |
127 |
||
128 |
||
60770 | 129 |
subsubsection \<open>Kunen's lemma IV 3.14, page 123\<close> |
13223 | 130 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
131 |
lemma (in M_basic) linear_imp_relativized: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
132 |
"linear(A,r) \<Longrightarrow> linear_rel(M,A,r)" |
13223 | 133 |
by (simp add: linear_def linear_rel_def) |
134 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
135 |
lemma (in M_basic) trans_on_imp_relativized: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
136 |
"trans[A](r) \<Longrightarrow> transitive_rel(M,A,r)" |
13223 | 137 |
by (unfold transitive_rel_def trans_on_def, blast) |
138 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
139 |
lemma (in M_basic) wf_on_imp_relativized: |
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
140 |
"wf[A](r) \<Longrightarrow> wellfounded_on(M,A,r)" |
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
141 |
apply (clarsimp simp: wellfounded_on_def wf_def wf_on_def) |
13339
0f89104dd377
Fixed quantified variable name preservation for ball and bex (bounded quants)
paulson
parents:
13306
diff
changeset
|
142 |
apply (drule_tac x=x in spec, blast) |
13223 | 143 |
done |
144 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
145 |
lemma (in M_basic) wf_imp_relativized: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
146 |
"wf(r) \<Longrightarrow> wellfounded(M,r)" |
13223 | 147 |
apply (simp add: wellfounded_def wf_def, clarify) |
13339
0f89104dd377
Fixed quantified variable name preservation for ball and bex (bounded quants)
paulson
parents:
13306
diff
changeset
|
148 |
apply (drule_tac x=x in spec, blast) |
13223 | 149 |
done |
150 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
151 |
lemma (in M_basic) well_ord_imp_relativized: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
152 |
"well_ord(A,r) \<Longrightarrow> wellordered(M,A,r)" |
13223 | 153 |
by (simp add: wellordered_def well_ord_def tot_ord_def part_ord_def |
154 |
linear_imp_relativized trans_on_imp_relativized wf_on_imp_relativized) |
|
155 |
||
60770 | 156 |
text\<open>The property being well founded (and hence of being well ordered) is not absolute: |
47072 | 157 |
the set that doesn't contain a minimal element may not exist in the class M. |
60770 | 158 |
However, every set that is well founded in a transitive model M is well founded (page 124).\<close> |
13223 | 159 |
|
60770 | 160 |
subsection\<open>Relativized versions of order-isomorphisms and order types\<close> |
13223 | 161 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
162 |
lemma (in M_basic) order_isomorphism_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
163 |
"\<lbrakk>M(A); M(B); M(f)\<rbrakk> |
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
164 |
\<Longrightarrow> order_isomorphism(M,A,r,B,s,f) \<longleftrightarrow> f \<in> ord_iso(A,r,B,s)" |
71417
89d05db6dd1f
Simplified, generalised version of Constructible due to E. Gunther, M. Pagano and P. Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
69593
diff
changeset
|
165 |
by (simp add: order_isomorphism_def ord_iso_def) |
13223 | 166 |
|
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
167 |
lemma (in M_trans) pred_set_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
168 |
"\<lbrakk>M(r); M(B)\<rbrakk> \<Longrightarrow> pred_set(M,A,x,r,B) \<longleftrightarrow> B = Order.pred(A,x,r)" |
13223 | 169 |
apply (simp add: pred_set_def Order.pred_def) |
170 |
apply (blast dest: transM) |
|
171 |
done |
|
172 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
173 |
lemma (in M_basic) pred_closed [intro,simp]: |
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
174 |
"\<lbrakk>M(A); M(r); M(x)\<rbrakk> \<Longrightarrow> M(Order.pred(A, x, r))" |
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
175 |
using pred_separation [of r x] by (simp add: Order.pred_def) |
13223 | 176 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
177 |
lemma (in M_basic) membership_abs [simp]: |
76213
e44d86131648
Removal of obsolete ASCII syntax
paulson <lp15@cam.ac.uk>
parents:
72797
diff
changeset
|
178 |
"\<lbrakk>M(r); M(A)\<rbrakk> \<Longrightarrow> membership(M,A,r) \<longleftrightarrow> r = Memrel(A)" |
13223 | 179 |
apply (simp add: membership_def Memrel_def, safe) |
180 |
apply (rule equalityI) |
|
181 |
apply clarify |
|
182 |
apply (frule transM, assumption) |
|
183 |
apply blast |
|
184 |
apply clarify |
|
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
185 |
apply (subgoal_tac "M(\<langle>xb,ya\<rangle>)", blast) |
13223 | 186 |
apply (blast dest: transM) |
187 |
apply auto |
|
188 |
done |
|
189 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
190 |
lemma (in M_basic) M_Memrel_iff: |
76214 | 191 |
"M(A) \<Longrightarrow> Memrel(A) = {z \<in> A*A. \<exists>x[M]. \<exists>y[M]. z = \<langle>x,y\<rangle> \<and> x \<in> y}" |
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
192 |
unfolding Memrel_def by (blast dest: transM) |
13223 | 193 |
|
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
194 |
lemma (in M_basic) Memrel_closed [intro,simp]: |
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
195 |
"M(A) \<Longrightarrow> M(Memrel(A))" |
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
196 |
using Memrel_separation by (simp add: M_Memrel_iff) |
13223 | 197 |
|
198 |
||
60770 | 199 |
subsection \<open>Main results of Kunen, Chapter 1 section 6\<close> |
13223 | 200 |
|
60770 | 201 |
text\<open>Subset properties-- proved outside the locale\<close> |
13223 | 202 |
|
203 |
lemma linear_rel_subset: |
|
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
204 |
"\<lbrakk>linear_rel(M, A, r); B \<subseteq> A\<rbrakk> \<Longrightarrow> linear_rel(M, B, r)" |
13223 | 205 |
by (unfold linear_rel_def, blast) |
206 |
||
207 |
lemma transitive_rel_subset: |
|
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
208 |
"\<lbrakk>transitive_rel(M, A, r); B \<subseteq> A\<rbrakk> \<Longrightarrow> transitive_rel(M, B, r)" |
13223 | 209 |
by (unfold transitive_rel_def, blast) |
210 |
||
211 |
lemma wellfounded_on_subset: |
|
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
212 |
"\<lbrakk>wellfounded_on(M, A, r); B \<subseteq> A\<rbrakk> \<Longrightarrow> wellfounded_on(M, B, r)" |
13223 | 213 |
by (unfold wellfounded_on_def subset_def, blast) |
214 |
||
215 |
lemma wellordered_subset: |
|
72797
402afc68f2f9
A bunch of suggestions from Pedro Sánchez Terraf
paulson <lp15@cam.ac.uk>
parents:
71417
diff
changeset
|
216 |
"\<lbrakk>wellordered(M, A, r); B \<subseteq> A\<rbrakk> \<Longrightarrow> wellordered(M, B, r)" |
76216
9fc34f76b4e8
getting rid of apply (unfold ...)
paulson <lp15@cam.ac.uk>
parents:
76215
diff
changeset
|
217 |
unfolding wellordered_def |
13223 | 218 |
apply (blast intro: linear_rel_subset transitive_rel_subset |
32960
69916a850301
eliminated hard tabulators, guessing at each author's individual tab-width;
wenzelm
parents:
21404
diff
changeset
|
219 |
wellfounded_on_subset) |
13223 | 220 |
done |
221 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
222 |
lemma (in M_basic) wellfounded_on_asym: |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
223 |
"\<lbrakk>wellfounded_on(M,A,r); \<langle>a,x\<rangle>\<in>r; a\<in>A; x\<in>A; M(A)\<rbrakk> \<Longrightarrow> \<langle>x,a\<rangle>\<notin>r" |
13223 | 224 |
apply (simp add: wellfounded_on_def) |
13299 | 225 |
apply (drule_tac x="{x,a}" in rspec) |
226 |
apply (blast dest: transM)+ |
|
13223 | 227 |
done |
228 |
||
13564
1500a2e48d44
renamed M_triv_axioms to M_trivial and M_axioms to M_basic
paulson
parents:
13513
diff
changeset
|
229 |
lemma (in M_basic) wellordered_asym: |
76215
a642599ffdea
More syntactic cleanup. LaTeX markup working
paulson <lp15@cam.ac.uk>
parents:
76214
diff
changeset
|
230 |
"\<lbrakk>wellordered(M,A,r); \<langle>a,x\<rangle>\<in>r; a\<in>A; x\<in>A; M(A)\<rbrakk> \<Longrightarrow> \<langle>x,a\<rangle>\<notin>r" |
13223 | 231 |
by (simp add: wellordered_def, blast dest: wellfounded_on_asym) |
232 |
||
233 |
end |