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

Theorem r1pval 23720
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 15748 . . . 4 (𝐹𝐵𝑅 ∈ V)
43adantr 480 . . 3 ((𝐹𝐵𝐺𝐵) → 𝑅 ∈ V)
5 r1pval.e . . . 4 𝐸 = (rem1p𝑅)
6 fveq2 6103 . . . . . . . . . 10 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
76, 1syl6eqr 2662 . . . . . . . . 9 (𝑟 = 𝑅 → (Poly1𝑟) = 𝑃)
87fveq2d 6107 . . . . . . . 8 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = (Base‘𝑃))
98, 2syl6eqr 2662 . . . . . . 7 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = 𝐵)
109csbeq1d 3506 . . . . . 6 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = 𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
11 fvex 6113 . . . . . . . . 9 (Base‘𝑃) ∈ V
122, 11eqeltri 2684 . . . . . . . 8 𝐵 ∈ V
1312a1i 11 . . . . . . 7 (𝑟 = 𝑅𝐵 ∈ V)
14 simpr 476 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → 𝑏 = 𝐵)
157fveq2d 6107 . . . . . . . . . . 11 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = (-g𝑃))
16 r1pval.m . . . . . . . . . . 11 = (-g𝑃)
1715, 16syl6eqr 2662 . . . . . . . . . 10 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = )
18 eqidd 2611 . . . . . . . . . 10 (𝑟 = 𝑅𝑓 = 𝑓)
197fveq2d 6107 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = (.r𝑃))
20 r1pval.t . . . . . . . . . . . 12 · = (.r𝑃)
2119, 20syl6eqr 2662 . . . . . . . . . . 11 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = · )
22 fveq2 6103 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (quot1p𝑟) = (quot1p𝑅))
23 r1pval.q . . . . . . . . . . . . 13 𝑄 = (quot1p𝑅)
2422, 23syl6eqr 2662 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (quot1p𝑟) = 𝑄)
2524oveqd 6566 . . . . . . . . . . 11 (𝑟 = 𝑅 → (𝑓(quot1p𝑟)𝑔) = (𝑓𝑄𝑔))
26 eqidd 2611 . . . . . . . . . . 11 (𝑟 = 𝑅𝑔 = 𝑔)
2721, 25, 26oveq123d 6570 . . . . . . . . . 10 (𝑟 = 𝑅 → ((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔) = ((𝑓𝑄𝑔) · 𝑔))
2817, 18, 27oveq123d 6570 . . . . . . . . 9 (𝑟 = 𝑅 → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2928adantr 480 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
3014, 14, 29mpt2eq123dv 6615 . . . . . . 7 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3113, 30csbied 3526 . . . . . 6 (𝑟 = 𝑅𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3210, 31eqtrd 2644 . . . . 5 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
33 df-r1p 23697 . . . . 5 rem1p = (𝑟 ∈ V ↦ (Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
3412, 12mpt2ex 7136 . . . . 5 (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))) ∈ V
3532, 33, 34fvmpt 6191 . . . 4 (𝑅 ∈ V → (rem1p𝑅) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
365, 35syl5eq 2656 . . 3 (𝑅 ∈ V → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
374, 36syl 17 . 2 ((𝐹𝐵𝐺𝐵) → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
38 simpl 472 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
39 oveq12 6558 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑄𝑔) = (𝐹𝑄𝐺))
40 simpr 476 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
4139, 40oveq12d 6567 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑄𝑔) · 𝑔) = ((𝐹𝑄𝐺) · 𝐺))
4238, 41oveq12d 6567 . . 3 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
4342adantl 481 . 2 (((𝐹𝐵𝐺𝐵) ∧ (𝑓 = 𝐹𝑔 = 𝐺)) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
44 simpl 472 . 2 ((𝐹𝐵𝐺𝐵) → 𝐹𝐵)
45 simpr 476 . 2 ((𝐹𝐵𝐺𝐵) → 𝐺𝐵)
46 ovex 6577 . . 3 (𝐹 ((𝐹𝑄𝐺) · 𝐺)) ∈ V
4746a1i 11 . 2 ((𝐹𝐵𝐺𝐵) → (𝐹 ((𝐹𝑄𝐺) · 𝐺)) ∈ V)
4837, 43, 44, 45, 47ovmpt2d 6686 1 ((𝐹𝐵𝐺𝐵) → (𝐹𝐸𝐺) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  Vcvv 3173  csb 3499  cfv 5804  (class class class)co 6549  cmpt2 6551  Basecbs 15695  .rcmulr 15769  -gcsg 17247  Poly1cpl1 19368  quot1pcq1p 23691  rem1pcr1p 23692
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-1st 7059  df-2nd 7060  df-slot 15699  df-base 15700  df-r1p 23697
This theorem is referenced by:  r1pcl  23721  r1pdeglt  23722  r1pid  23723  dvdsr1p  23725  ig1pdvds  23740
  Copyright terms: Public domain W3C validator