assume A1:
not NAT , RAT are_equipotent
; contradiction
defpred S1[ Element of NAT , Subset of REAL ] means $2 = RAT_with_denominator ($1 + 1);
A2:
for n being Element of NAT ex X being Subset of REAL st S1[n,X]
consider F being Function of NAT ,(bool REAL ) such that
A4:
for n being Element of NAT holds S1[n,F . n]
from FUNCT_2:sch 3(A2);
A5:
for x being set st x in union (rng F) holds
x in RAT
A13:
union (rng F) c= RAT
by A5, TARSKI:def 3;
A14:
for x being set st x in RAT holds
x in union (rng F)
A24:
RAT c= union (rng F)
by A14, TARSKI:def 3;
A25:
union (rng F) = RAT
by A13, A24, XBOOLE_0:def 10;
A26:
dom F = NAT
by FUNCT_2:def 1;
A27:
rng F is countable
by A26, CARD_3:127;
A28:
for Y being set st Y in rng F holds
Y is countable
proof
let Y be
set ;
( Y in rng F implies Y is countable )
assume A29:
Y in rng F
;
Y is countable
consider n being
set such that A30:
n in dom F
and A31:
F . n = Y
by A29, FUNCT_1:def 5;
reconsider n =
n as
Element of
NAT by A30, FUNCT_2:def 1;
A32:
Y = RAT_with_denominator (n + 1)
by A4, A31;
A33:
INT ,
Y are_equipotent
by A32, Th4;
A34:
NAT ,
Y are_equipotent
by A33, Th3, WELLORD2:22;
A35:
card NAT = card Y
by A34, CARD_1:21;
A36:
card NAT c= omega
by CARD_3:def 15, CARD_4:44;
thus
Y is
countable
by A35, A36, CARD_3:def 15;
verum
end;
A37:
RAT is countable
by A25, A27, A28, CARD_4:62;
A38:
card RAT c= omega
by A37, CARD_3:def 15;
A39:
not omega in card RAT
by A38;
A40:
( not omega c= card RAT or not omega <> card RAT )
by A39, CARD_1:13;
A41:
card RAT in omega
by A1, A40, CARD_1:14, CARD_1:21, CARD_1:84;
thus
contradiction
by A41; verum