set D = 0 ;
set A = { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 } ;
deffunc H1( Nat) -> Nat = $1;
deffunc H2( Real) -> set = $1 ^2 ;
deffunc H3( Nat) -> Nat = $1;
deffunc H4( Real) -> set = $1 ^2 ;
deffunc H5( Element of NATPLUS ) -> object = [H2(H1($1)),H3($1),H4(H1($1))];
consider f being ManySortedSet of NATPLUS such that
A1:
for d being Element of NATPLUS holds f . d = H5(d)
from PBOOLE:sch 5();
A2:
dom f = NATPLUS
by PARTFUN1:def 2;
A3:
rng f c= { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 }
proof
let y be
object ;
TARSKI:def 3 ( not y in rng f or y in { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 } )
assume
y in rng f
;
y in { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 }
then consider k being
object such that A4:
k in dom f
and A5:
f . k = y
by FUNCT_1:def 3;
reconsider k =
k as
Element of
NATPLUS by A4, PARTFUN1:def 2;
(H2(H1(k)) ^2) - (0 * (H3(k) ^2)) = H4(
H1(
k))
^2
;
then
H5(
k)
in { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 }
;
hence
y in { [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 }
by A1, A5;
verum
end;
f is one-to-one
hence
{ [x,y,z] where x, y, z is positive Nat : (x ^2) - (0 * (y ^2)) = z ^2 } is infinite
by A2, A3, CARD_1:59; verum