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

Theorem quotval 24888
Description: Value of the quotient function. (Contributed by Mario Carneiro, 23-Jul-2014.)
Hypothesis
Ref Expression
quotval.1 𝑅 = (𝐹f − (𝐺f · 𝑞))
Assertion
Ref Expression
quotval ((𝐹 ∈ (Poly‘𝑆) ∧ 𝐺 ∈ (Poly‘𝑆) ∧ 𝐺 ≠ 0𝑝) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
Distinct variable groups:   𝐹,𝑞   𝐺,𝑞
Allowed substitution hints:   𝑅(𝑞)   𝑆(𝑞)

Proof of Theorem quotval
Dummy variables 𝑓 𝑔 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 plyssc 24797 . . 3 (Poly‘𝑆) ⊆ (Poly‘ℂ)
21sseli 3911 . 2 (𝐹 ∈ (Poly‘𝑆) → 𝐹 ∈ (Poly‘ℂ))
31sseli 3911 . . 3 (𝐺 ∈ (Poly‘𝑆) → 𝐺 ∈ (Poly‘ℂ))
4 eldifsn 4680 . . . . 5 (𝐺 ∈ ((Poly‘ℂ) ∖ {0𝑝}) ↔ (𝐺 ∈ (Poly‘ℂ) ∧ 𝐺 ≠ 0𝑝))
5 oveq1 7142 . . . . . . . . . . 11 (𝑔 = 𝐺 → (𝑔f · 𝑞) = (𝐺f · 𝑞))
6 oveq12 7144 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ (𝑔f · 𝑞) = (𝐺f · 𝑞)) → (𝑓f − (𝑔f · 𝑞)) = (𝐹f − (𝐺f · 𝑞)))
75, 6sylan2 595 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓f − (𝑔f · 𝑞)) = (𝐹f − (𝐺f · 𝑞)))
8 quotval.1 . . . . . . . . . 10 𝑅 = (𝐹f − (𝐺f · 𝑞))
97, 8eqtr4di 2851 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑓f − (𝑔f · 𝑞)) = 𝑅)
109sbceq1d 3725 . . . . . . . 8 ((𝑓 = 𝐹𝑔 = 𝐺) → ([(𝑓f − (𝑔f · 𝑞)) / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔)) ↔ [𝑅 / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔))))
118ovexi 7169 . . . . . . . . . 10 𝑅 ∈ V
12 eqeq1 2802 . . . . . . . . . . 11 (𝑟 = 𝑅 → (𝑟 = 0𝑝𝑅 = 0𝑝))
13 fveq2 6645 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (deg‘𝑟) = (deg‘𝑅))
1413breq1d 5040 . . . . . . . . . . 11 (𝑟 = 𝑅 → ((deg‘𝑟) < (deg‘𝑔) ↔ (deg‘𝑅) < (deg‘𝑔)))
1512, 14orbi12d 916 . . . . . . . . . 10 (𝑟 = 𝑅 → ((𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔)) ↔ (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝑔))))
1611, 15sbcie 3760 . . . . . . . . 9 ([𝑅 / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔)) ↔ (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝑔)))
17 simpr 488 . . . . . . . . . . . 12 ((𝑓 = 𝐹𝑔 = 𝐺) → 𝑔 = 𝐺)
1817fveq2d 6649 . . . . . . . . . . 11 ((𝑓 = 𝐹𝑔 = 𝐺) → (deg‘𝑔) = (deg‘𝐺))
1918breq2d 5042 . . . . . . . . . 10 ((𝑓 = 𝐹𝑔 = 𝐺) → ((deg‘𝑅) < (deg‘𝑔) ↔ (deg‘𝑅) < (deg‘𝐺)))
2019orbi2d 913 . . . . . . . . 9 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝑔)) ↔ (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
2116, 20syl5bb 286 . . . . . . . 8 ((𝑓 = 𝐹𝑔 = 𝐺) → ([𝑅 / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔)) ↔ (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
2210, 21bitrd 282 . . . . . . 7 ((𝑓 = 𝐹𝑔 = 𝐺) → ([(𝑓f − (𝑔f · 𝑞)) / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔)) ↔ (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
2322riotabidv 7095 . . . . . 6 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑞 ∈ (Poly‘ℂ)[(𝑓f − (𝑔f · 𝑞)) / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔))) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
24 df-quot 24887 . . . . . 6 quot = (𝑓 ∈ (Poly‘ℂ), 𝑔 ∈ ((Poly‘ℂ) ∖ {0𝑝}) ↦ (𝑞 ∈ (Poly‘ℂ)[(𝑓f − (𝑔f · 𝑞)) / 𝑟](𝑟 = 0𝑝 ∨ (deg‘𝑟) < (deg‘𝑔))))
25 riotaex 7097 . . . . . 6 (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))) ∈ V
2623, 24, 25ovmpoa 7284 . . . . 5 ((𝐹 ∈ (Poly‘ℂ) ∧ 𝐺 ∈ ((Poly‘ℂ) ∖ {0𝑝})) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
274, 26sylan2br 597 . . . 4 ((𝐹 ∈ (Poly‘ℂ) ∧ (𝐺 ∈ (Poly‘ℂ) ∧ 𝐺 ≠ 0𝑝)) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
28273impb 1112 . . 3 ((𝐹 ∈ (Poly‘ℂ) ∧ 𝐺 ∈ (Poly‘ℂ) ∧ 𝐺 ≠ 0𝑝) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
293, 28syl3an2 1161 . 2 ((𝐹 ∈ (Poly‘ℂ) ∧ 𝐺 ∈ (Poly‘𝑆) ∧ 𝐺 ≠ 0𝑝) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
302, 29syl3an1 1160 1 ((𝐹 ∈ (Poly‘𝑆) ∧ 𝐺 ∈ (Poly‘𝑆) ∧ 𝐺 ≠ 0𝑝) → (𝐹 quot 𝐺) = (𝑞 ∈ (Poly‘ℂ)(𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2987  [wsbc 3720  cdif 3878  {csn 4525   class class class wbr 5030  cfv 6324  crio 7092  (class class class)co 7135  f cof 7387  cc 10524   · cmul 10531   < clt 10664  cmin 10859  0𝑝c0p 24273  Polycply 24781  degcdgr 24784   quot cquot 24886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-1cn 10584  ax-addcl 10586
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-map 8391  df-nn 11626  df-n0 11886  df-ply 24785  df-quot 24887
This theorem is referenced by:  quotlem  24896
  Copyright terms: Public domain W3C validator