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

Theorem chrval 21834
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 6885 . . . . . 6 (𝑟 = 𝑅 → (od‘𝑟) = (od‘𝑅))
3 chrval.o . . . . . 6 𝑂 = (od‘𝑅)
42, 3eqtr4di 2813 . . . . 5 (𝑟 = 𝑅 → (od‘𝑟) = 𝑂)
5 fveq2 6885 . . . . . 6 (𝑟 = 𝑅 → (1r‘𝑟) = (1r‘𝑅))
6 chrval.u . . . . . 6 1 = (1r‘𝑅)
75, 6eqtr4di 2813 . . . . 5 (𝑟 = 𝑅 → (1r‘𝑟) = 1 )
84, 7fveq12d 6892 . . . 4 (𝑟 = 𝑅 → ((od‘𝑟)‘(1r‘𝑟)) = (𝑂‘ 1 ))
9 df-chr 21816 . . . 4 chr = (𝑟 ∈ V ↦ ((od‘𝑟)‘(1r‘𝑟)))
10 fvex 6898 . . . 4 (𝑂‘ 1 ) ∈ V
118, 9, 10fvmpt 6993 . . 3 (𝑅 ∈ V → (chr‘𝑅) = (𝑂‘ 1 ))
12 fvprc 6877 . . . 4 (¬ 𝑅 ∈ V → (chr‘𝑅) = ∅)
13 fvprc 6877 . . . . . . 7 (¬ 𝑅 ∈ V → (od‘𝑅) = ∅)
143, 13eqtrid 2807 . . . . . 6 (¬ 𝑅 ∈ V → 𝑂 = ∅)
1514fveq1d 6887 . . . . 5 (¬ 𝑅 ∈ V → (𝑂‘ 1 ) = (∅‘ 1 ))
16 0fv 6926 . . . . 5 (∅‘ 1 ) = ∅
1715, 16eqtrdi 2811 . . . 4 (¬ 𝑅 ∈ V → (𝑂‘ 1 ) = ∅)
1812, 17eqtr4d 2798 . . 3 (¬ 𝑅 ∈ V → (chr‘𝑅) = (𝑂‘ 1 ))
1911, 18pm2.61i 184 . 2 (chr‘𝑅) = (𝑂‘ 1 )
201, 19eqtr2i 2784 1 (𝑂‘ 1 ) = 𝐶
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ∅c0 4278  ‘cfv 6538  odcod 19743  1rcur 20412  chrcchr 21812
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-chr 21816
This theorem is used by:  chrcl  21835  chrid  21836  chrdvds  21837  chrcong  21838  dvdschrmulg  21839  ofldchr  21887  ply1chr  22629  subrgchr  33843  zrhchr  34652
  Copyright terms: Public domain W3C validator