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

Theorem q1pval 20078
Description: Value of the univariate polynomial quotient function. (Contributed by Stefan O'Rear, 28-Mar-2015.)
Hypotheses
Ref Expression
q1pval.q  |-  Q  =  (quot1p `  R )
q1pval.p  |-  P  =  (Poly1 `  R )
q1pval.b  |-  B  =  ( Base `  P
)
q1pval.d  |-  D  =  ( deg1  `  R )
q1pval.m  |-  .-  =  ( -g `  P )
q1pval.t  |-  .x.  =  ( .r `  P )
Assertion
Ref Expression
q1pval  |-  ( ( F  e.  B  /\  G  e.  B )  ->  ( F Q G )  =  ( iota_ q  e.  B ( D `
 ( F  .-  ( q  .x.  G
) ) )  < 
( D `  G
) ) )
Distinct variable groups:    B, q    F, q    G, q    P, q    R, q
Allowed substitution hints:    D( q)    Q( q)    .x. ( q)    .- ( q)

Proof of Theorem q1pval
Dummy variables  b 
f  g  p  r are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 q1pval.p . . . . 5  |-  P  =  (Poly1 `  R )
2 q1pval.b . . . . 5  |-  B  =  ( Base `  P
)
31, 2elbasfv 13514 . . . 4  |-  ( G  e.  B  ->  R  e.  _V )
4 q1pval.q . . . . 5  |-  Q  =  (quot1p `  R )
5 fveq2 5730 . . . . . . . . 9  |-  ( r  =  R  ->  (Poly1 `  r )  =  (Poly1 `  R ) )
65, 1syl6eqr 2488 . . . . . . . 8  |-  ( r  =  R  ->  (Poly1 `  r )  =  P )
76csbeq1d 3259 . . . . . . 7  |-  ( r  =  R  ->  [_ (Poly1 `  r )  /  p ]_ [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  = 
[_ P  /  p ]_ [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) ) )
8 fvex 5744 . . . . . . . . . 10  |-  (Poly1 `  R
)  e.  _V
91, 8eqeltri 2508 . . . . . . . . 9  |-  P  e. 
_V
109a1i 11 . . . . . . . 8  |-  ( r  =  R  ->  P  e.  _V )
11 fveq2 5730 . . . . . . . . . . . 12  |-  ( p  =  P  ->  ( Base `  p )  =  ( Base `  P
) )
1211adantl 454 . . . . . . . . . . 11  |-  ( ( r  =  R  /\  p  =  P )  ->  ( Base `  p
)  =  ( Base `  P ) )
1312, 2syl6eqr 2488 . . . . . . . . . 10  |-  ( ( r  =  R  /\  p  =  P )  ->  ( Base `  p
)  =  B )
1413csbeq1d 3259 . . . . . . . . 9  |-  ( ( r  =  R  /\  p  =  P )  ->  [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  = 
[_ B  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) ) )
15 fvex 5744 . . . . . . . . . . . 12  |-  ( Base `  P )  e.  _V
162, 15eqeltri 2508 . . . . . . . . . . 11  |-  B  e. 
_V
1716a1i 11 . . . . . . . . . 10  |-  ( ( r  =  R  /\  p  =  P )  ->  B  e.  _V )
18 simpr 449 . . . . . . . . . . 11  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  b  =  B )
19 fveq2 5730 . . . . . . . . . . . . . . . 16  |-  ( r  =  R  ->  ( deg1  `  r )  =  ( deg1  `  R ) )
2019ad2antrr 708 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( deg1  `  r )  =  ( deg1  `  R ) )
21 q1pval.d . . . . . . . . . . . . . . 15  |-  D  =  ( deg1  `  R )
2220, 21syl6eqr 2488 . . . . . . . . . . . . . 14  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( deg1  `  r )  =  D )
23 fveq2 5730 . . . . . . . . . . . . . . . . 17  |-  ( p  =  P  ->  ( -g `  p )  =  ( -g `  P
) )
2423ad2antlr 709 . . . . . . . . . . . . . . . 16  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( -g `  p )  =  ( -g `  P
) )
25 q1pval.m . . . . . . . . . . . . . . . 16  |-  .-  =  ( -g `  P )
2624, 25syl6eqr 2488 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( -g `  p )  = 
.-  )
27 eqidd 2439 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  f  =  f )
28 fveq2 5730 . . . . . . . . . . . . . . . . . 18  |-  ( p  =  P  ->  ( .r `  p )  =  ( .r `  P
) )
2928ad2antlr 709 . . . . . . . . . . . . . . . . 17  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( .r `  p )  =  ( .r `  P
) )
30 q1pval.t . . . . . . . . . . . . . . . . 17  |-  .x.  =  ( .r `  P )
3129, 30syl6eqr 2488 . . . . . . . . . . . . . . . 16  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( .r `  p )  = 
.x.  )
3231oveqd 6100 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
q ( .r `  p ) g )  =  ( q  .x.  g ) )
3326, 27, 32oveq123d 6104 . . . . . . . . . . . . . 14  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
f ( -g `  p
) ( q ( .r `  p ) g ) )  =  ( f  .-  (
q  .x.  g )
) )
3422, 33fveq12d 5736 . . . . . . . . . . . . 13  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
( deg1  `
 r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  =  ( D `
 ( f  .-  ( q  .x.  g
) ) ) )
3522fveq1d 5732 . . . . . . . . . . . . 13  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
( deg1  `
 r ) `  g )  =  ( D `  g ) )
3634, 35breq12d 4227 . . . . . . . . . . . 12  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
)  <->  ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) )
3718, 36riotaeqbidv 6554 . . . . . . . . . . 11  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) )  =  (
iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) )
3818, 18, 37mpt2eq123dv 6138 . . . . . . . . . 10  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
f  e.  b ,  g  e.  b  |->  (
iota_ q  e.  b
( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) ) )
3917, 38csbied 3295 . . . . . . . . 9  |-  ( ( r  =  R  /\  p  =  P )  ->  [_ B  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) ) )
4014, 39eqtrd 2470 . . . . . . . 8  |-  ( ( r  =  R  /\  p  =  P )  ->  [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) ) )
4110, 40csbied 3295 . . . . . . 7  |-  ( r  =  R  ->  [_ P  /  p ]_ [_ ( Base `  p )  / 
b ]_ ( f  e.  b ,  g  e.  b  |->  ( iota_ q  e.  b ( ( deg1  `  r
) `  ( f
( -g `  p ) ( q ( .r
`  p ) g ) ) )  < 
( ( deg1  `  r ) `  g ) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) ) )
427, 41eqtrd 2470 . . . . . 6  |-  ( r  =  R  ->  [_ (Poly1 `  r )  /  p ]_ [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) ) )
43 df-q1p 20057 . . . . . 6  |- quot1p  =  ( r  e.  _V  |->  [_ (Poly1 `  r )  /  p ]_ [_ ( Base `  p
)  /  b ]_ ( f  e.  b ,  g  e.  b 
|->  ( iota_ q  e.  b ( ( deg1  `  r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  <  ( ( deg1  `  r ) `  g
) ) ) )
4416, 16mpt2ex 6427 . . . . . 6  |-  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `
 ( f  .-  ( q  .x.  g
) ) )  < 
( D `  g
) ) )  e. 
_V
4542, 43, 44fvmpt 5808 . . . . 5  |-  ( R  e.  _V  ->  (quot1p `  R )  =  ( f  e.  B , 
g  e.  B  |->  (
iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) ) ) )
464, 45syl5eq 2482 . . . 4  |-  ( R  e.  _V  ->  Q  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) ) )
473, 46syl 16 . . 3  |-  ( G  e.  B  ->  Q  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) ) )
4847adantl 454 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  Q  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `
 ( f  .-  ( q  .x.  g
) ) )  < 
( D `  g
) ) ) )
49 id 21 . . . . . . 7  |-  ( f  =  F  ->  f  =  F )
50 oveq2 6091 . . . . . . 7  |-  ( g  =  G  ->  (
q  .x.  g )  =  ( q  .x.  G ) )
5149, 50oveqan12d 6102 . . . . . 6  |-  ( ( f  =  F  /\  g  =  G )  ->  ( f  .-  (
q  .x.  g )
)  =  ( F 
.-  ( q  .x.  G ) ) )
5251fveq2d 5734 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( D `  (
f  .-  ( q  .x.  g ) ) )  =  ( D `  ( F  .-  ( q 
.x.  G ) ) ) )
53 fveq2 5730 . . . . . 6  |-  ( g  =  G  ->  ( D `  g )  =  ( D `  G ) )
5453adantl 454 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( D `  g
)  =  ( D `
 G ) )
5552, 54breq12d 4227 . . . 4  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )  <->  ( D `  ( F 
.-  ( q  .x.  G ) ) )  <  ( D `  G ) ) )
5655riotabidv 6553 . . 3  |-  ( ( f  =  F  /\  g  =  G )  ->  ( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) )  =  ( iota_ q  e.  B
( D `  ( F  .-  ( q  .x.  G ) ) )  <  ( D `  G ) ) )
5756adantl 454 . 2  |-  ( ( ( F  e.  B  /\  G  e.  B
)  /\  ( f  =  F  /\  g  =  G ) )  -> 
( iota_ q  e.  B
( D `  (
f  .-  ( q  .x.  g ) ) )  <  ( D `  g ) )  =  ( iota_ q  e.  B
( D `  ( F  .-  ( q  .x.  G ) ) )  <  ( D `  G ) ) )
58 simpl 445 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  F  e.  B )
59 simpr 449 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  G  e.  B )
60 riotaex 6555 . . 3  |-  ( iota_ q  e.  B ( D `
 ( F  .-  ( q  .x.  G
) ) )  < 
( D `  G
) )  e.  _V
6160a1i 11 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  ( iota_ q  e.  B
( D `  ( F  .-  ( q  .x.  G ) ) )  <  ( D `  G ) )  e. 
_V )
6248, 57, 58, 59, 61ovmpt2d 6203 1  |-  ( ( F  e.  B  /\  G  e.  B )  ->  ( F Q G )  =  ( iota_ q  e.  B ( D `
 ( F  .-  ( q  .x.  G
) ) )  < 
( D `  G
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   _Vcvv 2958   [_csb 3253   class class class wbr 4214   ` cfv 5456  (class class class)co 6083    e. cmpt2 6085   iota_crio 6544    < clt 9122   Basecbs 13471   .rcmulr 13532   -gcsg 14690  Poly1cpl1 16573   deg1 cdg1 19979  quot1pcq1p 20052
This theorem is referenced by:  q1peqb  20079
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4322  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-reu 2714  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-iun 4097  df-br 4215  df-opab 4269  df-mpt 4270  df-id 4500  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-1st 6351  df-2nd 6352  df-riota 6551  df-slot 13475  df-base 13476  df-q1p 20057
  Copyright terms: Public domain W3C validator