MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  domnchr Unicode version

Theorem domnchr 16486
Description: The characteristic of a domain can only be zero or a prime. (Contributed by Stefan O'Rear, 6-Sep-2015.)
Assertion
Ref Expression
domnchr  |-  ( R  e. Domn  ->  ( (chr `  R )  =  0  \/  (chr `  R
)  e.  Prime )
)

Proof of Theorem domnchr
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ne 2448 . . 3  |-  ( (chr
`  R )  =/=  0  <->  -.  (chr `  R
)  =  0 )
2 domnrng 16037 . . . . . . . . . 10  |-  ( R  e. Domn  ->  R  e.  Ring )
3 eqid 2283 . . . . . . . . . . 11  |-  (chr `  R )  =  (chr
`  R )
43chrcl 16480 . . . . . . . . . 10  |-  ( R  e.  Ring  ->  (chr `  R )  e.  NN0 )
52, 4syl 15 . . . . . . . . 9  |-  ( R  e. Domn  ->  (chr `  R
)  e.  NN0 )
65adantr 451 . . . . . . . 8  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  e.  NN0 )
7 simpr 447 . . . . . . . 8  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  =/=  0 )
8 eldifsn 3749 . . . . . . . 8  |-  ( (chr
`  R )  e.  ( NN0  \  {
0 } )  <->  ( (chr `  R )  e.  NN0  /\  (chr `  R )  =/=  0 ) )
96, 7, 8sylanbrc 645 . . . . . . 7  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  e.  ( NN0  \  { 0 } ) )
10 dfn2 9978 . . . . . . 7  |-  NN  =  ( NN0  \  { 0 } )
119, 10syl6eleqr 2374 . . . . . 6  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  e.  NN )
12 domnnzr 16036 . . . . . . . 8  |-  ( R  e. Domn  ->  R  e. NzRing )
13 nzrrng 16013 . . . . . . . . . 10  |-  ( R  e. NzRing  ->  R  e.  Ring )
14 chrnzr 16484 . . . . . . . . . 10  |-  ( R  e.  Ring  ->  ( R  e. NzRing 
<->  (chr `  R )  =/=  1 ) )
1513, 14syl 15 . . . . . . . . 9  |-  ( R  e. NzRing  ->  ( R  e. NzRing  <->  (chr
`  R )  =/=  1 ) )
1615ibi 232 . . . . . . . 8  |-  ( R  e. NzRing  ->  (chr `  R
)  =/=  1 )
1712, 16syl 15 . . . . . . 7  |-  ( R  e. Domn  ->  (chr `  R
)  =/=  1 )
1817adantr 451 . . . . . 6  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  =/=  1 )
19 eluz2b3 10291 . . . . . 6  |-  ( (chr
`  R )  e.  ( ZZ>= `  2 )  <->  ( (chr `  R )  e.  NN  /\  (chr `  R )  =/=  1
) )
2011, 18, 19sylanbrc 645 . . . . 5  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  e.  ( ZZ>= ` 
2 ) )
212ad2antrr 706 . . . . . . . . . . . 12  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  R  e.  Ring )
22 eqid 2283 . . . . . . . . . . . . 13  |-  (flds  ZZ )  =  (flds  ZZ )
23 eqid 2283 . . . . . . . . . . . . 13  |-  ( ZRHom `  R )  =  ( ZRHom `  R )
2422, 23zrhrhm 16466 . . . . . . . . . . . 12  |-  ( R  e.  Ring  ->  ( ZRHom `  R )  e.  ( (flds  ZZ ) RingHom  R ) )
2521, 24syl 15 . . . . . . . . . . 11  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( ZRHom `  R )  e.  ( (flds  ZZ ) RingHom  R ) )
26 simprl 732 . . . . . . . . . . 11  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  x  e.  ZZ )
27 simprr 733 . . . . . . . . . . 11  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  y  e.  ZZ )
28 zsscn 10032 . . . . . . . . . . . . 13  |-  ZZ  C_  CC
29 cnfldbas 16383 . . . . . . . . . . . . . 14  |-  CC  =  ( Base ` fld )
3022, 29ressbas2 13199 . . . . . . . . . . . . 13  |-  ( ZZ  C_  CC  ->  ZZ  =  ( Base `  (flds  ZZ ) ) )
3128, 30ax-mp 8 . . . . . . . . . . . 12  |-  ZZ  =  ( Base `  (flds  ZZ ) )
32 zex 10033 . . . . . . . . . . . . 13  |-  ZZ  e.  _V
33 cnfldmul 16385 . . . . . . . . . . . . . 14  |-  x.  =  ( .r ` fld )
3422, 33ressmulr 13261 . . . . . . . . . . . . 13  |-  ( ZZ  e.  _V  ->  x.  =  ( .r `  (flds  ZZ ) ) )
3532, 34ax-mp 8 . . . . . . . . . . . 12  |-  x.  =  ( .r `  (flds  ZZ ) )
36 eqid 2283 . . . . . . . . . . . 12  |-  ( .r
`  R )  =  ( .r `  R
)
3731, 35, 36rhmmul 15505 . . . . . . . . . . 11  |-  ( ( ( ZRHom `  R
)  e.  ( (flds  ZZ ) RingHom  R )  /\  x  e.  ZZ  /\  y  e.  ZZ )  ->  (
( ZRHom `  R
) `  ( x  x.  y ) )  =  ( ( ( ZRHom `  R ) `  x
) ( .r `  R ) ( ( ZRHom `  R ) `  y ) ) )
3825, 26, 27, 37syl3anc 1182 . . . . . . . . . 10  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( ( ZRHom `  R ) `  ( x  x.  y
) )  =  ( ( ( ZRHom `  R ) `  x
) ( .r `  R ) ( ( ZRHom `  R ) `  y ) ) )
3938eqeq1d 2291 . . . . . . . . 9  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (
( ZRHom `  R
) `  ( x  x.  y ) )  =  ( 0g `  R
)  <->  ( ( ( ZRHom `  R ) `  x ) ( .r
`  R ) ( ( ZRHom `  R
) `  y )
)  =  ( 0g
`  R ) ) )
40 simpll 730 . . . . . . . . . 10  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  R  e. Domn )
41 eqid 2283 . . . . . . . . . . . . 13  |-  ( Base `  R )  =  (
Base `  R )
4231, 41rhmf 15504 . . . . . . . . . . . 12  |-  ( ( ZRHom `  R )  e.  ( (flds  ZZ ) RingHom  R )  ->  ( ZRHom `  R ) : ZZ --> ( Base `  R
) )
4325, 42syl 15 . . . . . . . . . . 11  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( ZRHom `  R ) : ZZ --> ( Base `  R )
)
44 ffvelrn 5663 . . . . . . . . . . 11  |-  ( ( ( ZRHom `  R
) : ZZ --> ( Base `  R )  /\  x  e.  ZZ )  ->  (
( ZRHom `  R
) `  x )  e.  ( Base `  R
) )
4543, 26, 44syl2anc 642 . . . . . . . . . 10  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( ( ZRHom `  R ) `  x )  e.  (
Base `  R )
)
46 ffvelrn 5663 . . . . . . . . . . 11  |-  ( ( ( ZRHom `  R
) : ZZ --> ( Base `  R )  /\  y  e.  ZZ )  ->  (
( ZRHom `  R
) `  y )  e.  ( Base `  R
) )
4743, 27, 46syl2anc 642 . . . . . . . . . 10  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( ( ZRHom `  R ) `  y )  e.  (
Base `  R )
)
48 eqid 2283 . . . . . . . . . . 11  |-  ( 0g
`  R )  =  ( 0g `  R
)
4941, 36, 48domneq0 16038 . . . . . . . . . 10  |-  ( ( R  e. Domn  /\  (
( ZRHom `  R
) `  x )  e.  ( Base `  R
)  /\  ( ( ZRHom `  R ) `  y )  e.  (
Base `  R )
)  ->  ( (
( ( ZRHom `  R ) `  x
) ( .r `  R ) ( ( ZRHom `  R ) `  y ) )  =  ( 0g `  R
)  <->  ( ( ( ZRHom `  R ) `  x )  =  ( 0g `  R )  \/  ( ( ZRHom `  R ) `  y
)  =  ( 0g
`  R ) ) ) )
5040, 45, 47, 49syl3anc 1182 . . . . . . . . 9  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (
( ( ZRHom `  R ) `  x
) ( .r `  R ) ( ( ZRHom `  R ) `  y ) )  =  ( 0g `  R
)  <->  ( ( ( ZRHom `  R ) `  x )  =  ( 0g `  R )  \/  ( ( ZRHom `  R ) `  y
)  =  ( 0g
`  R ) ) ) )
5139, 50bitrd 244 . . . . . . . 8  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (
( ZRHom `  R
) `  ( x  x.  y ) )  =  ( 0g `  R
)  <->  ( ( ( ZRHom `  R ) `  x )  =  ( 0g `  R )  \/  ( ( ZRHom `  R ) `  y
)  =  ( 0g
`  R ) ) ) )
5251biimpd 198 . . . . . . 7  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (
( ZRHom `  R
) `  ( x  x.  y ) )  =  ( 0g `  R
)  ->  ( (
( ZRHom `  R
) `  x )  =  ( 0g `  R )  \/  (
( ZRHom `  R
) `  y )  =  ( 0g `  R ) ) ) )
53 zmulcl 10066 . . . . . . . . 9  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  ( x  x.  y
)  e.  ZZ )
5453adantl 452 . . . . . . . 8  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( x  x.  y )  e.  ZZ )
553, 23, 48chrdvds 16482 . . . . . . . 8  |-  ( ( R  e.  Ring  /\  (
x  x.  y )  e.  ZZ )  -> 
( (chr `  R
)  ||  ( x  x.  y )  <->  ( ( ZRHom `  R ) `  ( x  x.  y
) )  =  ( 0g `  R ) ) )
5621, 54, 55syl2anc 642 . . . . . . 7  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (chr `  R )  ||  (
x  x.  y )  <-> 
( ( ZRHom `  R ) `  (
x  x.  y ) )  =  ( 0g
`  R ) ) )
573, 23, 48chrdvds 16482 . . . . . . . . 9  |-  ( ( R  e.  Ring  /\  x  e.  ZZ )  ->  (
(chr `  R )  ||  x  <->  ( ( ZRHom `  R ) `  x
)  =  ( 0g
`  R ) ) )
5821, 26, 57syl2anc 642 . . . . . . . 8  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (chr `  R )  ||  x  <->  ( ( ZRHom `  R
) `  x )  =  ( 0g `  R ) ) )
593, 23, 48chrdvds 16482 . . . . . . . . 9  |-  ( ( R  e.  Ring  /\  y  e.  ZZ )  ->  (
(chr `  R )  ||  y  <->  ( ( ZRHom `  R ) `  y
)  =  ( 0g
`  R ) ) )
6021, 27, 59syl2anc 642 . . . . . . . 8  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (chr `  R )  ||  y  <->  ( ( ZRHom `  R
) `  y )  =  ( 0g `  R ) ) )
6158, 60orbi12d 690 . . . . . . 7  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (
(chr `  R )  ||  x  \/  (chr `  R )  ||  y
)  <->  ( ( ( ZRHom `  R ) `  x )  =  ( 0g `  R )  \/  ( ( ZRHom `  R ) `  y
)  =  ( 0g
`  R ) ) ) )
6252, 56, 613imtr4d 259 . . . . . 6  |-  ( ( ( R  e. Domn  /\  (chr `  R )  =/=  0 )  /\  (
x  e.  ZZ  /\  y  e.  ZZ )
)  ->  ( (chr `  R )  ||  (
x  x.  y )  ->  ( (chr `  R )  ||  x  \/  (chr `  R )  ||  y ) ) )
6362ralrimivva 2635 . . . . 5  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  A. x  e.  ZZ  A. y  e.  ZZ  ( (chr `  R )  ||  (
x  x.  y )  ->  ( (chr `  R )  ||  x  \/  (chr `  R )  ||  y ) ) )
64 isprm6 12788 . . . . 5  |-  ( (chr
`  R )  e. 
Prime 
<->  ( (chr `  R
)  e.  ( ZZ>= ` 
2 )  /\  A. x  e.  ZZ  A. y  e.  ZZ  ( (chr `  R )  ||  (
x  x.  y )  ->  ( (chr `  R )  ||  x  \/  (chr `  R )  ||  y ) ) ) )
6520, 63, 64sylanbrc 645 . . . 4  |-  ( ( R  e. Domn  /\  (chr `  R )  =/=  0
)  ->  (chr `  R
)  e.  Prime )
6665ex 423 . . 3  |-  ( R  e. Domn  ->  ( (chr `  R )  =/=  0  ->  (chr `  R )  e.  Prime ) )
671, 66syl5bir 209 . 2  |-  ( R  e. Domn  ->  ( -.  (chr `  R )  =  0  ->  (chr `  R
)  e.  Prime )
)
6867orrd 367 1  |-  ( R  e. Domn  ->  ( (chr `  R )  =  0  \/  (chr `  R
)  e.  Prime )
)
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   A.wral 2543   _Vcvv 2788    \ cdif 3149    C_ wss 3152   {csn 3640   class class class wbr 4023   -->wf 5251   ` cfv 5255  (class class class)co 5858   CCcc 8735   0cc0 8737   1c1 8738    x. cmul 8742   NNcn 9746   2c2 9795   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230    || cdivides 12531   Primecprime 12758   Basecbs 13148   ↾s cress 13149   .rcmulr 13209   0gc0g 13400   Ringcrg 15337   RingHom crh 15494  NzRingcnzr 16009  Domncdomn 16021  ℂfldccnfld 16377   ZRHomczrh 16451  chrcchr 16453
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815  ax-addf 8816  ax-mulf 8817
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-2o 6480  df-oadd 6483  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-4 9806  df-5 9807  df-6 9808  df-7 9809  df-8 9810  df-9 9811  df-10 9812  df-n0 9966  df-z 10025  df-dec 10125  df-uz 10231  df-rp 10355  df-fz 10783  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532  df-gcd 12686  df-prm 12759  df-struct 13150  df-ndx 13151  df-slot 13152  df-base 13153  df-sets 13154  df-ress 13155  df-plusg 13221  df-mulr 13222  df-starv 13223  df-tset 13227  df-ple 13228  df-ds 13230  df-0g 13404  df-mnd 14367  df-mhm 14415  df-grp 14489  df-minusg 14490  df-sbg 14491  df-mulg 14492  df-subg 14618  df-ghm 14681  df-od 14844  df-cmn 15091  df-mgp 15326  df-rng 15340  df-cring 15341  df-ur 15342  df-rnghom 15496  df-subrg 15543  df-nzr 16010  df-domn 16025  df-cnfld 16378  df-zrh 16455  df-chr 16457
  Copyright terms: Public domain W3C validator