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

Theorem dchrval 27172
Description: Value of the group of Dirichlet characters. (Contributed by Mario Carneiro, 18-Apr-2016.)
Hypotheses
Ref Expression
dchrval.g 𝐺 = (DChr‘𝑁)
dchrval.z 𝑍 = (ℤ/nℤ‘𝑁)
dchrval.b 𝐵 = (Base‘𝑍)
dchrval.u 𝑈 = (Unit‘𝑍)
dchrval.n (𝜑𝑁 ∈ ℕ)
dchrval.d (𝜑𝐷 = {𝑥 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∣ ((𝐵𝑈) × {0}) ⊆ 𝑥})
Assertion
Ref Expression
dchrval (𝜑𝐺 = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
Distinct variable groups:   𝑥,𝐵   𝑥,𝑁   𝑥,𝑈   𝜑,𝑥   𝑥,𝑍
Allowed substitution hints:   𝐷(𝑥)   𝐺(𝑥)

Proof of Theorem dchrval
Dummy variables 𝑧 𝑛 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dchrval.g . 2 𝐺 = (DChr‘𝑁)
2 df-dchr 27171 . . 3 DChr = (𝑛 ∈ ℕ ↦ (ℤ/nℤ‘𝑛) / 𝑧{𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} / 𝑏{⟨(Base‘ndx), 𝑏⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝑏 × 𝑏))⟩})
3 fvexd 6837 . . . 4 ((𝜑𝑛 = 𝑁) → (ℤ/nℤ‘𝑛) ∈ V)
4 ovex 7379 . . . . . . 7 ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∈ V
54rabex 5275 . . . . . 6 {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} ∈ V
65a1i 11 . . . . 5 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} ∈ V)
7 dchrval.d . . . . . . . . . . 11 (𝜑𝐷 = {𝑥 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∣ ((𝐵𝑈) × {0}) ⊆ 𝑥})
87ad2antrr 726 . . . . . . . . . 10 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → 𝐷 = {𝑥 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∣ ((𝐵𝑈) × {0}) ⊆ 𝑥})
9 dchrval.z . . . . . . . . . . . . . . . 16 𝑍 = (ℤ/nℤ‘𝑁)
10 simpr 484 . . . . . . . . . . . . . . . . 17 ((𝜑𝑛 = 𝑁) → 𝑛 = 𝑁)
1110fveq2d 6826 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 = 𝑁) → (ℤ/nℤ‘𝑛) = (ℤ/nℤ‘𝑁))
129, 11eqtr4id 2785 . . . . . . . . . . . . . . 15 ((𝜑𝑛 = 𝑁) → 𝑍 = (ℤ/nℤ‘𝑛))
1312eqeq2d 2742 . . . . . . . . . . . . . 14 ((𝜑𝑛 = 𝑁) → (𝑧 = 𝑍𝑧 = (ℤ/nℤ‘𝑛)))
1413biimpar 477 . . . . . . . . . . . . 13 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → 𝑧 = 𝑍)
1514fveq2d 6826 . . . . . . . . . . . 12 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (mulGrp‘𝑧) = (mulGrp‘𝑍))
1615oveq1d 7361 . . . . . . . . . . 11 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) = ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)))
1714fveq2d 6826 . . . . . . . . . . . . . . 15 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (Base‘𝑧) = (Base‘𝑍))
18 dchrval.b . . . . . . . . . . . . . . 15 𝐵 = (Base‘𝑍)
1917, 18eqtr4di 2784 . . . . . . . . . . . . . 14 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (Base‘𝑧) = 𝐵)
2014fveq2d 6826 . . . . . . . . . . . . . . 15 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (Unit‘𝑧) = (Unit‘𝑍))
21 dchrval.u . . . . . . . . . . . . . . 15 𝑈 = (Unit‘𝑍)
2220, 21eqtr4di 2784 . . . . . . . . . . . . . 14 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (Unit‘𝑧) = 𝑈)
2319, 22difeq12d 4074 . . . . . . . . . . . . 13 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → ((Base‘𝑧) ∖ (Unit‘𝑧)) = (𝐵𝑈))
2423xpeq1d 5643 . . . . . . . . . . . 12 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) = ((𝐵𝑈) × {0}))
2524sseq1d 3961 . . . . . . . . . . 11 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → ((((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥 ↔ ((𝐵𝑈) × {0}) ⊆ 𝑥))
2616, 25rabeqbidv 3413 . . . . . . . . . 10 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} = {𝑥 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∣ ((𝐵𝑈) × {0}) ⊆ 𝑥})
278, 26eqtr4d 2769 . . . . . . . . 9 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → 𝐷 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥})
2827eqeq2d 2742 . . . . . . . 8 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → (𝑏 = 𝐷𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}))
2928biimpar 477 . . . . . . 7 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → 𝑏 = 𝐷)
3029opeq2d 4829 . . . . . 6 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → ⟨(Base‘ndx), 𝑏⟩ = ⟨(Base‘ndx), 𝐷⟩)
3129sqxpeqd 5646 . . . . . . . 8 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → (𝑏 × 𝑏) = (𝐷 × 𝐷))
3231reseq2d 5927 . . . . . . 7 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → ( ∘f · ↾ (𝑏 × 𝑏)) = ( ∘f · ↾ (𝐷 × 𝐷)))
3332opeq2d 4829 . . . . . 6 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → ⟨(+g‘ndx), ( ∘f · ↾ (𝑏 × 𝑏))⟩ = ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩)
3430, 33preq12d 4691 . . . . 5 ((((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) ∧ 𝑏 = {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥}) → {⟨(Base‘ndx), 𝑏⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝑏 × 𝑏))⟩} = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
356, 34csbied 3881 . . . 4 (((𝜑𝑛 = 𝑁) ∧ 𝑧 = (ℤ/nℤ‘𝑛)) → {𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} / 𝑏{⟨(Base‘ndx), 𝑏⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝑏 × 𝑏))⟩} = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
363, 35csbied 3881 . . 3 ((𝜑𝑛 = 𝑁) → (ℤ/nℤ‘𝑛) / 𝑧{𝑥 ∈ ((mulGrp‘𝑧) MndHom (mulGrp‘ℂfld)) ∣ (((Base‘𝑧) ∖ (Unit‘𝑧)) × {0}) ⊆ 𝑥} / 𝑏{⟨(Base‘ndx), 𝑏⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝑏 × 𝑏))⟩} = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
37 dchrval.n . . 3 (𝜑𝑁 ∈ ℕ)
38 prex 5373 . . . 4 {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩} ∈ V
3938a1i 11 . . 3 (𝜑 → {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩} ∈ V)
402, 36, 37, 39fvmptd2 6937 . 2 (𝜑 → (DChr‘𝑁) = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
411, 40eqtrid 2778 1 (𝜑𝐺 = {⟨(Base‘ndx), 𝐷⟩, ⟨(+g‘ndx), ( ∘f · ↾ (𝐷 × 𝐷))⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2111  {crab 3395  Vcvv 3436  csb 3845  cdif 3894  wss 3897  {csn 4573  {cpr 4575  cop 4579   × cxp 5612  cres 5616  cfv 6481  (class class class)co 7346  f cof 7608  0cc0 11006   · cmul 11011  cn 12125  ndxcnx 17104  Basecbs 17120  +gcplusg 17161   MndHom cmhm 18689  mulGrpcmgp 20058  Unitcui 20273  fldccnfld 21291  ℤ/nczn 21439  DChrcdchr 27170
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5232  ax-nul 5242  ax-pr 5368
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-sbc 3737  df-csb 3846  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4281  df-if 4473  df-pw 4549  df-sn 4574  df-pr 4576  df-op 4580  df-uni 4857  df-br 5090  df-opab 5152  df-mpt 5171  df-id 5509  df-xp 5620  df-rel 5621  df-cnv 5622  df-co 5623  df-dm 5624  df-res 5626  df-iota 6437  df-fun 6483  df-fv 6489  df-ov 7349  df-dchr 27171
This theorem is referenced by:  dchrbas  27173  dchrplusg  27185
  Copyright terms: Public domain W3C validator