ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  zsumdc GIF version

Theorem zsumdc 11325
Description: Series sum with index set a subset of the upper integers. (Contributed by Mario Carneiro, 13-Jun-2019.) (Revised by Jim Kingdon, 8-Apr-2023.)
Hypotheses
Ref Expression
zisum.1 𝑍 = (ℤ𝑀)
zisum.2 (𝜑𝑀 ∈ ℤ)
zisum.3 (𝜑𝐴𝑍)
zisum.4 ((𝜑𝑘𝑍) → (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
zisum.dc (𝜑 → ∀𝑥𝑍 DECID 𝑥𝐴)
zisum.5 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
Assertion
Ref Expression
zsumdc (𝜑 → Σ𝑘𝐴 𝐵 = ( ⇝ ‘seq𝑀( + , 𝐹)))
Distinct variable groups:   𝐴,𝑘,𝑥   𝑥,𝐵   𝑘,𝐹,𝑥   𝑥,𝑀   𝑘,𝑍,𝑥   𝜑,𝑘,𝑥
Allowed substitution hints:   𝐵(𝑘)   𝑀(𝑘)

Proof of Theorem zsumdc
Dummy variables 𝑎 𝑏 𝑗 𝑛 𝑓 𝑔 𝑖 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 3simpb 985 . . . . . . . 8 ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2 eleq1w 2227 . . . . . . . . . . . . 13 (𝑛 = 𝑖 → (𝑛𝐴𝑖𝐴))
3 csbeq1 3048 . . . . . . . . . . . . 13 (𝑛 = 𝑖𝑛 / 𝑘𝐵 = 𝑖 / 𝑘𝐵)
42, 3ifbieq1d 3542 . . . . . . . . . . . 12 (𝑛 = 𝑖 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
54cbvmptv 4078 . . . . . . . . . . 11 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑖 ∈ ℤ ↦ if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
6 simpr 109 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → 𝑖𝐴)
7 zisum.5 . . . . . . . . . . . . . 14 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
87ralrimiva 2539 . . . . . . . . . . . . 13 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
98ad3antrrr 484 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
10 nfcsb1v 3078 . . . . . . . . . . . . . 14 𝑘𝑖 / 𝑘𝐵
1110nfel1 2319 . . . . . . . . . . . . 13 𝑘𝑖 / 𝑘𝐵 ∈ ℂ
12 csbeq1a 3054 . . . . . . . . . . . . . 14 (𝑘 = 𝑖𝐵 = 𝑖 / 𝑘𝐵)
1312eleq1d 2235 . . . . . . . . . . . . 13 (𝑘 = 𝑖 → (𝐵 ∈ ℂ ↔ 𝑖 / 𝑘𝐵 ∈ ℂ))
1411, 13rspc 2824 . . . . . . . . . . . 12 (𝑖𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑖 / 𝑘𝐵 ∈ ℂ))
156, 9, 14sylc 62 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
16 simplr 520 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑚 ∈ ℤ)
17 zisum.2 . . . . . . . . . . . 12 (𝜑𝑀 ∈ ℤ)
1817ad2antrr 480 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑀 ∈ ℤ)
19 simpr 109 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑚))
20 zisum.3 . . . . . . . . . . . . 13 (𝜑𝐴𝑍)
21 zisum.1 . . . . . . . . . . . . 13 𝑍 = (ℤ𝑀)
2220, 21sseqtrdi 3190 . . . . . . . . . . . 12 (𝜑𝐴 ⊆ (ℤ𝑀))
2322ad2antrr 480 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑀))
24 zisum.dc . . . . . . . . . . . . . . . . . 18 (𝜑 → ∀𝑥𝑍 DECID 𝑥𝐴)
2521raleqi 2665 . . . . . . . . . . . . . . . . . 18 (∀𝑥𝑍 DECID 𝑥𝐴 ↔ ∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴)
2624, 25sylib 121 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴)
27 eleq1w 2227 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑖 → (𝑥𝐴𝑖𝐴))
2827dcbid 828 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑖 → (DECID 𝑥𝐴DECID 𝑖𝐴))
2928cbvralv 2692 . . . . . . . . . . . . . . . . 17 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑖 ∈ (ℤ𝑀)DECID 𝑖𝐴)
3026, 29sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑖 ∈ (ℤ𝑀)DECID 𝑖𝐴)
3130r19.21bi 2554 . . . . . . . . . . . . . . 15 ((𝜑𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3231adantlr 469 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℤ) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3332adantlr 469 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3433adantlr 469 . . . . . . . . . . . 12 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
35 simp-4l 531 . . . . . . . . . . . . . . 15 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → 𝜑)
36 simpr 109 . . . . . . . . . . . . . . 15 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → ¬ 𝑖 ∈ (ℤ𝑀))
3722ssneld 3144 . . . . . . . . . . . . . . 15 (𝜑 → (¬ 𝑖 ∈ (ℤ𝑀) → ¬ 𝑖𝐴))
3835, 36, 37sylc 62 . . . . . . . . . . . . . 14 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → ¬ 𝑖𝐴)
3938olcd 724 . . . . . . . . . . . . 13 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → (𝑖𝐴 ∨ ¬ 𝑖𝐴))
40 df-dc 825 . . . . . . . . . . . . 13 (DECID 𝑖𝐴 ↔ (𝑖𝐴 ∨ ¬ 𝑖𝐴))
4139, 40sylibr 133 . . . . . . . . . . . 12 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
42 eluzelz 9475 . . . . . . . . . . . . . 14 (𝑖 ∈ (ℤ𝑚) → 𝑖 ∈ ℤ)
43 eluzdc 9548 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ 𝑖 ∈ ℤ) → DECID 𝑖 ∈ (ℤ𝑀))
4418, 42, 43syl2an 287 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → DECID 𝑖 ∈ (ℤ𝑀))
45 exmiddc 826 . . . . . . . . . . . . 13 (DECID 𝑖 ∈ (ℤ𝑀) → (𝑖 ∈ (ℤ𝑀) ∨ ¬ 𝑖 ∈ (ℤ𝑀)))
4644, 45syl 14 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → (𝑖 ∈ (ℤ𝑀) ∨ ¬ 𝑖 ∈ (ℤ𝑀)))
4734, 41, 46mpjaodan 788 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → DECID 𝑖𝐴)
485, 15, 16, 18, 19, 23, 47, 33sumrbdc 11320 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
4948biimpd 143 . . . . . . . . 9 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
5049expimpd 361 . . . . . . . 8 ((𝜑𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
511, 50syl5 32 . . . . . . 7 ((𝜑𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
5251rexlimdva 2583 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
53 uzssz 9485 . . . . . . . . . . . . . 14 (ℤ𝑀) ⊆ ℤ
5422, 53sstrdi 3154 . . . . . . . . . . . . 13 (𝜑𝐴 ⊆ ℤ)
5554ad2antrr 480 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ⊆ ℤ)
56 1zzd 9218 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 1 ∈ ℤ)
57 simplr 520 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℕ)
5857nnzd 9312 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℤ)
5956, 58fzfigd 10366 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ∈ Fin)
60 simpr 109 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑓:(1...𝑚)–1-1-onto𝐴)
61 f1oeng 6723 . . . . . . . . . . . . . . 15 (((1...𝑚) ∈ Fin ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ≈ 𝐴)
6259, 60, 61syl2anc 409 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ≈ 𝐴)
6362ensymd 6749 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ≈ (1...𝑚))
64 enfii 6840 . . . . . . . . . . . . 13 (((1...𝑚) ∈ Fin ∧ 𝐴 ≈ (1...𝑚)) → 𝐴 ∈ Fin)
6559, 63, 64syl2anc 409 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ∈ Fin)
66 zfz1iso 10754 . . . . . . . . . . . 12 ((𝐴 ⊆ ℤ ∧ 𝐴 ∈ Fin) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
6755, 65, 66syl2anc 409 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
68 simpr 109 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → 𝑖𝐴)
698ad3antrrr 484 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
7068, 69, 14sylc 62 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
7131adantlr 469 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ ℕ) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
7271adantlr 469 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
73 breq1 3985 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑗 → (𝑛 ≤ (♯‘𝐴) ↔ 𝑗 ≤ (♯‘𝐴)))
74 fveq2 5486 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑗 → (𝑓𝑛) = (𝑓𝑗))
7574csbeq1d 3052 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵)
76 csbco 3055 . . . . . . . . . . . . . . . . . 18 (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵
7775, 76eqtr4di 2217 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵)
7873, 77ifbieq1d 3542 . . . . . . . . . . . . . . . 16 (𝑛 = 𝑗 → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑗 ≤ (♯‘𝐴), (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
7978cbvmptv 4078 . . . . . . . . . . . . . . 15 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
80 eqid 2165 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ ↦ if(𝑗𝑚, (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵, 0)) = (𝑗 ∈ ℕ ↦ if(𝑗𝑚, (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
81 simplr 520 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑚 ∈ ℕ)
8217ad2antrr 480 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑀 ∈ ℤ)
8322ad2antrr 480 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝐴 ⊆ (ℤ𝑀))
8460adantrr 471 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑓:(1...𝑚)–1-1-onto𝐴)
85 simprr 522 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
865, 70, 72, 79, 80, 81, 82, 83, 84, 85summodclem2a 11322 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
8759adantrr 471 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (1...𝑚) ∈ Fin)
8887, 84fihasheqf1od 10703 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘(1...𝑚)) = (♯‘𝐴))
8981nnnn0d 9167 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑚 ∈ ℕ0)
90 hashfz1 10696 . . . . . . . . . . . . . . . . . . . . 21 (𝑚 ∈ ℕ0 → (♯‘(1...𝑚)) = 𝑚)
9189, 90syl 14 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘(1...𝑚)) = 𝑚)
9288, 91eqtr3d 2200 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘𝐴) = 𝑚)
9392breq2d 3994 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (𝑛 ≤ (♯‘𝐴) ↔ 𝑛𝑚))
9493ifbid 3541 . . . . . . . . . . . . . . . . 17 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))
9594mpteq2dv 4073 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))
9695seqeq3d 10388 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))))
9796fveq1d 5488 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
9886, 97breqtrd 4008 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
9998expr 373 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
10099exlimdv 1807 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
10167, 100mpd 13 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
102 breq2 3986 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
103101, 102syl5ibrcom 156 . . . . . . . . 9 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
104103expimpd 361 . . . . . . . 8 ((𝜑𝑚 ∈ ℕ) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
105104exlimdv 1807 . . . . . . 7 ((𝜑𝑚 ∈ ℕ) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
106105rexlimdva 2583 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
10752, 106jaod 707 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
10817adantr 274 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝑀 ∈ ℤ)
10922adantr 274 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝐴 ⊆ (ℤ𝑀))
110 eleq1w 2227 . . . . . . . . . . . 12 (𝑥 = 𝑗 → (𝑥𝐴𝑗𝐴))
111110dcbid 828 . . . . . . . . . . 11 (𝑥 = 𝑗 → (DECID 𝑥𝐴DECID 𝑗𝐴))
112111cbvralv 2692 . . . . . . . . . 10 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
11326, 112sylib 121 . . . . . . . . 9 (𝜑 → ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
114113adantr 274 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
115 simpr 109 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
116 fveq2 5486 . . . . . . . . . . 11 (𝑚 = 𝑀 → (ℤ𝑚) = (ℤ𝑀))
117116sseq2d 3172 . . . . . . . . . 10 (𝑚 = 𝑀 → (𝐴 ⊆ (ℤ𝑚) ↔ 𝐴 ⊆ (ℤ𝑀)))
118116raleqdv 2667 . . . . . . . . . 10 (𝑚 = 𝑀 → (∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ↔ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴))
119 seqeq1 10383 . . . . . . . . . . 11 (𝑚 = 𝑀 → seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))))
120119breq1d 3992 . . . . . . . . . 10 (𝑚 = 𝑀 → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
121117, 118, 1203anbi123d 1302 . . . . . . . . 9 (𝑚 = 𝑀 → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)))
122121rspcev 2830 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ (𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
123108, 109, 114, 115, 122syl13anc 1230 . . . . . . 7 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
124123orcd 723 . . . . . 6 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
125124ex 114 . . . . 5 (𝜑 → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))))
126107, 125impbid 128 . . . 4 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
127 eluzelz 9475 . . . . . . . 8 (𝑎 ∈ (ℤ𝑀) → 𝑎 ∈ ℤ)
128 simpr 109 . . . . . . . . . 10 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → 𝑎𝐴)
1298ad2antrr 480 . . . . . . . . . 10 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
130 nfcsb1v 3078 . . . . . . . . . . . 12 𝑘𝑎 / 𝑘𝐵
131130nfel1 2319 . . . . . . . . . . 11 𝑘𝑎 / 𝑘𝐵 ∈ ℂ
132 csbeq1a 3054 . . . . . . . . . . . 12 (𝑘 = 𝑎𝐵 = 𝑎 / 𝑘𝐵)
133132eleq1d 2235 . . . . . . . . . . 11 (𝑘 = 𝑎 → (𝐵 ∈ ℂ ↔ 𝑎 / 𝑘𝐵 ∈ ℂ))
134131, 133rspc 2824 . . . . . . . . . 10 (𝑎𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑎 / 𝑘𝐵 ∈ ℂ))
135128, 129, 134sylc 62 . . . . . . . . 9 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → 𝑎 / 𝑘𝐵 ∈ ℂ)
136 0cnd 7892 . . . . . . . . 9 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ ¬ 𝑎𝐴) → 0 ∈ ℂ)
137 eleq1w 2227 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑥𝐴𝑎𝐴))
138137dcbid 828 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (DECID 𝑥𝐴DECID 𝑎𝐴))
139138cbvralv 2692 . . . . . . . . . . 11 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
14026, 139sylib 121 . . . . . . . . . 10 (𝜑 → ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
141140r19.21bi 2554 . . . . . . . . 9 ((𝜑𝑎 ∈ (ℤ𝑀)) → DECID 𝑎𝐴)
142135, 136, 141ifcldadc 3549 . . . . . . . 8 ((𝜑𝑎 ∈ (ℤ𝑀)) → if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0) ∈ ℂ)
143 eleq1w 2227 . . . . . . . . . 10 (𝑛 = 𝑎 → (𝑛𝐴𝑎𝐴))
144 csbeq1 3048 . . . . . . . . . 10 (𝑛 = 𝑎𝑛 / 𝑘𝐵 = 𝑎 / 𝑘𝐵)
145143, 144ifbieq1d 3542 . . . . . . . . 9 (𝑛 = 𝑎 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
146 eqid 2165 . . . . . . . . 9 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
147145, 146fvmptg 5562 . . . . . . . 8 ((𝑎 ∈ ℤ ∧ if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0) ∈ ℂ) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
148127, 142, 147syl2an2 584 . . . . . . 7 ((𝜑𝑎 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
149148, 142eqeltrd 2243 . . . . . 6 ((𝜑𝑎 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) ∈ ℂ)
150 simpr 109 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ (ℤ𝑀))
15153, 150sselid 3140 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ ℤ)
152 vex 2729 . . . . . . . . . 10 𝑗 ∈ V
153 nfv 1516 . . . . . . . . . . 11 𝑘 𝑗𝐴
154 nfcsb1v 3078 . . . . . . . . . . 11 𝑘𝑗 / 𝑘𝐵
155 nfcv 2308 . . . . . . . . . . 11 𝑘0
156153, 154, 155nfif 3548 . . . . . . . . . 10 𝑘if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0)
157 eleq1w 2227 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝑘𝐴𝑗𝐴))
158 csbeq1a 3054 . . . . . . . . . . 11 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
159157, 158ifbieq1d 3542 . . . . . . . . . 10 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
160152, 156, 159csbief 3089 . . . . . . . . 9 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0)
161 simpr 109 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → 𝑗𝐴)
1628ad2antrr 480 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
163154nfel1 2319 . . . . . . . . . . . 12 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
164158eleq1d 2235 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
165163, 164rspc 2824 . . . . . . . . . . 11 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
166161, 162, 165sylc 62 . . . . . . . . . 10 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
167 0cnd 7892 . . . . . . . . . 10 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ ¬ 𝑗𝐴) → 0 ∈ ℂ)
168113r19.21bi 2554 . . . . . . . . . 10 ((𝜑𝑗 ∈ (ℤ𝑀)) → DECID 𝑗𝐴)
169166, 167, 168ifcldadc 3549 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0) ∈ ℂ)
170160, 169eqeltrid 2253 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ ℂ)
171 nfcv 2308 . . . . . . . . . . 11 𝑛if(𝑘𝐴, 𝐵, 0)
172 nfv 1516 . . . . . . . . . . . 12 𝑘 𝑛𝐴
173 nfcsb1v 3078 . . . . . . . . . . . 12 𝑘𝑛 / 𝑘𝐵
174172, 173, 155nfif 3548 . . . . . . . . . . 11 𝑘if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
175 eleq1w 2227 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝑘𝐴𝑛𝐴))
176 csbeq1a 3054 . . . . . . . . . . . 12 (𝑘 = 𝑛𝐵 = 𝑛 / 𝑘𝐵)
177175, 176ifbieq1d 3542 . . . . . . . . . . 11 (𝑘 = 𝑛 → if(𝑘𝐴, 𝐵, 0) = if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
178171, 174, 177cbvmpt 4077 . . . . . . . . . 10 (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
179178eqcomi 2169 . . . . . . . . 9 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0))
180179fvmpts 5564 . . . . . . . 8 ((𝑗 ∈ ℤ ∧ 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ ℂ) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
181151, 170, 180syl2anc 409 . . . . . . 7 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
182150, 21eleqtrrdi 2260 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗𝑍)
183 zisum.4 . . . . . . . . . 10 ((𝜑𝑘𝑍) → (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
184183ralrimiva 2539 . . . . . . . . 9 (𝜑 → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
185184adantr 274 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
186 nfcsb1v 3078 . . . . . . . . . 10 𝑘𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
187186nfeq2 2320 . . . . . . . . 9 𝑘(𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
188 fveq2 5486 . . . . . . . . . 10 (𝑘 = 𝑗 → (𝐹𝑘) = (𝐹𝑗))
189 csbeq1a 3054 . . . . . . . . . 10 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 0) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
190188, 189eqeq12d 2180 . . . . . . . . 9 (𝑘 = 𝑗 → ((𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) ↔ (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
191187, 190rspc 2824 . . . . . . . 8 (𝑗𝑍 → (∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
192182, 185, 191sylc 62 . . . . . . 7 ((𝜑𝑗 ∈ (ℤ𝑀)) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
193181, 192eqtr4d 2201 . . . . . 6 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = (𝐹𝑗))
194 addcl 7878 . . . . . . 7 ((𝑎 ∈ ℂ ∧ 𝑏 ∈ ℂ) → (𝑎 + 𝑏) ∈ ℂ)
195194adantl 275 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ ℂ ∧ 𝑏 ∈ ℂ)) → (𝑎 + 𝑏) ∈ ℂ)
19617, 149, 193, 195seq3feq 10407 . . . . 5 (𝜑 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , 𝐹))
197196breq1d 3992 . . . 4 (𝜑 → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
198126, 197bitrd 187 . . 3 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
199198iotabidv 5174 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥))
200 df-sumdc 11295 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
201 df-fv 5196 . 2 ( ⇝ ‘seq𝑀( + , 𝐹)) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥)
202199, 200, 2013eqtr4g 2224 1 (𝜑 → Σ𝑘𝐴 𝐵 = ( ⇝ ‘seq𝑀( + , 𝐹)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wex 1480  wcel 2136  wral 2444  wrex 2445  csb 3045  wss 3116  ifcif 3520   class class class wbr 3982  cmpt 4043  cio 5151  1-1-ontowf1o 5187  cfv 5188   Isom wiso 5189  (class class class)co 5842  cen 6704  Fincfn 6706  cc 7751  0cc0 7753  1c1 7754   + caddc 7756   < clt 7933  cle 7934  cn 8857  0cn0 9114  cz 9191  cuz 9466  ...cfz 9944  seqcseq 10380  chash 10688  cli 11219  Σcsu 11294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-isom 5197  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-irdg 6338  df-frec 6359  df-1o 6384  df-oadd 6388  df-er 6501  df-en 6707  df-dom 6708  df-fin 6709  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-fz 9945  df-fzo 10078  df-seqfrec 10381  df-exp 10455  df-ihash 10689  df-cj 10784  df-rsqrt 10940  df-abs 10941  df-clim 11220  df-sumdc 11295
This theorem is referenced by:  isum  11326  sum0  11329  isumz  11330  isumss  11332  fsumsersdc  11336
  Copyright terms: Public domain W3C validator