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

Theorem deg1sublt 26443
Description: Subtraction of two polynomials limited to the same degree with the same leading coefficient gives a polynomial with a smaller degree. (Contributed by Stefan O'Rear, 26-Mar-2015.)
Hypotheses
Ref Expression
deg1sublt.d 𝐷 = (deg1‘𝑅)
deg1sublt.p 𝑃 = (Poly1‘𝑅)
deg1sublt.b 𝐵 = (Base‘𝑃)
deg1sublt.m − = (-g‘𝑃)
deg1sublt.l (𝜑 → 𝐿 ∈ ℕ0)
deg1sublt.r (𝜑 → 𝑅 ∈ Ring)
deg1sublt.fb (𝜑 → 𝐹 ∈ 𝐵)
deg1sublt.fd (𝜑 → (𝐷‘𝐹) ≤ 𝐿)
deg1sublt.gb (𝜑 → 𝐺 ∈ 𝐵)
deg1sublt.gd (𝜑 → (𝐷‘𝐺) ≤ 𝐿)
deg1sublt.a 𝐴 = (coe1‘𝐹)
deg1sublt.c 𝐶 = (coe1‘𝐺)
deg1sublt.eq (𝜑 → ((coe1‘𝐹)‘𝐿) = ((coe1‘𝐺)‘𝐿))
Assertion
Ref Expression
deg1sublt (𝜑 → (𝐷‘(𝐹 − 𝐺)) < 𝐿)

Proof of Theorem deg1sublt
StepHypRef Expression
1 deg1sublt.d . . . 4 𝐷 = (deg1‘𝑅)
2 deg1sublt.p . . . 4 𝑃 = (Poly1‘𝑅)
3 eqid 2763 . . . 4 (0g‘𝑃) = (0g‘𝑃)
4 deg1sublt.b . . . 4 𝐵 = (Base‘𝑃)
5 eqid 2763 . . . 4 (0g‘𝑅) = (0g‘𝑅)
6 eqid 2763 . . . 4 (coe1‘(𝐹 − 𝐺)) = (coe1‘(𝐹 − 𝐺))
7 deg1sublt.r . . . 4 (𝜑 → 𝑅 ∈ Ring)
82ply1ring 22580 . . . . . 6 (𝑅 ∈ Ring → 𝑃 ∈ Ring)
9 ringgrp 20479 . . . . . 6 (𝑃 ∈ Ring → 𝑃 ∈ Grp)
107, 8, 93syl 19 . . . . 5 (𝜑 → 𝑃 ∈ Grp)
11 deg1sublt.fb . . . . 5 (𝜑 → 𝐹 ∈ 𝐵)
12 deg1sublt.gb . . . . 5 (𝜑 → 𝐺 ∈ 𝐵)
13 deg1sublt.m . . . . . 6 − = (-g‘𝑃)
144, 13grpsubcl 19245 . . . . 5 ((𝑃 ∈ Grp ∧ 𝐹 ∈ 𝐵 ∧ 𝐺 ∈ 𝐵) → (𝐹 − 𝐺) ∈ 𝐵)
1510, 11, 12, 14syl3anc 1398 . . . 4 (𝜑 → (𝐹 − 𝐺) ∈ 𝐵)
16 deg1sublt.l . . . 4 (𝜑 → 𝐿 ∈ ℕ0)
17 eqid 2763 . . . . . . 7 (-g‘𝑅) = (-g‘𝑅)
182, 4, 13, 17coe1subfv 22600 . . . . . 6 (((𝑅 ∈ Ring ∧ 𝐹 ∈ 𝐵 ∧ 𝐺 ∈ 𝐵) ∧ 𝐿 ∈ ℕ0) → ((coe1‘(𝐹 − 𝐺))‘𝐿) = (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
197, 11, 12, 16, 18syl31anc 1400 . . . . 5 (𝜑 → ((coe1‘(𝐹 − 𝐺))‘𝐿) = (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
20 deg1sublt.eq . . . . . 6 (𝜑 → ((coe1‘𝐹)‘𝐿) = ((coe1‘𝐺)‘𝐿))
2120oveq1d 7445 . . . . 5 (𝜑 → (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)) = (((coe1‘𝐺)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
22 ringgrp 20479 . . . . . . 7 (𝑅 ∈ Ring → 𝑅 ∈ Grp)
237, 22syl 18 . . . . . 6 (𝜑 → 𝑅 ∈ Grp)
24 eqid 2763 . . . . . . . . 9 (coe1‘𝐺) = (coe1‘𝐺)
25 eqid 2763 . . . . . . . . 9 (Base‘𝑅) = (Base‘𝑅)
2624, 4, 2, 25coe1f 22544 . . . . . . . 8 (𝐺 ∈ 𝐵 → (coe1‘𝐺):ℕ0⟶(Base‘𝑅))
2712, 26syl 18 . . . . . . 7 (𝜑 → (coe1‘𝐺):ℕ0⟶(Base‘𝑅))
2827, 16ffvelcdmd 7096 . . . . . 6 (𝜑 → ((coe1‘𝐺)‘𝐿) ∈ (Base‘𝑅))
2925, 5, 17grpsubid 19249 . . . . . 6 ((𝑅 ∈ Grp ∧ ((coe1‘𝐺)‘𝐿) ∈ (Base‘𝑅)) → (((coe1‘𝐺)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)) = (0g‘𝑅))
3023, 28, 29syl2anc 596 . . . . 5 (𝜑 → (((coe1‘𝐺)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)) = (0g‘𝑅))
3119, 21, 303eqtrd 2802 . . . 4 (𝜑 → ((coe1‘(𝐹 − 𝐺))‘𝐿) = (0g‘𝑅))
321, 2, 3, 4, 5, 6, 7, 15, 16, 31deg1ldgn 26426 . . 3 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≠ 𝐿)
3332neneqd 2964 . 2 (𝜑 → ¬ (𝐷‘(𝐹 − 𝐺)) = 𝐿)
341, 2, 4deg1xrcl 26415 . . . . 5 ((𝐹 − 𝐺) ∈ 𝐵 → (𝐷‘(𝐹 − 𝐺)) ∈ ℝ*)
3515, 34syl 18 . . . 4 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ∈ ℝ*)
361, 2, 4deg1xrcl 26415 . . . . . 6 (𝐺 ∈ 𝐵 → (𝐷‘𝐺) ∈ ℝ*)
3712, 36syl 18 . . . . 5 (𝜑 → (𝐷‘𝐺) ∈ ℝ*)
381, 2, 4deg1xrcl 26415 . . . . . 6 (𝐹 ∈ 𝐵 → (𝐷‘𝐹) ∈ ℝ*)
3911, 38syl 18 . . . . 5 (𝜑 → (𝐷‘𝐹) ∈ ℝ*)
4037, 39ifcld 4532 . . . 4 (𝜑 → if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ∈ ℝ*)
4116nn0red 12681 . . . . 5 (𝜑 → 𝐿 ∈ ℝ)
4241rexrd 11372 . . . 4 (𝜑 → 𝐿 ∈ ℝ*)
432, 1, 7, 4, 13, 11, 12deg1suble 26440 . . . 4 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≤ if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)))
44 deg1sublt.fd . . . . 5 (𝜑 → (𝐷‘𝐹) ≤ 𝐿)
45 deg1sublt.gd . . . . 5 (𝜑 → (𝐷‘𝐺) ≤ 𝐿)
46 xrmaxle 13326 . . . . . 6 (((𝐷‘𝐹) ∈ ℝ* ∧ (𝐷‘𝐺) ∈ ℝ* ∧ 𝐿 ∈ ℝ*) → (if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿 ↔ ((𝐷‘𝐹) ≤ 𝐿 ∧ (𝐷‘𝐺) ≤ 𝐿)))
4739, 37, 42, 46syl3anc 1398 . . . . 5 (𝜑 → (if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿 ↔ ((𝐷‘𝐹) ≤ 𝐿 ∧ (𝐷‘𝐺) ≤ 𝐿)))
4844, 45, 47mpbir2and 726 . . . 4 (𝜑 → if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿)
4935, 40, 42, 43, 48xrletrd 13304 . . 3 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≤ 𝐿)
50 xrleloe 13286 . . . 4 (((𝐷‘(𝐹 − 𝐺)) ∈ ℝ* ∧ 𝐿 ∈ ℝ*) → ((𝐷‘(𝐹 − 𝐺)) ≤ 𝐿 ↔ ((𝐷‘(𝐹 − 𝐺)) < 𝐿 ∨ (𝐷‘(𝐹 − 𝐺)) = 𝐿)))
5135, 42, 50syl2anc 596 . . 3 (𝜑 → ((𝐷‘(𝐹 − 𝐺)) ≤ 𝐿 ↔ ((𝐷‘(𝐹 − 𝐺)) < 𝐿 ∨ (𝐷‘(𝐹 − 𝐺)) = 𝐿)))
5249, 51mpbid 235 . 2 (𝜑 → ((𝐷‘(𝐹 − 𝐺)) < 𝐿 ∨ (𝐷‘(𝐹 − 𝐺)) = 𝐿))
53 orel2 904 . 2 (¬ (𝐷‘(𝐹 − 𝐺)) = 𝐿 → (((𝐷‘(𝐹 − 𝐺)) < 𝐿 ∨ (𝐷‘(𝐹 − 𝐺)) = 𝐿) → (𝐷‘(𝐹 − 𝐺)) < 𝐿))
5433, 52, 53sylc 66 1 (𝜑 → (𝐷‘(𝐹 − 𝐺)) < 𝐿)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146  ifcif 4485   class class class wbr 5106  ⟶wf 6543  ‘cfv 6547  (class class class)co 7430  ℝ*cxr 11355   < clt 11356   ≤ cle 11357  ℕ0cn0 12619  Basecbs 17402  0gc0g 17625  Grpcgrp 19159  -gcsg 19161  Ringcrg 20474  Poly1cpl1 22510  coe1cco1 22511  deg1cdg1 26387
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761  ax-cnex 11269  ax-resscn 11270  ax-1cn 11271  ax-icn 11272  ax-addcl 11273  ax-addrcl 11274  ax-mulcl 11275  ax-mulrcl 11276  ax-mulcom 11277  ax-addass 11278  ax-mulass 11279  ax-distr 11280  ax-i2m1 11281  ax-1ne0 11282  ax-1rid 11283  ax-rnegex 11284  ax-rrecex 11285  ax-cnre 11286  ax-pre-lttri 11287  ax-pre-lttrn 11288  ax-pre-ltadd 11289  ax-pre-mulgt0 11290  ax-pre-sup 11291  ax-addf 11292
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  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 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-isom 6556  df-riota 7387  df-ov 7433  df-oprab 7434  df-mpo 7435  df-of 7703  df-ofr 7704  df-om 7888  df-1st 8011  df-2nd 8012  df-supp 8191  df-tpos 8257  df-frecs 8313  df-wrecs 8344  df-recs 8393  df-rdg 8432  df-1o 8490  df-2o 8491  df-er 8731  df-map 8863  df-pm 8864  df-ixp 8940  df-en 8988  df-dom 8989  df-sdom 8990  df-fin 8991  df-fsupp 9368  df-sup 9447  df-oi 9517  df-card 10033  df-pnf 11358  df-mnf 11359  df-xr 11360  df-ltxr 11361  df-le 11362  df-sub 11556  df-neg 11557  df-nn 12349  df-2 12418  df-3 12419  df-4 12420  df-5 12421  df-6 12422  df-7 12423  df-8 12424  df-9 12425  df-n0 12620  df-z 12707  df-dec 12828  df-uz 12979  df-fz 13653  df-fzo 13802  df-seq 14158  df-hash 14488  df-struct 17340  df-sets 17357  df-slot 17375  df-ndx 17387  df-base 17403  df-ress 17424  df-plusg 17456  df-mulr 17457  df-starv 17458  df-sca 17459  df-vsca 17460  df-ip 17461  df-tset 17462  df-ple 17463  df-ds 17465  df-unif 17466  df-hom 17467  df-cco 17468  df-0g 17627  df-gsum 17628  df-prds 17633  df-pws 17635  df-mre 17771  df-mrc 17772  df-acs 17774  df-mgm 18831  df-sgrp 18923  df-mnd 18939  df-mhm 18993  df-submnd 18994  df-grp 19162  df-minusg 19163  df-sbg 19164  df-mulg 19293  df-subg 19348  df-ghm 19443  df-cntz 19546  df-cmn 20011  df-abl 20012  df-mgp 20376  df-rng 20390  df-ur 20423  df-ring 20476  df-cring 20477  df-oppr 20582  df-dvdsr 20602  df-unit 20603  df-invr 20633  df-subrng 20813  df-subrg 20837  df-rlreg 20961  df-lmod 21152  df-lss 21222  df-cnfld 21694  df-psr 22232  df-mpl 22234  df-opsr 22236  df-psr1 22513  df-ply1 22515  df-coe1 22516  df-mdeg 26388  df-deg1 26389
This theorem is used by:  ply1divex  26470  deg1submon1p  26486  hbtlem5  44273
  Copyright terms: Public domain W3C validator