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; :: thesis: ( S1[k] implies S1[k + 1] )
assume A2: S1[k] ; :: thesis: S1[k + 1]
thus S1[k + 1] :: thesis: verum
proof
A3: 1 <= k + 1 by NAT_1:11;
let f be FinSequence of NAT ; :: thesis: 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 b

let b be bag of SetPrimes ; :: thesis: 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 b

let a be Prime; :: thesis: ( 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)) ; :: thesis: 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;
hence a in support b ; :: thesis: verum
end;
end;
A25: S1[ 0 ]
proof
let f be FinSequence of NAT ; :: thesis: for b being bag of SetPrimes
for a being Prime st len f = 0 & 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

let b be bag of SetPrimes ; :: thesis: for a being Prime st len f = 0 & 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

let a be Prime; :: thesis: ( len f = 0 & 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 len f = 0 ; :: thesis: ( not b is prime-factorization-like or not Product b <> 1 or not a divides Product b or not Product b = Product f or not f = b * (canFS (support b)) or a in support b )
then f = <*> NAT ;
hence ( not b is prime-factorization-like or not Product b <> 1 or not a divides Product b or not Product b = Product f or not f = b * (canFS (support b)) or a in support b ) by RVSUM_1:94; :: thesis: verum
end;
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 ; :: thesis: verum