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

Theorem r1pval 24750
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 16544 . . . 4 (𝐹𝐵𝑅 ∈ V)
43adantr 483 . . 3 ((𝐹𝐵𝐺𝐵) → 𝑅 ∈ V)
5 r1pval.e . . . 4 𝐸 = (rem1p𝑅)
6 fveq2 6670 . . . . . . . . . 10 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
76, 1syl6eqr 2874 . . . . . . . . 9 (𝑟 = 𝑅 → (Poly1𝑟) = 𝑃)
87fveq2d 6674 . . . . . . . 8 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = (Base‘𝑃))
98, 2syl6eqr 2874 . . . . . . 7 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = 𝐵)
109csbeq1d 3887 . . . . . 6 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = 𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
112fvexi 6684 . . . . . . . 8 𝐵 ∈ V
1211a1i 11 . . . . . . 7 (𝑟 = 𝑅𝐵 ∈ V)
13 simpr 487 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → 𝑏 = 𝐵)
147fveq2d 6674 . . . . . . . . . . 11 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = (-g𝑃))
15 r1pval.m . . . . . . . . . . 11 = (-g𝑃)
1614, 15syl6eqr 2874 . . . . . . . . . 10 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = )
17 eqidd 2822 . . . . . . . . . 10 (𝑟 = 𝑅𝑓 = 𝑓)
187fveq2d 6674 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = (.r𝑃))
19 r1pval.t . . . . . . . . . . . 12 · = (.r𝑃)
2018, 19syl6eqr 2874 . . . . . . . . . . 11 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = · )
21 fveq2 6670 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (quot1p𝑟) = (quot1p𝑅))
22 r1pval.q . . . . . . . . . . . . 13 𝑄 = (quot1p𝑅)
2321, 22syl6eqr 2874 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (quot1p𝑟) = 𝑄)
2423oveqd 7173 . . . . . . . . . . 11 (𝑟 = 𝑅 → (𝑓(quot1p𝑟)𝑔) = (𝑓𝑄𝑔))
25 eqidd 2822 . . . . . . . . . . 11 (𝑟 = 𝑅𝑔 = 𝑔)
2620, 24, 25oveq123d 7177 . . . . . . . . . 10 (𝑟 = 𝑅 → ((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔) = ((𝑓𝑄𝑔) · 𝑔))
2716, 17, 26oveq123d 7177 . . . . . . . . 9 (𝑟 = 𝑅 → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2827adantr 483 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2913, 13, 28mpoeq123dv 7229 . . . . . . 7 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3012, 29csbied 3919 . . . . . 6 (𝑟 = 𝑅𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3110, 30eqtrd 2856 . . . . 5 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
32 df-r1p 24727 . . . . 5 rem1p = (𝑟 ∈ V ↦ (Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
3311, 11mpoex 7777 . . . . 5 (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))) ∈ V
3431, 32, 33fvmpt 6768 . . . 4 (𝑅 ∈ V → (rem1p𝑅) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
355, 34syl5eq 2868 . . 3 (𝑅 ∈ V → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
364, 35syl 17 . 2 ((𝐹𝐵𝐺𝐵) → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
37 simpl 485 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
38 oveq12 7165 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑄𝑔) = (𝐹𝑄𝐺))
39 simpr 487 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
4038, 39oveq12d 7174 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑄𝑔) · 𝑔) = ((𝐹𝑄𝐺) · 𝐺))
4137, 40oveq12d 7174 . . 3 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
4241adantl 484 . 2 (((𝐹𝐵𝐺𝐵) ∧ (𝑓 = 𝐹𝑔 = 𝐺)) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
43 simpl 485 . 2 ((𝐹𝐵𝐺𝐵) → 𝐹𝐵)
44 simpr 487 . 2 ((𝐹𝐵𝐺𝐵) → 𝐺𝐵)
45 ovexd 7191 . 2 ((𝐹𝐵𝐺𝐵) → (𝐹 ((𝐹𝑄𝐺) · 𝐺)) ∈ V)
4636, 42, 43, 44, 45ovmpod 7302 1 ((𝐹𝐵𝐺𝐵) → (𝐹𝐸𝐺) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  Vcvv 3494  csb 3883  cfv 6355  (class class class)co 7156  cmpo 7158  Basecbs 16483  .rcmulr 16566  -gcsg 18105  Poly1cpl1 20345  quot1pcq1p 24721  rem1pcr1p 24722
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7689  df-2nd 7690  df-slot 16487  df-base 16489  df-r1p 24727
This theorem is referenced by:  r1pcl  24751  r1pdeglt  24752  r1pid  24753  dvdsr1p  24755  ig1pdvds  24770
  Copyright terms: Public domain W3C validator