let M be non limit_cardinal Aleph; :: thesis: ex T being Inf_Matrix of (predecessor M),M,(bool M) st T is_Ulam_Matrix_of M
set N = predecessor M;
set GT = (nextcard (predecessor M)) \ (predecessor M);
defpred S1[ set , set ] means ex f being Function st
( $2 = f & f is one-to-one & dom f = predecessor M & rng f = $1 );
A1:
for K1 being set st K1 in (nextcard (predecessor M)) \ (predecessor M) holds
ex x being set st
( x in Funcs (predecessor M),(nextcard (predecessor M)) & S1[K1,x] )
proof
let K1 be
set ;
:: thesis: ( K1 in (nextcard (predecessor M)) \ (predecessor M) implies ex x being set st
( x in Funcs (predecessor M),(nextcard (predecessor M)) & S1[K1,x] ) )
assume A2:
K1 in (nextcard (predecessor M)) \ (predecessor M)
;
:: thesis: ex x being set st
( x in Funcs (predecessor M),(nextcard (predecessor M)) & S1[K1,x] )
A3:
(
K1 in nextcard (predecessor M) & not
K1 in predecessor M )
by A2, XBOOLE_0:def 5;
reconsider K2 =
K1 as
Element of
nextcard (predecessor M) by A2;
card (predecessor M) c= card K2
by A3, CARD_1:27, ORDINAL1:26;
then A4:
predecessor M c= card K2
by CARD_1:def 5;
card K2 in nextcard (predecessor M)
by CARD_1:25;
then
card K2 c= predecessor M
by CARD_3:108;
then card K2 =
predecessor M
by A4, XBOOLE_0:def 10
.=
card (predecessor M)
by CARD_1:def 5
;
then
K2,
predecessor M are_equipotent
by CARD_1:21;
then consider f being
Function such that A5:
(
f is
one-to-one &
dom f = predecessor M &
rng f = K1 )
by WELLORD2:def 4;
rng f c= nextcard (predecessor M)
by A2, A5, ORDINAL1:def 2;
then
f in Funcs (predecessor M),
(nextcard (predecessor M))
by A5, FUNCT_2:def 2;
hence
ex
x being
set st
(
x in Funcs (predecessor M),
(nextcard (predecessor M)) &
S1[
K1,
x] )
by A5;
:: thesis: verum
end;
consider h1 being Function such that
A6:
dom h1 = (nextcard (predecessor M)) \ (predecessor M)
and
rng h1 c= Funcs (predecessor M),(nextcard (predecessor M))
and
A7:
for K1 being set st K1 in (nextcard (predecessor M)) \ (predecessor M) holds
S1[K1,h1 . K1]
from WELLORD2:sch 1(A1);
for K1 being set st K1 in dom h1 holds
h1 . K1 is Function
then reconsider h = h1 as Function-yielding Function by FUNCOP_1:def 6;
( predecessor M in nextcard (predecessor M) & not predecessor M in predecessor M )
by CARD_1:32;
then reconsider GT1 = (nextcard (predecessor M)) \ (predecessor M) as non empty set by XBOOLE_0:def 5;
A10:
for N1 being Element of predecessor M
for K1 being Element of GT1 holds
( dom (h . K1) = predecessor M & rng (h . K1) = K1 )
deffunc H1( set , set ) -> set = (h . $2) . $1;
defpred S2[ set , set , set ] means $3 = { K2 where K2 is Element of GT1 : H1($1,K2) = $2 } ;
A12:
for N1 being Element of predecessor M
for K1 being Element of M ex S1 being Subset of GT1 st S2[N1,K1,S1]
proof
let N1 be
Element of
predecessor M;
:: thesis: for K1 being Element of M ex S1 being Subset of GT1 st S2[N1,K1,S1]let K1 be
Element of
M;
:: thesis: ex S1 being Subset of GT1 st S2[N1,K1,S1]
defpred S3[
set ]
means H1(
N1,$1)
= K1;
A13:
{ K2 where K2 is Element of GT1 : S3[K2] } is
Subset of
GT1
from DOMAIN_1:sch 7();
take
{ K2 where K2 is Element of GT1 : H1(N1,K2) = K1 }
;
:: thesis: ( { K2 where K2 is Element of GT1 : H1(N1,K2) = K1 } is Subset of GT1 & S2[N1,K1,{ K2 where K2 is Element of GT1 : H1(N1,K2) = K1 } ] )
thus
(
{ K2 where K2 is Element of GT1 : H1(N1,K2) = K1 } is
Subset of
GT1 &
S2[
N1,
K1,
{ K2 where K2 is Element of GT1 : H1(N1,K2) = K1 } ] )
by A13;
:: thesis: verum
end;
consider T1 being Function of [:(predecessor M),M:],(bool GT1) such that
A14:
for N1 being Element of predecessor M
for K1 being Element of M holds S2[N1,K1,T1 . N1,K1]
from BINOP_1:sch 3(A12);
GT1 c= nextcard (predecessor M)
;
then
GT1 c= M
by Def17;
then
bool GT1 c= bool M
by ZFMISC_1:79;
then reconsider T = T1 as Function of [:(predecessor M),M:],(bool M) by FUNCT_2:9;
take
T
; :: thesis: T is_Ulam_Matrix_of M
A15:
for N1, N2 being Element of predecessor M
for K1, K2 being Element of M
for K3 being set st K3 in (T . N1,K1) /\ (T . N2,K2) holds
ex K4 being Element of GT1 st
( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 )
proof
let N1,
N2 be
Element of
predecessor M;
:: thesis: for K1, K2 being Element of M
for K3 being set st K3 in (T . N1,K1) /\ (T . N2,K2) holds
ex K4 being Element of GT1 st
( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 )let K1,
K2 be
Element of
M;
:: thesis: for K3 being set st K3 in (T . N1,K1) /\ (T . N2,K2) holds
ex K4 being Element of GT1 st
( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 )let K3 be
set ;
:: thesis: ( K3 in (T . N1,K1) /\ (T . N2,K2) implies ex K4 being Element of GT1 st
( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 ) )
assume
K3 in (T . N1,K1) /\ (T . N2,K2)
;
:: thesis: ex K4 being Element of GT1 st
( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 )
then A16:
(
K3 in T1 . N1,
K1 &
K3 in T1 . N2,
K2 )
by XBOOLE_0:def 4;
then reconsider K4 =
K3 as
Element of
GT1 ;
take
K4
;
:: thesis: ( K4 = K3 & H1(N1,K4) = K1 & H1(N2,K4) = K2 )
thus
K4 = K3
;
:: thesis: ( H1(N1,K4) = K1 & H1(N2,K4) = K2 )
defpred S3[
Element of
GT1]
means H1(
N1,$1)
= K1;
defpred S4[
Element of
GT1]
means H1(
N2,$1)
= K2;
A17:
K4 in { K5 where K5 is Element of GT1 : S3[K5] }
by A14, A16;
A18:
K4 in { K5 where K5 is Element of GT1 : S4[K5] }
by A14, A16;
thus
S3[
K4]
from CARD_FIL:sch 1(A17); :: thesis: H1(N2,K4) = K2
thus
S4[
K4]
from CARD_FIL:sch 1(A18); :: thesis: verum
end;
thus
for N1 being Element of predecessor M
for K1, K2 being Element of M st K1 <> K2 holds
(T . N1,K1) /\ (T . N1,K2) is empty
:: according to CARD_FIL:def 18 :: thesis: ( ( for K1 being Element of M
for N1, N2 being Element of predecessor M st N1 <> N2 holds
(T . N1,K1) /\ (T . N2,K1) is empty ) & ( for N1 being Element of predecessor M holds card (M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } )) c= predecessor M ) & ( for K1 being Element of M holds card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor M ) )proof
let N1 be
Element of
predecessor M;
:: thesis: for K1, K2 being Element of M st K1 <> K2 holds
(T . N1,K1) /\ (T . N1,K2) is empty let K1,
K2 be
Element of
M;
:: thesis: ( K1 <> K2 implies (T . N1,K1) /\ (T . N1,K2) is empty )
assume A19:
K1 <> K2
;
:: thesis: (T . N1,K1) /\ (T . N1,K2) is empty
assume
not
(T . N1,K1) /\ (T . N1,K2) is
empty
;
:: thesis: contradiction
then consider K3 being
set such that A20:
K3 in (T . N1,K1) /\ (T . N1,K2)
by XBOOLE_0:def 1;
consider K4 being
Element of
GT1 such that A21:
(
K4 = K3 &
H1(
N1,
K4)
= K1 &
H1(
N1,
K4)
= K2 )
by A15, A20;
thus
contradiction
by A19, A21;
:: thesis: verum
end;
thus
for K1 being Element of M
for N1, N2 being Element of predecessor M st N1 <> N2 holds
(T . N1,K1) /\ (T . N2,K1) is empty
:: thesis: ( ( for N1 being Element of predecessor M holds card (M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } )) c= predecessor M ) & ( for K1 being Element of M holds card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor M ) )proof
let K1 be
Element of
M;
:: thesis: for N1, N2 being Element of predecessor M st N1 <> N2 holds
(T . N1,K1) /\ (T . N2,K1) is empty let N1,
N2 be
Element of
predecessor M;
:: thesis: ( N1 <> N2 implies (T . N1,K1) /\ (T . N2,K1) is empty )
assume A22:
N1 <> N2
;
:: thesis: (T . N1,K1) /\ (T . N2,K1) is empty
assume
not
(T . N1,K1) /\ (T . N2,K1) is
empty
;
:: thesis: contradiction
then consider K3 being
set such that A23:
K3 in (T . N1,K1) /\ (T . N2,K1)
by XBOOLE_0:def 1;
consider K4 being
Element of
GT1 such that A24:
(
K4 = K3 &
H1(
N1,
K4)
= K1 &
H1(
N2,
K4)
= K1 )
by A15, A23;
consider f being
Function such that A25:
(
h1 . K4 = f &
f is
one-to-one &
dom f = predecessor M &
rng f = K4 )
by A7;
thus
contradiction
by A22, A24, A25, FUNCT_1:def 8;
:: thesis: verum
end;
thus
for N1 being Element of predecessor M holds card (M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } )) c= predecessor M
:: thesis: for K1 being Element of M holds card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor Mproof
let N1 be
Element of
predecessor M;
:: thesis: card (M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } )) c= predecessor M
union { (T . N1,K1) where K1 is Element of M : K1 in M } = GT1
proof
for
S1 being
set st
S1 in { (T . N1,K1) where K1 is Element of M : K1 in M } holds
S1 c= GT1
hence
union { (T . N1,K1) where K1 is Element of M : K1 in M } c= GT1
by ZFMISC_1:94;
:: according to XBOOLE_0:def 10 :: thesis: GT1 c= union { (T . N1,K1) where K1 is Element of M : K1 in M }
let K2 be
set ;
:: according to TARSKI:def 3 :: thesis: ( not K2 in GT1 or K2 in union { (T . N1,K1) where K1 is Element of M : K1 in M } )
assume A28:
K2 in GT1
;
:: thesis: K2 in union { (T . N1,K1) where K1 is Element of M : K1 in M }
K2 in nextcard (predecessor M)
by A28;
then
K2 in M
by Def17;
then A29:
K2 c= M
by ORDINAL1:def 2;
reconsider K5 =
K2 as
Element of
GT1 by A28;
N1 in predecessor M
;
then
N1 in dom (h . K5)
by A10;
then
(h . K5) . N1 in rng (h . K5)
by FUNCT_1:def 5;
then A30:
H1(
N1,
K5)
in K5
by A10;
K5 in { K3 where K3 is Element of GT1 : H1(N1,K3) = H1(N1,K5) }
;
then A31:
K5 in T . N1,
H1(
N1,
K5)
by A14, A29, A30;
T . N1,
H1(
N1,
K5)
in { (T . N1,K1) where K1 is Element of M : K1 in M }
by A29, A30;
hence
K2 in union { (T . N1,K1) where K1 is Element of M : K1 in M }
by A31, TARSKI:def 4;
:: thesis: verum
end;
then
union { (T . N1,K1) where K1 is Element of M : K1 in M } = M \ (predecessor M)
by Def17;
then
M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } ) = M /\ (predecessor M)
by XBOOLE_1:48;
hence
card (M \ (union { (T . N1,K1) where K1 is Element of M : K1 in M } )) c= predecessor M
by CARD_1:23, XBOOLE_1:17;
:: thesis: verum
end;
thus
for K1 being Element of M holds card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor M
:: thesis: verumproof
let K1 be
Element of
M;
:: thesis: card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor M
A32:
{ K5 where K5 is Element of GT1 : K1 in K5 } c= union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M }
proof
let K4 be
set ;
:: according to TARSKI:def 3 :: thesis: ( not K4 in { K5 where K5 is Element of GT1 : K1 in K5 } or K4 in union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )
assume A33:
K4 in { K5 where K5 is Element of GT1 : K1 in K5 }
;
:: thesis: K4 in union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M }
consider K5 being
Element of
GT1 such that A34:
K4 = K5
and A35:
K1 in K5
by A33;
rng (h . K5) = K5
by A10;
then consider N2 being
set such that A36:
(
N2 in dom (h . K5) &
(h . K5) . N2 = K1 )
by A35, FUNCT_1:def 5;
reconsider N3 =
N2 as
Element of
predecessor M by A10, A36;
K5 in { K3 where K3 is Element of GT1 : H1(N3,K3) = K1 }
by A36;
then A37:
K5 in T . N3,
K1
by A14;
T . N3,
K1 in { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M }
;
hence
K4 in union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M }
by A34, A37, TARSKI:def 4;
:: thesis: verum
end;
A38:
(
predecessor M c= K1 implies
card K1 = predecessor M )
A40:
card (M \ { K5 where K5 is Element of GT1 : K1 in K5 } ) c= predecessor M
M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } ) c= M \ { K5 where K5 is Element of GT1 : K1 in K5 }
by A32, XBOOLE_1:34;
then
card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= card (M \ { K5 where K5 is Element of GT1 : K1 in K5 } )
by CARD_1:27;
hence
card (M \ (union { (T . N1,K1) where N1 is Element of predecessor M : N1 in predecessor M } )) c= predecessor M
by A40, XBOOLE_1:1;
:: thesis: verum
end;