MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mplcoe3 Structured version   Unicode version

Theorem mplcoe3 18241
Description: Decompose a monomial in one variable into a power of a variable. (Contributed by Mario Carneiro, 7-Jan-2015.) (Proof shortened by AV, 18-Jul-2019.)
Hypotheses
Ref Expression
mplcoe1.p  |-  P  =  ( I mPoly  R )
mplcoe1.d  |-  D  =  { f  e.  ( NN0  ^m  I )  |  ( `' f
" NN )  e. 
Fin }
mplcoe1.z  |-  .0.  =  ( 0g `  R )
mplcoe1.o  |-  .1.  =  ( 1r `  R )
mplcoe1.i  |-  ( ph  ->  I  e.  W )
mplcoe2.g  |-  G  =  (mulGrp `  P )
mplcoe2.m  |-  .^  =  (.g
`  G )
mplcoe2.v  |-  V  =  ( I mVar  R )
mplcoe3.r  |-  ( ph  ->  R  e.  Ring )
mplcoe3.x  |-  ( ph  ->  X  e.  I )
mplcoe3.n  |-  ( ph  ->  N  e.  NN0 )
Assertion
Ref Expression
mplcoe3  |-  ( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N , 
0 ) ) ,  .1.  ,  .0.  )
)  =  ( N 
.^  ( V `  X ) ) )
Distinct variable groups:    .^ , k    y,
k,  .1.    k, G    f,
k, y, I    k, N, y    ph, k, y    R, f, y    D, k, y    P, k    k, V    .0. , f, k, y    f, X, k, y    k, W, y
Allowed substitution hints:    ph( f)    D( f)    P( y, f)    R( k)    .1. ( f)    .^ ( y, f)    G( y, f)    N( f)    V( y, f)    W( f)

Proof of Theorem mplcoe3
Dummy variables  n  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mplcoe3.n . 2  |-  ( ph  ->  N  e.  NN0 )
2 ifeq1 3861 . . . . . . . . . . 11  |-  ( x  =  0  ->  if ( k  =  X ,  x ,  0 )  =  if ( k  =  X , 
0 ,  0 ) )
3 ifid 3894 . . . . . . . . . . 11  |-  if ( k  =  X , 
0 ,  0 )  =  0
42, 3syl6eq 2439 . . . . . . . . . 10  |-  ( x  =  0  ->  if ( k  =  X ,  x ,  0 )  =  0 )
54mpteq2dv 4454 . . . . . . . . 9  |-  ( x  =  0  ->  (
k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  =  ( k  e.  I  |->  0 ) )
6 fconstmpt 4957 . . . . . . . . 9  |-  ( I  X.  { 0 } )  =  ( k  e.  I  |->  0 )
75, 6syl6eqr 2441 . . . . . . . 8  |-  ( x  =  0  ->  (
k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  =  ( I  X.  { 0 } ) )
87eqeq2d 2396 . . . . . . 7  |-  ( x  =  0  ->  (
y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  <->  y  =  ( I  X.  { 0 } ) ) )
98ifbid 3879 . . . . . 6  |-  ( x  =  0  ->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )  =  if ( y  =  ( I  X.  { 0 } ) ,  .1.  ,  .0.  ) )
109mpteq2dv 4454 . . . . 5  |-  ( x  =  0  ->  (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( y  e.  D  |->  if ( y  =  ( I  X.  {
0 } ) ,  .1.  ,  .0.  )
) )
11 oveq1 6203 . . . . 5  |-  ( x  =  0  ->  (
x  .^  ( V `  X ) )  =  ( 0  .^  ( V `  X )
) )
1210, 11eqeq12d 2404 . . . 4  |-  ( x  =  0  ->  (
( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )
)  =  ( x 
.^  ( V `  X ) )  <->  ( y  e.  D  |->  if ( y  =  ( I  X.  { 0 } ) ,  .1.  ,  .0.  ) )  =  ( 0  .^  ( V `  X ) ) ) )
1312imbi2d 314 . . 3  |-  ( x  =  0  ->  (
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( x  .^  ( V `  X ) ) )  <-> 
( ph  ->  ( y  e.  D  |->  if ( y  =  ( I  X.  { 0 } ) ,  .1.  ,  .0.  ) )  =  ( 0  .^  ( V `  X ) ) ) ) )
14 ifeq1 3861 . . . . . . . . 9  |-  ( x  =  n  ->  if ( k  =  X ,  x ,  0 )  =  if ( k  =  X ,  n ,  0 ) )
1514mpteq2dv 4454 . . . . . . . 8  |-  ( x  =  n  ->  (
k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) )
1615eqeq2d 2396 . . . . . . 7  |-  ( x  =  n  ->  (
y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  <->  y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ) )
1716ifbid 3879 . . . . . 6  |-  ( x  =  n  ->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )  =  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )
1817mpteq2dv 4454 . . . . 5  |-  ( x  =  n  ->  (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  )
) )
19 oveq1 6203 . . . . 5  |-  ( x  =  n  ->  (
x  .^  ( V `  X ) )  =  ( n  .^  ( V `  X )
) )
2018, 19eqeq12d 2404 . . . 4  |-  ( x  =  n  ->  (
( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )
)  =  ( x 
.^  ( V `  X ) )  <->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X ) ) ) )
2120imbi2d 314 . . 3  |-  ( x  =  n  ->  (
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( x  .^  ( V `  X ) ) )  <-> 
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X ) ) ) ) )
22 ifeq1 3861 . . . . . . . . 9  |-  ( x  =  ( n  + 
1 )  ->  if ( k  =  X ,  x ,  0 )  =  if ( k  =  X , 
( n  +  1 ) ,  0 ) )
2322mpteq2dv 4454 . . . . . . . 8  |-  ( x  =  ( n  + 
1 )  ->  (
k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) )
2423eqeq2d 2396 . . . . . . 7  |-  ( x  =  ( n  + 
1 )  ->  (
y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  <->  y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ) )
2524ifbid 3879 . . . . . 6  |-  ( x  =  ( n  + 
1 )  ->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )  =  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )
2625mpteq2dv 4454 . . . . 5  |-  ( x  =  ( n  + 
1 )  ->  (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  )
) )
27 oveq1 6203 . . . . 5  |-  ( x  =  ( n  + 
1 )  ->  (
x  .^  ( V `  X ) )  =  ( ( n  + 
1 )  .^  ( V `  X )
) )
2826, 27eqeq12d 2404 . . . 4  |-  ( x  =  ( n  + 
1 )  ->  (
( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )
)  =  ( x 
.^  ( V `  X ) )  <->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( n  +  1 )  .^  ( V `  X ) ) ) )
2928imbi2d 314 . . 3  |-  ( x  =  ( n  + 
1 )  ->  (
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( x  .^  ( V `  X ) ) )  <-> 
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( n  +  1 )  .^  ( V `  X ) ) ) ) )
30 ifeq1 3861 . . . . . . . . 9  |-  ( x  =  N  ->  if ( k  =  X ,  x ,  0 )  =  if ( k  =  X ,  N ,  0 ) )
3130mpteq2dv 4454 . . . . . . . 8  |-  ( x  =  N  ->  (
k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  =  ( k  e.  I  |->  if ( k  =  X ,  N ,  0 ) ) )
3231eqeq2d 2396 . . . . . . 7  |-  ( x  =  N  ->  (
y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) )  <->  y  =  ( k  e.  I  |->  if ( k  =  X ,  N ,  0 ) ) ) )
3332ifbid 3879 . . . . . 6  |-  ( x  =  N  ->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )  =  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N ,  0 ) ) ,  .1.  ,  .0.  ) )
3433mpteq2dv 4454 . . . . 5  |-  ( x  =  N  ->  (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N , 
0 ) ) ,  .1.  ,  .0.  )
) )
35 oveq1 6203 . . . . 5  |-  ( x  =  N  ->  (
x  .^  ( V `  X ) )  =  ( N  .^  ( V `  X )
) )
3634, 35eqeq12d 2404 . . . 4  |-  ( x  =  N  ->  (
( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  )
)  =  ( x 
.^  ( V `  X ) )  <->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( N  .^  ( V `  X ) ) ) )
3736imbi2d 314 . . 3  |-  ( x  =  N  ->  (
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  x ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( x  .^  ( V `  X ) ) )  <-> 
( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( N  .^  ( V `  X ) ) ) ) )
38 mplcoe1.p . . . . . 6  |-  P  =  ( I mPoly  R )
39 mplcoe2.v . . . . . 6  |-  V  =  ( I mVar  R )
40 eqid 2382 . . . . . 6  |-  ( Base `  P )  =  (
Base `  P )
41 mplcoe1.i . . . . . 6  |-  ( ph  ->  I  e.  W )
42 mplcoe3.r . . . . . 6  |-  ( ph  ->  R  e.  Ring )
43 mplcoe3.x . . . . . 6  |-  ( ph  ->  X  e.  I )
4438, 39, 40, 41, 42, 43mvrcl 18224 . . . . 5  |-  ( ph  ->  ( V `  X
)  e.  ( Base `  P ) )
45 mplcoe2.g . . . . . . 7  |-  G  =  (mulGrp `  P )
4645, 40mgpbas 17260 . . . . . 6  |-  ( Base `  P )  =  (
Base `  G )
47 eqid 2382 . . . . . . 7  |-  ( 1r
`  P )  =  ( 1r `  P
)
4845, 47ringidval 17268 . . . . . 6  |-  ( 1r
`  P )  =  ( 0g `  G
)
49 mplcoe2.m . . . . . 6  |-  .^  =  (.g
`  G )
5046, 48, 49mulg0 16264 . . . . 5  |-  ( ( V `  X )  e.  ( Base `  P
)  ->  ( 0 
.^  ( V `  X ) )  =  ( 1r `  P
) )
5144, 50syl 16 . . . 4  |-  ( ph  ->  ( 0  .^  ( V `  X )
)  =  ( 1r
`  P ) )
52 mplcoe1.d . . . . 5  |-  D  =  { f  e.  ( NN0  ^m  I )  |  ( `' f
" NN )  e. 
Fin }
53 mplcoe1.z . . . . 5  |-  .0.  =  ( 0g `  R )
54 mplcoe1.o . . . . 5  |-  .1.  =  ( 1r `  R )
5538, 52, 53, 54, 47, 41, 42mpl1 18219 . . . 4  |-  ( ph  ->  ( 1r `  P
)  =  ( y  e.  D  |->  if ( y  =  ( I  X.  { 0 } ) ,  .1.  ,  .0.  ) ) )
5651, 55eqtr2d 2424 . . 3  |-  ( ph  ->  ( y  e.  D  |->  if ( y  =  ( I  X.  {
0 } ) ,  .1.  ,  .0.  )
)  =  ( 0 
.^  ( V `  X ) ) )
57 oveq1 6203 . . . . . 6  |-  ( ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X )
)  ->  ( (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) ) ( .r `  P ) ( V `  X
) )  =  ( ( n  .^  ( V `  X )
) ( .r `  P ) ( V `
 X ) ) )
5841adantr 463 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  I  e.  W )
5942adantr 463 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  R  e.  Ring )
6052snifpsrbag 18128 . . . . . . . . . 10  |-  ( ( I  e.  W  /\  n  e.  NN0 )  -> 
( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  e.  D )
6141, 60sylan 469 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  e.  D )
62 eqid 2382 . . . . . . . . 9  |-  ( .r
`  P )  =  ( .r `  P
)
63 1nn0 10728 . . . . . . . . . . 11  |-  1  e.  NN0
6463a1i 11 . . . . . . . . . 10  |-  ( n  e.  NN0  ->  1  e. 
NN0 )
6552snifpsrbag 18128 . . . . . . . . . 10  |-  ( ( I  e.  W  /\  1  e.  NN0 )  -> 
( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) )  e.  D )
6641, 64, 65syl2an 475 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( k  e.  I  |->  if ( k  =  X , 
1 ,  0 ) )  e.  D )
6738, 40, 53, 54, 52, 58, 59, 61, 62, 66mplmonmul 18239 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) ) ( .r `  P ) ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) ,  .1.  ,  .0.  )
) )  =  ( y  e.  D  |->  if ( y  =  ( ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X , 
1 ,  0 ) ) ) ,  .1.  ,  .0.  ) ) )
6843adantr 463 . . . . . . . . . . 11  |-  ( (
ph  /\  n  e.  NN0 )  ->  X  e.  I )
6939, 52, 53, 54, 58, 59, 68mvrval 18190 . . . . . . . . . 10  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( V `  X )  =  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) ,  .1.  ,  .0.  ) ) )
7069eqcomd 2390 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X , 
1 ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( V `  X ) )
7170oveq2d 6212 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) ) ( .r `  P ) ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) ,  .1.  ,  .0.  )
) )  =  ( ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  )
) ( .r `  P ) ( V `
 X ) ) )
72 simplr 753 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  n  e.  NN0 )  /\  k  e.  I )  ->  n  e.  NN0 )
73 0nn0 10727 . . . . . . . . . . . . . 14  |-  0  e.  NN0
74 ifcl 3899 . . . . . . . . . . . . . 14  |-  ( ( n  e.  NN0  /\  0  e.  NN0 )  ->  if ( k  =  X ,  n ,  0 )  e.  NN0 )
7572, 73, 74sylancl 660 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  n  e.  NN0 )  /\  k  e.  I )  ->  if ( k  =  X ,  n ,  0 )  e.  NN0 )
7663, 73keepel 3924 . . . . . . . . . . . . . 14  |-  if ( k  =  X , 
1 ,  0 )  e.  NN0
7776a1i 11 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  n  e.  NN0 )  /\  k  e.  I )  ->  if ( k  =  X ,  1 ,  0 )  e.  NN0 )
78 eqidd 2383 . . . . . . . . . . . . 13  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) )
79 eqidd 2383 . . . . . . . . . . . . 13  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( k  e.  I  |->  if ( k  =  X , 
1 ,  0 ) )  =  ( k  e.  I  |->  if ( k  =  X , 
1 ,  0 ) ) )
8058, 75, 77, 78, 79offval2 6455 . . . . . . . . . . . 12  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) )  =  ( k  e.  I  |->  ( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X , 
1 ,  0 ) ) ) )
81 iftrue 3863 . . . . . . . . . . . . . . . 16  |-  ( k  =  X  ->  if ( k  =  X ,  n ,  0 )  =  n )
82 iftrue 3863 . . . . . . . . . . . . . . . 16  |-  ( k  =  X  ->  if ( k  =  X ,  1 ,  0 )  =  1 )
8381, 82oveq12d 6214 . . . . . . . . . . . . . . 15  |-  ( k  =  X  ->  ( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X , 
1 ,  0 ) )  =  ( n  +  1 ) )
84 iftrue 3863 . . . . . . . . . . . . . . 15  |-  ( k  =  X  ->  if ( k  =  X ,  ( n  + 
1 ) ,  0 )  =  ( n  +  1 ) )
8583, 84eqtr4d 2426 . . . . . . . . . . . . . 14  |-  ( k  =  X  ->  ( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X , 
1 ,  0 ) )  =  if ( k  =  X , 
( n  +  1 ) ,  0 ) )
86 00id 9666 . . . . . . . . . . . . . . 15  |-  ( 0  +  0 )  =  0
87 iffalse 3866 . . . . . . . . . . . . . . . 16  |-  ( -.  k  =  X  ->  if ( k  =  X ,  n ,  0 )  =  0 )
88 iffalse 3866 . . . . . . . . . . . . . . . 16  |-  ( -.  k  =  X  ->  if ( k  =  X ,  1 ,  0 )  =  0 )
8987, 88oveq12d 6214 . . . . . . . . . . . . . . 15  |-  ( -.  k  =  X  -> 
( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X ,  1 ,  0 ) )  =  ( 0  +  0 ) )
90 iffalse 3866 . . . . . . . . . . . . . . 15  |-  ( -.  k  =  X  ->  if ( k  =  X ,  ( n  + 
1 ) ,  0 )  =  0 )
9186, 89, 903eqtr4a 2449 . . . . . . . . . . . . . 14  |-  ( -.  k  =  X  -> 
( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X ,  1 ,  0 ) )  =  if ( k  =  X ,  ( n  +  1 ) ,  0 ) )
9285, 91pm2.61i 164 . . . . . . . . . . . . 13  |-  ( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X , 
1 ,  0 ) )  =  if ( k  =  X , 
( n  +  1 ) ,  0 )
9392mpteq2i 4450 . . . . . . . . . . . 12  |-  ( k  e.  I  |->  ( if ( k  =  X ,  n ,  0 )  +  if ( k  =  X , 
1 ,  0 ) ) )  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) )
9480, 93syl6eq 2439 . . . . . . . . . . 11  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) )  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) )
9594eqeq2d 2396 . . . . . . . . . 10  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( y  =  ( ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) )  <-> 
y  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) ) )
9695ifbid 3879 . . . . . . . . 9  |-  ( (
ph  /\  n  e.  NN0 )  ->  if (
y  =  ( ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) ) ,  .1.  ,  .0.  )  =  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )
9796mpteq2dv 4454 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( y  e.  D  |->  if ( y  =  ( ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) )  oF  +  ( k  e.  I  |->  if ( k  =  X ,  1 ,  0 ) ) ) ,  .1.  ,  .0.  ) )  =  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ,  .1.  ,  .0.  ) ) )
9867, 71, 973eqtr3rd 2432 . . . . . . 7  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  )
) ( .r `  P ) ( V `
 X ) ) )
9938mplring 18227 . . . . . . . . . . 11  |-  ( ( I  e.  W  /\  R  e.  Ring )  ->  P  e.  Ring )
10041, 42, 99syl2anc 659 . . . . . . . . . 10  |-  ( ph  ->  P  e.  Ring )
10145ringmgp 17317 . . . . . . . . . 10  |-  ( P  e.  Ring  ->  G  e. 
Mnd )
102100, 101syl 16 . . . . . . . . 9  |-  ( ph  ->  G  e.  Mnd )
103102adantr 463 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  G  e.  Mnd )
104 simpr 459 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  n  e.  NN0 )
10544adantr 463 . . . . . . . 8  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( V `  X )  e.  (
Base `  P )
)
10645, 62mgpplusg 17258 . . . . . . . . 9  |-  ( .r
`  P )  =  ( +g  `  G
)
10746, 49, 106mulgnn0p1 16270 . . . . . . . 8  |-  ( ( G  e.  Mnd  /\  n  e.  NN0  /\  ( V `  X )  e.  ( Base `  P
) )  ->  (
( n  +  1 )  .^  ( V `  X ) )  =  ( ( n  .^  ( V `  X ) ) ( .r `  P ) ( V `
 X ) ) )
108103, 104, 105, 107syl3anc 1226 . . . . . . 7  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
n  +  1 ) 
.^  ( V `  X ) )  =  ( ( n  .^  ( V `  X ) ) ( .r `  P ) ( V `
 X ) ) )
10998, 108eqeq12d 2404 . . . . . 6  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( n  + 
1 )  .^  ( V `  X )
)  <->  ( ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) ) ( .r
`  P ) ( V `  X ) )  =  ( ( n  .^  ( V `  X ) ) ( .r `  P ) ( V `  X
) ) ) )
11057, 109syl5ibr 221 . . . . 5  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( (
y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X )
)  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X , 
( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( n  +  1 )  .^  ( V `  X ) ) ) )
111110expcom 433 . . . 4  |-  ( n  e.  NN0  ->  ( ph  ->  ( ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X ) )  -> 
( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  +  1 ) ,  0 ) ) ,  .1.  ,  .0.  )
)  =  ( ( n  +  1 ) 
.^  ( V `  X ) ) ) ) )
112111a2d 26 . . 3  |-  ( n  e.  NN0  ->  ( (
ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  n ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( n  .^  ( V `  X ) ) )  ->  ( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  ( n  + 
1 ) ,  0 ) ) ,  .1.  ,  .0.  ) )  =  ( ( n  + 
1 )  .^  ( V `  X )
) ) ) )
11313, 21, 29, 37, 56, 112nn0ind 10874 . 2  |-  ( N  e.  NN0  ->  ( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N , 
0 ) ) ,  .1.  ,  .0.  )
)  =  ( N 
.^  ( V `  X ) ) ) )
1141, 113mpcom 36 1  |-  ( ph  ->  ( y  e.  D  |->  if ( y  =  ( k  e.  I  |->  if ( k  =  X ,  N , 
0 ) ) ,  .1.  ,  .0.  )
)  =  ( N 
.^  ( V `  X ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 367    = wceq 1399    e. wcel 1826   {crab 2736   ifcif 3857   {csn 3944    |-> cmpt 4425    X. cxp 4911   `'ccnv 4912   "cima 4916   ` cfv 5496  (class class class)co 6196    oFcof 6437    ^m cmap 7338   Fincfn 7435   0cc0 9403   1c1 9404    + caddc 9406   NNcn 10452   NN0cn0 10712   Basecbs 14634   .rcmulr 14703   0gc0g 14847   Mndcmnd 16036  .gcmg 16173  mulGrpcmgp 17254   1rcur 17266   Ringcrg 17311   mVar cmvr 18114   mPoly cmpl 18115
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1626  ax-4 1639  ax-5 1712  ax-6 1755  ax-7 1798  ax-8 1828  ax-9 1830  ax-10 1845  ax-11 1850  ax-12 1862  ax-13 2006  ax-ext 2360  ax-rep 4478  ax-sep 4488  ax-nul 4496  ax-pow 4543  ax-pr 4601  ax-un 6491  ax-inf2 7972  ax-cnex 9459  ax-resscn 9460  ax-1cn 9461  ax-icn 9462  ax-addcl 9463  ax-addrcl 9464  ax-mulcl 9465  ax-mulrcl 9466  ax-mulcom 9467  ax-addass 9468  ax-mulass 9469  ax-distr 9470  ax-i2m1 9471  ax-1ne0 9472  ax-1rid 9473  ax-rnegex 9474  ax-rrecex 9475  ax-cnre 9476  ax-pre-lttri 9477  ax-pre-lttrn 9478  ax-pre-ltadd 9479  ax-pre-mulgt0 9480
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1402  df-ex 1621  df-nf 1625  df-sb 1748  df-eu 2222  df-mo 2223  df-clab 2368  df-cleq 2374  df-clel 2377  df-nfc 2532  df-ne 2579  df-nel 2580  df-ral 2737  df-rex 2738  df-reu 2739  df-rmo 2740  df-rab 2741  df-v 3036  df-sbc 3253  df-csb 3349  df-dif 3392  df-un 3394  df-in 3396  df-ss 3403  df-pss 3405  df-nul 3712  df-if 3858  df-pw 3929  df-sn 3945  df-pr 3947  df-tp 3949  df-op 3951  df-uni 4164  df-int 4200  df-iun 4245  df-iin 4246  df-br 4368  df-opab 4426  df-mpt 4427  df-tr 4461  df-eprel 4705  df-id 4709  df-po 4714  df-so 4715  df-fr 4752  df-se 4753  df-we 4754  df-ord 4795  df-on 4796  df-lim 4797  df-suc 4798  df-xp 4919  df-rel 4920  df-cnv 4921  df-co 4922  df-dm 4923  df-rn 4924  df-res 4925  df-ima 4926  df-iota 5460  df-fun 5498  df-fn 5499  df-f 5500  df-f1 5501  df-fo 5502  df-f1o 5503  df-fv 5504  df-isom 5505  df-riota 6158  df-ov 6199  df-oprab 6200  df-mpt2 6201  df-of 6439  df-ofr 6440  df-om 6600  df-1st 6699  df-2nd 6700  df-supp 6818  df-recs 6960  df-rdg 6994  df-1o 7048  df-2o 7049  df-oadd 7052  df-er 7229  df-map 7340  df-pm 7341  df-ixp 7389  df-en 7436  df-dom 7437  df-sdom 7438  df-fin 7439  df-fsupp 7745  df-oi 7850  df-card 8233  df-pnf 9541  df-mnf 9542  df-xr 9543  df-ltxr 9544  df-le 9545  df-sub 9720  df-neg 9721  df-nn 10453  df-2 10511  df-3 10512  df-4 10513  df-5 10514  df-6 10515  df-7 10516  df-8 10517  df-9 10518  df-n0 10713  df-z 10782  df-uz 11002  df-fz 11594  df-fzo 11718  df-seq 12011  df-hash 12308  df-struct 14636  df-ndx 14637  df-slot 14638  df-base 14639  df-sets 14640  df-ress 14641  df-plusg 14715  df-mulr 14716  df-sca 14718  df-vsca 14719  df-tset 14721  df-0g 14849  df-gsum 14850  df-mre 14993  df-mrc 14994  df-acs 14996  df-mgm 15989  df-sgrp 16028  df-mnd 16038  df-mhm 16083  df-submnd 16084  df-grp 16174  df-minusg 16175  df-mulg 16177  df-subg 16315  df-ghm 16382  df-cntz 16472  df-cmn 16917  df-abl 16918  df-mgp 17255  df-ur 17267  df-ring 17313  df-subrg 17540  df-psr 18118  df-mvr 18119  df-mpl 18120
This theorem is referenced by:  mplcoe5  18244  mplcoe2OLD  18246  coe1tm  18427
  Copyright terms: Public domain W3C validator