let L be Field; for z being non zero rational_function of L
for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let z be non zero rational_function of L; for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let z1 be rational_function of L; for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let z2 be non zero Polynomial of L; ( z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) implies for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1 )
assume H1:
( z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) )
; for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let g1 be rational_function of L; for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let g2 be non zero Polynomial of L; ( z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) implies z1 = g1 )
assume H2:
( z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) )
; z1 = g1
defpred S1[ Nat] means for z being non zero rational_function of L st max ((deg (z `1)),(deg (z `2))) = $1 holds
for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1;
now for z being non zero rational_function of L st max ((deg (z `1)),(deg (z `2))) = 0 holds
for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1let z be non
zero rational_function of
L;
( max ((deg (z `1)),(deg (z `2))) = 0 implies for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1 )assume
max (
(deg (z `1)),
(deg (z `2)))
= 0
;
for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1then
deg (z `2) <= 0
by XXREAL_0:25;
then B:
deg (z `2) = 0
;
let z1 be
rational_function of
L;
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1let z2 be non
zero Polynomial of
L;
( z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) implies for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1 )assume H1:
(
z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] &
z1 is
irreducible & ex
f being
FinSequence of
(Polynom-Ring L) st
(
z2 = Product f & ( for
i being
Element of
NAT st
i in dom f holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
f . i = rpoly (1,
x) ) ) ) )
;
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1let g1 be
rational_function of
L;
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
g1 = z1let g2 be non
zero Polynomial of
L;
( z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) implies g1 = z1 )assume H2:
(
z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] &
g1 is
irreducible & ex
g being
FinSequence of
(Polynom-Ring L) st
(
g2 = Product g & ( for
i being
Element of
NAT st
i in dom g holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
g . i = rpoly (1,
x) ) ) ) )
;
g1 = z1thus
g1 = z1
by B, H1, H2, ratfuncNFunique1;
verum end;
then IA:
S1[ 0 ]
;
IS:
now for n being Nat st S1[n] holds
S1[n + 1]let n be
Nat;
( S1[n] implies S1[n + 1] )assume IV:
S1[
n]
;
S1[n + 1]
for
z being non
zero rational_function of
L st
max (
(deg (z `1)),
(deg (z `2)))
= n + 1 holds
for
z1 being
rational_function of
L for
z2 being non
zero Polynomial of
L st
z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] &
z1 is
irreducible & ex
f being
FinSequence of
(Polynom-Ring L) st
(
z2 = Product f & ( for
i being
Element of
NAT st
i in dom f holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
f . i = rpoly (1,
x) ) ) ) holds
for
g1 being
rational_function of
L for
g2 being non
zero Polynomial of
L st
z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] &
g1 is
irreducible & ex
g being
FinSequence of
(Polynom-Ring L) st
(
g2 = Product g & ( for
i being
Element of
NAT st
i in dom g holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
g . i = rpoly (1,
x) ) ) ) holds
z1 = g1
proof
let z be non
zero rational_function of
L;
( max ((deg (z `1)),(deg (z `2))) = n + 1 implies for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1 )
assume AS1:
max (
(deg (z `1)),
(deg (z `2)))
= n + 1
;
for z1 being rational_function of L
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
let z1 be
rational_function of
L;
for z2 being non zero Polynomial of L st z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) holds
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1let z2 be non
zero Polynomial of
L;
( z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] & z1 is irreducible & ex f being FinSequence of (Polynom-Ring L) st
( z2 = Product f & ( for i being Element of NAT st i in dom f holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & f . i = rpoly (1,x) ) ) ) implies for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1 )
assume H1:
(
z = [(z2 *' (z1 `1)),(z2 *' (z1 `2))] &
z1 is
irreducible & ex
f being
FinSequence of
(Polynom-Ring L) st
(
z2 = Product f & ( for
i being
Element of
NAT st
i in dom f holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
f . i = rpoly (1,
x) ) ) ) )
;
for g1 being rational_function of L
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1
consider f being
FinSequence of
(Polynom-Ring L) such that H1a:
(
z2 = Product f & ( for
i being
Element of
NAT st
i in dom f holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
f . i = rpoly (1,
x) ) ) )
by H1;
let g1 be
rational_function of
L;
for g2 being non zero Polynomial of L st z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) holds
z1 = g1let g2 be non
zero Polynomial of
L;
( z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] & g1 is irreducible & ex g being FinSequence of (Polynom-Ring L) st
( g2 = Product g & ( for i being Element of NAT st i in dom g holds
ex x being Element of L st
( x is_a_common_root_of z `1 ,z `2 & g . i = rpoly (1,x) ) ) ) implies z1 = g1 )
assume H2:
(
z = [(g2 *' (g1 `1)),(g2 *' (g1 `2))] &
g1 is
irreducible & ex
g being
FinSequence of
(Polynom-Ring L) st
(
g2 = Product g & ( for
i being
Element of
NAT st
i in dom g holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
g . i = rpoly (1,
x) ) ) ) )
;
z1 = g1
consider g being
FinSequence of
(Polynom-Ring L) such that H2a:
(
g2 = Product g & ( for
i being
Element of
NAT st
i in dom g holds
ex
x being
Element of
L st
(
x is_a_common_root_of z `1 ,
z `2 &
g . i = rpoly (1,
x) ) ) )
by H2;
per cases
( z is irreducible or z is reducible )
;
suppose
z is
reducible
;
z1 = g1then
z `1 ,
z `2 have_common_roots
by defirred;
then consider x being
Element of
L such that H:
x is_a_common_root_of z `1 ,
z `2
by root2;
H3:
(
x is_a_root_of z `1 &
x is_a_root_of z `2 )
by H, root1;
consider q2 being
Polynomial of
L such that HY:
z `2 = (rpoly (1,x)) *' q2
by H3, HURWITZ:33;
consider q1 being
Polynomial of
L such that HX:
z `1 = (rpoly (1,x)) *' q1
by H3, HURWITZ:33;
q2 <> 0_. L
by HY, POLYNOM3:34;
then reconsider q2 =
q2 as non
zero Polynomial of
L by defzer;
set q =
[q1,q2];
z `1 <> 0_. L
by defzerrat;
then
q1 <> 0_. L
by HX, POLYNOM3:34;
then
[q1,q2] `1 <> 0_. L
;
then reconsider q =
[q1,q2] as non
zero rational_function of
L by defzerrat;
AS2:
max (
(deg (q `1)),
(deg (q `2)))
= n
proof
A2:
deg (z `2) =
(deg (rpoly (1,x))) + (deg q2)
by HY, HURWITZ:23
.=
1
+ (deg q2)
by HURWITZ:27
;
A7:
max (
(deg (q `1)),
(deg (q `2))) =
max (
(deg q1),
(deg (q `2)))
by XTUPLE_0:def 2
.=
max (
(deg q1),
(deg q2))
by XTUPLE_0:def 3
;
per cases
( max ((deg (z `1)),(deg (z `2))) = deg (z `1) or max ((deg (z `1)),(deg (z `2))) = deg (z `2) )
by XXREAL_0:16;
suppose A5:
max (
(deg (z `1)),
(deg (z `2)))
= deg (z `1)
;
max ((deg (q `1)),(deg (q `2))) = nthen
z `1 <> 0_. L
by AS1, HURWITZ:20;
then
q1 <> 0_. L
by HX, POLYNOM3:34;
then A3:
deg (z `1) =
(deg (rpoly (1,x))) + (deg q1)
by HX, HURWITZ:23
.=
1
+ (deg q1)
by HURWITZ:27
;
deg (z `2) <= n + 1
by AS1, XXREAL_0:25;
then
((deg q2) + 1) - 1
<= (n + 1) - 1
by A2, XREAL_1:9;
hence
max (
(deg (q `1)),
(deg (q `2)))
= n
by A7, A3, A5, AS1, XXREAL_0:def 10;
verum end; end;
end;
ex
i being
Nat st
(
i in dom f &
f . i = rpoly (1,
x) )
then consider i being
Nat such that H5:
(
i in dom f &
f . i = rpoly (1,
x) )
;
ex
j being
Nat st
(
j in dom g &
g . j = rpoly (1,
x) )
then consider j being
Nat such that H6:
(
j in dom g &
g . j = rpoly (1,
x) )
;
reconsider fq =
Del (
f,
i) as
FinSequence of
(Polynom-Ring L) by FINSEQ_3:105;
reconsider gq =
Del (
g,
j) as
FinSequence of
(Polynom-Ring L) by FINSEQ_3:105;
reconsider z2q =
Product fq as
Polynomial of
L by POLYNOM3:def 10;
z2q <> 0_. L
by X100, div4;
then reconsider z2q =
z2q as non
zero Polynomial of
L by defzer;
reconsider g2q =
Product gq as
Polynomial of
L by POLYNOM3:def 10;
g2q <> 0_. L
by X101, div4;
then reconsider g2q =
g2q as non
zero Polynomial of
L by defzer;
H7:
Product f = (f /. i) * (Product fq)
by H5, del1;
H7a:
Product g = (g /. j) * (Product gq)
by H6, del1;
Seg (len f) = dom f
by FINSEQ_1:def 3;
then
( 1
<= i &
i <= len f )
by H5, FINSEQ_1:1;
then
f /. i = rpoly (1,
x)
by H5, FINSEQ_4:15;
then H9:
(rpoly (1,x)) *' z2q = Product f
by H7, POLYNOM3:def 10;
then H8:
(rpoly (1,x)) *' (z2q *' (z1 `1)) =
z2 *' (z1 `1)
by H1a, POLYNOM3:33
.=
(rpoly (1,x)) *' q1
by HX, H1, XTUPLE_0:def 2
.=
(rpoly (1,x)) *' (q `1)
by XTUPLE_0:def 2
;
then H8b:
z2q *' (z1 `1) = q `1
by thequiv1;
H8a:
(rpoly (1,x)) *' (z2q *' (z1 `2)) =
z2 *' (z1 `2)
by H9, H1a, POLYNOM3:33
.=
(rpoly (1,x)) *' q2
by HY, H1, XTUPLE_0:def 3
.=
(rpoly (1,x)) *' (q `2)
by XTUPLE_0:def 3
;
then
z2q *' (z1 `2) = q `2
by thequiv1;
then I1:
q = [(z2q *' (z1 `1)),(z2q *' (z1 `2))]
by H8b, MCART_1:8;
I3:
now for k being Element of NAT st k in dom fq holds
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) )let k be
Element of
NAT ;
( k in dom fq implies ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) ) )assume H11:
k in dom fq
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) )consider m being
Nat such that H14:
(
len f = m + 1 &
len fq = m )
by H5, FINSEQ_3:104;
H14a:
k in Seg m
by H11, H14, FINSEQ_1:def 3;
Seg m c= Seg (m + 1)
by FINSEQ_3:18;
then
k in Seg (m + 1)
by H14a;
then H13:
k in dom f
by H14, FINSEQ_1:def 3;
H14b:
k <= m
by H14a, FINSEQ_1:1;
then H14d:
k + 1
<= m + 1
by XREAL_1:6;
1
<= k + 1
by NAT_1:11;
then
k + 1
in Seg (m + 1)
by H14d;
then H14c:
k + 1
in dom f
by H14, FINSEQ_1:def 3;
now ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) )per cases
( k < i or i <= k )
;
suppose H12:
k < i
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) )then H12a:
f . k = fq . k
by FINSEQ_3:110;
consider y being
Element of
L such that H10:
(
y is_a_common_root_of z `1 ,
z `2 &
f . k = rpoly (1,
y) )
by H13, H1a;
H25:
eval (
z2q,
y)
= 0. L
by H12a, H10, H11, X100, div2;
then 0. L =
(eval (z2q,y)) * (eval ((z1 `1),y))
by VECTSP_1:7
.=
eval (
(z2q *' (z1 `1)),
y)
by POLYNOM4:24
.=
eval (
(q `1),
y)
by H8, thequiv1
;
then A1:
y is_a_root_of q `1
by POLYNOM5:def 6;
0. L =
(eval (z2q,y)) * (eval ((z1 `2),y))
by VECTSP_1:7, H25
.=
eval (
(z2q *' (z1 `2)),
y)
by POLYNOM4:24
.=
eval (
(q `2),
y)
by H8a, thequiv1
;
then
y is_a_root_of q `2
by POLYNOM5:def 6;
then
y is_a_common_root_of q `1 ,
q `2
by A1, root1;
hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
fq . k = rpoly (1,
x) )
by H10, H12, FINSEQ_3:110;
verum end; suppose H12:
i <= k
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & fq . k = rpoly (1,x) )then H12a:
f . (k + 1) = fq . k
by H14b, H5, H14, FINSEQ_3:111;
consider y being
Element of
L such that H10:
(
y is_a_common_root_of z `1 ,
z `2 &
f . (k + 1) = rpoly (1,
y) )
by H1a, H14c;
H25:
eval (
z2q,
y)
= 0. L
by H12a, H10, H11, X100, div2;
then 0. L =
(eval (z2q,y)) * (eval ((z1 `1),y))
by VECTSP_1:7
.=
eval (
(z2q *' (z1 `1)),
y)
by POLYNOM4:24
.=
eval (
(q `1),
y)
by H8, thequiv1
;
then A1:
y is_a_root_of q `1
by POLYNOM5:def 6;
0. L =
(eval (z2q,y)) * (eval ((z1 `2),y))
by VECTSP_1:7, H25
.=
eval (
(z2q *' (z1 `2)),
y)
by POLYNOM4:24
.=
eval (
(q `2),
y)
by H8a, thequiv1
;
then
y is_a_root_of q `2
by POLYNOM5:def 6;
then
y is_a_common_root_of q `1 ,
q `2
by A1, root1;
hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
fq . k = rpoly (1,
x) )
by H10, H12, H14b, H5, H14, FINSEQ_3:111;
verum end; end; end; hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
fq . k = rpoly (1,
x) )
;
verum end;
Seg (len g) = dom g
by FINSEQ_1:def 3;
then
( 1
<= j &
j <= len g )
by H6, FINSEQ_1:1;
then
g /. j = rpoly (1,
x)
by H6, FINSEQ_4:15;
then H9:
(rpoly (1,x)) *' g2q = Product g
by H7a, POLYNOM3:def 10;
then H8:
(rpoly (1,x)) *' (g2q *' (g1 `1)) =
g2 *' (g1 `1)
by H2a, POLYNOM3:33
.=
z `1
by H2, XTUPLE_0:def 2
.=
(rpoly (1,x)) *' (q `1)
by HX, XTUPLE_0:def 2
;
then H8b:
g2q *' (g1 `1) = q `1
by thequiv1;
H8a:
(rpoly (1,x)) *' (g2q *' (g1 `2)) =
g2 *' (g1 `2)
by H9, H2a, POLYNOM3:33
.=
z `2
by H2, XTUPLE_0:def 3
.=
(rpoly (1,x)) *' (q `2)
by HY, XTUPLE_0:def 3
;
then
g2q *' (g1 `2) = q `2
by thequiv1;
then I2:
q = [(g2q *' (g1 `1)),(g2q *' (g1 `2))]
by H8b, MCART_1:8;
I4:
now for k being Element of NAT st k in dom gq holds
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) )let k be
Element of
NAT ;
( k in dom gq implies ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) ) )assume H11:
k in dom gq
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) )consider m being
Nat such that H14:
(
len g = m + 1 &
len gq = m )
by H6, FINSEQ_3:104;
H14a:
k in Seg m
by H11, H14, FINSEQ_1:def 3;
Seg m c= Seg (m + 1)
by FINSEQ_3:18;
then
k in Seg (m + 1)
by H14a;
then H13:
k in dom g
by H14, FINSEQ_1:def 3;
H14b:
k <= m
by H14a, FINSEQ_1:1;
then H14d:
k + 1
<= m + 1
by XREAL_1:6;
1
<= k + 1
by NAT_1:11;
then
k + 1
in Seg (m + 1)
by H14d;
then H14c:
k + 1
in dom g
by H14, FINSEQ_1:def 3;
now ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) )per cases
( k < j or j <= k )
;
suppose H12:
k < j
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) )then H12a:
g . k = gq . k
by FINSEQ_3:110;
consider y being
Element of
L such that H10:
(
y is_a_common_root_of z `1 ,
z `2 &
g . k = rpoly (1,
y) )
by H13, H2a;
H25:
eval (
g2q,
y)
= 0. L
by H12a, H10, H11, X101, div2;
then 0. L =
(eval (g2q,y)) * (eval ((g1 `1),y))
by VECTSP_1:7
.=
eval (
(g2q *' (g1 `1)),
y)
by POLYNOM4:24
.=
eval (
(q `1),
y)
by H8, thequiv1
;
then A1:
y is_a_root_of q `1
by POLYNOM5:def 6;
0. L =
(eval (g2q,y)) * (eval ((g1 `2),y))
by VECTSP_1:7, H25
.=
eval (
(g2q *' (g1 `2)),
y)
by POLYNOM4:24
.=
eval (
(q `2),
y)
by H8a, thequiv1
;
then
y is_a_root_of q `2
by POLYNOM5:def 6;
then
y is_a_common_root_of q `1 ,
q `2
by A1, root1;
hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
gq . k = rpoly (1,
x) )
by H10, H12, FINSEQ_3:110;
verum end; suppose H12:
j <= k
;
ex x being Element of L st
( x is_a_common_root_of q `1 ,q `2 & gq . k = rpoly (1,x) )then H13:
g . (k + 1) = gq . k
by H14b, H6, H14, FINSEQ_3:111;
consider y being
Element of
L such that H10:
(
y is_a_common_root_of z `1 ,
z `2 &
g . (k + 1) = rpoly (1,
y) )
by H2a, H14c;
H25:
eval (
g2q,
y)
= 0. L
by H13, H10, H11, X101, div2;
then 0. L =
(eval (g2q,y)) * (eval ((g1 `1),y))
by VECTSP_1:7
.=
eval (
(g2q *' (g1 `1)),
y)
by POLYNOM4:24
.=
eval (
(q `1),
y)
by H8, thequiv1
;
then A1:
y is_a_root_of q `1
by POLYNOM5:def 6;
0. L =
(eval (g2q,y)) * (eval ((g1 `2),y))
by VECTSP_1:7, H25
.=
eval (
(g2q *' (g1 `2)),
y)
by POLYNOM4:24
.=
eval (
(q `2),
y)
by H8a, thequiv1
;
then
y is_a_root_of q `2
by POLYNOM5:def 6;
then
y is_a_common_root_of q `1 ,
q `2
by A1, root1;
hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
gq . k = rpoly (1,
x) )
by H10, H12, H14b, H6, H14, FINSEQ_3:111;
verum end; end; end; hence
ex
x being
Element of
L st
(
x is_a_common_root_of q `1 ,
q `2 &
gq . k = rpoly (1,
x) )
;
verum end; thus
z1 = g1
by H1, H2, I1, I2, I3, I4, AS2, IV;
verum end; end;
end; hence
S1[
n + 1]
;
verum end;
I:
for n being Nat holds S1[n]
from NAT_1:sch 2(IA, IS);
max ((deg (z `1)),(deg (z `2))) >= deg (z `2)
by XXREAL_0:25;
then
max ((deg (z `1)),(deg (z `2))) >= 0
;
then
max ((deg (z `1)),(deg (z `2))) in NAT
by INT_1:3;
hence
z1 = g1
by I, H1, H2; verum