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

Theorem chrval 21862
Description: Definition substitution of the ring characteristic. (Contributed by Stefan O'Rear, 5-Sep-2015.)
Hypotheses
Ref Expression
chrval.o 𝑂 = (od‘𝑅)
chrval.u 1 = (1r‘𝑅)
chrval.c 𝐶 = (chr‘𝑅)
Assertion
Ref Expression
chrval (𝑂‘ 1 ) = 𝐶

Proof of Theorem chrval
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 chrval.c . 2 𝐶 = (chr‘𝑅)
2 fveq2 6911 . . . . . 6 (𝑟 = 𝑅 → (od‘𝑟) = (od‘𝑅))
3 chrval.o . . . . . 6 𝑂 = (od‘𝑅)
42, 3eqtr4di 2816 . . . . 5 (𝑟 = 𝑅 → (od‘𝑟) = 𝑂)
5 fveq2 6911 . . . . . 6 (𝑟 = 𝑅 → (1r‘𝑟) = (1r‘𝑅))
6 chrval.u . . . . . 6 1 = (1r‘𝑅)
75, 6eqtr4di 2816 . . . . 5 (𝑟 = 𝑅 → (1r‘𝑟) = 1 )
84, 7fveq12d 6918 . . . 4 (𝑟 = 𝑅 → ((od‘𝑟)‘(1r‘𝑟)) = (𝑂‘ 1 ))
9 df-chr 21844 . . . 4 chr = (𝑟 ∈ V ↦ ((od‘𝑟)‘(1r‘𝑟)))
10 fvex 6924 . . . 4 (𝑂‘ 1 ) ∈ V
118, 9, 10fvmpt 7019 . . 3 (𝑅 ∈ V → (chr‘𝑅) = (𝑂‘ 1 ))
12 fvprc 6903 . . . 4 (¬ 𝑅 ∈ V → (chr‘𝑅) = ∅)
13 fvprc 6903 . . . . . . 7 (¬ 𝑅 ∈ V → (od‘𝑅) = ∅)
143, 13eqtrid 2810 . . . . . 6 (¬ 𝑅 ∈ V → 𝑂 = ∅)
1514fveq1d 6913 . . . . 5 (¬ 𝑅 ∈ V → (𝑂‘ 1 ) = (∅‘ 1 ))
16 0fv 6952 . . . . 5 (∅‘ 1 ) = ∅
1715, 16eqtrdi 2814 . . . 4 (¬ 𝑅 ∈ V → (𝑂‘ 1 ) = ∅)
1812, 17eqtr4d 2801 . . 3 (¬ 𝑅 ∈ V → (chr‘𝑅) = (𝑂‘ 1 ))
1911, 18pm2.61i 184 . 2 (chr‘𝑅) = (𝑂‘ 1 )
201, 19eqtr2i 2787 1 (𝑂‘ 1 ) = 𝐶
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ∅c0 4281  ‘cfv 6561  odcod 19771  1rcur 20440  chrcchr 21840
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-sep 5253  ax-nul 5264  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-iota 6515  df-fun 6563  df-fv 6569  df-chr 21844
This theorem is used by:  chrcl  21863  chrid  21864  chrdvds  21865  chrcong  21866  dvdschrmulg  21867  ofldchr  21915  ply1chr  22657  subrgchr  33873  zrhchr  34689
  Copyright terms: Public domain W3C validator