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

Theorem dchrisum0ff 27985
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 14178 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ) → (1...𝑛) ∈ Fin)
2 dvdsssfz1 16553 . . . . 5 (𝑛 ∈ ℕ → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ⊆ (1...𝑛))
32adantl 487 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ) → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ⊆ (1...𝑛))
41, 3ssfid 9317 . . 3 ((𝜑 ∧ 𝑛 ∈ ℕ) → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} ∈ Fin)
5 dchrisum0flb.r . . . . 5 (𝜑 → 𝑋:(Base‘𝑍)⟶ℝ)
65ad2antrr 739 . . . 4 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → 𝑋:(Base‘𝑍)⟶ℝ)
7 rpvmasum.a . . . . . . . 8 (𝜑 → 𝑁 ∈ ℕ)
87nnnn0d 12727 . . . . . . 7 (𝜑 → 𝑁 ∈ ℕ0)
9 rpvmasum.z . . . . . . . 8 𝑍 = (ℤ/nℤ‘𝑁)
10 eqid 2774 . . . . . . . 8 (Base‘𝑍) = (Base‘𝑍)
11 rpvmasum.l . . . . . . . 8 𝐿 = (ℤRHom‘𝑍)
129, 10, 11znzrhfo 21954 . . . . . . 7 (𝑁 ∈ ℕ0 → 𝐿:ℤ⟶onto(Base‘𝑍))
13 fof 6844 . . . . . . 7 (𝐿:ℤ⟶onto(Base‘𝑍) → 𝐿:ℤ⟶(Base‘𝑍))
148, 12, 133syl 19 . . . . . 6 (𝜑 → 𝐿:ℤ⟶(Base‘𝑍))
1514adantr 486 . . . . 5 ((𝜑 ∧ 𝑛 ∈ ℕ) → 𝐿:ℤ⟶(Base‘𝑍))
16 elrabi 3651 . . . . . 6 (𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} → 𝑚 ∈ ℕ)
1716nnzd 12779 . . . . 5 (𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} → 𝑚 ∈ ℤ)
18 ffvelcdm 7131 . . . . 5 ((𝐿:ℤ⟶(Base‘𝑍) ∧ 𝑚 ∈ ℤ) → (𝐿‘𝑚) ∈ (Base‘𝑍))
1915, 17, 18syl2an 608 . . . 4 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → (𝐿‘𝑚) ∈ (Base‘𝑍))
206, 19ffvelcdmd 7135 . . 3 (((𝜑 ∧ 𝑛 ∈ ℕ) ∧ 𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛}) → (𝑋‘(𝐿‘𝑚)) ∈ ℝ)
214, 20fsumrecl 15966 . 2 ((𝜑 ∧ 𝑛 ∈ ℕ) → Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)) ∈ ℝ)
22 dchrisum0f.f . . 3 𝐹 = (𝑏 ∈ ℕ ↦ Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)))
23 breq2 5120 . . . . . . 7 (𝑏 = 𝑛 → (𝑞 ∥ 𝑏 ↔ 𝑞 ∥ 𝑛))
2423rabbidv 3430 . . . . . 6 (𝑏 = 𝑛 → {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} = {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛})
2524sumeq1d 15933 . . . . 5 (𝑏 = 𝑛 → Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)) = Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑣)))
26 2fveq3 6939 . . . . . 6 (𝑣 = 𝑚 → (𝑋‘(𝐿‘𝑣)) = (𝑋‘(𝐿‘𝑚)))
2726cbvsumv 15929 . . . . 5 Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑣)) = Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚))
2825, 27eqtrdi 2825 . . . 4 (𝑏 = 𝑛 → Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣)) = Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
2928cbvmptv 5223 . . 3 (𝑏 ∈ ℕ ↦ Σ𝑣 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑏} (𝑋‘(𝐿‘𝑣))) = (𝑛 ∈ ℕ ↦ Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
3022, 29eqtri 2797 . 2 𝐹 = (𝑛 ∈ ℕ ↦ Σ𝑚 ∈ {𝑞 ∈ ℕ ∣ 𝑞 ∥ 𝑛} (𝑋‘(𝐿‘𝑚)))
3121, 30fmptd 7164 1 (𝜑 → 𝐹:ℕ⟶ℝ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {crab 3423   ⊆ wss 3907   class class class wbr 5116   ↦ cmpt 5200  ⟶wf 6575  ⟶ontowfo 6577  ‘cfv 6579  (class class class)co 7470  ℝcr 11257  1c1 11259  ℕcn 12395  ℕ0cn0 12666  ℤcz 12753  ...cfz 13699  Σcsu 15919   ∥ cdvds 16487  Basecbs 17456  0gc0g 17689  ℤRHomczrh 21906  ℤ/nℤczn 21909  DChrcdchr 27710
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-inf2 9698  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336  ax-addf 11337  ax-mulf 11338
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-isom 6588  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-1st 8054  df-2nd 8055  df-tpos 8300  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-er 8774  df-ec 8776  df-qs 8780  df-map 8906  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-sup 9490  df-inf 9491  df-oi 9560  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11602  df-neg 11603  df-div 12034  df-nn 12396  df-2 12465  df-3 12466  df-4 12467  df-5 12468  df-6 12469  df-7 12470  df-8 12471  df-9 12472  df-n0 12667  df-z 12754  df-dec 12875  df-uz 13026  df-rp 13181  df-fz 13700  df-fzo 13849  df-seq 14207  df-exp 14267  df-hash 14538  df-cj 15331  df-re 15332  df-im 15333  df-sqrt 15467  df-abs 15468  df-clim 15721  df-sum 15920  df-dvds 16488  df-struct 17394  df-sets 17411  df-slot 17429  df-ndx 17441  df-base 17457  df-ress 17478  df-plusg 17511  df-mulr 17512  df-starv 17513  df-sca 17514  df-vsca 17515  df-ip 17516  df-tset 17517  df-ple 17518  df-ds 17520  df-unif 17521  df-euf 17524  df-0g 17691  df-imas 17759  df-qus 17760  df-mgm 18895  df-sgrp 18987  df-mnd 19003  df-mhm 19057  df-grp 19226  df-minusg 19227  df-sbg 19228  df-mulg 19359  df-subg 19414  df-nsg 19415  df-eqg 19416  df-ghm 19509  df-cmn 20078  df-abl 20079  df-mgp 20444  df-rng 20458  df-ur 20491  df-ring 20544  df-cring 20545  df-oppr 20650  df-rhm 20785  df-subrng 20881  df-subrg 20905  df-lmod 21221  df-lss 21291  df-lsp 21331  df-sra 21545  df-rgmod 21546  df-lidl 21583  df-rsp 21584  df-2idl 21640  df-cnfld 21776  df-zring 21853  df-zrh 21910  df-zn 21913
This theorem is used by:  dchrisum0flblem2  27987  dchrisum0fno1  27989
  Copyright terms: Public domain W3C validator