let P be set ; for c being Cardinal st P is mutually-disjoint & ( for A being set st A in P holds
card A = c ) holds
card (union P) = c *` (card P)
let c be Cardinal; ( P is mutually-disjoint & ( for A being set st A in P holds
card A = c ) implies card (union P) = c *` (card P) )
assume A1:
( P is mutually-disjoint & ( for A being set st A in P holds
card A = c ) )
; card (union P) = c *` (card P)
per cases
( ( P <> {} & c <> 0 ) or ( P <> {} & c = 0 ) or P = {} )
;
suppose A2:
(
P <> {} &
c <> 0 )
;
card (union P) = c *` (card P)then reconsider X =
union P as non
empty set ;
then reconsider p =
P as
Subset-Family of
X by TARSKI:def 3;
then reconsider p =
p as
a_partition of
X by EQREL_1:def 4;
deffunc H1(
set )
-> Enumeration of $1 = the
Enumeration of $1;
deffunc H2(
object )
-> Element of
bool X =
EqClass (
(In ($1,X)),
p);
deffunc H3(
object )
-> object =
[(H1(H2($1)) . $1),H2($1)];
consider f being
Function such that A6:
(
dom f = X & ( for
x being
object st
x in X holds
f . x = H3(
x) ) )
from FUNCT_1:sch 3();
now for y being object holds
( ( y in [:c,P:] implies ex x being object st
( x in dom f & f . x = y ) ) & ( ex x being object st
( x in dom f & f . x = y ) implies y in [:c,P:] ) )let y be
object ;
( ( y in [:c,P:] implies ex x being object st
( x in dom f & f . x = y ) ) & ( ex x being object st
( x in dom f & f . x = y ) implies y in [:c,P:] ) )hereby ( ex x being object st
( x in dom f & f . x = y ) implies y in [:c,P:] )
assume
y in [:c,P:]
;
ex x being object st
( x in dom f & f . x = y )then consider d,
A being
object such that A7:
(
d in c &
A in P &
y = [d,A] )
by ZFMISC_1:def 2;
reconsider A =
A as
set by A7;
reconsider x =
(H1(A) ") . d as
object ;
take x =
x;
( x in dom f & f . x = y )
card A <> {}
by A1, A7;
then A8:
A =
dom H1(
A)
by FUNCT_2:def 1
.=
rng (H1(A) ")
by FUNCT_1:33
;
A9:
c =
card A
by A1, A7
.=
rng H1(
A)
by FUNCT_2:def 3
;
then
c = dom (H1(A) ")
by FUNCT_1:33;
then A10:
x in A
by A7, A8, FUNCT_1:3;
hence A11:
x in dom f
by A6, A7;
f . x = y
A c= X
by A7, SETFAM_1:41;
then
(
In (
x,
X)
= x &
A is
Subset of
X )
by A6, A11, SUBSET_1:def 8;
then A12:
H2(
x)
= A
by A7, A10, EQREL_1:def 6;
thus f . x =
[(H1(A) . x),A]
by A6, A11, A12
.=
y
by A7, A9, FUNCT_1:35
;
verum
end; given x being
object such that A13:
(
x in dom f &
f . x = y )
;
y in [:c,P:]
In (
x,
X)
= x
by A6, A13, SUBSET_1:def 8;
then A14:
(
x in H2(
x) &
H2(
x)
in p )
by EQREL_1:def 6;
then
x in dom H1(
H2(
x))
by FUNCT_2:def 1;
then
H1(
H2(
x))
. x in rng H1(
H2(
x))
by FUNCT_1:3;
then
H1(
H2(
x))
. x in card H2(
x)
;
then A15:
H1(
H2(
x))
. x in c
by A1, A14;
y = [(H1(H2(x)) . x),H2(x)]
by A6, A13;
hence
y in [:c,P:]
by A14, A15, ZFMISC_1:def 2;
verum end; then A16:
rng f = [:c,P:]
by FUNCT_1:def 3;
now for x1, x2 being object st x1 in dom f & x2 in dom f & f . x1 = f . x2 holds
x1 = x2let x1,
x2 be
object ;
( x1 in dom f & x2 in dom f & f . x1 = f . x2 implies x1 = x2 )assume A17:
(
x1 in dom f &
x2 in dom f &
f . x1 = f . x2 )
;
x1 = x2then A18:
(
f . x1 = [(H1(H2(x1)) . x1),H2(x1)] &
f . x2 = [(H1(H2(x2)) . x2),H2(x2)] )
by A6;
then A19:
H2(
x1)
= H2(
x2)
by A17, XTUPLE_0:1;
(
In (
x1,
X)
= x1 &
In (
x2,
X)
= x2 )
by A6, A17, SUBSET_1:def 8;
then A20:
(
x1 in H2(
x1) &
H2(
x1)
in p &
x2 in H2(
x1) )
by A19, EQREL_1:def 6;
then A21:
dom H1(
H2(
x1))
= H2(
x1)
by FUNCT_2:def 1;
H1(
H2(
x1))
. x1 = H1(
H2(
x1))
. x2
by A17, A18, A19, XTUPLE_0:1;
hence
x1 = x2
by A20, A21, FUNCT_1:def 4;
verum end; hence card (union P) =
card (rng f)
by A6, FUNCT_1:def 4, CARD_1:70
.=
card [:c,(card P):]
by A16, CARD_2:7
.=
c *` (card P)
by CARD_2:def 2
;
verum end; end;