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

Theorem q1pval 19539
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 13191 . . . 4  |-  ( G  e.  B  ->  R  e.  _V )
4 q1pval.q . . . . 5  |-  Q  =  (quot1p `  R )
5 fveq2 5525 . . . . . . . . 9  |-  ( r  =  R  ->  (Poly1 `  r )  =  (Poly1 `  R ) )
65, 1syl6eqr 2333 . . . . . . . 8  |-  ( r  =  R  ->  (Poly1 `  r )  =  P )
76csbeq1d 3087 . . . . . . 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 5539 . . . . . . . . . 10  |-  (Poly1 `  R
)  e.  _V
91, 8eqeltri 2353 . . . . . . . . 9  |-  P  e. 
_V
109a1i 10 . . . . . . . 8  |-  ( r  =  R  ->  P  e.  _V )
11 fveq2 5525 . . . . . . . . . . . 12  |-  ( p  =  P  ->  ( Base `  p )  =  ( Base `  P
) )
1211adantl 452 . . . . . . . . . . 11  |-  ( ( r  =  R  /\  p  =  P )  ->  ( Base `  p
)  =  ( Base `  P ) )
1312, 2syl6eqr 2333 . . . . . . . . . 10  |-  ( ( r  =  R  /\  p  =  P )  ->  ( Base `  p
)  =  B )
1413csbeq1d 3087 . . . . . . . . 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 5539 . . . . . . . . . . . 12  |-  ( Base `  P )  e.  _V
162, 15eqeltri 2353 . . . . . . . . . . 11  |-  B  e. 
_V
1716a1i 10 . . . . . . . . . 10  |-  ( ( r  =  R  /\  p  =  P )  ->  B  e.  _V )
18 simpr 447 . . . . . . . . . . 11  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  b  =  B )
19 fveq2 5525 . . . . . . . . . . . . . . . 16  |-  ( r  =  R  ->  ( deg1  `  r )  =  ( deg1  `  R ) )
2019ad2antrr 706 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( deg1  `  r )  =  ( deg1  `  R ) )
21 q1pval.d . . . . . . . . . . . . . . 15  |-  D  =  ( deg1  `  R )
2220, 21syl6eqr 2333 . . . . . . . . . . . . . 14  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( deg1  `  r )  =  D )
23 fveq2 5525 . . . . . . . . . . . . . . . . 17  |-  ( p  =  P  ->  ( -g `  p )  =  ( -g `  P
) )
2423ad2antlr 707 . . . . . . . . . . . . . . . 16  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( -g `  p )  =  ( -g `  P
) )
25 q1pval.m . . . . . . . . . . . . . . . 16  |-  .-  =  ( -g `  P )
2624, 25syl6eqr 2333 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( -g `  p )  = 
.-  )
27 eqidd 2284 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  f  =  f )
28 fveq2 5525 . . . . . . . . . . . . . . . . . 18  |-  ( p  =  P  ->  ( .r `  p )  =  ( .r `  P
) )
2928ad2antlr 707 . . . . . . . . . . . . . . . . 17  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( .r `  p )  =  ( .r `  P
) )
30 q1pval.t . . . . . . . . . . . . . . . . 17  |-  .x.  =  ( .r `  P )
3129, 30syl6eqr 2333 . . . . . . . . . . . . . . . 16  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  ( .r `  p )  = 
.x.  )
3231oveqd 5875 . . . . . . . . . . . . . . 15  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
q ( .r `  p ) g )  =  ( q  .x.  g ) )
3326, 27, 32oveq123d 5879 . . . . . . . . . . . . . 14  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
f ( -g `  p
) ( q ( .r `  p ) g ) )  =  ( f  .-  (
q  .x.  g )
) )
3422, 33fveq12d 5531 . . . . . . . . . . . . 13  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
( deg1  `
 r ) `  ( f ( -g `  p ) ( q ( .r `  p
) g ) ) )  =  ( D `
 ( f  .-  ( q  .x.  g
) ) ) )
3522fveq1d 5527 . . . . . . . . . . . . 13  |-  ( ( ( r  =  R  /\  p  =  P )  /\  b  =  B )  ->  (
( deg1  `
 r ) `  g )  =  ( D `  g ) )
3634, 35breq12d 4036 . . . . . . . . . . . 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 6307 . . . . . . . . . . 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 5910 . . . . . . . . . 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 3123 . . . . . . . . 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 2315 . . . . . . . 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 3123 . . . . . . 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 2315 . . . . . 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 19518 . . . . . 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 6198 . . . . . 6  |-  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `
 ( f  .-  ( q  .x.  g
) ) )  < 
( D `  g
) ) )  e. 
_V
4542, 43, 44fvmpt 5602 . . . . 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 2327 . . . 4  |-  ( R  e.  _V  ->  Q  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) ) )
473, 46syl 15 . . 3  |-  ( G  e.  B  ->  Q  =  ( f  e.  B ,  g  e.  B  |->  ( iota_ q  e.  B ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )
) ) )
4847adantl 452 . 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 19 . . . . . . 7  |-  ( f  =  F  ->  f  =  F )
50 oveq2 5866 . . . . . . 7  |-  ( g  =  G  ->  (
q  .x.  g )  =  ( q  .x.  G ) )
5149, 50oveqan12d 5877 . . . . . 6  |-  ( ( f  =  F  /\  g  =  G )  ->  ( f  .-  (
q  .x.  g )
)  =  ( F 
.-  ( q  .x.  G ) ) )
5251fveq2d 5529 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( D `  (
f  .-  ( q  .x.  g ) ) )  =  ( D `  ( F  .-  ( q 
.x.  G ) ) ) )
53 fveq2 5525 . . . . . 6  |-  ( g  =  G  ->  ( D `  g )  =  ( D `  G ) )
5453adantl 452 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( D `  g
)  =  ( D `
 G ) )
5552, 54breq12d 4036 . . . 4  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( D `  ( f  .-  (
q  .x.  g )
) )  <  ( D `  g )  <->  ( D `  ( F 
.-  ( q  .x.  G ) ) )  <  ( D `  G ) ) )
5655riotabidv 6306 . . 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 452 . 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 443 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  F  e.  B )
59 simpr 447 . 2  |-  ( ( F  e.  B  /\  G  e.  B )  ->  G  e.  B )
60 riotaex 6308 . . 3  |-  ( iota_ q  e.  B ( D `
 ( F  .-  ( q  .x.  G
) ) )  < 
( D `  G
) )  e.  _V
6160a1i 10 . 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 5975 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 358    = wceq 1623    e. wcel 1684   _Vcvv 2788   [_csb 3081   class class class wbr 4023   ` cfv 5255  (class class class)co 5858    e. cmpt2 5860   iota_crio 6297    < clt 8867   Basecbs 13148   .rcmulr 13209   -gcsg 14365  Poly1cpl1 16252   deg1 cdg1 19440  quot1pcq1p 19513
This theorem is referenced by:  q1peqb  19540
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-slot 13152  df-base 13153  df-q1p 19518
  Copyright terms: Public domain W3C validator