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

Theorem deg1sublt 26483
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 22620 . . . . . 6 (𝑅 ∈ Ring → 𝑃 ∈ Ring)
9 ringgrp 20515 . . . . . 6 (𝑃 ∈ Ring → 𝑃 ∈ Grp)
107, 8, 93syl 19 . . . . 5 (𝜑 → 𝑃 ∈ Grp)
11 deg1sublt.fb . . . . 5 (𝜑 → 𝐹 ∈ 𝐵)
12 deg1sublt.gb . . . . 5 (𝜑 → 𝐺 ∈ 𝐵)
13 deg1sublt.m . . . . . 6 − = (-g‘𝑃)
144, 13grpsubcl 19280 . . . . 5 ((𝑃 ∈ Grp ∧ 𝐹 ∈ 𝐵 ∧ 𝐺 ∈ 𝐵) → (𝐹 − 𝐺) ∈ 𝐵)
1510, 11, 12, 14syl3anc 1399 . . . 4 (𝜑 → (𝐹 − 𝐺) ∈ 𝐵)
16 deg1sublt.l . . . 4 (𝜑 → 𝐿 ∈ ℕ0)
17 eqid 2763 . . . . . . 7 (-g‘𝑅) = (-g‘𝑅)
182, 4, 13, 17coe1subfv 22640 . . . . . 6 (((𝑅 ∈ Ring ∧ 𝐹 ∈ 𝐵 ∧ 𝐺 ∈ 𝐵) ∧ 𝐿 ∈ ℕ0) → ((coe1‘(𝐹 − 𝐺))‘𝐿) = (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
197, 11, 12, 16, 18syl31anc 1401 . . . . 5 (𝜑 → ((coe1‘(𝐹 − 𝐺))‘𝐿) = (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
20 deg1sublt.eq . . . . . 6 (𝜑 → ((coe1‘𝐹)‘𝐿) = ((coe1‘𝐺)‘𝐿))
2120oveq1d 7466 . . . . 5 (𝜑 → (((coe1‘𝐹)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)) = (((coe1‘𝐺)‘𝐿)(-g‘𝑅)((coe1‘𝐺)‘𝐿)))
22 ringgrp 20515 . . . . . . 7 (𝑅 ∈ Ring → 𝑅 ∈ Grp)
237, 22syl 18 . . . . . 6 (𝜑 → 𝑅 ∈ Grp)
24 eqid 2763 . . . . . . . . 9 (coe1‘𝐺) = (coe1‘𝐺)
25 eqid 2763 . . . . . . . . 9 (Base‘𝑅) = (Base‘𝑅)
2624, 4, 2, 25coe1f 22584 . . . . . . . 8 (𝐺 ∈ 𝐵 → (coe1‘𝐺):ℕ0⟶(Base‘𝑅))
2712, 26syl 18 . . . . . . 7 (𝜑 → (coe1‘𝐺):ℕ0⟶(Base‘𝑅))
2827, 16ffvelcdmd 7117 . . . . . 6 (𝜑 → ((coe1‘𝐺)‘𝐿) ∈ (Base‘𝑅))
2925, 5, 17grpsubid 19284 . . . . . 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 26466 . . 3 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≠ 𝐿)
3332neneqd 2964 . 2 (𝜑 → ¬ (𝐷‘(𝐹 − 𝐺)) = 𝐿)
341, 2, 4deg1xrcl 26455 . . . . 5 ((𝐹 − 𝐺) ∈ 𝐵 → (𝐷‘(𝐹 − 𝐺)) ∈ ℝ*)
3515, 34syl 18 . . . 4 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ∈ ℝ*)
361, 2, 4deg1xrcl 26455 . . . . . 6 (𝐺 ∈ 𝐵 → (𝐷‘𝐺) ∈ ℝ*)
3712, 36syl 18 . . . . 5 (𝜑 → (𝐷‘𝐺) ∈ ℝ*)
381, 2, 4deg1xrcl 26455 . . . . . 6 (𝐹 ∈ 𝐵 → (𝐷‘𝐹) ∈ ℝ*)
3911, 38syl 18 . . . . 5 (𝜑 → (𝐷‘𝐹) ∈ ℝ*)
4037, 39ifcld 4532 . . . 4 (𝜑 → if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ∈ ℝ*)
4116nn0red 12708 . . . . 5 (𝜑 → 𝐿 ∈ ℝ)
4241rexrd 11398 . . . 4 (𝜑 → 𝐿 ∈ ℝ*)
432, 1, 7, 4, 13, 11, 12deg1suble 26480 . . . 4 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≤ if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)))
44 deg1sublt.fd . . . . 5 (𝜑 → (𝐷‘𝐹) ≤ 𝐿)
45 deg1sublt.gd . . . . 5 (𝜑 → (𝐷‘𝐺) ≤ 𝐿)
46 xrmaxle 13353 . . . . . 6 (((𝐷‘𝐹) ∈ ℝ* ∧ (𝐷‘𝐺) ∈ ℝ* ∧ 𝐿 ∈ ℝ*) → (if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿 ↔ ((𝐷‘𝐹) ≤ 𝐿 ∧ (𝐷‘𝐺) ≤ 𝐿)))
4739, 37, 42, 46syl3anc 1399 . . . . 5 (𝜑 → (if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿 ↔ ((𝐷‘𝐹) ≤ 𝐿 ∧ (𝐷‘𝐺) ≤ 𝐿)))
4844, 45, 47mpbir2and 726 . . . 4 (𝜑 → if((𝐷‘𝐹) ≤ (𝐷‘𝐺), (𝐷‘𝐺), (𝐷‘𝐹)) ≤ 𝐿)
4935, 40, 42, 43, 48xrletrd 13331 . . 3 (𝜑 → (𝐷‘(𝐹 − 𝐺)) ≤ 𝐿)
50 xrleloe 13313 . . . 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 1570   ∈ wcel 2147  ifcif 4485   class class class wbr 5108  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  ℝ*cxr 11381   < clt 11382   ≤ cle 11383  ℕ0cn0 12646  Basecbs 17431  0gc0g 17660  Grpcgrp 19194  -gcsg 19196  Ringcrg 20510  Poly1cpl1 22550  coe1cco1 22551  deg1cdg1 26427
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 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316  ax-pre-sup 11317  ax-addf 11318
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 4841  df-uni 4873  df-int 4913  df-iun 4958  df-iin 4959  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-se 5612  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-isom 6575  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-of 7725  df-ofr 7726  df-om 7912  df-1st 8035  df-2nd 8036  df-supp 8215  df-tpos 8281  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-2o 8515  df-er 8755  df-map 8887  df-pm 8888  df-ixp 8964  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-fsupp 9392  df-sup 9471  df-oi 9541  df-card 10057  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-2 12445  df-3 12446  df-4 12447  df-5 12448  df-6 12449  df-7 12450  df-8 12451  df-9 12452  df-n0 12647  df-z 12734  df-dec 12855  df-uz 13006  df-fz 13680  df-fzo 13829  df-seq 14185  df-hash 14516  df-struct 17369  df-sets 17386  df-slot 17404  df-ndx 17416  df-base 17432  df-ress 17453  df-plusg 17486  df-mulr 17487  df-starv 17488  df-sca 17489  df-vsca 17490  df-ip 17491  df-tset 17492  df-ple 17493  df-ds 17495  df-unif 17496  df-hom 17497  df-cco 17498  df-euf 17499  df-0g 17662  df-gsum 17663  df-prds 17668  df-pws 17670  df-mre 17806  df-mrc 17807  df-acs 17809  df-mgm 18866  df-sgrp 18958  df-mnd 18974  df-mhm 19028  df-submnd 19029  df-grp 19197  df-minusg 19198  df-sbg 19199  df-mulg 19328  df-subg 19383  df-ghm 19478  df-cntz 19582  df-cmn 20047  df-abl 20048  df-mgp 20412  df-rng 20426  df-ur 20459  df-ring 20512  df-cring 20513  df-oppr 20618  df-dvdsr 20638  df-unit 20639  df-invr 20669  df-subrng 20849  df-subrg 20873  df-rlreg 20997  df-lmod 21188  df-lss 21258  df-cnfld 21730  df-psr 22272  df-mpl 22274  df-opsr 22276  df-psr1 22553  df-ply1 22555  df-coe1 22556  df-mdeg 26428  df-deg1 26429
This theorem is used by:  ply1divex  26510  deg1submon1p  26526  hbtlem5  44395
  Copyright terms: Public domain W3C validator