let A, B be Ordinal; :: thesis: 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}:]) )
let x1, x2 be set ; :: thesis: ( x1 <> x2 implies ( A +^ B,[:A,{x1}:] \/ [:B,{x2}:] are_equipotent & card (A +^ B) = card ([:A,{x1}:] \/ [:B,{x2}:]) ) )
assume A1:
x1 <> x2
; :: thesis: ( A +^ B,[:A,{x1}:] \/ [:B,{x2}:] are_equipotent & card (A +^ B) = card ([:A,{x1}:] \/ [:B,{x2}:]) )
defpred S1[ set ] means $1 in A;
deffunc H2( set ) -> set = [$1,x1];
deffunc H3( Ordinal) -> set = [($1 -^ A),x2];
consider f being Function such that
A2:
dom f = A +^ B
and
A3:
for x being Ordinal st x in A +^ B holds
( ( S1[x] implies f . x = H2(x) ) & ( not S1[x] implies f . x = H3(x) ) )
from FINSET_1:sch 1();
thus
A +^ B,[:A,{x1}:] \/ [:B,{x2}:] are_equipotent
:: thesis: card (A +^ B) = card ([:A,{x1}:] \/ [:B,{x2}:])proof
take
f
;
:: according to WELLORD2:def 4 :: thesis: ( f is one-to-one & dom f = A +^ B & rng f = [:A,{x1}:] \/ [:B,{x2}:] )
thus
f is
one-to-one
:: thesis: ( dom f = A +^ B & rng f = [:A,{x1}:] \/ [:B,{x2}:] )
thus
dom f = A +^ B
by A2;
:: thesis: rng f = [:A,{x1}:] \/ [:B,{x2}:]
thus
rng f c= [:A,{x1}:] \/ [:B,{x2}:]
:: according to XBOOLE_0:def 10 :: thesis: [:A,{x1}:] \/ [:B,{x2}:] c= rng fproof
let x be
set ;
:: according to TARSKI:def 3 :: thesis: ( not x in rng f or x in [:A,{x1}:] \/ [:B,{x2}:] )
assume
x in rng f
;
:: thesis: x in [:A,{x1}:] \/ [:B,{x2}:]
then consider y being
set such that A6:
(
y in dom f &
x = f . y )
by FUNCT_1:def 5;
A7:
(
x1 in {x1} &
x2 in {x2} )
by TARSKI:def 1;
reconsider C =
y as
Ordinal by A2, A6;
per cases
( y in A or not y in A )
;
suppose
not
y in A
;
:: thesis: x in [:A,{x1}:] \/ [:B,{x2}:]then A8:
(
x = [(C -^ A),x2] &
A c= C )
by A2, A3, A6, ORDINAL1:26;
then
A +^ (C -^ A) = C
by ORDINAL3:def 6;
then
C -^ A in B
by A2, A6, ORDINAL3:25;
then
[(C -^ A),x2] in [:B,{x2}:]
by A7, ZFMISC_1:106;
hence
x in [:A,{x1}:] \/ [:B,{x2}:]
by A8, XBOOLE_0:def 3;
:: thesis: verum end; end;
end;
let x be
set ;
:: according to TARSKI:def 3 :: thesis: ( not x in [:A,{x1}:] \/ [:B,{x2}:] or x in rng f )
assume A9:
x in [:A,{x1}:] \/ [:B,{x2}:]
;
:: thesis: x in rng f
now assume
x in [:B,{x2}:]
;
:: thesis: x in rng fthen consider y,
z being
set such that A14:
(
y in B &
z in {x2} &
x = [y,z] )
by ZFMISC_1:103;
reconsider y =
y as
Ordinal by A14;
A c= A +^ y
by ORDINAL3:27;
then A15:
(
A +^ y = A +^ y &
A +^ y in A +^ B & not
A +^ y in A &
(A +^ y) -^ A = y &
z = x2 )
by A14, ORDINAL1:7, ORDINAL2:49, ORDINAL3:65, TARSKI:def 1;
then
x = f . (A +^ y)
by A3, A14;
hence
x in rng f
by A2, A15, FUNCT_1:def 5;
:: thesis: verum end;
hence
x in rng f
by A9, A10, XBOOLE_0:def 3;
:: thesis: verum
end;
hence
card (A +^ B) = card ([:A,{x1}:] \/ [:B,{x2}:])
by CARD_1:21; :: thesis: verum