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

Theorem dchrelbas4 20988
Description: A Dirichlet character is a monoid homomorphism from the multiplicative monoid on ℤ/nℤ to the multiplicative monoid of  CC, which is zero off the group of units of ℤ/nℤ. (Contributed by Mario Carneiro, 18-Apr-2016.)
Hypotheses
Ref Expression
dchrmhm.g  |-  G  =  (DChr `  N )
dchrmhm.z  |-  Z  =  (ℤ/n `  N )
dchrmhm.b  |-  D  =  ( Base `  G
)
dchrelbas4.l  |-  L  =  ( ZRHom `  Z
)
Assertion
Ref Expression
dchrelbas4  |-  ( X  e.  D  <->  ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) )
Distinct variable groups:    x, L    x, N    x, X    x, Z    x, D
Allowed substitution hint:    G( x)

Proof of Theorem dchrelbas4
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 dchrmhm.g . . . 4  |-  G  =  (DChr `  N )
2 dchrmhm.b . . . 4  |-  D  =  ( Base `  G
)
31, 2dchrrcl 20985 . . 3  |-  ( X  e.  D  ->  N  e.  NN )
4 dchrmhm.z . . . . 5  |-  Z  =  (ℤ/n `  N )
5 eqid 2412 . . . . 5  |-  ( Base `  Z )  =  (
Base `  Z )
6 eqid 2412 . . . . 5  |-  (Unit `  Z )  =  (Unit `  Z )
7 id 20 . . . . 5  |-  ( N  e.  NN  ->  N  e.  NN )
81, 4, 5, 6, 7, 2dchrelbas2 20982 . . . 4  |-  ( N  e.  NN  ->  ( X  e.  D  <->  ( X  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  /\  A. y  e.  ( Base `  Z ) ( ( X `  y )  =/=  0  ->  y  e.  (Unit `  Z )
) ) ) )
9 nnnn0 10192 . . . . . . . 8  |-  ( N  e.  NN  ->  N  e.  NN0 )
109adantr 452 . . . . . . 7  |-  ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  ->  N  e.  NN0 )
11 dchrelbas4.l . . . . . . . 8  |-  L  =  ( ZRHom `  Z
)
124, 5, 11znzrhfo 16791 . . . . . . 7  |-  ( N  e.  NN0  ->  L : ZZ -onto-> ( Base `  Z
) )
13 fveq2 5695 . . . . . . . . . 10  |-  ( ( L `  x )  =  y  ->  ( X `  ( L `  x ) )  =  ( X `  y
) )
1413neeq1d 2588 . . . . . . . . 9  |-  ( ( L `  x )  =  y  ->  (
( X `  ( L `  x )
)  =/=  0  <->  ( X `  y )  =/=  0 ) )
15 eleq1 2472 . . . . . . . . 9  |-  ( ( L `  x )  =  y  ->  (
( L `  x
)  e.  (Unit `  Z )  <->  y  e.  (Unit `  Z ) ) )
1614, 15imbi12d 312 . . . . . . . 8  |-  ( ( L `  x )  =  y  ->  (
( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  ( ( X `  y )  =/=  0  ->  y  e.  (Unit `  Z )
) ) )
1716cbvfo 5989 . . . . . . 7  |-  ( L : ZZ -onto-> ( Base `  Z )  ->  ( A. x  e.  ZZ  ( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  A. y  e.  ( Base `  Z
) ( ( X `
 y )  =/=  0  ->  y  e.  (Unit `  Z ) ) ) )
1810, 12, 173syl 19 . . . . . 6  |-  ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  ->  ( A. x  e.  ZZ  ( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  A. y  e.  ( Base `  Z
) ( ( X `
 y )  =/=  0  ->  y  e.  (Unit `  Z ) ) ) )
19 df-ne 2577 . . . . . . . . . 10  |-  ( ( X `  ( L `
 x ) )  =/=  0  <->  -.  ( X `  ( L `  x ) )  =  0 )
2019a1i 11 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( X `  ( L `  x )
)  =/=  0  <->  -.  ( X `  ( L `
 x ) )  =  0 ) )
214, 6, 11znunit 16807 . . . . . . . . . . 11  |-  ( ( N  e.  NN0  /\  x  e.  ZZ )  ->  ( ( L `  x )  e.  (Unit `  Z )  <->  ( x  gcd  N )  =  1 ) )
2210, 21sylan 458 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( L `  x
)  e.  (Unit `  Z )  <->  ( x  gcd  N )  =  1 ) )
23 1re 9054 . . . . . . . . . . . . 13  |-  1  e.  RR
2423a1i 11 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  1  e.  RR )
25 simpr 448 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  x  e.  ZZ )
26 simpll 731 . . . . . . . . . . . . . . 15  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  N  e.  NN )
2726nnzd 10338 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  N  e.  ZZ )
28 nnne0 9996 . . . . . . . . . . . . . . 15  |-  ( N  e.  NN  ->  N  =/=  0 )
29 simpr 448 . . . . . . . . . . . . . . . 16  |-  ( ( x  =  0  /\  N  =  0 )  ->  N  =  0 )
3029necon3ai 2615 . . . . . . . . . . . . . . 15  |-  ( N  =/=  0  ->  -.  ( x  =  0  /\  N  =  0
) )
3126, 28, 303syl 19 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  -.  ( x  =  0  /\  N  =  0
) )
32 gcdn0cl 12977 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  ZZ  /\  N  e.  ZZ )  /\  -.  ( x  =  0  /\  N  =  0 ) )  ->  ( x  gcd  N )  e.  NN )
3325, 27, 31, 32syl21anc 1183 . . . . . . . . . . . . 13  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
x  gcd  N )  e.  NN )
3433nnred 9979 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
x  gcd  N )  e.  RR )
3533nnge1d 10006 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  1  <_  ( x  gcd  N
) )
3624, 34, 35leltned 9188 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
1  <  ( x  gcd  N )  <->  ( x  gcd  N )  =/=  1
) )
3736necon2bbid 2633 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( x  gcd  N
)  =  1  <->  -.  1  <  ( x  gcd  N ) ) )
3822, 37bitrd 245 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( L `  x
)  e.  (Unit `  Z )  <->  -.  1  <  ( x  gcd  N
) ) )
3920, 38imbi12d 312 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  ( -.  ( X `  ( L `
 x ) )  =  0  ->  -.  1  <  ( x  gcd  N ) ) ) )
40 con34b 284 . . . . . . . 8  |-  ( ( 1  <  ( x  gcd  N )  -> 
( X `  ( L `  x )
)  =  0 )  <-> 
( -.  ( X `
 ( L `  x ) )  =  0  ->  -.  1  <  ( x  gcd  N
) ) )
4139, 40syl6bbr 255 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  /\  x  e.  ZZ )  ->  (
( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  ( 1  <  ( x  gcd  N )  ->  ( X `  ( L `  x
) )  =  0 ) ) )
4241ralbidva 2690 . . . . . 6  |-  ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  ->  ( A. x  e.  ZZ  ( ( X `  ( L `  x ) )  =/=  0  -> 
( L `  x
)  e.  (Unit `  Z ) )  <->  A. x  e.  ZZ  ( 1  < 
( x  gcd  N
)  ->  ( X `  ( L `  x
) )  =  0 ) ) )
4318, 42bitr3d 247 . . . . 5  |-  ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
) )  ->  ( A. y  e.  ( Base `  Z ) ( ( X `  y
)  =/=  0  -> 
y  e.  (Unit `  Z ) )  <->  A. x  e.  ZZ  ( 1  < 
( x  gcd  N
)  ->  ( X `  ( L `  x
) )  =  0 ) ) )
4443pm5.32da 623 . . . 4  |-  ( N  e.  NN  ->  (
( X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld ) )  /\  A. y  e.  ( Base `  Z ) ( ( X `  y )  =/=  0  ->  y  e.  (Unit `  Z )
) )  <->  ( X  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) ) )
458, 44bitrd 245 . . 3  |-  ( N  e.  NN  ->  ( X  e.  D  <->  ( X  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) ) )
463, 45biadan2 624 . 2  |-  ( X  e.  D  <->  ( N  e.  NN  /\  ( X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) ) )
47 3anass 940 . 2  |-  ( ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
)  /\  A. x  e.  ZZ  ( 1  < 
( x  gcd  N
)  ->  ( X `  ( L `  x
) )  =  0 ) )  <->  ( N  e.  NN  /\  ( X  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) ) )
4846, 47bitr4i 244 1  |-  ( X  e.  D  <->  ( N  e.  NN  /\  X  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  /\  A. x  e.  ZZ  (
1  <  ( x  gcd  N )  ->  ( X `  ( L `  x ) )  =  0 ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721    =/= wne 2575   A.wral 2674   class class class wbr 4180   -onto->wfo 5419   ` cfv 5421  (class class class)co 6048   RRcr 8953   0cc0 8954   1c1 8955    < clt 9084   NNcn 9964   NN0cn0 10185   ZZcz 10246    gcd cgcd 12969   Basecbs 13432   MndHom cmhm 14699  mulGrpcmgp 15611  Unitcui 15707  ℂfldccnfld 16666   ZRHomczrh 16741  ℤ/nczn 16744  DChrcdchr 20977
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2393  ax-rep 4288  ax-sep 4298  ax-nul 4306  ax-pow 4345  ax-pr 4371  ax-un 4668  ax-inf2 7560  ax-cnex 9010  ax-resscn 9011  ax-1cn 9012  ax-icn 9013  ax-addcl 9014  ax-addrcl 9015  ax-mulcl 9016  ax-mulrcl 9017  ax-mulcom 9018  ax-addass 9019  ax-mulass 9020  ax-distr 9021  ax-i2m1 9022  ax-1ne0 9023  ax-1rid 9024  ax-rnegex 9025  ax-rrecex 9026  ax-cnre 9027  ax-pre-lttri 9028  ax-pre-lttrn 9029  ax-pre-ltadd 9030  ax-pre-mulgt0 9031  ax-pre-sup 9032  ax-addf 9033  ax-mulf 9034
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2266  df-mo 2267  df-clab 2399  df-cleq 2405  df-clel 2408  df-nfc 2537  df-ne 2577  df-nel 2578  df-ral 2679  df-rex 2680  df-reu 2681  df-rmo 2682  df-rab 2683  df-v 2926  df-sbc 3130  df-csb 3220  df-dif 3291  df-un 3293  df-in 3295  df-ss 3302  df-pss 3304  df-nul 3597  df-if 3708  df-pw 3769  df-sn 3788  df-pr 3789  df-tp 3790  df-op 3791  df-uni 3984  df-int 4019  df-iun 4063  df-br 4181  df-opab 4235  df-mpt 4236  df-tr 4271  df-eprel 4462  df-id 4466  df-po 4471  df-so 4472  df-fr 4509  df-we 4511  df-ord 4552  df-on 4553  df-lim 4554  df-suc 4555  df-om 4813  df-xp 4851  df-rel 4852  df-cnv 4853  df-co 4854  df-dm 4855  df-rn 4856  df-res 4857  df-ima 4858  df-iota 5385  df-fun 5423  df-fn 5424  df-f 5425  df-f1 5426  df-fo 5427  df-f1o 5428  df-fv 5429  df-ov 6051  df-oprab 6052  df-mpt2 6053  df-1st 6316  df-2nd 6317  df-tpos 6446  df-riota 6516  df-recs 6600  df-rdg 6635  df-1o 6691  df-oadd 6695  df-er 6872  df-ec 6874  df-qs 6878  df-map 6987  df-en 7077  df-dom 7078  df-sdom 7079  df-fin 7080  df-sup 7412  df-pnf 9086  df-mnf 9087  df-xr 9088  df-ltxr 9089  df-le 9090  df-sub 9257  df-neg 9258  df-div 9642  df-nn 9965  df-2 10022  df-3 10023  df-4 10024  df-5 10025  df-6 10026  df-7 10027  df-8 10028  df-9 10029  df-10 10030  df-n0 10186  df-z 10247  df-dec 10347  df-uz 10453  df-rp 10577  df-fz 11008  df-fl 11165  df-mod 11214  df-seq 11287  df-exp 11346  df-cj 11867  df-re 11868  df-im 11869  df-sqr 12003  df-abs 12004  df-dvds 12816  df-gcd 12970  df-struct 13434  df-ndx 13435  df-slot 13436  df-base 13437  df-sets 13438  df-ress 13439  df-plusg 13505  df-mulr 13506  df-starv 13507  df-sca 13508  df-vsca 13509  df-tset 13511  df-ple 13512  df-ds 13514  df-unif 13515  df-0g 13690  df-imas 13697  df-divs 13698  df-mnd 14653  df-mhm 14701  df-grp 14775  df-minusg 14776  df-sbg 14777  df-mulg 14778  df-subg 14904  df-nsg 14905  df-eqg 14906  df-ghm 14967  df-cmn 15377  df-abl 15378  df-mgp 15612  df-rng 15626  df-cring 15627  df-ur 15628  df-oppr 15691  df-dvdsr 15709  df-unit 15710  df-rnghom 15782  df-subrg 15829  df-lmod 15915  df-lss 15972  df-lsp 16011  df-sra 16207  df-rgmod 16208  df-lidl 16209  df-rsp 16210  df-2idl 16266  df-cnfld 16667  df-zrh 16745  df-zn 16748  df-dchr 20978
  Copyright terms: Public domain W3C validator