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

Theorem dchrelbas2 24862
Description: A Dirichlet character is a monoid homomorphism from the multiplicative monoid on ℤ/n to the multiplicative monoid of , which is zero off the group of units of ℤ/n. (Contributed by Mario Carneiro, 18-Apr-2016.)
Hypotheses
Ref Expression
dchrval.g 𝐺 = (DChr‘𝑁)
dchrval.z 𝑍 = (ℤ/nℤ‘𝑁)
dchrval.b 𝐵 = (Base‘𝑍)
dchrval.u 𝑈 = (Unit‘𝑍)
dchrval.n (𝜑𝑁 ∈ ℕ)
dchrbas.b 𝐷 = (Base‘𝐺)
Assertion
Ref Expression
dchrelbas2 (𝜑 → (𝑋𝐷 ↔ (𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∧ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈))))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑁   𝑥,𝑈   𝜑,𝑥   𝑥,𝑋   𝑥,𝑍
Allowed substitution hints:   𝐷(𝑥)   𝐺(𝑥)

Proof of Theorem dchrelbas2
StepHypRef Expression
1 dchrval.g . . 3 𝐺 = (DChr‘𝑁)
2 dchrval.z . . 3 𝑍 = (ℤ/nℤ‘𝑁)
3 dchrval.b . . 3 𝐵 = (Base‘𝑍)
4 dchrval.u . . 3 𝑈 = (Unit‘𝑍)
5 dchrval.n . . 3 (𝜑𝑁 ∈ ℕ)
6 dchrbas.b . . 3 𝐷 = (Base‘𝐺)
71, 2, 3, 4, 5, 6dchrelbas 24861 . 2 (𝜑 → (𝑋𝐷 ↔ (𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∧ ((𝐵𝑈) × {0}) ⊆ 𝑋)))
8 eqid 2621 . . . . . . . . . . 11 (mulGrp‘𝑍) = (mulGrp‘𝑍)
98, 3mgpbas 18416 . . . . . . . . . 10 𝐵 = (Base‘(mulGrp‘𝑍))
10 eqid 2621 . . . . . . . . . . 11 (mulGrp‘ℂfld) = (mulGrp‘ℂfld)
11 cnfldbas 19669 . . . . . . . . . . 11 ℂ = (Base‘ℂfld)
1210, 11mgpbas 18416 . . . . . . . . . 10 ℂ = (Base‘(mulGrp‘ℂfld))
139, 12mhmf 17261 . . . . . . . . 9 (𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) → 𝑋:𝐵⟶ℂ)
1413adantl 482 . . . . . . . 8 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → 𝑋:𝐵⟶ℂ)
15 ffun 6005 . . . . . . . 8 (𝑋:𝐵⟶ℂ → Fun 𝑋)
1614, 15syl 17 . . . . . . 7 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → Fun 𝑋)
17 funssres 5888 . . . . . . 7 ((Fun 𝑋 ∧ ((𝐵𝑈) × {0}) ⊆ 𝑋) → (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0}))
1816, 17sylan 488 . . . . . 6 (((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) ∧ ((𝐵𝑈) × {0}) ⊆ 𝑋) → (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0}))
19 simpr 477 . . . . . . 7 (((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) ∧ (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0})) → (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0}))
20 resss 5381 . . . . . . 7 (𝑋 ↾ dom ((𝐵𝑈) × {0})) ⊆ 𝑋
2119, 20syl6eqssr 3635 . . . . . 6 (((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) ∧ (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0})) → ((𝐵𝑈) × {0}) ⊆ 𝑋)
2218, 21impbida 876 . . . . 5 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (((𝐵𝑈) × {0}) ⊆ 𝑋 ↔ (𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0})))
23 0cn 9976 . . . . . . . . 9 0 ∈ ℂ
24 fconst6g 6051 . . . . . . . . 9 (0 ∈ ℂ → ((𝐵𝑈) × {0}):(𝐵𝑈)⟶ℂ)
2523, 24mp1i 13 . . . . . . . 8 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → ((𝐵𝑈) × {0}):(𝐵𝑈)⟶ℂ)
26 fdm 6008 . . . . . . . 8 (((𝐵𝑈) × {0}):(𝐵𝑈)⟶ℂ → dom ((𝐵𝑈) × {0}) = (𝐵𝑈))
2725, 26syl 17 . . . . . . 7 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → dom ((𝐵𝑈) × {0}) = (𝐵𝑈))
2827reseq2d 5356 . . . . . 6 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (𝑋 ↾ dom ((𝐵𝑈) × {0})) = (𝑋 ↾ (𝐵𝑈)))
2928eqeq1d 2623 . . . . 5 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → ((𝑋 ↾ dom ((𝐵𝑈) × {0})) = ((𝐵𝑈) × {0}) ↔ (𝑋 ↾ (𝐵𝑈)) = ((𝐵𝑈) × {0})))
3022, 29bitrd 268 . . . 4 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (((𝐵𝑈) × {0}) ⊆ 𝑋 ↔ (𝑋 ↾ (𝐵𝑈)) = ((𝐵𝑈) × {0})))
31 difss 3715 . . . . . . . 8 (𝐵𝑈) ⊆ 𝐵
32 fssres 6027 . . . . . . . 8 ((𝑋:𝐵⟶ℂ ∧ (𝐵𝑈) ⊆ 𝐵) → (𝑋 ↾ (𝐵𝑈)):(𝐵𝑈)⟶ℂ)
3314, 31, 32sylancl 693 . . . . . . 7 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (𝑋 ↾ (𝐵𝑈)):(𝐵𝑈)⟶ℂ)
34 ffn 6002 . . . . . . 7 ((𝑋 ↾ (𝐵𝑈)):(𝐵𝑈)⟶ℂ → (𝑋 ↾ (𝐵𝑈)) Fn (𝐵𝑈))
3533, 34syl 17 . . . . . 6 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (𝑋 ↾ (𝐵𝑈)) Fn (𝐵𝑈))
36 ffn 6002 . . . . . . 7 (((𝐵𝑈) × {0}):(𝐵𝑈)⟶ℂ → ((𝐵𝑈) × {0}) Fn (𝐵𝑈))
3725, 36syl 17 . . . . . 6 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → ((𝐵𝑈) × {0}) Fn (𝐵𝑈))
38 eqfnfv 6267 . . . . . 6 (((𝑋 ↾ (𝐵𝑈)) Fn (𝐵𝑈) ∧ ((𝐵𝑈) × {0}) Fn (𝐵𝑈)) → ((𝑋 ↾ (𝐵𝑈)) = ((𝐵𝑈) × {0}) ↔ ∀𝑥 ∈ (𝐵𝑈)((𝑋 ↾ (𝐵𝑈))‘𝑥) = (((𝐵𝑈) × {0})‘𝑥)))
3935, 37, 38syl2anc 692 . . . . 5 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → ((𝑋 ↾ (𝐵𝑈)) = ((𝐵𝑈) × {0}) ↔ ∀𝑥 ∈ (𝐵𝑈)((𝑋 ↾ (𝐵𝑈))‘𝑥) = (((𝐵𝑈) × {0})‘𝑥)))
40 fvres 6164 . . . . . . . 8 (𝑥 ∈ (𝐵𝑈) → ((𝑋 ↾ (𝐵𝑈))‘𝑥) = (𝑋𝑥))
41 c0ex 9978 . . . . . . . . 9 0 ∈ V
4241fvconst2 6423 . . . . . . . 8 (𝑥 ∈ (𝐵𝑈) → (((𝐵𝑈) × {0})‘𝑥) = 0)
4340, 42eqeq12d 2636 . . . . . . 7 (𝑥 ∈ (𝐵𝑈) → (((𝑋 ↾ (𝐵𝑈))‘𝑥) = (((𝐵𝑈) × {0})‘𝑥) ↔ (𝑋𝑥) = 0))
4443ralbiia 2973 . . . . . 6 (∀𝑥 ∈ (𝐵𝑈)((𝑋 ↾ (𝐵𝑈))‘𝑥) = (((𝐵𝑈) × {0})‘𝑥) ↔ ∀𝑥 ∈ (𝐵𝑈)(𝑋𝑥) = 0)
45 eldif 3565 . . . . . . . . 9 (𝑥 ∈ (𝐵𝑈) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝑈))
4645imbi1i 339 . . . . . . . 8 ((𝑥 ∈ (𝐵𝑈) → (𝑋𝑥) = 0) ↔ ((𝑥𝐵 ∧ ¬ 𝑥𝑈) → (𝑋𝑥) = 0))
47 impexp 462 . . . . . . . 8 (((𝑥𝐵 ∧ ¬ 𝑥𝑈) → (𝑋𝑥) = 0) ↔ (𝑥𝐵 → (¬ 𝑥𝑈 → (𝑋𝑥) = 0)))
48 con1b 348 . . . . . . . . . 10 ((¬ 𝑥𝑈 → (𝑋𝑥) = 0) ↔ (¬ (𝑋𝑥) = 0 → 𝑥𝑈))
49 df-ne 2791 . . . . . . . . . . 11 ((𝑋𝑥) ≠ 0 ↔ ¬ (𝑋𝑥) = 0)
5049imbi1i 339 . . . . . . . . . 10 (((𝑋𝑥) ≠ 0 → 𝑥𝑈) ↔ (¬ (𝑋𝑥) = 0 → 𝑥𝑈))
5148, 50bitr4i 267 . . . . . . . . 9 ((¬ 𝑥𝑈 → (𝑋𝑥) = 0) ↔ ((𝑋𝑥) ≠ 0 → 𝑥𝑈))
5251imbi2i 326 . . . . . . . 8 ((𝑥𝐵 → (¬ 𝑥𝑈 → (𝑋𝑥) = 0)) ↔ (𝑥𝐵 → ((𝑋𝑥) ≠ 0 → 𝑥𝑈)))
5346, 47, 523bitri 286 . . . . . . 7 ((𝑥 ∈ (𝐵𝑈) → (𝑋𝑥) = 0) ↔ (𝑥𝐵 → ((𝑋𝑥) ≠ 0 → 𝑥𝑈)))
5453ralbii2 2972 . . . . . 6 (∀𝑥 ∈ (𝐵𝑈)(𝑋𝑥) = 0 ↔ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈))
5544, 54bitri 264 . . . . 5 (∀𝑥 ∈ (𝐵𝑈)((𝑋 ↾ (𝐵𝑈))‘𝑥) = (((𝐵𝑈) × {0})‘𝑥) ↔ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈))
5639, 55syl6bb 276 . . . 4 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → ((𝑋 ↾ (𝐵𝑈)) = ((𝐵𝑈) × {0}) ↔ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈)))
5730, 56bitrd 268 . . 3 ((𝜑𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld))) → (((𝐵𝑈) × {0}) ⊆ 𝑋 ↔ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈)))
5857pm5.32da 672 . 2 (𝜑 → ((𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∧ ((𝐵𝑈) × {0}) ⊆ 𝑋) ↔ (𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∧ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈))))
597, 58bitrd 268 1 (𝜑 → (𝑋𝐷 ↔ (𝑋 ∈ ((mulGrp‘𝑍) MndHom (mulGrp‘ℂfld)) ∧ ∀𝑥𝐵 ((𝑋𝑥) ≠ 0 → 𝑥𝑈))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wne 2790  wral 2907  cdif 3552  wss 3555  {csn 4148   × cxp 5072  dom cdm 5074  cres 5076  Fun wfun 5841   Fn wfn 5842  wf 5843  cfv 5847  (class class class)co 6604  cc 9878  0cc0 9880  cn 10964  Basecbs 15781   MndHom cmhm 17254  mulGrpcmgp 18410  Unitcui 18560  fldccnfld 19665  ℤ/nczn 19770  DChrcdchr 24857
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-2 11023  df-3 11024  df-4 11025  df-5 11026  df-6 11027  df-7 11028  df-8 11029  df-9 11030  df-n0 11237  df-z 11322  df-dec 11438  df-uz 11632  df-fz 12269  df-struct 15783  df-ndx 15784  df-slot 15785  df-base 15786  df-sets 15787  df-plusg 15875  df-mulr 15876  df-starv 15877  df-tset 15881  df-ple 15882  df-ds 15885  df-unif 15886  df-mhm 17256  df-mgp 18411  df-cnfld 19666  df-dchr 24858
This theorem is referenced by:  dchrelbas3  24863  dchrelbas4  24868  dchrmulcl  24874  dchrn0  24875  dchrmulid2  24877
  Copyright terms: Public domain W3C validator