let L be non trivial right_complementable almost_left_invertible associative commutative well-unital distributive Abelian add-associative right_zeroed doubleLoopStr ; for p1, p2 being Polynomial of L st p1 divides p2 & p1 is with_roots holds
p1,p2 have_common_roots
let p1, p2 be Polynomial of L; ( p1 divides p2 & p1 is with_roots implies p1,p2 have_common_roots )
assume AS:
( p1 divides p2 & p1 is with_roots )
; p1,p2 have_common_roots
per cases
( p1 = 0_. L or p1 <> 0_. L )
;
suppose
p1 <> 0_. L
;
p1,p2 have_common_roots then consider s being
Polynomial of
L such that A:
s *' p1 = p2
by AS, HURWITZ:34;
consider x being
Element of
L such that B:
x is_a_root_of p1
by AS, POLYNOM5:def 7;
C:
eval (
p1,
x)
= 0. L
by B, POLYNOM5:def 6;
eval (
p2,
x) =
(eval (s,x)) * (eval (p1,x))
by A, POLYNOM4:24
.=
0. L
by C, VECTSP_1:6
;
then
x is_a_root_of p2
by POLYNOM5:def 6;
then
x is_a_common_root_of p1,
p2
by B, root1;
hence
p1,
p2 have_common_roots
by root2;
verum end; end;