defpred S1[ Nat] means for n being non zero Nat st support (PFactors n) c= Seg $1 holds
for p being Prime holds p |-count (Radical n) <= 1;
let p be Prime; :: thesis: for n being non zero Nat holds p |-count (Radical n) <= 1
let n be non zero Nat; :: thesis: p |-count (Radical n) <= 1
A1: ex mS being Element of NAT st support (ppf n) c= Seg mS by Th14;
A2: support (ppf n) = support (pfexp n) by NAT_3:def 9
.= support (PFactors n) by Def6 ;
A3: for k being Nat st S1[k] holds
S1[k + 1]
proof
let k be Nat; :: thesis: ( S1[k] implies S1[k + 1] )
assume A4: S1[k] ; :: thesis: S1[k + 1]
let n be non zero Nat; :: thesis: ( support (PFactors n) c= Seg (k + 1) implies for p being Prime holds p |-count (Radical n) <= 1 )
assume A5: support (PFactors n) c= Seg (k + 1) ; :: thesis: for p being Prime holds p |-count (Radical n) <= 1
A6: support (pfexp n) = support (PFactors n) by Def6;
per cases ( not support (PFactors n) c= Seg k or support (PFactors n) c= Seg k ) ;
suppose A7: not support (PFactors n) c= Seg k ; :: thesis: for p being Prime holds p |-count (Radical n) <= 1
let p be Prime; :: thesis: p |-count (Radical n) <= 1
reconsider r = k + 1 as non zero Element of NAT ;
set e = r |-count n;
set s = r |^ (r |-count n);
A8: now :: thesis: k + 1 in support (PFactors n)
assume A9: not k + 1 in support (PFactors n) ; :: thesis: contradiction
support (PFactors n) c= Seg k
proof
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in support (PFactors n) or x in Seg k )
assume A10: x in support (PFactors n) ; :: thesis: x in Seg k
then reconsider m = x as Nat ;
m <= k + 1 by A5, A10, FINSEQ_1:1;
then m < k + 1 by A9, A10, XXREAL_0:1;
then A11: m <= k by NAT_1:13;
x is Prime by A6, A10, NAT_3:34;
then 1 <= m by INT_2:def 4;
hence x in Seg k by A11, FINSEQ_1:1; :: thesis: verum
end;
hence contradiction by A7; :: thesis: verum
end;
then A12: r is Prime by A6, NAT_3:34;
then A13: r > 1 by INT_2:def 4;
then r |^ (r |-count n) divides n by NAT_3:def 7;
then consider t being Nat such that
A14: n = (r |^ (r |-count n)) * t by NAT_D:def 3;
reconsider s = r |^ (r |-count n), t = t as non zero Nat by A14;
reconsider s1 = s, t1 = t as non zero Element of NAT by ORDINAL1:def 12;
A15: support (ppf s) = support (pfexp s) by NAT_3:def 9;
then A16: support (ppf s) = support (PFactors s) by Def6;
A17: support (PFactors t) c= Seg k
proof
set f = r |-count t;
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in support (PFactors t) or x in Seg k )
assume A18: x in support (PFactors t) ; :: thesis: x in Seg k
then reconsider m = x as Nat ;
A19: x in support (pfexp t) by A18, Def6;
A20: now :: thesis: not m = r
assume A21: m = r ; :: thesis: contradiction
(pfexp t) . r = r |-count t by A12, NAT_3:def 8;
then r |-count t <> 0 by A19, A21, PRE_POLY:def 7;
then r |-count t >= 0 + 1 by NAT_1:13;
then consider g being Nat such that
A22: r |-count t = 1 + g by NAT_1:10;
r |^ (r |-count t) divides t by A13, NAT_3:def 7;
then consider u being Nat such that
A23: t = (r |^ (r |-count t)) * u by NAT_D:def 3;
reconsider g = g as Element of NAT by ORDINAL1:def 12;
n = s * (((r |^ g) * r) * u) by A14, A22, A23, NEWTON:6
.= (s * r) * ((r |^ g) * u)
.= (r |^ ((r |-count n) + 1)) * ((r |^ g) * u) by NEWTON:6 ;
then r |^ ((r |-count n) + 1) divides n by NAT_D:def 3;
hence contradiction by A13, NAT_3:def 7; :: thesis: verum
end;
support (pfexp t) c= support (pfexp n) by A14, NAT_3:45;
then support (PFactors t) c= support (PFactors n) by A6, Def6;
then m in support (PFactors n) by A18;
then m <= k + 1 by A5, FINSEQ_1:1;
then m < r by A20, XXREAL_0:1;
then A24: m <= k by NAT_1:13;
x is Prime by A19, NAT_3:34;
then 1 <= m by INT_2:def 4;
hence x in Seg k by A24, FINSEQ_1:1; :: thesis: verum
end;
(pfexp n) . r = r |-count n by A12, NAT_3:def 8;
then A25: r |-count n <> 0 by A6, A8, PRE_POLY:def 7;
A26: p |-count (Radical s) <= 1 A31: support (ppf s) = {r} by A12, A25, A15, NAT_3:42;
support (ppf t) = support (pfexp t) by NAT_3:def 9;
then A36: support (ppf t) = support (PFactors t) by Def6;
A37: ( p |-count (Radical s) = 0 or p |-count (Radical t) = 0 ) s1,t1 are_coprime then Radical n = Product ((PFactors s) + (PFactors t)) by A14, Th50
.= (Radical s) * (Radical t) by A32, A16, A36, NAT_3:19 ;
then p |-count (Radical n) = (p |-count (Radical t)) + (p |-count (Radical s)) by NAT_3:28;
hence p |-count (Radical n) <= 1 by A4, A17, A37, A26; :: thesis: verum
end;
suppose support (PFactors n) c= Seg k ; :: thesis: for p being Prime holds p |-count (Radical n) <= 1
hence for p being Prime holds p |-count (Radical n) <= 1 by A4; :: thesis: verum
end;
end;
end;
A45: S1[ 0 ]
proof end;
for k being Nat holds S1[k] from NAT_1:sch 2(A45, A3);
hence p |-count (Radical n) <= 1 by A1, A2; :: thesis: verum