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

Theorem r1pval 24753
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 16547 . . . 4 (𝐹𝐵𝑅 ∈ V)
43adantr 483 . . 3 ((𝐹𝐵𝐺𝐵) → 𝑅 ∈ V)
5 r1pval.e . . . 4 𝐸 = (rem1p𝑅)
6 fveq2 6673 . . . . . . . . . 10 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
76, 1syl6eqr 2877 . . . . . . . . 9 (𝑟 = 𝑅 → (Poly1𝑟) = 𝑃)
87fveq2d 6677 . . . . . . . 8 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = (Base‘𝑃))
98, 2syl6eqr 2877 . . . . . . 7 (𝑟 = 𝑅 → (Base‘(Poly1𝑟)) = 𝐵)
109csbeq1d 3890 . . . . . 6 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = 𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
112fvexi 6687 . . . . . . . 8 𝐵 ∈ V
1211a1i 11 . . . . . . 7 (𝑟 = 𝑅𝐵 ∈ V)
13 simpr 487 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → 𝑏 = 𝐵)
147fveq2d 6677 . . . . . . . . . . 11 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = (-g𝑃))
15 r1pval.m . . . . . . . . . . 11 = (-g𝑃)
1614, 15syl6eqr 2877 . . . . . . . . . 10 (𝑟 = 𝑅 → (-g‘(Poly1𝑟)) = )
17 eqidd 2825 . . . . . . . . . 10 (𝑟 = 𝑅𝑓 = 𝑓)
187fveq2d 6677 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = (.r𝑃))
19 r1pval.t . . . . . . . . . . . 12 · = (.r𝑃)
2018, 19syl6eqr 2877 . . . . . . . . . . 11 (𝑟 = 𝑅 → (.r‘(Poly1𝑟)) = · )
21 fveq2 6673 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (quot1p𝑟) = (quot1p𝑅))
22 r1pval.q . . . . . . . . . . . . 13 𝑄 = (quot1p𝑅)
2321, 22syl6eqr 2877 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (quot1p𝑟) = 𝑄)
2423oveqd 7176 . . . . . . . . . . 11 (𝑟 = 𝑅 → (𝑓(quot1p𝑟)𝑔) = (𝑓𝑄𝑔))
25 eqidd 2825 . . . . . . . . . . 11 (𝑟 = 𝑅𝑔 = 𝑔)
2620, 24, 25oveq123d 7180 . . . . . . . . . 10 (𝑟 = 𝑅 → ((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔) = ((𝑓𝑄𝑔) · 𝑔))
2716, 17, 26oveq123d 7180 . . . . . . . . 9 (𝑟 = 𝑅 → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2827adantr 483 . . . . . . . 8 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔)) = (𝑓 ((𝑓𝑄𝑔) · 𝑔)))
2913, 13, 28mpoeq123dv 7232 . . . . . . 7 ((𝑟 = 𝑅𝑏 = 𝐵) → (𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3012, 29csbied 3922 . . . . . 6 (𝑟 = 𝑅𝐵 / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
3110, 30eqtrd 2859 . . . . 5 (𝑟 = 𝑅(Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
32 df-r1p 24730 . . . . 5 rem1p = (𝑟 ∈ V ↦ (Base‘(Poly1𝑟)) / 𝑏(𝑓𝑏, 𝑔𝑏 ↦ (𝑓(-g‘(Poly1𝑟))((𝑓(quot1p𝑟)𝑔)(.r‘(Poly1𝑟))𝑔))))
3311, 11mpoex 7780 . . . . 5 (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))) ∈ V
3431, 32, 33fvmpt 6771 . . . 4 (𝑅 ∈ V → (rem1p𝑅) = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
355, 34syl5eq 2871 . . 3 (𝑅 ∈ V → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
364, 35syl 17 . 2 ((𝐹𝐵𝐺𝐵) → 𝐸 = (𝑓𝐵, 𝑔𝐵 ↦ (𝑓 ((𝑓𝑄𝑔) · 𝑔))))
37 simpl 485 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑓 = 𝐹)
38 oveq12 7168 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓𝑄𝑔) = (𝐹𝑄𝐺))
39 simpr 487 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
4038, 39oveq12d 7177 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑄𝑔) · 𝑔) = ((𝐹𝑄𝐺) · 𝐺))
4137, 40oveq12d 7177 . . 3 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
4241adantl 484 . 2 (((𝐹𝐵𝐺𝐵) ∧ (𝑓 = 𝐹𝑔 = 𝐺)) → (𝑓 ((𝑓𝑄𝑔) · 𝑔)) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
43 simpl 485 . 2 ((𝐹𝐵𝐺𝐵) → 𝐹𝐵)
44 simpr 487 . 2 ((𝐹𝐵𝐺𝐵) → 𝐺𝐵)
45 ovexd 7194 . 2 ((𝐹𝐵𝐺𝐵) → (𝐹 ((𝐹𝑄𝐺) · 𝐺)) ∈ V)
4636, 42, 43, 44, 45ovmpod 7305 1 ((𝐹𝐵𝐺𝐵) → (𝐹𝐸𝐺) = (𝐹 ((𝐹𝑄𝐺) · 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1536  wcel 2113  Vcvv 3497  csb 3886  cfv 6358  (class class class)co 7159  cmpo 7161  Basecbs 16486  .rcmulr 16569  -gcsg 18108  Poly1cpl1 20348  quot1pcq1p 24724  rem1pcr1p 24725
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-reu 3148  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-ov 7162  df-oprab 7163  df-mpo 7164  df-1st 7692  df-2nd 7693  df-slot 16490  df-base 16492  df-r1p 24730
This theorem is referenced by:  r1pcl  24754  r1pdeglt  24755  r1pid  24756  dvdsr1p  24758  ig1pdvds  24773
  Copyright terms: Public domain W3C validator