defpred S1[ Nat] means for f being FinSequence of NAT
for b being bag of SetPrimes
for a being Prime st len f = $1 & b is prime-factorization-like & Product b <> 1 & a divides Product b & Product b = Product f & f = b * (canFS (support b)) holds
a in support b;
A1:
for k being Nat st S1[k] holds
S1[k + 1]
proof
let k be
Nat;
( S1[k] implies S1[k + 1] )
assume A2:
S1[
k]
;
S1[k + 1]
thus
S1[
k + 1]
verumproof
A3:
1
<= k + 1
by NAT_1:11;
let f be
FinSequence of
NAT ;
for b being bag of SetPrimes
for a being Prime st len f = k + 1 & b is prime-factorization-like & Product b <> 1 & a divides Product b & Product b = Product f & f = b * (canFS (support b)) holds
a in support blet b be
bag of
SetPrimes ;
for a being Prime st len f = k + 1 & b is prime-factorization-like & Product b <> 1 & a divides Product b & Product b = Product f & f = b * (canFS (support b)) holds
a in support blet a be
Prime;
( len f = k + 1 & b is prime-factorization-like & Product b <> 1 & a divides Product b & Product b = Product f & f = b * (canFS (support b)) implies a in support b )
assume that A4:
len f = k + 1
and A5:
b is
prime-factorization-like
and
Product b <> 1
and A6:
a divides Product b
and A7:
Product b = Product f
and A8:
f = b * (canFS (support b))
;
a in support b
reconsider p =
f | k as
FinSequence of
NAT ;
reconsider x =
f . (k + 1) as
Element of
NAT ;
A9:
len p = k
by A4, FINSEQ_1:59, NAT_1:11;
A10:
f =
(f | k) ^ <*(f /. (len f))*>
by A4, FINSEQ_5:21
.=
p ^ <*x*>
by A4, A3, FINSEQ_4:15
;
then consider p1 being
FinSequence of
NAT ,
q being
Prime,
n being
Element of
NAT ,
b1 being
bag of
SetPrimes such that
0 < n
and A11:
b1 is
prime-factorization-like
and A12:
q in support b
and A13:
support b1 = (support b) \ {q}
and A14:
x = q |^ n
and A15:
len p1 = len p
and A16:
Product p = Product p1
and A17:
p1 = b1 * (canFS (support b1))
by A5, A8, Lm5;
A18:
Product f = (Product p1) * x
by A10, A16, RVSUM_1:96;
rng p1 c= COMPLEX
by NUMBERS:20;
then
p1 is
FinSequence of
COMPLEX
by FINSEQ_1:def 4;
then A19:
Product b1 = Product p1
by A17, NAT_3:def 5;
now a in support bper cases
( Product p1 = 1 or Product p1 <> 1 )
;
suppose A22:
Product p1 <> 1
;
a in support bper cases
( a = q or a <> q )
;
suppose A23:
a <> q
;
a in support bA24:
support b1 c= support b
by A13, XBOOLE_1:36;
a in support b1
by A2, A6, A7, A9, A11, A14, A15, A17, A18, A19, A22, A23, Th5;
hence
a in support b
by A24;
verum end; end; end; end; end;
hence
a in support b
;
verum
end;
end;
A25:
S1[ 0 ]
for k being Nat holds S1[k]
from NAT_1:sch 2(A25, A1);
hence
for i being Element of NAT
for f being FinSequence of NAT
for b being bag of SetPrimes
for a being Prime st len f = i & b is prime-factorization-like & Product b <> 1 & a divides Product b & Product b = Product f & f = b * (canFS (support b)) holds
a in support b
; verum