let R be Ring; for S being RingExtension of R
for p being Element of the carrier of (Polynom-Ring R)
for q being Element of the carrier of (Polynom-Ring S)
for a being Element of S st p = q holds
Ext_eval (p,a) = eval (q,a)
let S be RingExtension of R; for p being Element of the carrier of (Polynom-Ring R)
for q being Element of the carrier of (Polynom-Ring S)
for a being Element of S st p = q holds
Ext_eval (p,a) = eval (q,a)
let p be Element of the carrier of (Polynom-Ring R); for q being Element of the carrier of (Polynom-Ring S)
for a being Element of S st p = q holds
Ext_eval (p,a) = eval (q,a)
let q be Element of the carrier of (Polynom-Ring S); for a being Element of S st p = q holds
Ext_eval (p,a) = eval (q,a)
let a be Element of S; ( p = q implies Ext_eval (p,a) = eval (q,a) )
assume A1:
p = q
; Ext_eval (p,a) = eval (q,a)
A2:
R is Subring of S
by Def1;
per cases
( q is zero or not q is zero )
;
suppose A4:
not
q is
zero
;
Ext_eval (p,a) = eval (q,a)then
len q > 0
by UPROOTS:17;
then A5:
(len q) -' 1
= (len q) - 1
by XREAL_0:def 2;
then reconsider lenq =
(len q) - 1 as
Element of
NAT ;
consider Fp being
FinSequence of
S such that A6:
(
Ext_eval (
p,
a)
= Sum Fp &
len Fp = len p & ( for
n being
Element of
NAT st
n in dom Fp holds
Fp . n = (In ((p . (n -' 1)),S)) * ((power S) . (a,(n -' 1))) ) )
by ALGNUM_1:def 1;
consider Fq being
FinSequence of the
carrier of
S such that A7:
(
eval (
q,
a)
= Sum Fq &
len Fq = len q & ( for
n being
Element of
NAT st
n in dom Fq holds
Fq . n = (q . (n -' 1)) * ((power S) . (a,(n -' 1))) ) )
by POLYNOM4:def 2;
then
len p = len q
by A8, ALGSEQ_1:def 3, ALGSEQ_1:def 2;
then A11:
dom Fq =
Seg (len p)
by A7, FINSEQ_1:def 3
.=
dom Fp
by A6, FINSEQ_1:def 3
;
for
n being
Nat st
n in dom Fp holds
Fq . n = Fp . n
hence
Ext_eval (
p,
a)
= eval (
q,
a)
by A6, A7, A11, FINSEQ_1:13;
verum end; end;