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

Theorem dchr1 27654
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 2769 . . . 4 (Base‘𝐺) = (Base‘𝐺)
4 eqid 2769 . . . 4 (Base‘𝑍) = (Base‘𝑍)
5 dchr1.u . . . 4 𝑈 = (Unit‘𝑍)
6 eqid 2769 . . . 4 (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0)) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0))
7 dchr1.n . . . 4 (𝜑 → 𝑁 ∈ ℕ)
81, 2, 3, 4, 5, 6, 7dchr1cl 27648 . . 3 (𝜑 → (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0)) ∈ (Base‘𝐺))
9 eleq1w 2853 . . . . . 6 (𝑘 = 𝑥 → (𝑘 ∈ 𝑈 ↔ 𝑥 ∈ 𝑈))
109ifbid 4511 . . . . 5 (𝑘 = 𝑥 → if(𝑘 ∈ 𝑈, 1, 0) = if(𝑥 ∈ 𝑈, 1, 0))
1110cbvmptv 5218 . . . 4 (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0)) = (𝑥 ∈ (Base‘𝑍) ↦ if(𝑥 ∈ 𝑈, 1, 0))
12 eqid 2769 . . . 4 (+g‘𝐺) = (+g‘𝐺)
131, 2, 3, 4, 5, 11, 12, 8dchrmullid 27649 . . 3 (𝜑 → ((𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0))(+g‘𝐺)(𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0))) = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0)))
141dchrabl 27651 . . . 4 (𝑁 ∈ ℕ → 𝐺 ∈ Abel)
15 ablgrp 20061 . . . 4 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
16 dchr1.o . . . . 5 1 = (0g‘𝐺)
173, 12, 16isgrpid2 19248 . . . 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 20 . . 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 725 . 2 (𝜑 → 1 = (𝑘 ∈ (Base‘𝑍) ↦ if(𝑘 ∈ 𝑈, 1, 0)))
20 simpr 490 . . . 4 ((𝜑 ∧ 𝑘 = 𝐴) → 𝑘 = 𝐴)
21 dchr1.a . . . . 5 (𝜑 → 𝐴 ∈ 𝑈)
2221adantr 486 . . . 4 ((𝜑 ∧ 𝑘 = 𝐴) → 𝐴 ∈ 𝑈)
2320, 22eqeltrd 2870 . . 3 ((𝜑 ∧ 𝑘 = 𝐴) → 𝑘 ∈ 𝑈)
2423iftrued 4495 . 2 ((𝜑 ∧ 𝑘 = 𝐴) → if(𝑘 ∈ 𝑈, 1, 0) = 1)
254, 5unitss 20668 . . 3 𝑈 ⊆ (Base‘𝑍)
2625, 21sselid 3913 . 2 (𝜑 → 𝐴 ∈ (Base‘𝑍))
27 1cnd 11345 . 2 (𝜑 → 1 ∈ ℂ)
2819, 24, 26, 27fvmptd 7036 1 (𝜑 → ( 1 ‘𝐴) = 1)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ifcif 4487   ↦ cmpt 5195  ‘cfv 6570  (class class class)co 7455  ℂcc 11241  0cc0 11243  1c1 11244  ℕcn 12379  Basecbs 17438  +gcplusg 17479  0gc0g 17671  Grpcgrp 19205  Abelcabl 20057  Unitcui 20647  ℤ/nℤczn 21874  DChrcdchr 27629
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787  ax-cnex 11299  ax-resscn 11300  ax-1cn 11301  ax-icn 11302  ax-addcl 11303  ax-addrcl 11304  ax-mulcl 11305  ax-mulrcl 11306  ax-mulcom 11307  ax-addass 11308  ax-mulass 11309  ax-distr 11310  ax-i2m1 11311  ax-1ne0 11312  ax-1rid 11313  ax-rnegex 11314  ax-rrecex 11315  ax-cnre 11316  ax-pre-lttri 11317  ax-pre-lttrn 11318  ax-pre-ltadd 11319  ax-pre-mulgt0 11320  ax-addf 11322  ax-mulf 11323
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-riota 7412  df-ov 7458  df-oprab 7459  df-mpo 7460  df-of 7729  df-om 7916  df-1st 8039  df-2nd 8040  df-tpos 8285  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-1o 8518  df-er 8759  df-ec 8761  df-qs 8765  df-map 8891  df-en 9016  df-dom 9017  df-sdom 9018  df-fin 9019  df-sup 9475  df-inf 9476  df-pnf 11388  df-mnf 11389  df-xr 11390  df-ltxr 11391  df-le 11392  df-sub 11586  df-neg 11587  df-div 12018  df-nn 12380  df-2 12449  df-3 12450  df-4 12451  df-5 12452  df-6 12453  df-7 12454  df-8 12455  df-9 12456  df-n0 12651  df-z 12738  df-dec 12859  df-uz 13010  df-fz 13684  df-struct 17376  df-sets 17393  df-slot 17411  df-ndx 17423  df-base 17439  df-ress 17460  df-plusg 17493  df-mulr 17494  df-starv 17495  df-sca 17496  df-vsca 17497  df-ip 17498  df-tset 17499  df-ple 17500  df-ds 17502  df-unif 17503  df-euf 17506  df-0g 17673  df-imas 17741  df-qus 17742  df-mgm 18877  df-sgrp 18969  df-mnd 18985  df-mhm 19039  df-grp 19208  df-minusg 19209  df-sbg 19210  df-subg 19394  df-nsg 19395  df-eqg 19396  df-cmn 20058  df-abl 20059  df-mgp 20423  df-rng 20437  df-ur 20470  df-ring 20523  df-cring 20524  df-oppr 20629  df-dvdsr 20649  df-unit 20650  df-invr 20680  df-subrng 20860  df-subrg 20884  df-lmod 21199  df-lss 21269  df-lsp 21309  df-sra 21510  df-rgmod 21511  df-lidl 21548  df-rsp 21549  df-2idl 21605  df-cnfld 21741  df-zring 21818  df-zn 21878  df-dchr 27630
This theorem is used by:  dchrinv  27658  dchr1re  27660  dchrsum2  27665  rpvmasumlem  27884  rpvmasum2  27909
  Copyright terms: Public domain W3C validator