let x, y be Element of F1(); ( F2() reduces x,y implies P1[x,y] )
given p being RedSequence of F2() such that A4:
p . 1 = x
and
A5:
p . (len p) = y
; REWRITE1:def 3 P1[x,y]
defpred S1[ Element of NAT ] means ( 1 + $1 <= len p implies P1[x,p . (1 + $1)] );
A6:
now let i be
Element of
NAT ;
( S1[i] implies S1[i + 1] )assume A7:
S1[
i]
;
S1[i + 1]now A8:
i + 1
>= 1
by NAT_1:11;
assume A9:
1
+ (i + 1) <= len p
;
P1[x,p . (1 + (i + 1))]
1
+ (i + 1) >= 1
by NAT_1:11;
then A10:
1
+ (i + 1) in dom p
by A9, FINSEQ_3:27;
i + 1
< len p
by A9, NAT_1:13;
then
i + 1
in dom p
by A8, FINSEQ_3:27;
then A11:
[(p . (i + 1)),(p . (1 + (i + 1)))] in F2()
by A10, REWRITE1:def 2;
then A12:
p . (1 + (i + 1)) in F1()
by ZFMISC_1:106;
A13:
p . (i + 1) in F1()
by A11, ZFMISC_1:106;
then
P1[
p . (i + 1),
p . (1 + (i + 1))]
by A1, A11, A12;
hence
P1[
x,
p . (1 + (i + 1))]
by A3, A7, A9, A13, A12, NAT_1:13;
verum end; hence
S1[
i + 1]
;
verum end;
A14:
S1[ 0 ]
by A2, A4;
A15:
for n being Element of NAT holds S1[n]
from NAT_1:sch 1(A14, A6);
len p >= 0 + 1
by NAT_1:13;
then consider n being Nat such that
A16:
len p = 1 + n
by NAT_1:10;
n in NAT
by ORDINAL1:def 13;
hence
P1[x,y]
by A5, A16, A15; verum