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 48784
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 21420 . . 3 ring ∈ CRing
2 linevalexample.p . . . 4 𝑃 = (Poly1‘ℤring)
3 linevalexample.b . . . 4 𝐵 = (Base‘𝑃)
4 zringbas 21425 . . . 4 ℤ = (Base‘ℤring)
5 linevalexample.x . . . 4 𝑋 = (var1‘ℤring)
6 linevalexample.m . . . 4 = (-g𝑃)
7 linevalexample.a . . . 4 𝐴 = (algSc‘𝑃)
8 eqid 2737 . . . 4 (𝑋 (𝐴‘3)) = (𝑋 (𝐴‘3))
9 3z 12538 . . . . 5 3 ∈ ℤ
109a1i 11 . . . 4 (ℤring ∈ CRing → 3 ∈ ℤ)
11 linevalexample.o . . . 4 𝑂 = (eval1‘ℤring)
12 id 22 . . . 4 (ℤring ∈ CRing → ℤring ∈ CRing)
13 5nn0 12435 . . . . . 6 5 ∈ ℕ0
1413nn0zi 12530 . . . . 5 5 ∈ ℤ
1514a1i 11 . . . 4 (ℤring ∈ CRing → 5 ∈ ℤ)
162, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15lineval 48783 . . 3 (ℤring ∈ CRing → ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3))
171, 16ax-mp 5 . 2 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3)
18 eqid 2737 . . . 4 (-g‘ℤring) = (-g‘ℤring)
1918zringsubgval 21442 . . 3 ((5 ∈ ℤ ∧ 3 ∈ ℤ) → (5 − 3) = (5(-g‘ℤring)3))
2014, 9, 19mp2an 693 . 2 (5 − 3) = (5(-g‘ℤring)3)
21 5cn 12247 . . 3 5 ∈ ℂ
22 3cn 12240 . . 3 3 ∈ ℂ
23 2cn 12234 . . 3 2 ∈ ℂ
24 3p2e5 12305 . . 3 (3 + 2) = 5
2521, 22, 23, 24subaddrii 11484 . 2 (5 − 3) = 2
2617, 20, 253eqtr2i 2766 1 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = 2
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  wcel 2114  cfv 6502  (class class class)co 7370  cmin 11378  2c2 12214  3c3 12215  5c5 12217  cz 12502  Basecbs 17150  -gcsg 18882  CRingccrg 20186  ringczring 21418  algSccascl 21824  var1cv1 22133  Poly1cpl1 22134  eval1ce1 22275
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5245  ax-nul 5255  ax-pow 5314  ax-pr 5381  ax-un 7692  ax-cnex 11096  ax-resscn 11097  ax-1cn 11098  ax-icn 11099  ax-addcl 11100  ax-addrcl 11101  ax-mulcl 11102  ax-mulrcl 11103  ax-mulcom 11104  ax-addass 11105  ax-mulass 11106  ax-distr 11107  ax-i2m1 11108  ax-1ne0 11109  ax-1rid 11110  ax-rnegex 11111  ax-rrecex 11112  ax-cnre 11113  ax-pre-lttri 11114  ax-pre-lttrn 11115  ax-pre-ltadd 11116  ax-pre-mulgt0 11117  ax-addf 11119
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-tp 4587  df-op 4589  df-uni 4866  df-int 4905  df-iun 4950  df-iin 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5529  df-eprel 5534  df-po 5542  df-so 5543  df-fr 5587  df-se 5588  df-we 5589  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-pred 6269  df-ord 6330  df-on 6331  df-lim 6332  df-suc 6333  df-iota 6458  df-fun 6504  df-fn 6505  df-f 6506  df-f1 6507  df-fo 6508  df-f1o 6509  df-fv 6510  df-isom 6511  df-riota 7327  df-ov 7373  df-oprab 7374  df-mpo 7375  df-of 7634  df-ofr 7635  df-om 7821  df-1st 7945  df-2nd 7946  df-supp 8115  df-frecs 8235  df-wrecs 8266  df-recs 8315  df-rdg 8353  df-1o 8409  df-2o 8410  df-er 8647  df-map 8779  df-pm 8780  df-ixp 8850  df-en 8898  df-dom 8899  df-sdom 8900  df-fin 8901  df-fsupp 9279  df-sup 9359  df-oi 9429  df-card 9865  df-pnf 11182  df-mnf 11183  df-xr 11184  df-ltxr 11185  df-le 11186  df-sub 11380  df-neg 11381  df-nn 12160  df-2 12222  df-3 12223  df-4 12224  df-5 12225  df-6 12226  df-7 12227  df-8 12228  df-9 12229  df-n0 12416  df-z 12503  df-dec 12622  df-uz 12766  df-fz 13438  df-fzo 13585  df-seq 13939  df-hash 14268  df-struct 17088  df-sets 17105  df-slot 17123  df-ndx 17135  df-base 17151  df-ress 17172  df-plusg 17204  df-mulr 17205  df-starv 17206  df-sca 17207  df-vsca 17208  df-ip 17209  df-tset 17210  df-ple 17211  df-ds 17213  df-unif 17214  df-hom 17215  df-cco 17216  df-0g 17375  df-gsum 17376  df-prds 17381  df-pws 17383  df-mre 17519  df-mrc 17520  df-acs 17522  df-mgm 18579  df-sgrp 18658  df-mnd 18674  df-mhm 18722  df-submnd 18723  df-grp 18883  df-minusg 18884  df-sbg 18885  df-mulg 19015  df-subg 19070  df-ghm 19159  df-cntz 19263  df-cmn 19728  df-abl 19729  df-mgp 20093  df-rng 20105  df-ur 20134  df-srg 20139  df-ring 20187  df-cring 20188  df-rhm 20425  df-subrng 20496  df-subrg 20520  df-lmod 20830  df-lss 20900  df-lsp 20940  df-cnfld 21327  df-zring 21419  df-assa 21825  df-asp 21826  df-ascl 21827  df-psr 21882  df-mvr 21883  df-mpl 21884  df-opsr 21886  df-evls 22046  df-evl 22047  df-psr1 22137  df-vr1 22138  df-ply1 22139  df-evl1 22277
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator