let n be non empty natural number ; :: thesis: Product (ppf n) = n
defpred S1[ natural number ] means for n being non empty natural number st support (ppf n) c= Seg $1 holds
Product (ppf n) = n;
A1:
S1[ 0 ]
A7:
for k being natural number st S1[k] holds
S1[k + 1]
proof
let k be
natural number ;
:: thesis: ( S1[k] implies S1[k + 1] )
assume A8:
S1[
k]
;
:: thesis: S1[k + 1]
let n be non
empty natural number ;
:: thesis: ( support (ppf n) c= Seg (k + 1) implies Product (ppf n) = n )
assume A9:
support (ppf n) c= Seg (k + 1)
;
:: thesis: Product (ppf n) = n
A10:
support (ppf n) = support (pfexp n)
by Def9;
per cases
( not support (ppf n) c= Seg k or support (ppf n) c= Seg k )
;
suppose A11:
not
support (ppf n) c= Seg k
;
:: thesis: Product (ppf n) = nset p =
k + 1;
set e =
(k + 1) |-count n;
set s =
(k + 1) |^ ((k + 1) |-count n);
A17:
k + 1 is
Prime
by A10, A12, Th34;
then A18:
(pfexp n) . (k + 1) = (k + 1) |-count n
by Def8;
A19:
k + 1
> 1
by A17, INT_2:def 5;
then
(k + 1) |^ ((k + 1) |-count n) divides n
by Def7;
then consider t being
Nat such that A20:
n = ((k + 1) |^ ((k + 1) |-count n)) * t
by NAT_D:def 3;
reconsider s =
(k + 1) |^ ((k + 1) |-count n),
t =
t as non
empty natural number by A20;
A21:
support (ppf t) = support (pfexp t)
by Def9;
A22:
support (ppf t) c= Seg k
A31:
(k + 1) |-count n <> 0
by A10, A12, A18, POLYNOM1:def 7;
support (ppf s) = support (pfexp s)
by Def9;
then A32:
support (ppf s) = {(k + 1)}
by A17, A31, Th42;
then A36:
support (ppf s) misses support (ppf t)
by XBOOLE_0:def 7;
reconsider s1 =
s,
t1 =
t as non
empty Nat ;
s1,
t1 are_relative_prime
proof
assume A37:
s1 gcd t1 <> 1
;
:: according to INT_2:def 4 :: thesis: contradiction
set u =
s1 gcd t1;
A38:
s1 gcd t1 divides s1
by NAT_D:def 5;
s1 gcd t1 <> 0
by INT_2:5;
then
0 < s1 gcd t1
;
then
0 + 1
<= s1 gcd t1
by NAT_1:13;
then
s1 gcd t1 > 1
by A37, XXREAL_0:1;
then
s1 gcd t1 >= 1
+ 1
by NAT_1:13;
then consider r being
Element of
NAT such that A39:
r is
prime
and A40:
r divides s1 gcd t1
by INT_2:48;
r divides s1
by A38, A40, NAT_D:4;
then
r divides k + 1
by A39, Th5;
then A41:
(
r = 1 or
r = k + 1 )
by A17, INT_2:def 5;
s1 gcd t1 divides t1
by NAT_D:def 5;
then
k + 1
divides t1
by A39, A40, A41, INT_2:def 5, NAT_D:4;
then
k + 1
in support (pfexp t)
by A17, Th37;
then
k + 1
<= k
by A21, A22, FINSEQ_1:3;
hence
contradiction
by NAT_1:13;
:: thesis: verum
end; then A42:
ppf n = (ppf s) + (ppf t)
by A20, Th58;
consider f being
FinSequence of
COMPLEX such that A43:
Product (ppf s) = Product f
and A44:
f = (ppf s) * (canFS (support (ppf s)))
by Def5;
A45:
dom (ppf s) = SetPrimes
by PARTFUN1:def 4;
f =
(ppf s) * <*(k + 1)*>
by A32, A44, UPROOTS:6
.=
<*((ppf s) . (k + 1))*>
by A12, A45, CIRCCMB3:36
;
then A46:
Product (ppf s) =
(ppf s) . (k + 1)
by A43, RVSUM_1:125
.=
s
by A17, A31, Th59
;
Product (ppf t) = t
by A8, A22;
hence
Product (ppf n) = n
by A20, A36, A42, A46, Th19;
:: thesis: verum end; end;
end;
A47:
for k being natural number holds S1[k]
from NAT_1:sch 2(A1, A7);
A48:
support (ppf n) = support (pfexp n)
by Def9;