begin
theorem
canceled;
theorem Th2:
theorem
theorem
theorem
theorem
deffunc H1( set ) -> set = $1 `1 ;
theorem
Lm1:
for A, B being Ordinal
for x1, x2 being set st x1 <> x2 holds
( A +^ B,[:A,{x1}:] \/ [:B,{x2}:] are_equipotent & card (A +^ B) = card ([:A,{x1}:] \/ [:B,{x2}:]) )
deffunc H2( set , set ) -> set = [:$1,{0}:] \/ [:$2,{1}:];
Lm2:
for X, Y being set holds
( [:X,Y:],[:Y,X:] are_equipotent & card [:X,Y:] = card [:Y,X:] )
definition
let M,
N be
Cardinal;
func M +` N -> Cardinal equals
card (M +^ N);
coherence
card (M +^ N) is Cardinal
;
commutativity
for b1, M, N being Cardinal st b1 = card (M +^ N) holds
b1 = card (N +^ M)
func M *` N -> Cardinal equals
card [:M,N:];
coherence
card [:M,N:] is Cardinal
;
commutativity
for b1, M, N being Cardinal st b1 = card [:M,N:] holds
b1 = card [:N,M:]
by Lm2;
func exp (
M,
N)
-> Cardinal equals
card (Funcs (N,M));
coherence
card (Funcs (N,M)) is Cardinal
;
end;
:: deftheorem defines +` CARD_2:def 1 :
for M, N being Cardinal holds M +` N = card (M +^ N);
:: deftheorem defines *` CARD_2:def 2 :
for M, N being Cardinal holds M *` N = card [:M,N:];
:: deftheorem defines exp CARD_2:def 3 :
for M, N being Cardinal holds exp (M,N) = card (Funcs (N,M));
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
theorem Th12:
for
X,
Y,
Z being
set holds
(
[:[:X,Y:],Z:],
[:X,[:Y,Z:]:] are_equipotent &
card [:[:X,Y:],Z:] = card [:X,[:Y,Z:]:] )
theorem Th13:
Lm3:
for X, Y being set holds [:X,Y:],[:(card X),Y:] are_equipotent
theorem Th14:
for
X,
Y being
set holds
(
[:X,Y:],
[:(card X),Y:] are_equipotent &
[:X,Y:],
[:X,(card Y):] are_equipotent &
[:X,Y:],
[:(card X),(card Y):] are_equipotent &
card [:X,Y:] = card [:(card X),Y:] &
card [:X,Y:] = card [:X,(card Y):] &
card [:X,Y:] = card [:(card X),(card Y):] )
theorem Th15:
for
X1,
Y1,
X2,
Y2 being
set st
X1,
Y1 are_equipotent &
X2,
Y2 are_equipotent holds
(
[:X1,X2:],
[:Y1,Y2:] are_equipotent &
card [:X1,X2:] = card [:Y1,Y2:] )
theorem
theorem Th17:
theorem Th18:
deffunc H3( set , set ) -> set = [:$1,{0}:] \/ [:$2,{1}:];
deffunc H4( set , set , set , set ) -> set = [:$1,{$3}:] \/ [:$2,{$4}:];
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem Th23:
for
X1,
Y1,
X2,
Y2,
x1,
x2,
y1,
y2 being
set st
X1,
Y1 are_equipotent &
X2,
Y2 are_equipotent &
x1 <> x2 &
y1 <> y2 holds
(
[:X1,{x1}:] \/ [:X2,{x2}:],
[:Y1,{y1}:] \/ [:Y2,{y2}:] are_equipotent &
card ([:X1,{x1}:] \/ [:X2,{x2}:]) = card ([:Y1,{y1}:] \/ [:Y2,{y2}:]) )
theorem Th24:
theorem Th25:
theorem
for
X,
Y being
set holds
(
[:X,{0}:] \/ [:Y,{1}:],
[:Y,{0}:] \/ [:X,{1}:] are_equipotent &
card ([:X,{0}:] \/ [:Y,{1}:]) = card ([:Y,{0}:] \/ [:X,{1}:]) )
by Th23;
theorem Th27:
for
X1,
X2,
Y1,
Y2 being
set holds
(
[:X1,X2:] \/ [:Y1,Y2:],
[:X2,X1:] \/ [:Y2,Y1:] are_equipotent &
card ([:X1,X2:] \/ [:Y1,Y2:]) = card ([:X2,X1:] \/ [:Y2,Y1:]) )
theorem Th28:
theorem
Lm4:
for x, y, X, Y being set st x <> y holds
[:X,{x}:] misses [:Y,{y}:]
theorem
canceled;
theorem Th31:
theorem
theorem
theorem
canceled;
theorem Th35:
theorem Th36:
theorem Th37:
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem Th47:
theorem Th48:
theorem Th49:
theorem Th50:
theorem Th51:
theorem Th52:
theorem Th53:
theorem Th54:
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem Th60:
theorem
canceled;
theorem Th62:
theorem Th63:
theorem
theorem
theorem
theorem
theorem
theorem Th69:
theorem Th70:
theorem Th71:
for
x1,
x2,
x3,
x4 being
set holds
card {x1,x2,x3,x4} <= 4
theorem Th72:
for
x1,
x2,
x3,
x4,
x5 being
set holds
card {x1,x2,x3,x4,x5} <= 5
theorem Th73:
for
x1,
x2,
x3,
x4,
x5,
x6 being
set holds
card {x1,x2,x3,x4,x5,x6} <= 6
theorem Th74:
for
x1,
x2,
x3,
x4,
x5,
x6,
x7 being
set holds
card {x1,x2,x3,x4,x5,x6,x7} <= 7
theorem
for
x1,
x2,
x3,
x4,
x5,
x6,
x7,
x8 being
set holds
card {x1,x2,x3,x4,x5,x6,x7,x8} <= 8
theorem Th76:
theorem Th77:
for
x1,
x2,
x3 being
set st
x1 <> x2 &
x1 <> x3 &
x2 <> x3 holds
card {x1,x2,x3} = 3
theorem Th78:
for
x1,
x2,
x3,
x4 being
set st
x1 <> x2 &
x1 <> x3 &
x1 <> x4 &
x2 <> x3 &
x2 <> x4 &
x3 <> x4 holds
card {x1,x2,x3,x4} = 4
begin
theorem
theorem
Lm5:
now
let n be
Element of
NAT ;
( ( for Z being finite set st card Z = n & Z <> {} & ( for X, Y being set st X in Z & Y in Z & not X c= Y holds
Y c= X ) holds
union Z in Z ) implies for Z being finite set st card Z = n + 1 & Z <> {} & ( for X, Y being set st X in Z & Y in Z & not X c= Y holds
Y c= X ) holds
union b3 in b3 )assume A1:
for
Z being
finite set st
card Z = n &
Z <> {} & ( for
X,
Y being
set st
X in Z &
Y in Z & not
X c= Y holds
Y c= X ) holds
union Z in Z
;
for Z being finite set st card Z = n + 1 & Z <> {} & ( for X, Y being set st X in Z & Y in Z & not X c= Y holds
Y c= X ) holds
union b3 in b3let Z be
finite set ;
( card Z = n + 1 & Z <> {} & ( for X, Y being set st X in Z & Y in Z & not X c= Y holds
Y c= X ) implies union b2 in b2 )assume that A2:
card Z = n + 1
and A3:
Z <> {}
and A4:
for
X,
Y being
set st
X in Z &
Y in Z & not
X c= Y holds
Y c= X
;
union b2 in b2set y = the
Element of
Z;
per cases
( n = 0 or n <> 0 )
;
suppose A6:
n <> 0
;
union b2 in b2
set Y =
Z \ { the Element of Z};
reconsider Y =
Z \ { the Element of Z} as
finite set ;
{ the Element of Z} c= Z
by A3, ZFMISC_1:37;
then A7:
card Y =
(n + 1) - (card { the Element of Z})
by A2, Th63
.=
(n + 1) - 1
by CARD_1:50
.=
n
;
for
a,
b being
set st
a in Y &
b in Y & not
a c= b holds
b c= a
by A4;
then A8:
union Y in Y
by A1, A6, A7, CARD_1:47;
then A9:
union Y in Z
;
Z = (Z \ { the Element of Z}) \/ { the Element of Z}
then A11:
union Z =
(union Y) \/ (union { the Element of Z})
by ZFMISC_1:96
.=
(union Y) \/ the
Element of
Z
by ZFMISC_1:31
;
A12:
the
Element of
Z in Z
by A3;
( the
Element of
Z c= union Y or
union Y c= the
Element of
Z )
by A4, A8;
hence
union Z in Z
by A9, A12, A11, XBOOLE_1:12;
verum
end;
end;
end;
Lm6:
for Z being finite set st Z <> {} & ( for X, Y being set st X in Z & Y in Z & not X c= Y holds
Y c= X ) holds
union Z in Z
theorem
theorem
for
x1,
x2,
x3,
x4,
x5 being
set st
x1,
x2,
x3,
x4,
x5 are_mutually_different holds
card {x1,x2,x3,x4,x5} = 5
theorem