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

Theorem dchrisum0ff 27891
Description: The function 𝐹 is a real function. (Contributed by Mario Carneiro, 5-May-2016.)
Hypotheses
Ref Expression
rpvmasum.z 𝑍 = (ℤ/nℤ‘𝑁)
rpvmasum.l 𝐿 = (ℤRHom‘𝑍)
rpvmasum.a (𝜑 → 𝑁 ∈ ℕ)
rpvmasum2.g 𝐺 = (DChr‘𝑁)
rpvmasum2.d 𝐷 = (Base‘𝐺)
rpvmasum2.1 1 = (0g‘𝐺)
dchrisum0f.f 𝐹 = (𝑏 ∈ ℕ ↦ Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)))
dchrisum0f.x (𝜑 → 𝑋 ∈ 𝐷)
dchrisum0flb.r (𝜑 → 𝑋:(Base‘𝑍)⟶ℝ)
Assertion
Ref Expression
dchrisum0ff (𝜑 → 𝐹:ℕ⟶ℝ)
Distinct variable groups:   𝑞,𝑏,𝑣   𝑁,𝑞   𝐿,𝑏,𝑣   𝑋,𝑏,𝑣
Allowed substitution hints:   𝜑(𝑣, 𝑞, 𝑏)   𝐷(𝑣, 𝑞, 𝑏)   1 (𝑣, 𝑞, 𝑏)   𝐹(𝑣, 𝑞, 𝑏)   𝐺(𝑣, 𝑞, 𝑏)   𝐿(𝑞)   𝑁(𝑣, 𝑏)   𝑋(𝑞)   𝑍(𝑣, 𝑞, 𝑏)

Proof of Theorem dchrisum0ff
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fzfid 14156 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ) → (1...𝑛) ∈ Fin)
2 dvdsssfz1 16532 . . . . 5 (𝑛 ∈ ℕ → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ⊆ (1...𝑛))
32adantl 487 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ) → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ⊆ (1...𝑛))
41, 3ssfid 9298 . . 3 ((𝜑 ∧ 𝑛 ∈ ℕ) → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ∈ Fin)
5 dchrisum0flb.r . . . . 5 (𝜑 → 𝑋:(Base‘𝑍)⟶ℝ)
65ad2antrr 739 . . . 4 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → 𝑋:(Base‘𝑍)⟶ℝ)
7 rpvmasum.a . . . . . . . 8 (𝜑 → 𝑁 ∈ ℕ)
87nnnn0d 12707 . . . . . . 7 (𝜑 → 𝑁 ∈ ℕ0)
9 rpvmasum.z . . . . . . . 8 𝑍 = (ℤ/nℤ‘𝑁)
10 eqid 2763 . . . . . . . 8 (Base‘𝑍) = (Base‘𝑍)
11 rpvmasum.l . . . . . . . 8 𝐿 = (ℤRHom‘𝑍)
129, 10, 11znzrhfo 21908 . . . . . . 7 (𝑁 ∈ ℕ0 → 𝐿:ℤ⟶onto(Base‘𝑍))
13 fof 6826 . . . . . . 7 (𝐿:ℤ⟶onto(Base‘𝑍) → 𝐿:ℤ⟶(Base‘𝑍))
148, 12, 133syl 19 . . . . . 6 (𝜑 → 𝐿:ℤ⟶(Base‘𝑍))
1514adantr 486 . . . . 5 ((𝜑 ∧ 𝑛 ∈ ℕ) → 𝐿:ℤ⟶(Base‘𝑍))
16 elrabi 3644 . . . . . 6 (𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} → 𝑚 ∈ ℕ)
1716nnzd 12759 . . . . 5 (𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} → 𝑚 ∈ ℤ)
18 ffvelcdm 7113 . . . . 5 ((𝐿:ℤ⟶(Base‘𝑍) ∧ 𝑚 ∈ ℤ) → (𝐿‘𝑚) ∈ (Base‘𝑍))
1915, 17, 18syl2an 608 . . . 4 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → (𝐿‘𝑚) ∈ (Base‘𝑍))
206, 19ffvelcdmd 7117 . . 3 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → (𝑋‘(𝐿‘𝑚)) ∈ ℝ)
214, 20fsumrecl 15944 . 2 ((𝜑 ∧ 𝑛 ∈ ℕ) → Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)) ∈ ℝ)
22 dchrisum0f.f . . 3 𝐹 = (𝑏 ∈ ℕ ↦ Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)))
23 breq2 5112 . . . . . . 7 (𝑏 = 𝑛 → (𝑞 ∥ 𝑏 ↔ 𝑞 ∥ 𝑛))
2423rabbidv 3423 . . . . . 6 (𝑏 = 𝑛 → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} = {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛})
2524sumeq1d 15911 . . . . 5 (𝑏 = 𝑛 → Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)) = Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑣)))
26 2fveq3 6921 . . . . . 6 (𝑣 = 𝑚 → (𝑋‘(𝐿‘𝑣)) = (𝑋‘(𝐿‘𝑚)))
2726cbvsumv 15907 . . . . 5 Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑣)) = Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚))
2825, 27eqtrdi 2814 . . . 4 (𝑏 = 𝑛 → Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)) = Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
2928cbvmptv 5215 . . 3 (𝑏 ∈ ℕ ↦ Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣))) = (𝑛 ∈ ℕ ↦ Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
3022, 29eqtri 2786 . 2 𝐹 = (𝑛 ∈ ℕ ↦ Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
3121, 30fmptd 7146 1 (𝜑 → 𝐹:ℕ⟶ℝ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {crab 3416   ⊆ wss 3900   class class class wbr 5108   ↦ cmpt 5192  ⟶wf 6562  ⟶ontowfo 6564  ‘cfv 6566  (class class class)co 7451  ℝcr 11238  1c1 11240  ℕcn 12375  ℕ0cn0 12646  ℤcz 12733  ...cfz 13679  Σcsu 15897   ∥ cdvds 16466  Basecbs 17431  0gc0g 17660  ℤRHomczrh 21860  ℤ/nℤczn 21863  DChrcdchr 27616
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-inf2 9679  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316  ax-pre-sup 11317  ax-addf 11318  ax-mulf 11319
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-se 5612  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-isom 6575  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-tpos 8281  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-er 8755  df-ec 8757  df-qs 8761  df-map 8887  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-sup 9471  df-inf 9472  df-oi 9541  df-card 10057  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-div 12014  df-nn 12376  df-2 12445  df-3 12446  df-4 12447  df-5 12448  df-6 12449  df-7 12450  df-8 12451  df-9 12452  df-n0 12647  df-z 12734  df-dec 12855  df-uz 13006  df-rp 13161  df-fz 13680  df-fzo 13829  df-seq 14185  df-exp 14245  df-hash 14516  df-cj 15309  df-re 15310  df-im 15311  df-sqrt 15445  df-abs 15446  df-clim 15699  df-sum 15898  df-dvds 16467  df-struct 17369  df-sets 17386  df-slot 17404  df-ndx 17416  df-base 17432  df-ress 17453  df-plusg 17486  df-mulr 17487  df-starv 17488  df-sca 17489  df-vsca 17490  df-ip 17491  df-tset 17492  df-ple 17493  df-ds 17495  df-unif 17496  df-euf 17499  df-0g 17662  df-imas 17730  df-qus 17731  df-mgm 18866  df-sgrp 18958  df-mnd 18974  df-mhm 19028  df-grp 19197  df-minusg 19198  df-sbg 19199  df-mulg 19328  df-subg 19383  df-nsg 19384  df-eqg 19385  df-ghm 19478  df-cmn 20047  df-abl 20048  df-mgp 20412  df-rng 20426  df-ur 20459  df-ring 20512  df-cring 20513  df-oppr 20618  df-rhm 20753  df-subrng 20849  df-subrg 20873  df-lmod 21188  df-lss 21258  df-lsp 21298  df-sra 21499  df-rgmod 21500  df-lidl 21537  df-rsp 21538  df-2idl 21594  df-cnfld 21730  df-zring 21807  df-zrh 21864  df-zn 21867
This theorem is used by:  dchrisum0flblem2  27893  dchrisum0fno1  27895
  Copyright terms: Public domain W3C validator