Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  linevalexample Structured version   Visualization version   GIF version

Theorem linevalexample 44804
Description: The polynomial 𝑥 − 3 over evaluated for 𝑥 = 5 results in 2. (Contributed by AV, 3-Jul-2019.)
Hypotheses
Ref Expression
linevalexample.p 𝑃 = (Poly1‘ℤring)
linevalexample.b 𝐵 = (Base‘𝑃)
linevalexample.x 𝑋 = (var1‘ℤring)
linevalexample.m = (-g𝑃)
linevalexample.a 𝐴 = (algSc‘𝑃)
linevalexample.g 𝐺 = (𝑋 (𝐴‘3))
linevalexample.o 𝑂 = (eval1‘ℤring)
Assertion
Ref Expression
linevalexample ((𝑂‘(𝑋 (𝐴‘3)))‘5) = 2

Proof of Theorem linevalexample
StepHypRef Expression
1 zringcrng 20165 . . 3 ring ∈ CRing
2 linevalexample.p . . . 4 𝑃 = (Poly1‘ℤring)
3 linevalexample.b . . . 4 𝐵 = (Base‘𝑃)
4 zringbas 20169 . . . 4 ℤ = (Base‘ℤring)
5 linevalexample.x . . . 4 𝑋 = (var1‘ℤring)
6 linevalexample.m . . . 4 = (-g𝑃)
7 linevalexample.a . . . 4 𝐴 = (algSc‘𝑃)
8 eqid 2798 . . . 4 (𝑋 (𝐴‘3)) = (𝑋 (𝐴‘3))
9 3z 12003 . . . . 5 3 ∈ ℤ
109a1i 11 . . . 4 (ℤring ∈ CRing → 3 ∈ ℤ)
11 linevalexample.o . . . 4 𝑂 = (eval1‘ℤring)
12 id 22 . . . 4 (ℤring ∈ CRing → ℤring ∈ CRing)
13 5nn0 11905 . . . . . 6 5 ∈ ℕ0
1413nn0zi 11995 . . . . 5 5 ∈ ℤ
1514a1i 11 . . . 4 (ℤring ∈ CRing → 5 ∈ ℤ)
162, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15lineval 44802 . . 3 (ℤring ∈ CRing → ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3))
171, 16ax-mp 5 . 2 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3)
18 eqid 2798 . . . 4 (-g‘ℤring) = (-g‘ℤring)
1918zringsubgval 44803 . . 3 ((5 ∈ ℤ ∧ 3 ∈ ℤ) → (5 − 3) = (5(-g‘ℤring)3))
2014, 9, 19mp2an 691 . 2 (5 − 3) = (5(-g‘ℤring)3)
21 5cn 11713 . . 3 5 ∈ ℂ
22 3cn 11706 . . 3 3 ∈ ℂ
23 2cn 11700 . . 3 2 ∈ ℂ
24 3p2e5 11776 . . 3 (3 + 2) = 5
2521, 22, 23, 24subaddrii 10964 . 2 (5 − 3) = 2
2617, 20, 253eqtr2i 2827 1 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = 2
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  wcel 2111  cfv 6324  (class class class)co 7135  cmin 10859  2c2 11680  3c3 11681  5c5 11683  cz 11969  Basecbs 16475  -gcsg 18097  CRingccrg 19291  ringzring 20163  algSccascl 20541  var1cv1 20805  Poly1cpl1 20806  eval1ce1 20938
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-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-addf 10605  ax-mulf 10606
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-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  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-int 4839  df-iun 4883  df-iin 4884  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-se 5479  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-isom 6333  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-of 7389  df-ofr 7390  df-om 7561  df-1st 7671  df-2nd 7672  df-supp 7814  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-2o 8086  df-oadd 8089  df-er 8272  df-map 8391  df-pm 8392  df-ixp 8445  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-fsupp 8818  df-sup 8890  df-oi 8958  df-card 9352  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-2 11688  df-3 11689  df-4 11690  df-5 11691  df-6 11692  df-7 11693  df-8 11694  df-9 11695  df-n0 11886  df-z 11970  df-dec 12087  df-uz 12232  df-fz 12886  df-fzo 13029  df-seq 13365  df-hash 13687  df-struct 16477  df-ndx 16478  df-slot 16479  df-base 16481  df-sets 16482  df-ress 16483  df-plusg 16570  df-mulr 16571  df-starv 16572  df-sca 16573  df-vsca 16574  df-ip 16575  df-tset 16576  df-ple 16577  df-ds 16579  df-unif 16580  df-hom 16581  df-cco 16582  df-0g 16707  df-gsum 16708  df-prds 16713  df-pws 16715  df-mre 16849  df-mrc 16850  df-acs 16852  df-mgm 17844  df-sgrp 17893  df-mnd 17904  df-mhm 17948  df-submnd 17949  df-grp 18098  df-minusg 18099  df-sbg 18100  df-mulg 18217  df-subg 18268  df-ghm 18348  df-cntz 18439  df-cmn 18900  df-abl 18901  df-mgp 19233  df-ur 19245  df-srg 19249  df-ring 19292  df-cring 19293  df-rnghom 19463  df-subrg 19526  df-lmod 19629  df-lss 19697  df-lsp 19737  df-cnfld 20092  df-zring 20164  df-assa 20542  df-asp 20543  df-ascl 20544  df-psr 20594  df-mvr 20595  df-mpl 20596  df-opsr 20598  df-evls 20745  df-evl 20746  df-psr1 20809  df-vr1 20810  df-ply1 20811  df-evl1 20940
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator