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

Theorem dchrval 21020
Description: Value of the group of Dirichlet characters. (Contributed by Mario Carneiro, 18-Apr-2016.)
Hypotheses
Ref Expression
dchrval.g  |-  G  =  (DChr `  N )
dchrval.z  |-  Z  =  (ℤ/n `  N )
dchrval.b  |-  B  =  ( Base `  Z
)
dchrval.u  |-  U  =  (Unit `  Z )
dchrval.n  |-  ( ph  ->  N  e.  NN )
dchrval.d  |-  ( ph  ->  D  =  { x  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  |  ( ( B  \  U
)  X.  { 0 } )  C_  x } )
Assertion
Ref Expression
dchrval  |-  ( ph  ->  G  =  { <. (
Base `  ndx ) ,  D >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D
) ) >. } )
Distinct variable groups:    x, B    x, N    x, U    ph, x    x, Z
Allowed substitution hints:    D( x)    G( x)

Proof of Theorem dchrval
Dummy variables  z  n  b are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dchrval.g . 2  |-  G  =  (DChr `  N )
2 df-dchr 21019 . . . 4  |- DChr  =  ( n  e.  NN  |->  [_ (ℤ/n `  n )  /  z ]_ [_ { x  e.  ( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  /  b ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b ) )
>. } )
32a1i 11 . . 3  |-  ( ph  -> DChr  =  ( n  e.  NN  |->  [_ (ℤ/n `  n )  /  z ]_ [_ { x  e.  ( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  /  b ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b ) )
>. } ) )
4 fvex 5744 . . . . 5  |-  (ℤ/n `  n
)  e.  _V
54a1i 11 . . . 4  |-  ( (
ph  /\  n  =  N )  ->  (ℤ/n `  n
)  e.  _V )
6 ovex 6108 . . . . . . 7  |-  ( (mulGrp `  z ) MndHom  (mulGrp ` fld )
)  e.  _V
76rabex 4356 . . . . . 6  |-  { x  e.  ( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  e.  _V
87a1i 11 . . . . 5  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  ->  { x  e.  (
(mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  e.  _V )
9 dchrval.d . . . . . . . . . . 11  |-  ( ph  ->  D  =  { x  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  |  ( ( B  \  U
)  X.  { 0 } )  C_  x } )
109ad2antrr 708 . . . . . . . . . 10  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  ->  D  =  { x  e.  ( (mulGrp `  Z
) MndHom  (mulGrp ` fld ) )  |  ( ( B  \  U
)  X.  { 0 } )  C_  x } )
11 simpr 449 . . . . . . . . . . . . . . . . 17  |-  ( (
ph  /\  n  =  N )  ->  n  =  N )
1211fveq2d 5734 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  n  =  N )  ->  (ℤ/n `  n
)  =  (ℤ/n `  N
) )
13 dchrval.z . . . . . . . . . . . . . . . 16  |-  Z  =  (ℤ/n `  N )
1412, 13syl6reqr 2489 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  n  =  N )  ->  Z  =  (ℤ/n `  n ) )
1514eqeq2d 2449 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  n  =  N )  ->  (
z  =  Z  <->  z  =  (ℤ/n `  n ) ) )
1615biimpar 473 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
z  =  Z )
1716fveq2d 5734 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
(mulGrp `  z )  =  (mulGrp `  Z )
)
1817oveq1d 6098 . . . . . . . . . . 11  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  =  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld ) ) )
1916fveq2d 5734 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( Base `  z )  =  ( Base `  Z
) )
20 dchrval.b . . . . . . . . . . . . . . 15  |-  B  =  ( Base `  Z
)
2119, 20syl6eqr 2488 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( Base `  z )  =  B )
2216fveq2d 5734 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
(Unit `  z )  =  (Unit `  Z )
)
23 dchrval.u . . . . . . . . . . . . . . 15  |-  U  =  (Unit `  Z )
2422, 23syl6eqr 2488 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
(Unit `  z )  =  U )
2521, 24difeq12d 3468 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( ( Base `  z
)  \  (Unit `  z
) )  =  ( B  \  U ) )
2625xpeq1d 4903 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( ( ( Base `  z )  \  (Unit `  z ) )  X. 
{ 0 } )  =  ( ( B 
\  U )  X. 
{ 0 } ) )
2726sseq1d 3377 . . . . . . . . . . 11  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( ( ( (
Base `  z )  \  (Unit `  z )
)  X.  { 0 } )  C_  x  <->  ( ( B  \  U
)  X.  { 0 } )  C_  x
) )
2818, 27rabeqbidv 2953 . . . . . . . . . 10  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  ->  { x  e.  (
(mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  =  {
x  e.  ( (mulGrp `  Z ) MndHom  (mulGrp ` fld )
)  |  ( ( B  \  U )  X.  { 0 } )  C_  x }
)
2910, 28eqtr4d 2473 . . . . . . . . 9  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  ->  D  =  { x  e.  ( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )
3029eqeq2d 2449 . . . . . . . 8  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  -> 
( b  =  D  <-> 
b  =  { x  e.  ( (mulGrp `  z
) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } ) )
3130biimpar 473 . . . . . . 7  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  b  =  D )
3231opeq2d 3993 . . . . . 6  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  <. ( Base `  ndx ) ,  b >.  =  <. (
Base `  ndx ) ,  D >. )
3331, 31xpeq12d 4905 . . . . . . . 8  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  (
b  X.  b )  =  ( D  X.  D ) )
3433reseq2d 5148 . . . . . . 7  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  (  o F  x.  |`  (
b  X.  b ) )  =  (  o F  x.  |`  ( D  X.  D ) ) )
3534opeq2d 3993 . . . . . 6  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b
) ) >.  =  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D ) ) >.
)
3632, 35preq12d 3893 . . . . 5  |-  ( ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n
) )  /\  b  =  { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x } )  ->  { <. (
Base `  ndx ) ,  b >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b
) ) >. }  =  { <. ( Base `  ndx ) ,  D >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D ) )
>. } )
378, 36csbied 3295 . . . 4  |-  ( ( ( ph  /\  n  =  N )  /\  z  =  (ℤ/n `  n ) )  ->  [_ { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  /  b ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b ) )
>. }  =  { <. (
Base `  ndx ) ,  D >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D
) ) >. } )
385, 37csbied 3295 . . 3  |-  ( (
ph  /\  n  =  N )  ->  [_ (ℤ/n `  n
)  /  z ]_ [_ { x  e.  ( (mulGrp `  z ) MndHom  (mulGrp ` fld ) )  |  ( ( ( Base `  z
)  \  (Unit `  z
) )  X.  {
0 } )  C_  x }  /  b ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( b  X.  b ) )
>. }  =  { <. (
Base `  ndx ) ,  D >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D
) ) >. } )
39 dchrval.n . . 3  |-  ( ph  ->  N  e.  NN )
40 prex 4408 . . . 4  |-  { <. (
Base `  ndx ) ,  D >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D
) ) >. }  e.  _V
4140a1i 11 . . 3  |-  ( ph  ->  { <. ( Base `  ndx ) ,  D >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D ) )
>. }  e.  _V )
423, 38, 39, 41fvmptd 5812 . 2  |-  ( ph  ->  (DChr `  N )  =  { <. ( Base `  ndx ) ,  D >. , 
<. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D ) )
>. } )
431, 42syl5eq 2482 1  |-  ( ph  ->  G  =  { <. (
Base `  ndx ) ,  D >. ,  <. ( +g  `  ndx ) ,  (  o F  x.  |`  ( D  X.  D
) ) >. } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   {crab 2711   _Vcvv 2958   [_csb 3253    \ cdif 3319    C_ wss 3322   {csn 3816   {cpr 3817   <.cop 3819    e. cmpt 4268    X. cxp 4878    |` cres 4882   ` cfv 5456  (class class class)co 6083    o Fcof 6305   0cc0 8992    x. cmul 8997   NNcn 10002   ndxcnx 13468   Basecbs 13471   +g cplusg 13531   MndHom cmhm 14738  mulGrpcmgp 15650  Unitcui 15746  ℂfldccnfld 16705  ℤ/nczn 16783  DChrcdchr 21018
This theorem is referenced by:  dchrbas  21021  dchrplusg  21033
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4332  ax-nul 4340  ax-pr 4405
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4215  df-opab 4269  df-mpt 4270  df-id 4500  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-res 4892  df-iota 5420  df-fun 5458  df-fv 5464  df-ov 6086  df-dchr 21019
  Copyright terms: Public domain W3C validator