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 44457
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 20621 . . 3 ring ∈ CRing
2 linevalexample.p . . . 4 𝑃 = (Poly1‘ℤring)
3 linevalexample.b . . . 4 𝐵 = (Base‘𝑃)
4 zringbas 20625 . . . 4 ℤ = (Base‘ℤring)
5 linevalexample.x . . . 4 𝑋 = (var1‘ℤring)
6 linevalexample.m . . . 4 = (-g𝑃)
7 linevalexample.a . . . 4 𝐴 = (algSc‘𝑃)
8 eqid 2823 . . . 4 (𝑋 (𝐴‘3)) = (𝑋 (𝐴‘3))
9 3z 12018 . . . . 5 3 ∈ ℤ
109a1i 11 . . . 4 (ℤring ∈ CRing → 3 ∈ ℤ)
11 linevalexample.o . . . 4 𝑂 = (eval1‘ℤring)
12 id 22 . . . 4 (ℤring ∈ CRing → ℤring ∈ CRing)
13 5nn0 11920 . . . . . 6 5 ∈ ℕ0
1413nn0zi 12010 . . . . 5 5 ∈ ℤ
1514a1i 11 . . . 4 (ℤring ∈ CRing → 5 ∈ ℤ)
162, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15lineval 44455 . . 3 (ℤring ∈ CRing → ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3))
171, 16ax-mp 5 . 2 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3)
18 eqid 2823 . . . 4 (-g‘ℤring) = (-g‘ℤring)
1918zringsubgval 44456 . . 3 ((5 ∈ ℤ ∧ 3 ∈ ℤ) → (5 − 3) = (5(-g‘ℤring)3))
2014, 9, 19mp2an 690 . 2 (5 − 3) = (5(-g‘ℤring)3)
21 5cn 11728 . . 3 5 ∈ ℂ
22 3cn 11721 . . 3 3 ∈ ℂ
23 2cn 11715 . . 3 2 ∈ ℂ
24 3p2e5 11791 . . 3 (3 + 2) = 5
2521, 22, 23, 24subaddrii 10977 . 2 (5 − 3) = 2
2617, 20, 253eqtr2i 2852 1 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = 2
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  wcel 2114  cfv 6357  (class class class)co 7158  cmin 10872  2c2 11695  3c3 11696  5c5 11698  cz 11984  Basecbs 16485  -gcsg 18107  CRingccrg 19300  algSccascl 20086  var1cv1 20346  Poly1cpl1 20347  eval1ce1 20479  ringzring 20619
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616  ax-addf 10618  ax-mulf 10619
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-int 4879  df-iun 4923  df-iin 4924  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-se 5517  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-isom 6366  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-of 7411  df-ofr 7412  df-om 7583  df-1st 7691  df-2nd 7692  df-supp 7833  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-1o 8104  df-2o 8105  df-oadd 8108  df-er 8291  df-map 8410  df-pm 8411  df-ixp 8464  df-en 8512  df-dom 8513  df-sdom 8514  df-fin 8515  df-fsupp 8836  df-sup 8908  df-oi 8976  df-card 9370  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875  df-nn 11641  df-2 11703  df-3 11704  df-4 11705  df-5 11706  df-6 11707  df-7 11708  df-8 11709  df-9 11710  df-n0 11901  df-z 11985  df-dec 12102  df-uz 12247  df-fz 12896  df-fzo 13037  df-seq 13373  df-hash 13694  df-struct 16487  df-ndx 16488  df-slot 16489  df-base 16491  df-sets 16492  df-ress 16493  df-plusg 16580  df-mulr 16581  df-starv 16582  df-sca 16583  df-vsca 16584  df-ip 16585  df-tset 16586  df-ple 16587  df-ds 16589  df-unif 16590  df-hom 16591  df-cco 16592  df-0g 16717  df-gsum 16718  df-prds 16723  df-pws 16725  df-mre 16859  df-mrc 16860  df-acs 16862  df-mgm 17854  df-sgrp 17903  df-mnd 17914  df-mhm 17958  df-submnd 17959  df-grp 18108  df-minusg 18109  df-sbg 18110  df-mulg 18227  df-subg 18278  df-ghm 18358  df-cntz 18449  df-cmn 18910  df-abl 18911  df-mgp 19242  df-ur 19254  df-srg 19258  df-ring 19301  df-cring 19302  df-rnghom 19469  df-subrg 19535  df-lmod 19638  df-lss 19706  df-lsp 19746  df-assa 20087  df-asp 20088  df-ascl 20089  df-psr 20138  df-mvr 20139  df-mpl 20140  df-opsr 20142  df-evls 20288  df-evl 20289  df-psr1 20350  df-vr1 20351  df-ply1 20352  df-evl1 20481  df-cnfld 20548  df-zring 20620
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator