let n be Nat; for R being domRing
for p being non zero Polynomial of R
for a being Element of R holds
( multiplicity (p,a) = n iff ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )
let R be domRing; for p being non zero Polynomial of R
for a being Element of R holds
( multiplicity (p,a) = n iff ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )
let p be non zero Polynomial of R; for a being Element of R holds
( multiplicity (p,a) = n iff ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )
let a be Element of R; ( multiplicity (p,a) = n iff ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )
A:
now ( multiplicity (p,a) = n implies ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )assume
multiplicity (
p,
a)
= n
;
( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p )then consider F being non
empty finite Subset of
NAT such that B:
(
F = { k where k is Element of NAT : ex q being Polynomial of R st p = (<%(- a),(1. R)%> `^ k) *' q } &
n = max F )
by UPROOTS:def 8;
n in F
by B, XXREAL_2:def 6;
then consider k being
Element of
NAT such that C:
(
k = n & ex
q being
Polynomial of
R st
p = (<%(- a),(1. R)%> `^ k) *' q )
by B;
consider q being
Polynomial of
R such that D:
p = (<%(- a),(1. R)%> `^ n) *' q
by C;
p = ((rpoly (1,a)) `^ n) *' q
by D, repr;
hence
(rpoly (1,a)) `^ n divides p
by RING_4:1;
not (rpoly (1,a)) `^ (n + 1) divides pF:
n is
UpperBound of
F
by B, XXREAL_2:def 3;
hence
not
(rpoly (1,a)) `^ (n + 1) divides p
;
verum end;
now ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p implies multiplicity (p,a) = n )assume X:
(
(rpoly (1,a)) `^ n divides p & not
(rpoly (1,a)) `^ (n + 1) divides p )
;
multiplicity (p,a) = nset n0 =
multiplicity (
p,
a);
consider F being non
empty finite Subset of
NAT such that B:
(
F = { k where k is Element of NAT : ex q being Polynomial of R st p = (<%(- a),(1. R)%> `^ k) *' q } &
multiplicity (
p,
a)
= max F )
by UPROOTS:def 8;
consider q being
Polynomial of
R such that E:
p = ((rpoly (1,a)) `^ n) *' q
by X, RING_4:1;
K:
n in NAT
by ORDINAL1:def 12;
p = (<%(- a),(1. R)%> `^ n) *' q
by E, repr;
then C:
n in F
by B, K;
hence
multiplicity (
p,
a)
= n
by B, C, XXREAL_2:def 8;
verum end;
hence
( multiplicity (p,a) = n iff ( (rpoly (1,a)) `^ n divides p & not (rpoly (1,a)) `^ (n + 1) divides p ) )
by A; verum