environ
vocabularies HIDDEN, ORDINAL1, RELAT_1, FUNCT_1, XBOOLE_0, TARSKI, WELLORD1, WELLORD2, ZFMISC_1, ORDINAL2, FUNCOP_1, FINSET_1, SUBSET_1, MCART_1, CARD_1, BSPACE, NAT_1, XCMPLX_0, FUNCT_4, QUANTAL1;
notations HIDDEN, TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, RELAT_1, ENUMSET1, XTUPLE_0, MCART_1, FUNCT_1, FUNCOP_1, WELLORD1, ORDINAL1, ORDINAL2, WELLORD2, FINSET_1, FUNCT_4;
definitions ORDINAL1, TARSKI, FUNCT_1, FINSET_1, WELLORD2, XBOOLE_0, RELAT_1;
theorems TARSKI, FUNCT_1, ZFMISC_1, ORDINAL1, ORDINAL2, WELLORD1, WELLORD2, RELAT_1, FINSET_1, XBOOLE_0, XBOOLE_1, FUNCOP_1, ENUMSET1, ORDINAL3, MCART_1, XTUPLE_0, FUNCT_4;
schemes ORDINAL1, ORDINAL2, FUNCT_1, FINSET_1, XBOOLE_0, PARTFUN1;
registrations XBOOLE_0, SUBSET_1, FUNCT_1, ORDINAL1, FUNCOP_1, FINSET_1, ZFMISC_1, XTUPLE_0, FUNCT_4;
constructors HIDDEN, ENUMSET1, WELLORD1, WELLORD2, FUNCOP_1, ORDINAL2, FINSET_1, XTUPLE_0, FUNCT_4;
requirements HIDDEN, NUMERALS, SUBSET, BOOLE;
equalities ORDINAL1, RELAT_1;
expansions ORDINAL1, TARSKI, FUNCT_1, FINSET_1, WELLORD2, XBOOLE_0;
theorem Th4:
proof
let X,
Y be
set ;
( X,Y are_equipotent iff card X = card Y )
A1:
Y,
card Y are_equipotent
by Def2;
A2:
X,
card X are_equipotent
by Def2;
hence
(
X,
Y are_equipotent implies
card X = card Y )
by Def2, WELLORD2:15;
( card X = card Y implies X,Y are_equipotent )
assume
card X = card Y
;
X,Y are_equipotent
hence
X,
Y are_equipotent
by A2, A1, WELLORD2:15;
verum
end;
theorem Th11:
proof
let X,
Y be
set ;
( card X c= card Y iff ex f being Function st
( dom f = Y & X c= rng f ) )
thus
(
card X c= card Y implies ex
f being
Function st
(
dom f = Y &
X c= rng f ) )
( ex f being Function st
( dom f = Y & X c= rng f ) implies card X c= card Y )
proof
assume
card X c= card Y
;
ex f being Function st
( dom f = Y & X c= rng f )
then consider f being
Function such that A1:
f is
one-to-one
and A2:
dom f = X
and A3:
rng f c= Y
by Th9;
defpred S1[
object ,
object ]
means ( ( $1
in rng f & $2
= (f ") . $1 ) or ( not $1
in rng f & $2
= 0 ) );
A4:
for
x being
object st
x in Y holds
ex
y being
object st
S1[
x,
y]
proof
let x be
object ;
( x in Y implies ex y being object st S1[x,y] )
assume
x in Y
;
ex y being object st S1[x,y]
( not
x in rng f implies ex
y being
object st
S1[
x,
y] )
;
hence
ex
y being
object st
S1[
x,
y]
;
verum
end;
A5:
for
x,
y,
z being
object st
x in Y &
S1[
x,
y] &
S1[
x,
z] holds
y = z
;
consider g being
Function such that A6:
(
dom g = Y & ( for
y being
object st
y in Y holds
S1[
y,
g . y] ) )
from FUNCT_1:sch 2(A5, A4);
take
g
;
( dom g = Y & X c= rng g )
thus
dom g = Y
by A6;
X c= rng g
let x be
object ;
TARSKI:def 3 ( not x in X or x in rng g )
assume A7:
x in X
;
x in rng g
then A8:
f . x in rng f
by A2, FUNCT_1:def 3;
(f ") . (f . x) = x
by A1, A2, A7, FUNCT_1:34;
then
x = g . (f . x)
by A3, A6, A8;
hence
x in rng g
by A3, A6, A8, FUNCT_1:def 3;
verum
end;
given f being
Function such that A9:
dom f = Y
and A10:
X c= rng f
;
card X c= card Y
deffunc H1(
object )
-> set =
f " {$1};
consider g being
Function such that A11:
(
dom g = X & ( for
x being
object st
x in X holds
g . x = H1(
x) ) )
from FUNCT_1:sch 3();
per cases
( X <> {} or X = {} )
;
suppose
X <> {}
;
card X c= card Y
then reconsider M =
rng g as non
empty set by A11, RELAT_1:42;
for
Z being
set st
Z in M holds
Z <> {}
then consider F being
Function such that A14:
dom F = M
and A15:
for
Z being
set st
Z in M holds
F . Z in Z
by FUNCT_1:111;
A16:
dom (F * g) = X
by A11, A14, RELAT_1:27;
A17:
F * g is
one-to-one
proof
let x,
y be
object ;
FUNCT_1:def 4 ( not x in dom (F * g) or not y in dom (F * g) or not (F * g) . x = (F * g) . y or x = y )
assume that A18:
x in dom (F * g)
and A19:
y in dom (F * g)
and A20:
(F * g) . x = (F * g) . y
;
x = y
A21:
g . y = f " {y}
by A11, A16, A19;
then
f " {y} in M
by A11, A16, A19, FUNCT_1:def 3;
then
F . (f " {y}) in f " {y}
by A15;
then A22:
f . (F . (f " {y})) in {y}
by FUNCT_1:def 7;
A23:
g . x = f " {x}
by A11, A16, A18;
then
f " {x} in M
by A11, A16, A18, FUNCT_1:def 3;
then
F . (f " {x}) in f " {x}
by A15;
then
f . (F . (f " {x})) in {x}
by FUNCT_1:def 7;
then A24:
f . (F . (f " {x})) = x
by TARSKI:def 1;
(
(F * g) . x = F . (g . x) &
(F * g) . y = F . (g . y) )
by A11, A16, A18, A19, FUNCT_1:13;
hence
x = y
by A20, A23, A21, A22, A24, TARSKI:def 1;
verum
end;
rng (F * g) c= Y
proof
let x be
object ;
TARSKI:def 3 ( not x in rng (F * g) or x in Y )
assume
x in rng (F * g)
;
x in Y
then consider y being
object such that A25:
y in dom (F * g)
and A26:
x = (F * g) . y
by FUNCT_1:def 3;
A27:
x = F . (g . y)
by A11, A16, A25, A26, FUNCT_1:13;
A28:
g . y = f " {y}
by A11, A16, A25;
then
f " {y} in M
by A11, A16, A25, FUNCT_1:def 3;
then
x in f " {y}
by A15, A28, A27;
hence
x in Y
by A9, FUNCT_1:def 7;
verum
end;
hence
card X c= card Y
by A16, A17, Th9;
verum
end;
end;
end;
definition
let A be
Ordinal;
correctness
existence
ex b1 being set ex S being Sequence st
( b1 = last S & dom S = succ A & S . 0 = card omega & ( for B being Ordinal st succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for B being Ordinal st B in succ A & B <> 0 & B is limit_ordinal holds
S . B = card (sup (S | B)) ) );
uniqueness
for b1, b2 being set st ex S being Sequence st
( b1 = last S & dom S = succ A & S . 0 = card omega & ( for B being Ordinal st succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for B being Ordinal st B in succ A & B <> 0 & B is limit_ordinal holds
S . B = card (sup (S | B)) ) ) & ex S being Sequence st
( b2 = last S & dom S = succ A & S . 0 = card omega & ( for B being Ordinal st succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for B being Ordinal st B in succ A & B <> 0 & B is limit_ordinal holds
S . B = card (sup (S | B)) ) ) holds
b1 = b2;
proof
set B =
card omega;
deffunc H1(
Ordinal,
Sequence)
-> Cardinal =
card (sup $2);
deffunc H2(
Ordinal,
set )
-> Cardinal =
nextcard $2;
( ex
x being
object ex
S being
Sequence st
(
x = last S &
dom S = succ A &
S . 0 = card omega & ( for
C being
Ordinal st
succ C in succ A holds
S . (succ C) = H2(
C,
S . C) ) & ( for
C being
Ordinal st
C in succ A &
C <> 0 &
C is
limit_ordinal holds
S . C = H1(
C,
S | C) ) ) & ( for
x1,
x2 being
set st ex
S being
Sequence st
(
x1 = last S &
dom S = succ A &
S . 0 = card omega & ( for
C being
Ordinal st
succ C in succ A holds
S . (succ C) = H2(
C,
S . C) ) & ( for
C being
Ordinal st
C in succ A &
C <> 0 &
C is
limit_ordinal holds
S . C = H1(
C,
S | C) ) ) & ex
S being
Sequence st
(
x2 = last S &
dom S = succ A &
S . 0 = card omega & ( for
C being
Ordinal st
succ C in succ A holds
S . (succ C) = H2(
C,
S . C) ) & ( for
C being
Ordinal st
C in succ A &
C <> 0 &
C is
limit_ordinal holds
S . C = H1(
C,
S | C) ) ) holds
x1 = x2 ) )
from ORDINAL2:sch 7();
hence
( ex
b1 being
set ex
S being
Sequence st
(
b1 = last S &
dom S = succ A &
S . 0 = card omega & ( for
B being
Ordinal st
succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for
B being
Ordinal st
B in succ A &
B <> 0 &
B is
limit_ordinal holds
S . B = card (sup (S | B)) ) ) & ( for
b1,
b2 being
set st ex
S being
Sequence st
(
b1 = last S &
dom S = succ A &
S . 0 = card omega & ( for
B being
Ordinal st
succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for
B being
Ordinal st
B in succ A &
B <> 0 &
B is
limit_ordinal holds
S . B = card (sup (S | B)) ) ) & ex
S being
Sequence st
(
b2 = last S &
dom S = succ A &
S . 0 = card omega & ( for
B being
Ordinal st
succ B in succ A holds
S . (succ B) = nextcard (S . B) ) & ( for
B being
Ordinal st
B in succ A &
B <> 0 &
B is
limit_ordinal holds
S . B = card (sup (S | B)) ) ) holds
b1 = b2 ) )
;
verum
end;
end;
deffunc H1( Ordinal) -> set = aleph $1;
theorem Th20:
proof
let A,
B be
Ordinal;
( A in B iff aleph A in aleph B )
defpred S1[
Ordinal]
means for
A being
Ordinal st
A in $1 holds
aleph A in aleph $1;
A1:
for
B being
Ordinal st
S1[
B] holds
S1[
succ B]
A7:
for
B being
Ordinal st
B <> 0 &
B is
limit_ordinal & ( for
C being
Ordinal st
C in B holds
S1[
C] ) holds
S1[
B]
proof
let B be
Ordinal;
( B <> 0 & B is limit_ordinal & ( for C being Ordinal st C in B holds
S1[C] ) implies S1[B] )
assume that A8:
B <> 0
and A9:
B is
limit_ordinal
and
for
C being
Ordinal st
C in B holds
for
A being
Ordinal st
A in C holds
aleph A in aleph C
;
S1[B]
let A be
Ordinal;
( A in B implies aleph A in aleph B )
consider S being
Sequence such that A10:
(
dom S = B & ( for
C being
Ordinal st
C in B holds
S . C = H1(
C) ) )
from ORDINAL2:sch 2();
assume
A in B
;
aleph A in aleph B
then
succ A in B
by A9, ORDINAL1:28;
then A11:
(
S . (succ A) in rng S &
S . (succ A) = aleph (succ A) )
by A10, FUNCT_1:def 3;
sup (rng S) = sup S
by ORDINAL2:26;
then A12:
aleph (succ A) c= sup S
by A11, ORDINAL1:def 2, ORDINAL2:19;
A13:
card (aleph (succ A)) = aleph (succ A)
;
A14:
(
aleph (succ A) = nextcard (aleph A) &
aleph A in nextcard (aleph A) )
by Th17, Lm1;
aleph B = card (sup S)
by A8, A9, A10, Lm1;
then
aleph (succ A) c= aleph B
by A12, A13, Th10;
hence
aleph A in aleph B
by A14;
verum
end;
A15:
S1[
0 ]
;
A16:
for
B being
Ordinal holds
S1[
B]
from ORDINAL2:sch 1(A15, A1, A7);
hence
(
A in B implies
aleph A in aleph B )
;
( aleph A in aleph B implies A in B )
assume A17:
aleph A in aleph B
;
A in B
then A18:
aleph A <> aleph B
;
not
B in A
by A16, A17;
hence
A in B
by A18, ORDINAL1:14;
verum
end;
theorem
proof
let X,
Y,
Z be
set ;
( X c= Y & Y c= Z & X,Z are_equipotent implies ( X,Y are_equipotent & Y,Z are_equipotent ) )
assume that A1:
(
X c= Y &
Y c= Z )
and A2:
X,
Z are_equipotent
;
( X,Y are_equipotent & Y,Z are_equipotent )
A3:
card X = card Z
by A2, Th4;
(
card X c= card Y &
card Y c= card Z )
by A1, Th10;
hence
(
X,
Y are_equipotent &
Y,
Z are_equipotent )
by A3, Th4, XBOOLE_0:def 10;
verum
end;
theorem Th27:
proof
let X be
set ;
for x being object holds
( X,{x} are_equipotent iff ex x being object st X = {x} )let x be
object ;
( X,{x} are_equipotent iff ex x being object st X = {x} )
thus
(
X,
{x} are_equipotent implies ex
x being
object st
X = {x} )
( ex x being object st X = {x} implies X,{x} are_equipotent )
given y being
object such that A3:
X = {y}
;
X,{x} are_equipotent
take f =
X --> x;
WELLORD2:def 4 ( f is one-to-one & dom f = X & rng f = {x} )
A4:
dom f = X
;
thus
f is
one-to-one
( dom f = X & rng f = {x} )
thus
dom f = X
;
rng f = {x}
thus
rng f c= {x}
by FUNCOP_1:13;
XBOOLE_0:def 10 {x} c= rng f
let a be
object ;
TARSKI:def 3 ( not a in {x} or a in rng f )
assume
a in {x}
;
a in rng f
then A7:
a = x
by TARSKI:def 1;
A8:
y in {y}
by TARSKI:def 1;
then
f . y = x
by A3, FUNCOP_1:7;
hence
a in rng f
by A3, A4, A7, A8, FUNCT_1:def 3;
verum
end;
theorem Th30:
proof
let X,
X1,
Y,
Y1 be
set ;
( X misses X1 & Y misses Y1 & X,Y are_equipotent & X1,Y1 are_equipotent implies X \/ X1,Y \/ Y1 are_equipotent )
assume that A1:
X /\ X1 = {}
and A2:
Y /\ Y1 = {}
;
XBOOLE_0:def 7 ( not X,Y are_equipotent or not X1,Y1 are_equipotent or X \/ X1,Y \/ Y1 are_equipotent )
given f being
Function such that A3:
f is
one-to-one
and A4:
dom f = X
and A5:
rng f = Y
;
WELLORD2:def 4 ( not X1,Y1 are_equipotent or X \/ X1,Y \/ Y1 are_equipotent )
given g being
Function such that A6:
g is
one-to-one
and A7:
dom g = X1
and A8:
rng g = Y1
;
WELLORD2:def 4 X \/ X1,Y \/ Y1 are_equipotent
defpred S1[
object ,
object ]
means ( ( $1
in X & $2
= f . $1 ) or ( $1
in X1 & $2
= g . $1 ) );
A9:
for
x being
object st
x in X \/ X1 holds
ex
y being
object st
S1[
x,
y]
A10:
for
x,
y,
z being
object st
x in X \/ X1 &
S1[
x,
y] &
S1[
x,
z] holds
y = z
by A1, XBOOLE_0:def 4;
consider h being
Function such that A11:
dom h = X \/ X1
and A12:
for
x being
object st
x in X \/ X1 holds
S1[
x,
h . x]
from FUNCT_1:sch 2(A10, A9);
take
h
;
WELLORD2:def 4 ( h is one-to-one & dom h = X \/ X1 & rng h = Y \/ Y1 )
thus
h is
one-to-one
( dom h = X \/ X1 & rng h = Y \/ Y1 )
proof
let x,
y be
object ;
FUNCT_1:def 4 ( not x in dom h or not y in dom h or not h . x = h . y or x = y )
assume that A13:
x in dom h
and A14:
y in dom h
and A15:
h . x = h . y
;
x = y
A16:
( (
y in X &
h . y = f . y ) or (
y in X1 &
h . y = g . y ) )
by A11, A12, A14;
A17:
( (
x in X &
h . x = f . x ) or (
x in X1 &
h . x = g . x ) )
by A11, A12, A13;
A18:
now ( y in X implies not x in X1 )
assume A19:
(
y in X &
x in X1 )
;
contradictionthen
(
f . y in Y &
g . x in Y1 )
by A4, A5, A7, A8, FUNCT_1:def 3;
hence
contradiction
by A1, A2, A15, A17, A16, A19, XBOOLE_0:def 4;
verum
end;
now ( x in X implies not y in X1 )
assume A20:
(
x in X &
y in X1 )
;
contradictionthen
(
f . x in Y &
g . y in Y1 )
by A4, A5, A7, A8, FUNCT_1:def 3;
hence
contradiction
by A1, A2, A15, A17, A16, A20, XBOOLE_0:def 4;
verum
end;
hence
x = y
by A3, A4, A6, A7, A15, A17, A16, A18;
verum
end;
thus
dom h = X \/ X1
by A11;
rng h = Y \/ Y1
thus
rng h c= Y \/ Y1
XBOOLE_0:def 10 Y \/ Y1 c= rng h
let x be
object ;
TARSKI:def 3 ( not x in Y \/ Y1 or x in rng h )
assume A25:
x in Y \/ Y1
;
x in rng h
A26:
now ( x in Y1 implies x in rng h )
assume
x in Y1
;
x in rng hthen consider y being
object such that A27:
y in dom g
and A28:
x = g . y
by A8, FUNCT_1:def 3;
A29:
y in X \/ X1
by A7, A27, XBOOLE_0:def 3;
then
S1[
y,
h . y]
by A12;
hence
x in rng h
by A1, A7, A11, A27, A28, A29, FUNCT_1:def 3, XBOOLE_0:def 4;
verum
end;
now ( x in Y implies x in rng h )
assume
x in Y
;
x in rng hthen consider y being
object such that A30:
y in dom f
and A31:
x = f . y
by A5, FUNCT_1:def 3;
A32:
y in X \/ X1
by A4, A30, XBOOLE_0:def 3;
then
S1[
y,
h . y]
by A12;
hence
x in rng h
by A1, A4, A11, A30, A31, A32, FUNCT_1:def 3, XBOOLE_0:def 4;
verum
end;
hence
x in rng h
by A25, A26, XBOOLE_0:def 3;
verum
end;
theorem Th31:
proof
let X be
set ;
for x, y being object st x in X & y in X holds
X \ {x},X \ {y} are_equipotent let x,
y be
object ;
( x in X & y in X implies X \ {x},X \ {y} are_equipotent )
assume that A1:
x in X
and A2:
y in X
;
X \ {x},X \ {y} are_equipotent
defpred S1[
object ,
object ]
means ( ( $1
= y & $2
= x ) or ( $1
<> y & $1
= $2 ) );
A3:
for
a being
object st
a in X \ {x} holds
ex
b being
object st
S1[
a,
b]
A4:
for
a,
b1,
b2 being
object st
a in X \ {x} &
S1[
a,
b1] &
S1[
a,
b2] holds
b1 = b2
;
consider f being
Function such that A5:
(
dom f = X \ {x} & ( for
a being
object st
a in X \ {x} holds
S1[
a,
f . a] ) )
from FUNCT_1:sch 2(A4, A3);
take
f
;
WELLORD2:def 4 ( f is one-to-one & dom f = X \ {x} & rng f = X \ {y} )
thus
f is
one-to-one
( dom f = X \ {x} & rng f = X \ {y} )
thus
dom f = X \ {x}
by A5;
rng f = X \ {y}
thus
rng f c= X \ {y}
XBOOLE_0:def 10 X \ {y} c= rng f
let z be
object ;
TARSKI:def 3 ( not z in X \ {y} or z in rng f )
assume A14:
z in X \ {y}
;
z in rng f
then
not
z in {y}
by XBOOLE_0:def 5;
then A15:
z <> y
by TARSKI:def 1;
hence
z in rng f
by A16;
verum
end;
theorem Th33:
proof
let X,
Y be
set ;
for x, y being object st X,Y are_equipotent & x in X & y in Y holds
X \ {x},Y \ {y} are_equipotent let x,
y be
object ;
( X,Y are_equipotent & x in X & y in Y implies X \ {x},Y \ {y} are_equipotent )
given f being
Function such that A1:
f is
one-to-one
and A2:
dom f = X
and A3:
rng f = Y
;
WELLORD2:def 4 ( not x in X or not y in Y or X \ {x},Y \ {y} are_equipotent )
A4:
X \ {x},
f .: (X \ {x}) are_equipotent
by A1, A2, Th32;
assume that A5:
x in X
and A6:
y in Y
;
X \ {x},Y \ {y} are_equipotent
f . x in Y
by A2, A3, A5, FUNCT_1:def 3;
then A7:
Y \ {(f . x)},
Y \ {y} are_equipotent
by A6, Th31;
f .: (X \ {x}) =
(f .: X) \ (Im (f,x))
by A1, FUNCT_1:64
.=
Y \ (Im (f,x))
by A2, A3, RELAT_1:113
.=
Y \ {(f . x)}
by A2, A5, FUNCT_1:59
;
hence
X \ {x},
Y \ {y} are_equipotent
by A4, A7, WELLORD2:15;
verum
end;
Lm2:
for m, n being Nat st n,m are_equipotent holds
n = m
Lm3:
for X being set st X is finite holds
ex n being Nat st X,n are_equipotent
scheme
CardinalCompInd{
P1[
set ] } :
provided
Lm4:
for A being Ordinal
for n being Nat st A,n are_equipotent holds
A = n
Lm5:
for A being Ordinal holds
( A is finite iff A in omega )
theorem
10
= {0,1,2,3,4,5,6,7,8,9}
proof
thus 10 =
succ 9
.=
{0,1,2,3,4,5,6,7,8,9}
by Th55, ENUMSET1:85
;
verum
end;
theorem Th60:
proof
let f be
Function;
card f = card (dom f)
dom f,
f are_equipotent
proof
deffunc H2(
object )
-> object =
[$1,(f . $1)];
consider g being
Function such that A1:
dom g = dom f
and A2:
for
x being
object st
x in dom f holds
g . x = H2(
x)
from FUNCT_1:sch 3();
take
g
;
WELLORD2:def 4 ( g is one-to-one & dom g = dom f & rng g = f )
thus
g is
one-to-one
( dom g = dom f & rng g = f )
thus
dom g = dom f
by A1;
rng g = f
thus
rng g c= f
XBOOLE_0:def 10 f c= rng g
let x,
y be
object ;
RELAT_1:def 3 ( not [x,y] in f or [x,y] in rng g )
assume A7:
[x,y] in f
;
[x,y] in rng g
then A8:
x in dom f
by FUNCT_1:1;
y = f . x
by A7, FUNCT_1:1;
then
g . x = [x,y]
by A2, A7, FUNCT_1:1;
hence
[x,y] in rng g
by A1, A8, FUNCT_1:def 3;
verum
end;
hence
card f = card (dom f)
by Th4;
verum
end;
theorem
proof
let X be
set ;
for x being object holds
( X,[:X,{x}:] are_equipotent & card X = card [:X,{x}:] )let x be
object ;
( X,[:X,{x}:] are_equipotent & card X = card [:X,{x}:] )
deffunc H2(
object )
-> object =
[$1,x];
consider f being
Function such that A1:
(
dom f = X & ( for
y being
object st
y in X holds
f . y = H2(
y) ) )
from FUNCT_1:sch 3();
thus
X,
[:X,{x}:] are_equipotent
card X = card [:X,{x}:]
proof
take
f
;
WELLORD2:def 4 ( f is one-to-one & dom f = X & rng f = [:X,{x}:] )
thus
f is
one-to-one
( dom f = X & rng f = [:X,{x}:] )
thus
dom f = X
by A1;
rng f = [:X,{x}:]
thus
rng f c= [:X,{x}:]
XBOOLE_0:def 10 [:X,{x}:] c= rng f
let y be
object ;
TARSKI:def 3 ( not y in [:X,{x}:] or y in rng f )
assume
y in [:X,{x}:]
;
y in rng f
then consider y1,
y2 being
object such that A8:
y1 in X
and A9:
y2 in {x}
and A10:
y = [y1,y2]
by ZFMISC_1:84;
y2 = x
by A9, TARSKI:def 1;
then
y = f . y1
by A1, A8, A10;
hence
y in rng f
by A1, A8, FUNCT_1:def 3;
verum
end;
hence
card X = card [:X,{x}:]
by Th4;
verum
end;