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

Theorem zsum 15411
Description: Series sum with index set a subset of the upper integers. (Contributed by Mario Carneiro, 13-Jun-2019.)
Hypotheses
Ref Expression
zsum.1 𝑍 = (ℤ𝑀)
zsum.2 (𝜑𝑀 ∈ ℤ)
zsum.3 (𝜑𝐴𝑍)
zsum.4 ((𝜑𝑘𝑍) → (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
zsum.5 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
Assertion
Ref Expression
zsum (𝜑 → Σ𝑘𝐴 𝐵 = ( ⇝ ‘seq𝑀( + , 𝐹)))
Distinct variable groups:   𝐴,𝑘   𝑘,𝐹   𝜑,𝑘   𝑘,𝑍   𝑘,𝑀
Allowed substitution hint:   𝐵(𝑘)

Proof of Theorem zsum
Dummy variables 𝑓 𝑔 𝑖 𝑗 𝑚 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq1w 2822 . . . . . . . . . . . 12 (𝑛 = 𝑖 → (𝑛𝐴𝑖𝐴))
2 csbeq1 3839 . . . . . . . . . . . 12 (𝑛 = 𝑖𝑛 / 𝑘𝐵 = 𝑖 / 𝑘𝐵)
31, 2ifbieq1d 4488 . . . . . . . . . . 11 (𝑛 = 𝑖 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
43cbvmptv 5191 . . . . . . . . . 10 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑖 ∈ ℤ ↦ if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
5 simpll 763 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝜑)
6 zsum.5 . . . . . . . . . . . . 13 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
76ralrimiva 3109 . . . . . . . . . . . 12 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
8 nfcsb1v 3861 . . . . . . . . . . . . . 14 𝑘𝑖 / 𝑘𝐵
98nfel1 2924 . . . . . . . . . . . . 13 𝑘𝑖 / 𝑘𝐵 ∈ ℂ
10 csbeq1a 3850 . . . . . . . . . . . . . 14 (𝑘 = 𝑖𝐵 = 𝑖 / 𝑘𝐵)
1110eleq1d 2824 . . . . . . . . . . . . 13 (𝑘 = 𝑖 → (𝐵 ∈ ℂ ↔ 𝑖 / 𝑘𝐵 ∈ ℂ))
129, 11rspc 3547 . . . . . . . . . . . 12 (𝑖𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑖 / 𝑘𝐵 ∈ ℂ))
137, 12syl5 34 . . . . . . . . . . 11 (𝑖𝐴 → (𝜑𝑖 / 𝑘𝐵 ∈ ℂ))
145, 13mpan9 506 . . . . . . . . . 10 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
15 simplr 765 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑚 ∈ ℤ)
16 zsum.2 . . . . . . . . . . 11 (𝜑𝑀 ∈ ℤ)
1716ad2antrr 722 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑀 ∈ ℤ)
18 simpr 484 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑚))
19 zsum.3 . . . . . . . . . . . 12 (𝜑𝐴𝑍)
20 zsum.1 . . . . . . . . . . . 12 𝑍 = (ℤ𝑀)
2119, 20sseqtrdi 3975 . . . . . . . . . . 11 (𝜑𝐴 ⊆ (ℤ𝑀))
2221ad2antrr 722 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑀))
234, 14, 15, 17, 18, 22sumrb 15406 . . . . . . . . 9 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2423biimpd 228 . . . . . . . 8 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2524expimpd 453 . . . . . . 7 ((𝜑𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2625rexlimdva 3214 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2719ad2antrr 722 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴𝑍)
28 uzssz 12585 . . . . . . . . . . . . . . . 16 (ℤ𝑀) ⊆ ℤ
2920, 28eqsstri 3959 . . . . . . . . . . . . . . 15 𝑍 ⊆ ℤ
30 zssre 12309 . . . . . . . . . . . . . . 15 ℤ ⊆ ℝ
3129, 30sstri 3934 . . . . . . . . . . . . . 14 𝑍 ⊆ ℝ
32 ltso 11039 . . . . . . . . . . . . . 14 < Or ℝ
33 soss 5522 . . . . . . . . . . . . . 14 (𝑍 ⊆ ℝ → ( < Or ℝ → < Or 𝑍))
3431, 32, 33mp2 9 . . . . . . . . . . . . 13 < Or 𝑍
35 soss 5522 . . . . . . . . . . . . 13 (𝐴𝑍 → ( < Or 𝑍 → < Or 𝐴))
3627, 34, 35mpisyl 21 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → < Or 𝐴)
37 fzfi 13673 . . . . . . . . . . . . 13 (1...𝑚) ∈ Fin
38 ovex 7301 . . . . . . . . . . . . . . . 16 (1...𝑚) ∈ V
3938f1oen 8732 . . . . . . . . . . . . . . 15 (𝑓:(1...𝑚)–1-1-onto𝐴 → (1...𝑚) ≈ 𝐴)
4039adantl 481 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ≈ 𝐴)
4140ensymd 8762 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ≈ (1...𝑚))
42 enfii 8937 . . . . . . . . . . . . 13 (((1...𝑚) ∈ Fin ∧ 𝐴 ≈ (1...𝑚)) → 𝐴 ∈ Fin)
4337, 41, 42sylancr 586 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ∈ Fin)
44 fz1iso 14157 . . . . . . . . . . . 12 (( < Or 𝐴𝐴 ∈ Fin) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
4536, 43, 44syl2anc 583 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
46 simpll 763 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝜑)
4746, 13mpan9 506 . . . . . . . . . . . . . 14 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
48 fveq2 6768 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑗 → (𝑓𝑛) = (𝑓𝑗))
4948csbeq1d 3840 . . . . . . . . . . . . . . . 16 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵)
50 csbcow 3851 . . . . . . . . . . . . . . . 16 (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵
5149, 50eqtr4di 2797 . . . . . . . . . . . . . . 15 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵)
5251cbvmptv 5191 . . . . . . . . . . . . . 14 (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵) = (𝑗 ∈ ℕ ↦ (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵)
53 eqid 2739 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ ↦ (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵) = (𝑗 ∈ ℕ ↦ (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵)
54 simplr 765 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑚 ∈ ℕ)
5516ad2antrr 722 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑀 ∈ ℤ)
5621ad2antrr 722 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝐴 ⊆ (ℤ𝑀))
57 simprl 767 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑓:(1...𝑚)–1-1-onto𝐴)
58 simprr 769 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
594, 47, 52, 53, 54, 55, 56, 57, 58summolem2a 15408 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
6059expr 456 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
6160exlimdv 1939 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
6245, 61mpd 15 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
63 breq2 5082 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
6462, 63syl5ibrcom 246 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6564expimpd 453 . . . . . . . 8 ((𝜑𝑚 ∈ ℕ) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6665exlimdv 1939 . . . . . . 7 ((𝜑𝑚 ∈ ℕ) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6766rexlimdva 3214 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6826, 67jaod 855 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6916adantr 480 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝑀 ∈ ℤ)
7021adantr 480 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝐴 ⊆ (ℤ𝑀))
71 simpr 484 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
72 fveq2 6768 . . . . . . . . . . 11 (𝑚 = 𝑀 → (ℤ𝑚) = (ℤ𝑀))
7372sseq2d 3957 . . . . . . . . . 10 (𝑚 = 𝑀 → (𝐴 ⊆ (ℤ𝑚) ↔ 𝐴 ⊆ (ℤ𝑀)))
74 seqeq1 13705 . . . . . . . . . . 11 (𝑚 = 𝑀 → seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))))
7574breq1d 5088 . . . . . . . . . 10 (𝑚 = 𝑀 → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
7673, 75anbi12d 630 . . . . . . . . 9 (𝑚 = 𝑀 → ((𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑀) ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)))
7776rspcev 3560 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ (𝐴 ⊆ (ℤ𝑀) ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
7869, 70, 71, 77syl12anc 833 . . . . . . 7 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
7978orcd 869 . . . . . 6 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
8079ex 412 . . . . 5 (𝜑 → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))))
8168, 80impbid 211 . . . 4 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
82 simpr 484 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ (ℤ𝑀))
8328, 82sselid 3923 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ ℤ)
8482, 20eleqtrrdi 2851 . . . . . . . . . 10 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗𝑍)
85 zsum.4 . . . . . . . . . . . 12 ((𝜑𝑘𝑍) → (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
8685ralrimiva 3109 . . . . . . . . . . 11 (𝜑 → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
8786adantr 480 . . . . . . . . . 10 ((𝜑𝑗 ∈ (ℤ𝑀)) → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
88 nfcsb1v 3861 . . . . . . . . . . . 12 𝑘𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
8988nfeq2 2925 . . . . . . . . . . 11 𝑘(𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
90 fveq2 6768 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (𝐹𝑘) = (𝐹𝑗))
91 csbeq1a 3850 . . . . . . . . . . . 12 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 0) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
9290, 91eqeq12d 2755 . . . . . . . . . . 11 (𝑘 = 𝑗 → ((𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) ↔ (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
9389, 92rspc 3547 . . . . . . . . . 10 (𝑗𝑍 → (∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
9484, 87, 93sylc 65 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
95 fvex 6781 . . . . . . . . 9 (𝐹𝑗) ∈ V
9694, 95eqeltrrdi 2849 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ V)
97 nfcv 2908 . . . . . . . . . . 11 𝑛if(𝑘𝐴, 𝐵, 0)
98 nfv 1920 . . . . . . . . . . . 12 𝑘 𝑛𝐴
99 nfcsb1v 3861 . . . . . . . . . . . 12 𝑘𝑛 / 𝑘𝐵
100 nfcv 2908 . . . . . . . . . . . 12 𝑘0
10198, 99, 100nfif 4494 . . . . . . . . . . 11 𝑘if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
102 eleq1w 2822 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝑘𝐴𝑛𝐴))
103 csbeq1a 3850 . . . . . . . . . . . 12 (𝑘 = 𝑛𝐵 = 𝑛 / 𝑘𝐵)
104102, 103ifbieq1d 4488 . . . . . . . . . . 11 (𝑘 = 𝑛 → if(𝑘𝐴, 𝐵, 0) = if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
10597, 101, 104cbvmpt 5189 . . . . . . . . . 10 (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
106105eqcomi 2748 . . . . . . . . 9 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0))
107106fvmpts 6872 . . . . . . . 8 ((𝑗 ∈ ℤ ∧ 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ V) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
10883, 96, 107syl2anc 583 . . . . . . 7 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
109108, 94eqtr4d 2782 . . . . . 6 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = (𝐹𝑗))
11016, 109seqfeq 13729 . . . . 5 (𝜑 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , 𝐹))
111110breq1d 5088 . . . 4 (𝜑 → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
11281, 111bitrd 278 . . 3 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
113112iotabidv 6414 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥))
114 df-sum 15379 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
115 df-fv 6438 . 2 ( ⇝ ‘seq𝑀( + , 𝐹)) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥)
116113, 114, 1153eqtr4g 2804 1 (𝜑 → Σ𝑘𝐴 𝐵 = ( ⇝ ‘seq𝑀( + , 𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wo 843   = wceq 1541  wex 1785  wcel 2109  wral 3065  wrex 3066  Vcvv 3430  csb 3836  wss 3891  ifcif 4464   class class class wbr 5078  cmpt 5161   Or wor 5501  cio 6386  1-1-ontowf1o 6429  cfv 6430   Isom wiso 6431  (class class class)co 7268  cen 8704  Fincfn 8707  cc 10853  cr 10854  0cc0 10855  1c1 10856   + caddc 10858   < clt 10993  cn 11956  cz 12302  cuz 12564  ...cfz 13221  seqcseq 13702  chash 14025  cli 15174  Σcsu 15378
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579  ax-inf2 9360  ax-cnex 10911  ax-resscn 10912  ax-1cn 10913  ax-icn 10914  ax-addcl 10915  ax-addrcl 10916  ax-mulcl 10917  ax-mulrcl 10918  ax-mulcom 10919  ax-addass 10920  ax-mulass 10921  ax-distr 10922  ax-i2m1 10923  ax-1ne0 10924  ax-1rid 10925  ax-rnegex 10926  ax-rrecex 10927  ax-cnre 10928  ax-pre-lttri 10929  ax-pre-lttrn 10930  ax-pre-ltadd 10931  ax-pre-mulgt0 10932
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-int 4885  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-se 5544  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-isom 6439  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-er 8472  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-oi 9230  df-card 9681  df-pnf 10995  df-mnf 10996  df-xr 10997  df-ltxr 10998  df-le 10999  df-sub 11190  df-neg 11191  df-div 11616  df-nn 11957  df-2 12019  df-n0 12217  df-z 12303  df-uz 12565  df-rp 12713  df-fz 13222  df-fzo 13365  df-seq 13703  df-exp 13764  df-hash 14026  df-cj 14791  df-re 14792  df-im 14793  df-sqrt 14927  df-abs 14928  df-clim 15178  df-sum 15379
This theorem is referenced by:  isum  15412  sum0  15414  sumz  15415  sumss  15417  fsumsers  15421
  Copyright terms: Public domain W3C validator