MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  r1pval Structured version   Visualization version   GIF version

Theorem r1pval 25226
Description: Value of the polynomial remainder function. (Contributed by Stefan O'Rear, 28-Mar-2015.)
Hypotheses
Ref Expression
r1pval.e 𝐸 = (rem1p𝑅)
r1pval.p 𝑃 = (Poly1𝑅)
r1pval.b 𝐵 = (Base‘𝑃)
r1pval.q 𝑄 = (quot1p𝑅)
r1pval.t · = (.r𝑃)
r1pval.m = (-g𝑃)
Assertion
Ref Expression
r1pval ((𝐹𝐵𝐺𝐵) → (𝐹𝐸𝐺) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))

Proof of Theorem r1pval
Dummy variables 𝑏 𝑓 𝑔 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 r1pval.p . . . . 5 𝑃 = (Poly1𝑅)
2 r1pval.b . . . . 5 𝐵 = (Base‘𝑃)
31, 2elbasfv 16846 . . . 4 (𝐹𝐵𝑅 ∈ V)
43adantr 480 . . 3 ((𝐹𝐵𝐺𝐵) → 𝑅 ∈ V)
5 r1pval.e . . . 4 𝐸 = (rem1p𝑅)
6 fveq2 6756 . . . . . . . . . 10 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
76, 1eqtr4di 2797 . . . . . . . . 9 (𝑟 = 𝑅 → (Poly1𝑟) = 𝑃)
87fveq2d 6760 . . . . . . . 8 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = (Base‘𝑃))
98, 2eqtr4di 2797 . . . . . . 7 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = 𝐵)
109csbeq1d 3832 . . . . . 6 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = 𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
112fvexi 6770 . . . . . . . 8 𝐵 ∈ V
1211a1i 11 . . . . . . 7 (𝑟 = 𝑅𝐵 ∈ V)
13 simpr 484 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → 𝑏 = 𝐵)
147fveq2d 6760 . . . . . . . . . . 11 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = (-g𝑃))
15 r1pval.m . . . . . . . . . . 11 = (-g𝑃)
1614, 15eqtr4di 2797 . . . . . . . . . 10 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = )
17 eqidd 2739 . . . . . . . . . 10 (𝑟 = 𝑅𝑓 = 𝑓)
187fveq2d 6760 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = (.r𝑃))
19 r1pval.t . . . . . . . . . . . 12 · = (.r𝑃)
2018, 19eqtr4di 2797 . . . . . . . . . . 11 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = · )
21 fveq2 6756 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (quot1p𝑟) = (quot1p𝑅))
22 r1pval.q . . . . . . . . . . . . 13 𝑄 = (quot1p𝑅)
2321, 22eqtr4di 2797 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (quot1p𝑟) = 𝑄)
2423oveqd 7272 . . . . . . . . . . 11 (𝑟 = 𝑅 → (𝑓(quot1p𝑟)𝑔) = (𝑓𝑄𝑔))
25 eqidd 2739 . . . . . . . . . . 11 (𝑟 = 𝑅𝑔 = 𝑔)
2620, 24, 25oveq123d 7276 . . . . . . . . . 10 (𝑟 = 𝑅 → ((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔) = ((𝑓𝑄𝑔) · 𝑔))
2716, 17, 26oveq123d 7276 . . . . . . . . 9 (𝑟 = 𝑅 → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2827adantr 480 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2913, 13, 28mpoeq123dv 7328 . . . . . . 7 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3012, 29csbied 3866 . . . . . 6 (𝑟 = 𝑅𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3110, 30eqtrd 2778 . . . . 5 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
32 df-r1p 25203 . . . . 5 rem1p = (𝑟 ∈ V ↦ (Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
3311, 11mpoex 7893 . . . . 5 (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))) ∈ V
3431, 32, 33fvmpt 6857 . . . 4 (𝑅 ∈ V → (rem1p𝑅) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
355, 34syl5eq 2791 . . 3 (𝑅 ∈ V → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
364, 35syl 17 . 2 ((𝐹𝐵𝐺𝐵) → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
37 simpl 482 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
38 oveq12 7264 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑄𝑔) = (𝐹𝑄𝐺))
39 simpr 484 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
4038, 39oveq12d 7273 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑄𝑔) · 𝑔) = ((𝐹𝑄𝐺) · 𝐺))
4137, 40oveq12d 7273 . . 3 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
4241adantl 481 . 2 (((𝐹𝐵𝐺𝐵) ∧ (𝑓 = 𝐹𝑔 = 𝐺)) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
43 simpl 482 . 2 ((𝐹𝐵𝐺𝐵) → 𝐹𝐵)
44 simpr 484 . 2 ((𝐹𝐵𝐺𝐵) → 𝐺𝐵)
45 ovexd 7290 . 2 ((𝐹𝐵𝐺𝐵) → (𝐹 ((𝐹𝑄𝐺) · 𝐺)) ∈ V)
4636, 42, 43, 44, 45ovmpod 7403 1 ((𝐹𝐵𝐺𝐵) → (𝐹𝐸𝐺) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  csb 3828  cfv 6418  (class class class)co 7255  cmpo 7257  Basecbs 16840  .rcmulr 16889  -gcsg 18494  Poly1cpl1 21258  quot1pcq1p 25197  rem1pcr1p 25198
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-1cn 10860  ax-addcl 10862
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-nn 11904  df-slot 16811  df-ndx 16823  df-base 16841  df-r1p 25203
This theorem is referenced by:  r1pcl  25227  r1pdeglt  25228  r1pid  25229  dvdsr1p  25231  ig1pdvds  25246
  Copyright terms: Public domain W3C validator