let k be Integer; ( k <> 1 implies { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } , { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } are_equipotent )
set X = { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } ;
set Y = { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } ;
assume
k <> 1
; { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } , { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } are_equipotent
then A1:
not { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } is empty
by Lm13;
defpred S1[ object , object ] means for m being Nat st m = $1 holds
$2 = (2 |^ (2 |^ m)) + k;
A2:
for x being object st x in { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } holds
ex y being object st
( y in { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } & S1[x,y] )
consider f being Function of { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } , { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } such that
A4:
for x being object st x in { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } holds
S1[x,f . x]
from FUNCT_2:sch 1(A2);
take
f
; WELLORD2:def 4 ( f is one-to-one & proj1 f = { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } & proj2 f = { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } )
A5:
dom f = { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite }
by A1, FUNCT_2:def 1;
thus
f is one-to-one
( proj1 f = { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } & proj2 f = { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } )proof
let x1,
x2 be
object ;
FUNCT_1:def 4 ( not x1 in proj1 f or not x2 in proj1 f or not f . x1 = f . x2 or x1 = x2 )
assume A6:
x1 in dom f
;
( not x2 in proj1 f or not f . x1 = f . x2 or x1 = x2 )
then consider n1 being
positive Nat such that A7:
x1 = n1
and
(2 |^ (2 |^ n1)) + k is
composite
by A5;
assume A8:
x2 in dom f
;
( not f . x1 = f . x2 or x1 = x2 )
then consider n2 being
positive Nat such that A9:
x2 = n2
and
(2 |^ (2 |^ n2)) + k is
composite
by A5;
assume A10:
f . x1 = f . x2
;
x1 = x2
A11:
f . n1 = (2 |^ (2 |^ n1)) + k
by A4, A6, A7;
f . n2 = (2 |^ (2 |^ n2)) + k
by A4, A8, A9;
then
2
|^ n1 = 2
|^ n2
by A7, A9, A10, A11, XCMPLX_1:2, PEPIN:30;
hence
x1 = x2
by A7, A9, PEPIN:30;
verum
end;
thus
dom f = { n where n is positive Nat : (2 |^ (2 |^ n)) + k is composite }
by A5; proj2 f = { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite }
thus
rng f c= { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite }
; XBOOLE_0:def 10 { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } c= proj2 f
let y be object ; TARSKI:def 3 ( not y in { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite } or y in proj2 f )
assume
y in { ((2 |^ (2 |^ n)) + k) where n is positive Nat : (2 |^ (2 |^ n)) + k is composite }
; y in proj2 f
then consider n being positive Nat such that
A12:
y = (2 |^ (2 |^ n)) + k
and
A13:
(2 |^ (2 |^ n)) + k is composite
;
A14:
n in dom f
by A5, A13;
then
f . n = y
by A4, A12;
hence
y in proj2 f
by A14, FUNCT_1:def 3; verum