Metamath Proof Explorer


Theorem ply1vallem

Description: Lemma for determining the value of a slot in a univariate polynomial ring. (Contributed by Thierry Arnoux, 15-Nov-2026)

Ref Expression
Hypotheses ply1vallem.y
|- Y = ( Poly1 ` R )
ply1vallem.m
|- M = ( 1o mPoly R )
ply1vallem.e
|- E = ( S ` Y )
ply1vallem.1
|- ( S ` ndx ) =/= ( EuclF ` ndx )
ply1vallem.2
|- ( S ` ndx ) =/= ( Base ` ndx )
ply1vallem.s
|- S = Slot ( S ` ndx )
ply1vallem.t
|- T = ( 1o mPwSer R )
ply1vallem.3
|- ( S ` M ) = ( S ` T )
ply1vallem.4
|- ( S ` ( PwSer1 ` R ) ) = ( S ` T )
Assertion ply1vallem
|- E = ( S ` M )

Proof

Step Hyp Ref Expression
1 ply1vallem.y
 |-  Y = ( Poly1 ` R )
2 ply1vallem.m
 |-  M = ( 1o mPoly R )
3 ply1vallem.e
 |-  E = ( S ` Y )
4 ply1vallem.1
 |-  ( S ` ndx ) =/= ( EuclF ` ndx )
5 ply1vallem.2
 |-  ( S ` ndx ) =/= ( Base ` ndx )
6 ply1vallem.s
 |-  S = Slot ( S ` ndx )
7 ply1vallem.t
 |-  T = ( 1o mPwSer R )
8 ply1vallem.3
 |-  ( S ` M ) = ( S ` T )
9 ply1vallem.4
 |-  ( S ` ( PwSer1 ` R ) ) = ( S ` T )
10 eqid
 |-  ( PwSer1 ` R ) = ( PwSer1 ` R )
11 1 10 ply1val
 |-  ( R e. _V -> Y = ( ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) sSet <. ( EuclF ` ndx ) , ( deg1 ` R ) >. ) )
12 11 fveq2d
 |-  ( R e. _V -> ( S ` Y ) = ( S ` ( ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) sSet <. ( EuclF ` ndx ) , ( deg1 ` R ) >. ) ) )
13 3 12 eqtrid
 |-  ( R e. _V -> E = ( S ` ( ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) sSet <. ( EuclF ` ndx ) , ( deg1 ` R ) >. ) ) )
14 6 4 setsnid
 |-  ( S ` ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) ) = ( S ` ( ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) sSet <. ( EuclF ` ndx ) , ( deg1 ` R ) >. ) )
15 13 14 eqtr4di
 |-  ( R e. _V -> E = ( S ` ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) ) )
16 fvex
 |-  ( Base ` ( 1o mPoly R ) ) e. _V
17 eqid
 |-  ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) = ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) )
18 eqid
 |-  ( S ` ( PwSer1 ` R ) ) = ( S ` ( PwSer1 ` R ) )
19 17 18 6 5 resseqnbas
 |-  ( ( Base ` ( 1o mPoly R ) ) e. _V -> ( S ` ( PwSer1 ` R ) ) = ( S ` ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) ) )
20 16 19 ax-mp
 |-  ( S ` ( PwSer1 ` R ) ) = ( S ` ( ( PwSer1 ` R ) |`s ( Base ` ( 1o mPoly R ) ) ) )
21 15 20 eqtr4di
 |-  ( R e. _V -> E = ( S ` ( PwSer1 ` R ) ) )
22 21 9 eqtrdi
 |-  ( R e. _V -> E = ( S ` T ) )
23 22 8 eqtr4di
 |-  ( R e. _V -> E = ( S ` M ) )
24 fvprc
 |-  ( -. R e. _V -> ( Poly1 ` R ) = (/) )
25 1 24 eqtrid
 |-  ( -. R e. _V -> Y = (/) )
26 25 fveq2d
 |-  ( -. R e. _V -> ( S ` Y ) = ( S ` (/) ) )
27 3 26 eqtrid
 |-  ( -. R e. _V -> E = ( S ` (/) ) )
28 reldmmpl
 |-  Rel dom mPoly
29 28 ovprc2
 |-  ( -. R e. _V -> ( 1o mPoly R ) = (/) )
30 2 29 eqtrid
 |-  ( -. R e. _V -> M = (/) )
31 30 fveq2d
 |-  ( -. R e. _V -> ( S ` M ) = ( S ` (/) ) )
32 27 31 eqtr4d
 |-  ( -. R e. _V -> E = ( S ` M ) )
33 23 32 pm2.61i
 |-  E = ( S ` M )