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

Theorem dchr1 27287
Description: Value of the principal Dirichlet character. (Contributed by Mario Carneiro, 28-Apr-2016.)
Hypotheses
Ref Expression
dchr1.g 𝐺 = (DChr‘𝑁)
dchr1.z 𝑍 = (ℤ/nℤ‘𝑁)
dchr1.o 1 = (0g𝐺)
dchr1.u 𝑈 = (Unit‘𝑍)
dchr1.n (𝜑𝑁 ∈ ℕ)
dchr1.a (𝜑𝐴𝑈)
Assertion
Ref Expression
dchr1 (𝜑 → ( 1𝐴) = 1)

Proof of Theorem dchr1
Dummy variables 𝑘 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dchr1.g . . . 4 𝐺 = (DChr‘𝑁)
2 dchr1.z . . . 4 𝑍 = (ℤ/nℤ‘𝑁)
3 eqid 2752 . . . 4 (Base‘𝐺) = (Base‘𝐺)
4 eqid 2752 . . . 4 (Base‘𝑍) = (Base‘𝑍)
5 dchr1.u . . . 4 𝑈 = (Unit‘𝑍)
6 eqid 2752 . . . 4 (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))
7 dchr1.n . . . 4 (𝜑𝑁 ∈ ℕ)
81, 2, 3, 4, 5, 6, 7dchr1cl 27281 . . 3 (𝜑 → (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)) ∈ (Base‘𝐺))
9 eleq1w 2835 . . . . . 6 (𝑘 = 𝑥 → (𝑘𝑈𝑥𝑈))
109ifbid 4494 . . . . 5 (𝑘 = 𝑥 → if(𝑘𝑈, 1, 0) = if(𝑥𝑈, 1, 0))
1110cbvmptv 5194 . . . 4 (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)) = (𝑥 ∈ (Base‘𝑍) ↦ if(𝑥𝑈, 1, 0))
12 eqid 2752 . . . 4 (+g𝐺) = (+g𝐺)
131, 2, 3, 4, 5, 11, 12, 8dchrmullid 27282 . . 3 (𝜑 → ((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))(+g𝐺)(𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)))
141dchrabl 27284 . . . 4 (𝑁 ∈ ℕ → 𝐺 ∈ Abel)
15 ablgrp 19797 . . . 4 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
16 dchr1.o . . . . 5 1 = (0g𝐺)
173, 12, 16isgrpid2 18990 . . . 4 (𝐺 ∈ Grp → (((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)) ∈ (Base‘𝐺) ∧ ((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))(+g𝐺)(𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))) ↔ 1 = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))))
187, 14, 15, 174syl 19 . . 3 (𝜑 → (((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)) ∈ (Base‘𝐺) ∧ ((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))(+g𝐺)(𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))) ↔ 1 = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0))))
198, 13, 18mpbi2and 720 . 2 (𝜑1 = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘𝑈, 1, 0)))
20 simpr 487 . . . 4 ((𝜑𝑘 = 𝐴) → 𝑘 = 𝐴)
21 dchr1.a . . . . 5 (𝜑𝐴𝑈)
2221adantr 483 . . . 4 ((𝜑𝑘 = 𝐴) → 𝐴𝑈)
2320, 22eqeltrd 2852 . . 3 ((𝜑𝑘 = 𝐴) → 𝑘𝑈)
2423iftrued 4478 . 2 ((𝜑𝑘 = 𝐴) → if(𝑘𝑈, 1, 0) = 1)
254, 5unitss 20393 . . 3 𝑈 ⊆ (Base‘𝑍)
2625, 21sselid 3925 . 2 (𝜑𝐴 ∈ (Base‘𝑍))
27 1cnd 11161 . 2 (𝜑 → 1 ∈ ℂ)
2819, 24, 26, 27fvmptd 6968 1 (𝜑 → ( 1𝐴) = 1)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1550  wcel 2132  ifcif 4470  cmpt 5171  cfv 6506  (class class class)co 7381  cc 11057  0cc0 11059  1c1 11060  cn 12196  Basecbs 17217  +gcplusg 17258  0gc0g 17440  Grpcgrp 18947  Abelcabl 19793  Unitcui 20372  ℤ/nczn 21523  DChrcdchr 27262
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-rep 5217  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703  ax-cnex 11115  ax-resscn 11116  ax-1cn 11117  ax-icn 11118  ax-addcl 11119  ax-addrcl 11120  ax-mulcl 11121  ax-mulrcl 11122  ax-mulcom 11123  ax-addass 11124  ax-mulass 11125  ax-distr 11126  ax-i2m1 11127  ax-1ne0 11128  ax-1rid 11129  ax-rnegex 11130  ax-rrecex 11131  ax-cnre 11132  ax-pre-lttri 11133  ax-pre-lttrn 11134  ax-pre-ltadd 11135  ax-pre-mulgt0 11136  ax-addf 11138  ax-mulf 11139
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-nel 3052  df-ral 3067  df-rex 3077  df-rmo 3357  df-reu 3358  df-rab 3405  df-v 3446  df-sbc 3736  df-csb 3844  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-pss 3915  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-tp 4577  df-op 4579  df-uni 4856  df-int 4896  df-iun 4941  df-br 5091  df-opab 5153  df-mpt 5172  df-tr 5198  df-id 5531  df-eprel 5536  df-po 5544  df-so 5545  df-fr 5589  df-we 5591  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-pred 6273  df-ord 6334  df-on 6335  df-lim 6336  df-suc 6337  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-f1 6511  df-fo 6512  df-f1o 6513  df-fv 6514  df-riota 7338  df-ov 7384  df-oprab 7385  df-mpo 7386  df-of 7645  df-om 7832  df-1st 7955  df-2nd 7956  df-tpos 8190  df-frecs 8246  df-wrecs 8277  df-recs 8326  df-rdg 8365  df-1o 8421  df-er 8662  df-ec 8664  df-qs 8668  df-map 8794  df-en 8913  df-dom 8914  df-sdom 8915  df-fin 8916  df-sup 9374  df-inf 9375  df-pnf 11204  df-mnf 11205  df-xr 11206  df-ltxr 11207  df-le 11208  df-sub 11402  df-neg 11403  df-div 11831  df-nn 12197  df-2 12266  df-3 12267  df-4 12268  df-5 12269  df-6 12270  df-7 12271  df-8 12272  df-9 12273  df-n0 12468  df-z 12555  df-dec 12675  df-uz 12826  df-fz 13499  df-struct 17155  df-sets 17172  df-slot 17190  df-ndx 17202  df-base 17218  df-ress 17239  df-plusg 17271  df-mulr 17272  df-starv 17273  df-sca 17274  df-vsca 17275  df-ip 17276  df-tset 17277  df-ple 17278  df-ds 17280  df-unif 17281  df-0g 17442  df-imas 17510  df-qus 17511  df-mgm 18646  df-sgrp 18725  df-mnd 18741  df-mhm 18789  df-grp 18950  df-minusg 18951  df-sbg 18952  df-subg 19137  df-nsg 19138  df-eqg 19139  df-cmn 19794  df-abl 19795  df-mgp 20159  df-rng 20171  df-ur 20200  df-ring 20253  df-cring 20254  df-oppr 20354  df-dvdsr 20374  df-unit 20375  df-invr 20405  df-subrng 20564  df-subrg 20588  df-lmod 20898  df-lss 20968  df-lsp 21008  df-sra 21209  df-rgmod 21210  df-lidl 21247  df-rsp 21248  df-2idl 21289  df-cnfld 21394  df-zring 21468  df-zn 21527  df-dchr 27263
This theorem is referenced by:  dchrinv  27291  dchr1re  27293  dchrsum2  27298  rpvmasumlem  27517  rpvmasum2  27542
  Copyright terms: Public domain W3C validator