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

Theorem ply1divalg 26489
Description: The division algorithm for univariate polynomials over a ring. For polynomials 𝐹, 𝐺 such that 𝐺 ≠ 0 and the leading coefficient of 𝐺 is a unit, there are unique polynomials 𝑞 and 𝑟 = 𝐹 − (𝐺 · 𝑞) such that the degree of 𝑟 is less than the degree of 𝐺. (Contributed by Stefan O'Rear, 27-Mar-2015.)
Hypotheses
Ref Expression
ply1divalg.p 𝑃 = (Poly1‘𝑅)
ply1divalg.d 𝐷 = (deg1‘𝑅)
ply1divalg.b 𝐵 = (Base‘𝑃)
ply1divalg.m − = (-g‘𝑃)
ply1divalg.z 0 = (0g‘𝑃)
ply1divalg.t ∙ = (.r‘𝑃)
ply1divalg.r1 (𝜑 → 𝑅 ∈ Ring)
ply1divalg.f (𝜑 → 𝐹 ∈ 𝐵)
ply1divalg.g1 (𝜑 → 𝐺 ∈ 𝐵)
ply1divalg.g2 (𝜑 → 𝐺 ≠ 0 )
ply1divalg.g3 (𝜑 → ((coe1‘𝐺)‘(𝐷‘𝐺)) ∈ 𝑈)
ply1divalg.u 𝑈 = (Unit‘𝑅)
Assertion
Ref Expression
ply1divalg (𝜑 → ∃!𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺))
Distinct variable groups:   𝜑,𝑞   𝐵,𝑞   𝐷,𝑞   𝐹,𝑞   𝐺,𝑞   − ,𝑞   𝑃,𝑞   𝑅,𝑞   ∙ ,𝑞   0 ,𝑞
Allowed substitution hint:   𝑈(𝑞)

Proof of Theorem ply1divalg
StepHypRef Expression
1 ply1divalg.p . . 3 𝑃 = (Poly1‘𝑅)
2 ply1divalg.d . . 3 𝐷 = (deg1‘𝑅)
3 ply1divalg.b . . 3 𝐵 = (Base‘𝑃)
4 ply1divalg.m . . 3 − = (-g‘𝑃)
5 ply1divalg.z . . 3 0 = (0g‘𝑃)
6 ply1divalg.t . . 3 ∙ = (.r‘𝑃)
7 ply1divalg.r1 . . 3 (𝜑 → 𝑅 ∈ Ring)
8 ply1divalg.f . . 3 (𝜑 → 𝐹 ∈ 𝐵)
9 ply1divalg.g1 . . 3 (𝜑 → 𝐺 ∈ 𝐵)
10 ply1divalg.g2 . . 3 (𝜑 → 𝐺 ≠ 0 )
11 eqid 2763 . . 3 (1r‘𝑅) = (1r‘𝑅)
12 eqid 2763 . . 3 (Base‘𝑅) = (Base‘𝑅)
13 eqid 2763 . . 3 (.r‘𝑅) = (.r‘𝑅)
14 ply1divalg.g3 . . . 4 (𝜑 → ((coe1‘𝐺)‘(𝐷‘𝐺)) ∈ 𝑈)
15 ply1divalg.u . . . . 5 𝑈 = (Unit‘𝑅)
16 eqid 2763 . . . . 5 (invr‘𝑅) = (invr‘𝑅)
1715, 16, 12ringinvcl 20655 . . . 4 ((𝑅 ∈ Ring ∧ ((coe1‘𝐺)‘(𝐷‘𝐺)) ∈ 𝑈) → ((invr‘𝑅)‘((coe1‘𝐺)‘(𝐷‘𝐺))) ∈ (Base‘𝑅))
187, 14, 17syl2anc 596 . . 3 (𝜑 → ((invr‘𝑅)‘((coe1‘𝐺)‘(𝐷‘𝐺))) ∈ (Base‘𝑅))
1915, 16, 13, 11unitrinv 20657 . . . 4 ((𝑅 ∈ Ring ∧ ((coe1‘𝐺)‘(𝐷‘𝐺)) ∈ 𝑈) → (((coe1‘𝐺)‘(𝐷‘𝐺))(.r‘𝑅)((invr‘𝑅)‘((coe1‘𝐺)‘(𝐷‘𝐺)))) = (1r‘𝑅))
207, 14, 19syl2anc 596 . . 3 (𝜑 → (((coe1‘𝐺)‘(𝐷‘𝐺))(.r‘𝑅)((invr‘𝑅)‘((coe1‘𝐺)‘(𝐷‘𝐺)))) = (1r‘𝑅))
211, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18, 20ply1divex 26488 . 2 (𝜑 → ∃𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺))
22 eqid 2763 . . . . . 6 (RLReg‘𝑅) = (RLReg‘𝑅)
2322, 15unitrrg 20988 . . . . 5 (𝑅 ∈ Ring → 𝑈 ⊆ (RLReg‘𝑅))
247, 23syl 18 . . . 4 (𝜑 → 𝑈 ⊆ (RLReg‘𝑅))
2524, 14sseldd 3914 . . 3 (𝜑 → ((coe1‘𝐺)‘(𝐷‘𝐺)) ∈ (RLReg‘𝑅))
261, 2, 3, 4, 5, 6, 7, 8, 9, 10, 25, 22ply1divmo 26487 . 2 (𝜑 → ∃*𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺))
27 reu5 3371 . 2 (∃!𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺) ↔ (∃𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺) ∧ ∃*𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺)))
2821, 26, 27sylanbrc 595 1 (𝜑 → ∃!𝑞 ∈ 𝐵 (𝐷‘(𝐹 − (𝐺 ∙ 𝑞))) < (𝐷‘𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∃wrex 3090  ∃!wreu 3367  ∃*wrmo 3368   ⊆ wss 3900   class class class wbr 5106  ‘cfv 6561  (class class class)co 7446   < clt 11373  Basecbs 17419  .rcmulr 17461  0gc0g 17642  -gcsg 19178  1rcur 20440  Ringcrg 20492  Unitcui 20618  invrcinvr 20650  RLRegcrlreg 20976  Poly1cpl1 22528  coe1cco1 22529  deg1cdg1 26405
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778  ax-cnex 11286  ax-resscn 11287  ax-1cn 11288  ax-icn 11289  ax-addcl 11290  ax-addrcl 11291  ax-mulcl 11292  ax-mulrcl 11293  ax-mulcom 11294  ax-addass 11295  ax-mulass 11296  ax-distr 11297  ax-i2m1 11298  ax-1ne0 11299  ax-1rid 11300  ax-rnegex 11301  ax-rrecex 11302  ax-cnre 11303  ax-pre-lttri 11304  ax-pre-lttrn 11305  ax-pre-ltadd 11306  ax-pre-mulgt0 11307  ax-pre-sup 11308  ax-addf 11309
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-iin 4957  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-se 5610  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6325  df-ord 6386  df-on 6387  df-lim 6388  df-suc 6389  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-isom 6570  df-riota 7403  df-ov 7449  df-oprab 7450  df-mpo 7451  df-of 7720  df-ofr 7721  df-om 7905  df-1st 8028  df-2nd 8029  df-supp 8208  df-tpos 8274  df-frecs 8330  df-wrecs 8361  df-recs 8410  df-rdg 8449  df-1o 8507  df-2o 8508  df-er 8748  df-map 8880  df-pm 8881  df-ixp 8957  df-en 9005  df-dom 9006  df-sdom 9007  df-fin 9008  df-fsupp 9385  df-sup 9464  df-oi 9534  df-card 10050  df-pnf 11375  df-mnf 11376  df-xr 11377  df-ltxr 11378  df-le 11379  df-sub 11573  df-neg 11574  df-nn 12366  df-2 12435  df-3 12436  df-4 12437  df-5 12438  df-6 12439  df-7 12440  df-8 12441  df-9 12442  df-n0 12637  df-z 12724  df-dec 12845  df-uz 12996  df-fz 13670  df-fzo 13819  df-seq 14175  df-hash 14505  df-struct 17357  df-sets 17374  df-slot 17392  df-ndx 17404  df-base 17420  df-ress 17441  df-plusg 17473  df-mulr 17474  df-starv 17475  df-sca 17476  df-vsca 17477  df-ip 17478  df-tset 17479  df-ple 17480  df-ds 17482  df-unif 17483  df-hom 17484  df-cco 17485  df-0g 17644  df-gsum 17645  df-prds 17650  df-pws 17652  df-mre 17788  df-mrc 17789  df-acs 17791  df-mgm 18848  df-sgrp 18940  df-mnd 18956  df-mhm 19010  df-submnd 19011  df-grp 19179  df-minusg 19180  df-sbg 19181  df-mulg 19310  df-subg 19365  df-ghm 19460  df-cntz 19564  df-cmn 20029  df-abl 20030  df-mgp 20394  df-rng 20408  df-ur 20441  df-ring 20494  df-cring 20495  df-oppr 20600  df-dvdsr 20620  df-unit 20621  df-invr 20651  df-subrng 20831  df-subrg 20855  df-rlreg 20979  df-lmod 21170  df-lss 21240  df-cnfld 21712  df-psr 22250  df-mvr 22251  df-mpl 22252  df-opsr 22254  df-psr1 22531  df-vr1 22532  df-ply1 22533  df-coe1 22534  df-mdeg 26406  df-deg1 26407
This theorem is used by:  ply1divalg2  26490
  Copyright terms: Public domain W3C validator