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 49339
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 21690 . . 3 ring ∈ CRing
2 linevalexample.p . . . 4 𝑃 = (Poly1‘ℤring)
3 linevalexample.b . . . 4 𝐵 = (Base‘𝑃)
4 zringbas 21695 . . . 4 ℤ = (Base‘ℤring)
5 linevalexample.x . . . 4 𝑋 = (var1‘ℤring)
6 linevalexample.m . . . 4 = (-g𝑃)
7 linevalexample.a . . . 4 𝐴 = (algSc‘𝑃)
8 eqid 2760 . . . 4 (𝑋 (𝐴‘3)) = (𝑋 (𝐴‘3))
9 3z 12673 . . . . 5 3 ∈ ℤ
109a1i 11 . . . 4 (ℤring ∈ CRing → 3 ∈ ℤ)
11 linevalexample.o . . . 4 𝑂 = (eval1‘ℤring)
12 id 23 . . . 4 (ℤring ∈ CRing → ℤring ∈ CRing)
13 5nn0 12570 . . . . . 6 5 ∈ ℕ0
1413nn0zi 12665 . . . . 5 5 ∈ ℤ
1514a1i 11 . . . 4 (ℤring ∈ CRing → 5 ∈ ℤ)
162, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15lineval 49338 . . 3 (ℤring ∈ CRing → ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3))
171, 16ax-mp 5 . 2 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = (5(-g‘ℤring)3)
18 eqid 2760 . . . 4 (-g‘ℤring) = (-g‘ℤring)
1918zringsubgval 21712 . . 3 ((5 ∈ ℤ ∧ 3 ∈ ℤ) → (5 − 3) = (5(-g‘ℤring)3))
2014, 9, 19mp2an 705 . 2 (5 − 3) = (5(-g‘ℤring)3)
21 5cn 12375 . . 3 5 ∈ ℂ
22 3cn 12368 . . 3 3 ∈ ℂ
23 2cn 12362 . . 3 2 ∈ ℂ
24 3p2e5 12437 . . 3 (3 + 2) = 5
2521, 22, 23, 24subaddrii 11593 . 2 (5 − 3) = 2
2617, 20, 253eqtr2i 2789 1 ((𝑂‘(𝑋 (𝐴‘3)))‘5) = 2
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  wcel 2145  cfv 6534  (class class class)co 7415  cmin 11487  2c2 12341  3c3 12342  5c5 12344  cz 12637  Basecbs 17323  -gcsg 19082  CRingccrg 20396  ringczring 21688  algSccascl 22096  var1cv1 22430  Poly1cpl1 22431  eval1ce1 22568
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7738  ax-cnex 11202  ax-resscn 11203  ax-1cn 11204  ax-icn 11205  ax-addcl 11206  ax-addrcl 11207  ax-mulcl 11208  ax-mulrcl 11209  ax-mulcom 11210  ax-addass 11211  ax-mulass 11212  ax-distr 11213  ax-i2m1 11214  ax-1ne0 11215  ax-1rid 11216  ax-rnegex 11217  ax-rrecex 11218  ax-cnre 11219  ax-pre-lttri 11220  ax-pre-lttrn 11221  ax-pre-ltadd 11222  ax-pre-mulgt0 11223  ax-addf 11225
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  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 6300  df-ord 6361  df-on 6362  df-lim 6363  df-suc 6364  df-iota 6490  df-fun 6536  df-fn 6537  df-f 6538  df-f1 6539  df-fo 6540  df-f1o 6541  df-fv 6542  df-isom 6543  df-riota 7372  df-ov 7418  df-oprab 7419  df-mpo 7420  df-of 7680  df-ofr 7681  df-om 7865  df-1st 7988  df-2nd 7989  df-supp 8161  df-frecs 8282  df-wrecs 8313  df-recs 8362  df-rdg 8401  df-1o 8459  df-2o 8460  df-er 8700  df-map 8832  df-pm 8833  df-ixp 8909  df-en 8957  df-dom 8958  df-sdom 8959  df-fin 8960  df-fsupp 9336  df-sup 9416  df-oi 9486  df-card 9966  df-pnf 11291  df-mnf 11292  df-xr 11293  df-ltxr 11294  df-le 11295  df-sub 11489  df-neg 11490  df-nn 12280  df-2 12349  df-3 12350  df-4 12351  df-5 12352  df-6 12353  df-7 12354  df-8 12355  df-9 12356  df-n0 12551  df-z 12638  df-dec 12759  df-uz 12910  df-fz 13584  df-fzo 13732  df-seq 14088  df-hash 14417  df-struct 17261  df-sets 17278  df-slot 17296  df-ndx 17308  df-base 17324  df-ress 17345  df-plusg 17377  df-mulr 17378  df-starv 17379  df-sca 17380  df-vsca 17381  df-ip 17382  df-tset 17383  df-ple 17384  df-ds 17386  df-unif 17387  df-hom 17388  df-cco 17389  df-0g 17548  df-gsum 17549  df-prds 17554  df-pws 17556  df-mre 17692  df-mrc 17693  df-acs 17695  df-mgm 18752  df-sgrp 18844  df-mnd 18860  df-mhm 18914  df-submnd 18915  df-grp 19083  df-minusg 19084  df-sbg 19085  df-mulg 19214  df-subg 19269  df-ghm 19364  df-cntz 19467  df-cmn 19932  df-abl 19933  df-mgp 20297  df-rng 20311  df-ur 20344  df-srg 20349  df-ring 20397  df-cring 20398  df-rhm 20638  df-subrng 20734  df-subrg 20758  df-lmod 21073  df-lss 21143  df-lsp 21183  df-cnfld 21615  df-zring 21689  df-assa 22097  df-asp 22098  df-ascl 22099  df-psr 22153  df-mvr 22154  df-mpl 22155  df-opsr 22157  df-evls 22319  df-evl 22320  df-psr1 22434  df-vr1 22435  df-ply1 22436  df-evl1 22570
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator