let F be Function; :: thesis: for D being set st ( for X being set st X in D holds
( not F . X in X & F . X in union D ) ) holds
ex R being Relation st
( field R c= union D & R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) )
let D be set ; :: thesis: ( ( for X being set st X in D holds
( not F . X in X & F . X in union D ) ) implies ex R being Relation st
( field R c= union D & R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) ) )
assume A1:
for X being set st X in D holds
( not F . X in X & F . X in union D )
; :: thesis: ex R being Relation st
( field R c= union D & R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) )
set W0 = bool [:(union D),(union D):];
defpred S1[ Relation] means ( $1 is well-ordering & ( for y being set st y in field $1 holds
( $1 -Seg y in D & F . ($1 -Seg y) = y ) ) );
consider G being set such that
A2:
for W being Relation holds
( W in G iff ( W in bool [:(union D),(union D):] & S1[W] ) )
from WELLSET1:sch 1();
A3:
for W1, W2 being Relation st W1 in G & W2 in G & not ( W1 c= W2 & ( for x being set st x in field W1 holds
W1 -Seg x = W2 -Seg x ) ) holds
( W2 c= W1 & ( for x being set st x in field W2 holds
W2 -Seg x = W1 -Seg x ) )
proof
let W1,
W2 be
Relation;
:: thesis: ( W1 in G & W2 in G & not ( W1 c= W2 & ( for x being set st x in field W1 holds
W1 -Seg x = W2 -Seg x ) ) implies ( W2 c= W1 & ( for x being set st x in field W2 holds
W2 -Seg x = W1 -Seg x ) ) )
assume A4:
(
W1 in G &
W2 in G )
;
:: thesis: ( ( W1 c= W2 & ( for x being set st x in field W1 holds
W1 -Seg x = W2 -Seg x ) ) or ( W2 c= W1 & ( for x being set st x in field W2 holds
W2 -Seg x = W1 -Seg x ) ) )
defpred S2[
set ]
means ( $1
in field W2 &
W1 |_2 (W1 -Seg $1) = W2 |_2 (W2 -Seg $1) );
consider C being
set such that A5:
for
x being
set holds
(
x in C iff (
x in field W1 &
S2[
x] ) )
from XBOOLE_0:sch 1();
A6:
(
W1 is
well-ordering &
W2 is
well-ordering )
by A2, A4;
A7:
for
x being
set st
x in C holds
W1 -Seg x = W2 -Seg x
A10:
for
x being
set st
x in C holds
W1 -Seg x c= C
proof
let x be
set ;
:: thesis: ( x in C implies W1 -Seg x c= C )
assume A11:
x in C
;
:: thesis: W1 -Seg x c= C
for
y being
set st
y in W1 -Seg x holds
y in C
proof
let y be
set ;
:: thesis: ( y in W1 -Seg x implies y in C )
assume A12:
y in W1 -Seg x
;
:: thesis: y in C
then A13:
[y,x] in W1
by WELLORD1:def 1;
then A14:
y in field W1
by RELAT_1:30;
A15:
x in field W1
by A13, RELAT_1:30;
then A16:
W1 -Seg y c= W1 -Seg x
by A6, A12, A14, WELLORD1:38;
A17:
y in W2 -Seg x
by A7, A11, A12;
then A18:
[y,x] in W2
by WELLORD1:def 1;
then A19:
y in field W2
by RELAT_1:30;
A20:
x in field W2
by A18, RELAT_1:30;
then A21:
W2 -Seg y c= W2 -Seg x
by A6, A17, A19, WELLORD1:38;
W1 |_2 (W1 -Seg y) = W2 |_2 (W2 -Seg y)
hence
y in C
by A5, A14, A19;
:: thesis: verum
end;
hence
W1 -Seg x c= C
by TARSKI:def 3;
:: thesis: verum
end;
A23:
for
y1 being
set st
y1 in field W1 & not
y1 in C holds
ex
y3 being
set st
(
y3 in field W1 &
C = W1 -Seg y3 & not
y3 in C )
A34:
for
x being
set st
x in C holds
W2 -Seg x c= C
proof
let x be
set ;
:: thesis: ( x in C implies W2 -Seg x c= C )
assume A35:
x in C
;
:: thesis: W2 -Seg x c= C
let y be
set ;
:: according to TARSKI:def 3 :: thesis: ( not y in W2 -Seg x or y in C )
assume A36:
y in W2 -Seg x
;
:: thesis: y in C
then A37:
[y,x] in W2
by WELLORD1:def 1;
then A38:
y in field W2
by RELAT_1:30;
A39:
x in field W2
by A37, RELAT_1:30;
then A40:
W2 -Seg y c= W2 -Seg x
by A6, A36, A38, WELLORD1:38;
A41:
y in W1 -Seg x
by A7, A35, A36;
then A42:
[y,x] in W1
by WELLORD1:def 1;
then A43:
y in field W1
by RELAT_1:30;
A44:
x in field W1
by A42, RELAT_1:30;
then A45:
W1 -Seg y c= W1 -Seg x
by A6, A41, A43, WELLORD1:38;
W2 |_2 (W2 -Seg y) = W1 |_2 (W1 -Seg y)
hence
y in C
by A5, A38, A43;
:: thesis: verum
end;
A47:
for
y1 being
set st
y1 in field W2 & not
y1 in C holds
ex
y3 being
set st
(
y3 in field W2 &
C = W2 -Seg y3 & not
y3 in C )
A58:
(
C = field W1 or
C = field W2 )
proof
assume
not
C = field W1
;
:: thesis: C = field W2
then A59:
ex
x being
set st
( (
x in C & not
x in field W1 ) or (
x in field W1 & not
x in C ) )
by TARSKI:2;
assume
not
C = field W2
;
:: thesis: contradiction
then A60:
ex
x being
set st
( (
x in C & not
x in field W2 ) or (
x in field W2 & not
x in C ) )
by TARSKI:2;
consider y3 being
set such that A61:
(
y3 in field W1 &
C = W1 -Seg y3 & not
y3 in C )
by A5, A23, A59;
consider y4 being
set such that A62:
(
y4 in field W2 &
C = W2 -Seg y4 & not
y4 in C )
by A5, A47, A60;
A63:
y3 = y4
W1 |_2 (W1 -Seg y3) = W2 |_2 (W2 -Seg y3)
proof
for
z being
set holds
(
z in W1 |_2 (W1 -Seg y3) iff
z in W2 |_2 (W2 -Seg y3) )
proof
let z be
set ;
:: thesis: ( z in W1 |_2 (W1 -Seg y3) iff z in W2 |_2 (W2 -Seg y3) )
(
z in W1 &
z in [:(W1 -Seg y3),(W1 -Seg y3):] iff (
z in W2 &
z in [:(W2 -Seg y3),(W2 -Seg y3):] ) )
proof
thus
(
z in W1 &
z in [:(W1 -Seg y3),(W1 -Seg y3):] implies (
z in W2 &
z in [:(W2 -Seg y3),(W2 -Seg y3):] ) )
:: thesis: ( z in W2 & z in [:(W2 -Seg y3),(W2 -Seg y3):] implies ( z in W1 & z in [:(W1 -Seg y3),(W1 -Seg y3):] ) )proof
assume that A64:
z in W1
and A65:
z in [:(W1 -Seg y3),(W1 -Seg y3):]
;
:: thesis: ( z in W2 & z in [:(W2 -Seg y3),(W2 -Seg y3):] )
consider z1,
z2 being
set such that A66:
z1 in W1 -Seg y3
and A67:
z2 in W1 -Seg y3
and A68:
z = [z1,z2]
by A65, ZFMISC_1:def 2;
A69:
z1 in field W2
by A5, A61, A66;
(
z1 in W1 -Seg z2 or (
z1 = z2 & not
z1 in W1 -Seg z2 ) )
by A64, A68, WELLORD1:def 1;
then
(
z1 in W2 -Seg z2 or (
z1 = z2 & not
z1 in W2 -Seg z2 ) )
by A7, A61, A67;
hence
(
z in W2 &
z in [:(W2 -Seg y3),(W2 -Seg y3):] )
by A6, A61, A62, A63, A65, A68, A69, Th6, WELLORD1:def 1;
:: thesis: verum
end;
thus
(
z in W2 &
z in [:(W2 -Seg y3),(W2 -Seg y3):] implies (
z in W1 &
z in [:(W1 -Seg y3),(W1 -Seg y3):] ) )
:: thesis: verumproof
assume that A70:
z in W2
and A71:
z in [:(W2 -Seg y3),(W2 -Seg y3):]
;
:: thesis: ( z in W1 & z in [:(W1 -Seg y3),(W1 -Seg y3):] )
consider z1,
z2 being
set such that A72:
z1 in W2 -Seg y3
and A73:
z2 in W2 -Seg y3
and A74:
z = [z1,z2]
by A71, ZFMISC_1:def 2;
A75:
z1 in field W1
by A5, A62, A63, A72;
(
z1 in W2 -Seg z2 or (
z1 = z2 & not
z1 in W2 -Seg z2 ) )
by A70, A74, WELLORD1:def 1;
then
(
z1 in W1 -Seg z2 or (
z1 = z2 & not
z1 in W1 -Seg z2 ) )
by A7, A62, A63, A73;
hence
(
z in W1 &
z in [:(W1 -Seg y3),(W1 -Seg y3):] )
by A6, A61, A62, A63, A71, A74, A75, Th6, WELLORD1:def 1;
:: thesis: verum
end;
end;
hence
(
z in W1 |_2 (W1 -Seg y3) iff
z in W2 |_2 (W2 -Seg y3) )
by XBOOLE_0:def 4;
:: thesis: verum
end;
hence
W1 |_2 (W1 -Seg y3) = W2 |_2 (W2 -Seg y3)
by TARSKI:2;
:: thesis: verum
end;
hence
contradiction
by A5, A61, A62, A63;
:: thesis: verum
end;
A76:
(
C = field W1 implies (
W1 c= W2 & ( for
x being
set st
x in field W1 holds
W1 -Seg x = W2 -Seg x ) ) )
proof
assume A77:
C = field W1
;
:: thesis: ( W1 c= W2 & ( for x being set st x in field W1 holds
W1 -Seg x = W2 -Seg x ) )
for
z1,
z2 being
set st
[z1,z2] in W1 holds
[z1,z2] in W2
proof
let z1,
z2 be
set ;
:: thesis: ( [z1,z2] in W1 implies [z1,z2] in W2 )
assume A78:
[z1,z2] in W1
;
:: thesis: [z1,z2] in W2
then A79:
z1 in C
by A77, RELAT_1:30;
A80:
z2 in C
by A77, A78, RELAT_1:30;
A81:
z1 in field W2
by A5, A79;
(
z1 in W1 -Seg z2 or (
z1 = z2 & not
z1 in W1 -Seg z2 ) )
by A78, WELLORD1:def 1;
then
(
z1 in W2 -Seg z2 or (
z1 = z2 & not
z1 in W2 -Seg z2 ) )
by A7, A80;
hence
[z1,z2] in W2
by A6, A81, Th6, WELLORD1:def 1;
:: thesis: verum
end;
hence
(
W1 c= W2 & ( for
x being
set st
x in field W1 holds
W1 -Seg x = W2 -Seg x ) )
by A7, A77, RELAT_1:def 3;
:: thesis: verum
end;
(
C = field W2 implies (
W2 c= W1 & ( for
x being
set st
x in field W2 holds
W2 -Seg x = W1 -Seg x ) ) )
proof
assume A82:
C = field W2
;
:: thesis: ( W2 c= W1 & ( for x being set st x in field W2 holds
W2 -Seg x = W1 -Seg x ) )
for
z1,
z2 being
set st
[z1,z2] in W2 holds
[z1,z2] in W1
proof
let z1,
z2 be
set ;
:: thesis: ( [z1,z2] in W2 implies [z1,z2] in W1 )
assume A83:
[z1,z2] in W2
;
:: thesis: [z1,z2] in W1
then A84:
z1 in C
by A82, RELAT_1:30;
A85:
z2 in C
by A82, A83, RELAT_1:30;
A86:
z1 in field W1
by A5, A84;
(
z1 in W2 -Seg z2 or (
z1 = z2 & not
z1 in W2 -Seg z2 ) )
by A83, WELLORD1:def 1;
then
(
z1 in W1 -Seg z2 or (
z1 = z2 & not
z1 in W1 -Seg z2 ) )
by A7, A85;
hence
[z1,z2] in W1
by A6, A86, Th6, WELLORD1:def 1;
:: thesis: verum
end;
hence
(
W2 c= W1 & ( for
x being
set st
x in field W2 holds
W2 -Seg x = W1 -Seg x ) )
by A7, A82, RELAT_1:def 3;
:: thesis: verum
end;
hence
( (
W1 c= W2 & ( for
x being
set st
x in field W1 holds
W1 -Seg x = W2 -Seg x ) ) or (
W2 c= W1 & ( for
x being
set st
x in field W2 holds
W2 -Seg x = W1 -Seg x ) ) )
by A58, A76;
:: thesis: verum
end;
defpred S2[ set , set ] means ex W being Relation st
( [$1,$2] in W & W in G );
consider S being Relation such that
A87:
for x, y being set holds
( [x,y] in S iff ( x in union D & y in union D & S2[x,y] ) )
from RELAT_1:sch 1();
take R = S; :: thesis: ( field R c= union D & R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) )
A88:
for x being set st x in field R holds
( x in union D & ex W being Relation st
( x in field W & W in G ) )
proof
let x be
set ;
:: thesis: ( x in field R implies ( x in union D & ex W being Relation st
( x in field W & W in G ) ) )
assume
x in field R
;
:: thesis: ( x in union D & ex W being Relation st
( x in field W & W in G ) )
then consider y being
set such that A89:
(
[x,y] in R or
[y,x] in R )
by Th1;
A90:
( (
x in union D &
y in union D & ex
S being
Relation st
(
[x,y] in S &
S in G ) ) or (
y in union D &
x in union D & ex
S being
Relation st
(
[y,x] in S &
S in G ) ) )
by A87, A89;
thus
x in union D
by A87, A89;
:: thesis: ex W being Relation st
( x in field W & W in G )
consider S being
Relation such that A91:
(
[x,y] in S or
[y,x] in S )
and A92:
S in G
by A90;
take
S
;
:: thesis: ( x in field S & S in G )
thus
(
x in field S &
S in G )
by A91, A92, Th1;
:: thesis: verum
end;
then
for x being set st x in field R holds
x in union D
;
hence
field R c= union D
by TARSKI:def 3; :: thesis: ( R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) )
A93:
for W being Relation st W in G holds
field W c= field R
proof
let W be
Relation;
:: thesis: ( W in G implies field W c= field R )
assume A94:
W in G
;
:: thesis: field W c= field R
let x be
set ;
:: according to TARSKI:def 3 :: thesis: ( not x in field W or x in field R )
assume
x in field W
;
:: thesis: x in field R
then consider y being
set such that A95:
(
[x,y] in W or
[y,x] in W )
by Th1;
A96:
(
[x,y] in W implies
[x,y] in R )
proof
assume A97:
[x,y] in W
;
:: thesis: [x,y] in R
W in bool [:(union D),(union D):]
by A2, A94;
then
ex
z1,
z2 being
set st
(
z1 in union D &
z2 in union D &
[x,y] = [z1,z2] )
by A97, ZFMISC_1:103;
hence
[x,y] in R
by A87, A94, A97;
:: thesis: verum
end;
(
[y,x] in W implies
[y,x] in R )
proof
assume A98:
[y,x] in W
;
:: thesis: [y,x] in R
W in bool [:(union D),(union D):]
by A2, A94;
then
ex
z1,
z2 being
set st
(
z1 in union D &
z2 in union D &
[y,x] = [z1,z2] )
by A98, ZFMISC_1:103;
hence
[y,x] in R
by A87, A94, A98;
:: thesis: verum
end;
hence
x in field R
by A95, A96, Th1;
:: thesis: verum
end;
A99:
R is well-ordering
proof
A100:
R is_reflexive_in field R
A104:
R is_transitive_in field R
proof
for
x,
y,
z being
set st
x in field R &
y in field R &
z in field R &
[x,y] in R &
[y,z] in R holds
[x,z] in R
proof
let x,
y,
z be
set ;
:: thesis: ( x in field R & y in field R & z in field R & [x,y] in R & [y,z] in R implies [x,z] in R )
assume that
x in field R
and
y in field R
and
z in field R
and A105:
(
[x,y] in R &
[y,z] in R )
;
:: thesis: [x,z] in R
A106:
(
x in union D &
y in union D & ex
W being
Relation st
(
[x,y] in W &
W in G ) )
by A87, A105;
consider W1 being
Relation such that A107:
(
[x,y] in W1 &
W1 in G )
by A87, A105;
A108:
(
y in union D &
z in union D & ex
W being
Relation st
(
[y,z] in W &
W in G ) )
by A87, A105;
consider W2 being
Relation such that A109:
(
[y,z] in W2 &
W2 in G )
by A87, A105;
ex
W being
Relation st
(
[x,y] in W &
[y,z] in W &
W in G )
proof
take W =
W2;
:: thesis: ( [x,y] in W & [y,z] in W & W in G )
(
y in field W1 &
y in field W )
by A107, A109, RELAT_1:30;
then A110:
W1 -Seg y = W -Seg y
by A3, A107, A109;
( not
x in W1 -Seg y implies
[x,y] in W )
proof
assume A111:
not
x in W1 -Seg y
;
:: thesis: [x,y] in W
A112:
(
x in field W1 &
y in field W1 )
by A107, RELAT_1:30;
A113:
W1 is
well-ordering
by A2, A107;
then A114:
[y,x] in W1
by A111, A112, Th6;
W1 well_orders field W1
by A113, WELLORD1:8;
then
W1 is_antisymmetric_in field W1
by WELLORD1:def 5;
then A115:
x = y
by A107, A112, A114, RELAT_2:def 4;
A116:
y in field W
by A109, RELAT_1:30;
W is
well-ordering
by A2, A109;
then
W well_orders field W
by WELLORD1:8;
then
W is_reflexive_in field W
by WELLORD1:def 5;
hence
[x,y] in W
by A115, A116, RELAT_2:def 1;
:: thesis: verum
end;
hence
(
[x,y] in W &
[y,z] in W &
W in G )
by A109, A110, WELLORD1:def 1;
:: thesis: verum
end;
then consider W being
Relation such that A117:
(
[x,y] in W &
[y,z] in W &
W in G )
;
W is
well-ordering
by A2, A117;
then
W well_orders field W
by WELLORD1:8;
then A118:
W is_transitive_in field W
by WELLORD1:def 5;
(
x in field W &
y in field W &
z in field W )
by A117, RELAT_1:30;
then
[x,z] in W
by A117, A118, RELAT_2:def 8;
hence
[x,z] in R
by A87, A106, A108, A117;
:: thesis: verum
end;
hence
R is_transitive_in field R
by RELAT_2:def 8;
:: thesis: verum
end;
A119:
R is_antisymmetric_in field R
proof
for
x,
y being
set st
x in field R &
y in field R &
[x,y] in R &
[y,x] in R holds
x = y
proof
let x,
y be
set ;
:: thesis: ( x in field R & y in field R & [x,y] in R & [y,x] in R implies x = y )
assume that
x in field R
and
y in field R
and A120:
(
[x,y] in R &
[y,x] in R )
;
:: thesis: x = y
consider W1 being
Relation such that A121:
(
[x,y] in W1 &
W1 in G )
by A87, A120;
consider W2 being
Relation such that A122:
(
[y,x] in W2 &
W2 in G )
by A87, A120;
A123:
(
W1 c= W2 implies
x = y )
(
W2 c= W1 implies
x = y )
hence
x = y
by A3, A121, A122, A123;
:: thesis: verum
end;
hence
R is_antisymmetric_in field R
by RELAT_2:def 4;
:: thesis: verum
end;
A128:
R is_connected_in field R
proof
for
x,
y being
set st
x in field R &
y in field R &
x <> y & not
[x,y] in R holds
[y,x] in R
proof
let x,
y be
set ;
:: thesis: ( x in field R & y in field R & x <> y & not [x,y] in R implies [y,x] in R )
assume that A129:
x in field R
and A130:
y in field R
and A131:
x <> y
;
:: thesis: ( [x,y] in R or [y,x] in R )
A132:
(
x in union D & ex
W being
Relation st
(
x in field W &
W in G ) )
by A88, A129;
consider W1 being
Relation such that A133:
(
x in field W1 &
W1 in G )
by A88, A129;
A134:
(
y in union D & ex
W being
Relation st
(
y in field W &
W in G ) )
by A88, A130;
consider W2 being
Relation such that A135:
(
y in field W2 &
W2 in G )
by A88, A130;
A136:
( not
W1 c= W2 or
[x,y] in R or
[y,x] in R )
proof
assume
W1 c= W2
;
:: thesis: ( [x,y] in R or [y,x] in R )
then A137:
field W1 c= field W2
by RELAT_1:31;
W2 is
well-ordering
by A2, A135;
then
W2 well_orders field W2
by WELLORD1:8;
then
W2 is_connected_in field W2
by WELLORD1:def 5;
then
(
[x,y] in W2 or
[y,x] in W2 )
by A131, A133, A135, A137, RELAT_2:def 6;
hence
(
[x,y] in R or
[y,x] in R )
by A87, A132, A134, A135;
:: thesis: verum
end;
( not
W2 c= W1 or
[x,y] in R or
[y,x] in R )
proof
assume
W2 c= W1
;
:: thesis: ( [x,y] in R or [y,x] in R )
then A138:
field W2 c= field W1
by RELAT_1:31;
W1 is
well-ordering
by A2, A133;
then
W1 well_orders field W1
by WELLORD1:8;
then
W1 is_connected_in field W1
by WELLORD1:def 5;
then
(
[x,y] in W1 or
[y,x] in W1 )
by A131, A133, A135, A138, RELAT_2:def 6;
hence
(
[x,y] in R or
[y,x] in R )
by A87, A132, A133, A134;
:: thesis: verum
end;
hence
(
[x,y] in R or
[y,x] in R )
by A3, A133, A135, A136;
:: thesis: verum
end;
hence
R is_connected_in field R
by RELAT_2:def 6;
:: thesis: verum
end;
R is_well_founded_in field R
proof
let Y be
set ;
:: according to WELLORD1:def 3 :: thesis: ( not Y c= field R or Y = {} or ex b1 being set st
( b1 in Y & R -Seg b1 misses Y ) )
assume that A139:
Y c= field R
and A140:
Y <> {}
;
:: thesis: ex b1 being set st
( b1 in Y & R -Seg b1 misses Y )
consider y being
Element of
Y;
y in field R
by A139, A140, TARSKI:def 3;
then consider W being
Relation such that A141:
(
y in field W &
W in G )
by A88;
W is
well-ordering
by A2, A141;
then
W well_orders field W
by WELLORD1:8;
then A142:
W is_well_founded_in field W
by WELLORD1:def 5;
set A =
Y /\ (field W);
A143:
Y /\ (field W) c= field W
by XBOOLE_1:17;
Y /\ (field W) <> {}
by A140, A141, XBOOLE_0:def 4;
then consider a being
set such that A144:
a in Y /\ (field W)
and A145:
W -Seg a misses Y /\ (field W)
by A142, A143, WELLORD1:def 3;
ex
b being
set st
(
b in Y &
R -Seg b misses Y )
proof
take b =
a;
:: thesis: ( b in Y & R -Seg b misses Y )
thus
b in Y
by A144, XBOOLE_0:def 4;
:: thesis: R -Seg b misses Y
assume
not
R -Seg b misses Y
;
:: thesis: contradiction
then consider x being
set such that A146:
(
x in R -Seg b &
x in Y )
by XBOOLE_0:3;
A147:
(
[x,b] in R &
x <> b )
by A146, WELLORD1:def 1;
then consider W1 being
Relation such that A148:
(
[x,b] in W1 &
W1 in G )
by A87;
A149:
(
x in field W1 &
b in field W1 )
by A148, RELAT_1:30;
x in W1 -Seg b
by A147, A148, WELLORD1:def 1;
then A150:
x in W -Seg a
by A3, A141, A143, A144, A148, A149;
then
[x,a] in W
by WELLORD1:def 1;
then
x in field W
by RELAT_1:30;
then
x in Y /\ (field W)
by A146, XBOOLE_0:def 4;
hence
contradiction
by A145, A150, XBOOLE_0:3;
:: thesis: verum
end;
hence
ex
b1 being
set st
(
b1 in Y &
R -Seg b1 misses Y )
;
:: thesis: verum
end;
then
R well_orders field R
by A100, A104, A119, A128, WELLORD1:def 5;
hence
R is
well-ordering
by WELLORD1:8;
:: thesis: verum
end;
A151:
for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y )
not field R in D
proof
assume A161:
field R in D
;
:: thesis: contradiction
set a0 =
F . (field R);
A162:
not
F . (field R) in field R
by A1, A161;
reconsider W3 =
[:(field R),{(F . (field R))}:] as
Relation ;
reconsider W4 =
{[(F . (field R)),(F . (field R))]} as
Relation ;
field W4 = {(F . (field R)),(F . (field R))}
by RELAT_1:32;
then A163:
field W4 = {(F . (field R))} \/ {(F . (field R))}
by ENUMSET1:41;
reconsider W1 =
(R \/ [:(field R),{(F . (field R))}:]) \/ {[(F . (field R)),(F . (field R))]} as
Relation ;
A164:
field W1 = (field R) \/ {(F . (field R))}
A169:
for
x being
set holds
( not
x in field W1 or
x in field R or
x = F . (field R) )
A170:
for
x,
y being
set holds
(
[x,y] in W1 iff (
[x,y] in R or
[x,y] in W3 or
[x,y] in W4 ) )
proof
let x,
y be
set ;
:: thesis: ( [x,y] in W1 iff ( [x,y] in R or [x,y] in W3 or [x,y] in W4 ) )
(
[x,y] in W1 iff (
[x,y] in R \/ W3 or
[x,y] in W4 ) )
by XBOOLE_0:def 3;
hence
(
[x,y] in W1 iff (
[x,y] in R or
[x,y] in W3 or
[x,y] in W4 ) )
by XBOOLE_0:def 3;
:: thesis: verum
end;
A171:
for
x,
y being
set st
[x,y] in W1 &
y in field R holds
(
[x,y] in R &
x in field R )
proof
let x,
y be
set ;
:: thesis: ( [x,y] in W1 & y in field R implies ( [x,y] in R & x in field R ) )
assume A172:
(
[x,y] in W1 &
y in field R )
;
:: thesis: ( [x,y] in R & x in field R )
then A173:
(
[x,y] in R or
[x,y] in W3 or
[x,y] in W4 )
by A170;
A174:
not
[x,y] in W3
by A162, A172, ZFMISC_1:129;
A175:
not
[x,y] in W4
hence
[x,y] in R
by A170, A172, A174;
:: thesis: x in field R
thus
x in field R
by A173, A175, RELAT_1:30, ZFMISC_1:129;
:: thesis: verum
end;
A176:
for
y being
set st
y in field R holds
W1 -Seg y = R -Seg y
A181:
W1 in bool [:(union D),(union D):]
proof
for
x,
y being
set st
[x,y] in W1 holds
[x,y] in [:(union D),(union D):]
proof
let x,
y be
set ;
:: thesis: ( [x,y] in W1 implies [x,y] in [:(union D),(union D):] )
assume
[x,y] in W1
;
:: thesis: [x,y] in [:(union D),(union D):]
then
(
x in field W1 &
y in field W1 )
by RELAT_1:30;
then
( (
x in field R or
x = F . (field R) ) & (
y in field R or
y = F . (field R) ) )
by A169;
then
(
x in union D &
y in union D )
by A1, A88, A161;
hence
[x,y] in [:(union D),(union D):]
by ZFMISC_1:def 2;
:: thesis: verum
end;
then
W1 c= [:(union D),(union D):]
by RELAT_1:def 3;
hence
W1 in bool [:(union D),(union D):]
;
:: thesis: verum
end;
A182:
W1 is
well-ordering
proof
A183:
W1 is_reflexive_in field W1
A188:
W1 is_transitive_in field W1
proof
for
x,
y,
z being
set st
x in field W1 &
y in field W1 &
z in field W1 &
[x,y] in W1 &
[y,z] in W1 holds
[x,z] in W1
proof
let x,
y,
z be
set ;
:: thesis: ( x in field W1 & y in field W1 & z in field W1 & [x,y] in W1 & [y,z] in W1 implies [x,z] in W1 )
assume that A189:
x in field W1
and A190:
y in field W1
and A191:
z in field W1
and A192:
(
[x,y] in W1 &
[y,z] in W1 )
;
:: thesis: [x,z] in W1
A193:
(
z in field R implies
[x,z] in W1 )
proof
assume A194:
z in field R
;
:: thesis: [x,z] in W1
then A195:
(
[y,z] in R &
y in field R )
by A171, A192;
then A196:
(
[x,y] in R &
x in field R )
by A171, A192;
R well_orders field R
by A99, WELLORD1:8;
then
R is_transitive_in field R
by WELLORD1:def 5;
then
[x,z] in R
by A194, A195, A196, RELAT_2:def 8;
hence
[x,z] in W1
by A170;
:: thesis: verum
end;
(
z = F . (field R) implies
[x,z] in W1 )
hence
[x,z] in W1
by A169, A191, A193;
:: thesis: verum
end;
hence
W1 is_transitive_in field W1
by RELAT_2:def 8;
:: thesis: verum
end;
A200:
W1 is_antisymmetric_in field W1
A212:
W1 is_connected_in field W1
proof
for
x,
y being
set st
x in field W1 &
y in field W1 &
x <> y & not
[x,y] in W1 holds
[y,x] in W1
proof
let x,
y be
set ;
:: thesis: ( x in field W1 & y in field W1 & x <> y & not [x,y] in W1 implies [y,x] in W1 )
assume that A213:
x in field W1
and A214:
y in field W1
and A215:
x <> y
;
:: thesis: ( [x,y] in W1 or [y,x] in W1 )
A216:
(
x in field R &
y in field R & not
[x,y] in W1 implies
[y,x] in W1 )
A218:
(
x in field R or
[x,y] in W1 or
[y,x] in W1 )
proof
assume
not
x in field R
;
:: thesis: ( [x,y] in W1 or [y,x] in W1 )
then A219:
x = F . (field R)
by A169, A213;
A220:
( not
y = F . (field R) or
[x,y] in W1 or
[y,x] in W1 )
( not
y in field R or
[x,y] in W1 or
[y,x] in W1 )
hence
(
[x,y] in W1 or
[y,x] in W1 )
by A169, A214, A220;
:: thesis: verum
end;
(
y in field R or
[x,y] in W1 or
[y,x] in W1 )
proof
assume
not
y in field R
;
:: thesis: ( [x,y] in W1 or [y,x] in W1 )
then A221:
y = F . (field R)
by A169, A214;
A222:
( not
x = F . (field R) or
[y,x] in W1 or
[x,y] in W1 )
( not
x in field R or
[y,x] in W1 or
[x,y] in W1 )
hence
(
[x,y] in W1 or
[y,x] in W1 )
by A169, A213, A222;
:: thesis: verum
end;
hence
(
[x,y] in W1 or
[y,x] in W1 )
by A216, A218;
:: thesis: verum
end;
hence
W1 is_connected_in field W1
by RELAT_2:def 6;
:: thesis: verum
end;
W1 is_well_founded_in field W1
then
W1 well_orders field W1
by A183, A188, A200, A212, WELLORD1:def 5;
hence
W1 is
well-ordering
by WELLORD1:8;
:: thesis: verum
end;
for
y being
set st
y in field W1 holds
(
W1 -Seg y in D &
F . (W1 -Seg y) = y )
proof
let y be
set ;
:: thesis: ( y in field W1 implies ( W1 -Seg y in D & F . (W1 -Seg y) = y ) )
assume
y in field W1
;
:: thesis: ( W1 -Seg y in D & F . (W1 -Seg y) = y )
then A240:
(
y in field R or
y = F . (field R) )
by A169;
A241:
(
y in field R implies
W1 -Seg y = R -Seg y )
proof
assume A242:
y in field R
;
:: thesis: W1 -Seg y = R -Seg y
A243:
for
x being
set st
x in W1 -Seg y holds
x in R -Seg y
proof
let x be
set ;
:: thesis: ( x in W1 -Seg y implies x in R -Seg y )
assume
x in W1 -Seg y
;
:: thesis: x in R -Seg y
then A244:
(
[x,y] in W1 & not
x = y )
by WELLORD1:def 1;
then
(
[x,y] in R \/ W3 or
[x,y] in W4 )
by XBOOLE_0:def 3;
then A245:
(
[x,y] in R or
[x,y] in W3 or
[x,y] in W4 )
by XBOOLE_0:def 3;
(
[x,y] in W4 implies
[x,y] = [(F . (field R)),(F . (field R))] )
by TARSKI:def 1;
hence
x in R -Seg y
by A162, A242, A244, A245, WELLORD1:def 1, ZFMISC_1:33, ZFMISC_1:129;
:: thesis: verum
end;
for
x being
set st
x in R -Seg y holds
x in W1 -Seg y
hence
W1 -Seg y = R -Seg y
by A243, TARSKI:2;
:: thesis: verum
end;
(
W1 -Seg (F . (field R)) in D &
F . (W1 -Seg (F . (field R))) = F . (field R) )
hence
(
W1 -Seg y in D &
F . (W1 -Seg y) = y )
by A151, A240, A241;
:: thesis: verum
end;
then
W1 in G
by A2, A181, A182;
then A250:
field W1 c= field R
by A93;
A251:
{[(F . (field R)),(F . (field R))]} c= W1
by XBOOLE_1:7;
[(F . (field R)),(F . (field R))] in {[(F . (field R)),(F . (field R))]}
by TARSKI:def 1;
then
F . (field R) in field W1
by A251, RELAT_1:30;
hence
contradiction
by A1, A161, A250;
:: thesis: verum
end;
hence
( R is well-ordering & not field R in D & ( for y being set st y in field R holds
( R -Seg y in D & F . (R -Seg y) = y ) ) )
by A99, A151; :: thesis: verum