let fp be FinSequence of NAT ; ( len fp >= 2 & ( for b, c being Element of NAT st b in dom fp & c in dom fp & b <> c holds
(fp . b) gcd (fp . c) = 1 ) implies for b being Element of NAT st b in dom fp holds
(Product (Del (fp,b))) gcd (fp . b) = 1 )
defpred S1[ FinSequence of NAT ] means for b being Element of NAT st b in dom $1 holds
(Product (Del ($1,b))) gcd ($1 . b) = 1;
defpred S2[ FinSequence of NAT ] means for b, c being Element of NAT st b in dom $1 & c in dom $1 & b <> c holds
($1 . b) gcd ($1 . c) = 1;
defpred S3[ set ] means ex f being FinSequence of NAT st
( f = $1 & ( len f >= 2 & S2[f] implies S1[f] ) );
A1:
now for fp being FinSequence of NAT
for d being Element of NAT st S3[fp] holds
S3[fp ^ <*d*>]let fp be
FinSequence of
NAT ;
for d being Element of NAT st S3[fp] holds
S3[fp ^ <*d*>]let d be
Element of
NAT ;
( S3[fp] implies S3[fp ^ <*d*>] )assume A2:
S3[
fp]
;
S3[fp ^ <*d*>]set k =
len fp;
set fp1 =
fp ^ <*d*>;
now ( len (fp ^ <*d*>) >= 2 & S2[fp ^ <*d*>] implies S1[fp ^ <*d*>] )assume that A3:
len (fp ^ <*d*>) >= 2
and A4:
S2[
fp ^ <*d*>]
;
S1[fp ^ <*d*>]A5:
len (fp ^ <*d*>) = (len fp) + 1
by FINSEQ_2:16;
now S1[fp ^ <*d*>]per cases
( len (fp ^ <*d*>) = 2 or len (fp ^ <*d*>) > 2 )
by A3, XXREAL_0:1;
suppose
len (fp ^ <*d*>) > 2
;
S1[fp ^ <*d*>]then A10:
(len fp) + 1
> 1
+ 1
by FINSEQ_2:16;
then
len fp >= 1
+ 1
by NAT_1:13;
then consider n being
Nat such that A11:
len fp = n + 1
by NAT_1:6;
A12:
S2[
fp]
A16:
for
a being
Nat st
a in dom fp holds
(fp . a) gcd d = 1
reconsider n =
n as
Element of
NAT by ORDINAL1:def 12;
A21:
len fp = n + 1
by A11;
for
b being
Element of
NAT st
b in dom (fp ^ <*d*>) holds
(Product (Del ((fp ^ <*d*>),b))) gcd ((fp ^ <*d*>) . b) = 1
proof
let b be
Element of
NAT ;
( b in dom (fp ^ <*d*>) implies (Product (Del ((fp ^ <*d*>),b))) gcd ((fp ^ <*d*>) . b) = 1 )
assume A22:
b in dom (fp ^ <*d*>)
;
(Product (Del ((fp ^ <*d*>),b))) gcd ((fp ^ <*d*>) . b) = 1
A23:
b >= 1
by A22, FINSEQ_3:25;
A24:
b <= (len fp) + 1
by A5, A22, FINSEQ_3:25;
per cases
( b <= len fp or b = (len fp) + 1 )
by A24, NAT_1:8;
suppose
b <= len fp
;
(Product (Del ((fp ^ <*d*>),b))) gcd ((fp ^ <*d*>) . b) = 1then A25:
b in dom fp
by A23, FINSEQ_3:25;
then
(
(Product (Del (fp,b))) gcd (fp . b) = 1 &
(fp . b) gcd d = 1 )
by A2, A10, A12, A16, NAT_1:13;
then
((Product (Del (fp,b))) * d) gcd (fp . b) = 1
by WSIERP_1:7;
then A26:
(Product ((Del (fp,b)) ^ <*d*>)) gcd (fp . b) = 1
by RVSUM_1:96;
Del (
(fp ^ <*d*>),
b)
= (Del (fp,b)) ^ <*d*>
by A21, A25, Th30;
hence
(Product (Del ((fp ^ <*d*>),b))) gcd ((fp ^ <*d*>) . b) = 1
by A25, A26, FINSEQ_1:def 7;
verum end; end;
end; hence
S1[
fp ^ <*d*>]
;
verum end; end; end; hence
S1[
fp ^ <*d*>]
;
verum end; hence
S3[
fp ^ <*d*>]
;
verum end;
A27:
S3[ <*> NAT]
for fp being FinSequence of NAT holds S3[fp]
from FINSEQ_2:sch 2(A27, A1);
then
ex f being FinSequence of NAT st
( f = fp & ( len f >= 2 & S2[f] implies S1[f] ) )
;
hence
( len fp >= 2 & ( for b, c being Element of NAT st b in dom fp & c in dom fp & b <> c holds
(fp . b) gcd (fp . c) = 1 ) implies for b being Element of NAT st b in dom fp holds
(Product (Del (fp,b))) gcd (fp . b) = 1 )
; verum