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

Theorem zsumdc 10992
 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 947 . . . . . . . 8 ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
2 eleq1w 2160 . . . . . . . . . . . . 13 (𝑛 = 𝑖 → (𝑛𝐴𝑖𝐴))
3 csbeq1 2958 . . . . . . . . . . . . 13 (𝑛 = 𝑖𝑛 / 𝑘𝐵 = 𝑖 / 𝑘𝐵)
42, 3ifbieq1d 3441 . . . . . . . . . . . 12 (𝑛 = 𝑖 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
54cbvmptv 3964 . . . . . . . . . . 11 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑖 ∈ ℤ ↦ if(𝑖𝐴, 𝑖 / 𝑘𝐵, 0))
6 simpr 109 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → 𝑖𝐴)
7 zisum.5 . . . . . . . . . . . . . 14 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
87ralrimiva 2464 . . . . . . . . . . . . 13 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
98ad3antrrr 479 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
10 nfcsb1v 2985 . . . . . . . . . . . . . 14 𝑘𝑖 / 𝑘𝐵
1110nfel1 2251 . . . . . . . . . . . . 13 𝑘𝑖 / 𝑘𝐵 ∈ ℂ
12 csbeq1a 2963 . . . . . . . . . . . . . 14 (𝑘 = 𝑖𝐵 = 𝑖 / 𝑘𝐵)
1312eleq1d 2168 . . . . . . . . . . . . 13 (𝑘 = 𝑖 → (𝐵 ∈ ℂ ↔ 𝑖 / 𝑘𝐵 ∈ ℂ))
1411, 13rspc 2738 . . . . . . . . . . . 12 (𝑖𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑖 / 𝑘𝐵 ∈ ℂ))
156, 9, 14sylc 62 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
16 simplr 500 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑚 ∈ ℤ)
17 zisum.2 . . . . . . . . . . . 12 (𝜑𝑀 ∈ ℤ)
1817ad2antrr 475 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝑀 ∈ ℤ)
19 simpr 109 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑚))
20 zisum.3 . . . . . . . . . . . . 13 (𝜑𝐴𝑍)
21 zisum.1 . . . . . . . . . . . . 13 𝑍 = (ℤ𝑀)
2220, 21syl6sseq 3095 . . . . . . . . . . . 12 (𝜑𝐴 ⊆ (ℤ𝑀))
2322ad2antrr 475 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → 𝐴 ⊆ (ℤ𝑀))
24 zisum.dc . . . . . . . . . . . . . . . . . 18 (𝜑 → ∀𝑥𝑍 DECID 𝑥𝐴)
2521raleqi 2588 . . . . . . . . . . . . . . . . . 18 (∀𝑥𝑍 DECID 𝑥𝐴 ↔ ∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴)
2624, 25sylib 121 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴)
27 eleq1w 2160 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑖 → (𝑥𝐴𝑖𝐴))
2827dcbid 792 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑖 → (DECID 𝑥𝐴DECID 𝑖𝐴))
2928cbvralv 2612 . . . . . . . . . . . . . . . . 17 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑖 ∈ (ℤ𝑀)DECID 𝑖𝐴)
3026, 29sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑖 ∈ (ℤ𝑀)DECID 𝑖𝐴)
3130r19.21bi 2479 . . . . . . . . . . . . . . 15 ((𝜑𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3231adantlr 464 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℤ) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3332adantlr 464 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
3433adantlr 464 . . . . . . . . . . . 12 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
35 simp-4l 511 . . . . . . . . . . . . . . 15 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → 𝜑)
36 simpr 109 . . . . . . . . . . . . . . 15 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → ¬ 𝑖 ∈ (ℤ𝑀))
3722ssneld 3049 . . . . . . . . . . . . . . 15 (𝜑 → (¬ 𝑖 ∈ (ℤ𝑀) → ¬ 𝑖𝐴))
3835, 36, 37sylc 62 . . . . . . . . . . . . . 14 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → ¬ 𝑖𝐴)
3938olcd 694 . . . . . . . . . . . . 13 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → (𝑖𝐴 ∨ ¬ 𝑖𝐴))
40 df-dc 787 . . . . . . . . . . . . 13 (DECID 𝑖𝐴 ↔ (𝑖𝐴 ∨ ¬ 𝑖𝐴))
4139, 40sylibr 133 . . . . . . . . . . . 12 (((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) ∧ ¬ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
42 eluzelz 9185 . . . . . . . . . . . . . 14 (𝑖 ∈ (ℤ𝑚) → 𝑖 ∈ ℤ)
43 eluzdc 9254 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ 𝑖 ∈ ℤ) → DECID 𝑖 ∈ (ℤ𝑀))
4418, 42, 43syl2an 285 . . . . . . . . . . . . 13 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → DECID 𝑖 ∈ (ℤ𝑀))
45 exmiddc 788 . . . . . . . . . . . . 13 (DECID 𝑖 ∈ (ℤ𝑀) → (𝑖 ∈ (ℤ𝑀) ∨ ¬ 𝑖 ∈ (ℤ𝑀)))
4644, 45syl 14 . . . . . . . . . . . 12 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → (𝑖 ∈ (ℤ𝑀) ∨ ¬ 𝑖 ∈ (ℤ𝑀)))
4734, 41, 46mpjaodan 753 . . . . . . . . . . 11 ((((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) ∧ 𝑖 ∈ (ℤ𝑚)) → DECID 𝑖𝐴)
485, 15, 16, 18, 19, 23, 47, 33sumrbdc 10986 . . . . . . . . . 10 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
4948biimpd 143 . . . . . . . . 9 (((𝜑𝑚 ∈ ℤ) ∧ 𝐴 ⊆ (ℤ𝑚)) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
5049expimpd 358 . . . . . . . 8 ((𝜑𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
511, 50syl5 32 . . . . . . 7 ((𝜑𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
5251rexlimdva 2508 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
53 uzssz 9195 . . . . . . . . . . . . . 14 (ℤ𝑀) ⊆ ℤ
5422, 53syl6ss 3059 . . . . . . . . . . . . 13 (𝜑𝐴 ⊆ ℤ)
5554ad2antrr 475 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ⊆ ℤ)
56 1zzd 8933 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 1 ∈ ℤ)
57 simplr 500 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℕ)
5857nnzd 9024 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℤ)
5956, 58fzfigd 10045 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ∈ Fin)
60 simpr 109 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑓:(1...𝑚)–1-1-onto𝐴)
61 f1oeng 6581 . . . . . . . . . . . . . . 15 (((1...𝑚) ∈ Fin ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ≈ 𝐴)
6259, 60, 61syl2anc 406 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (1...𝑚) ≈ 𝐴)
6362ensymd 6607 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ≈ (1...𝑚))
64 enfii 6697 . . . . . . . . . . . . 13 (((1...𝑚) ∈ Fin ∧ 𝐴 ≈ (1...𝑚)) → 𝐴 ∈ Fin)
6559, 63, 64syl2anc 406 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝐴 ∈ Fin)
66 zfz1iso 10425 . . . . . . . . . . . 12 ((𝐴 ⊆ ℤ ∧ 𝐴 ∈ Fin) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
6755, 65, 66syl2anc 406 . . . . . . . . . . 11 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → ∃𝑔 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
68 simpr 109 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → 𝑖𝐴)
698ad3antrrr 479 . . . . . . . . . . . . . . . 16 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
7068, 69, 14sylc 62 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖𝐴) → 𝑖 / 𝑘𝐵 ∈ ℂ)
7131adantlr 464 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ ℕ) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
7271adantlr 464 . . . . . . . . . . . . . . 15 ((((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) ∧ 𝑖 ∈ (ℤ𝑀)) → DECID 𝑖𝐴)
73 breq1 3878 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑗 → (𝑛 ≤ (♯‘𝐴) ↔ 𝑗 ≤ (♯‘𝐴)))
74 fveq2 5353 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑗 → (𝑓𝑛) = (𝑓𝑗))
7574csbeq1d 2961 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵)
76 csbco 2964 . . . . . . . . . . . . . . . . . 18 (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵 = (𝑓𝑗) / 𝑘𝐵
7775, 76syl6eqr 2150 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑗(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵)
7873, 77ifbieq1d 3441 . . . . . . . . . . . . . . . 16 (𝑛 = 𝑗 → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑗 ≤ (♯‘𝐴), (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
7978cbvmptv 3964 . . . . . . . . . . . . . . 15 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), (𝑓𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
80 eqid 2100 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ ↦ if(𝑗𝑚, (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵, 0)) = (𝑗 ∈ ℕ ↦ if(𝑗𝑚, (𝑔𝑗) / 𝑖𝑖 / 𝑘𝐵, 0))
81 simplr 500 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑚 ∈ ℕ)
8217ad2antrr 475 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑀 ∈ ℤ)
8322ad2antrr 475 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝐴 ⊆ (ℤ𝑀))
8460adantrr 466 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑓:(1...𝑚)–1-1-onto𝐴)
85 simprr 502 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))
865, 70, 72, 79, 80, 81, 82, 83, 84, 85summodclem2a 10989 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
8759adantrr 466 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (1...𝑚) ∈ Fin)
8887, 84fihasheqf1od 10377 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘(1...𝑚)) = (♯‘𝐴))
8981nnnn0d 8882 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → 𝑚 ∈ ℕ0)
90 hashfz1 10370 . . . . . . . . . . . . . . . . . . . . 21 (𝑚 ∈ ℕ0 → (♯‘(1...𝑚)) = 𝑚)
9189, 90syl 14 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘(1...𝑚)) = 𝑚)
9288, 91eqtr3d 2134 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (♯‘𝐴) = 𝑚)
9392breq2d 3887 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (𝑛 ≤ (♯‘𝐴) ↔ 𝑛𝑚))
9493ifbid 3440 . . . . . . . . . . . . . . . . 17 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))
9594mpteq2dv 3959 . . . . . . . . . . . . . . . 16 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))
9695seqeq3d 10067 . . . . . . . . . . . . . . 15 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))))
9796fveq1d 5355 . . . . . . . . . . . . . 14 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
9886, 97breqtrd 3899 . . . . . . . . . . . . 13 (((𝜑𝑚 ∈ ℕ) ∧ (𝑓:(1...𝑚)–1-1-onto𝐴𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
9998expr 370 . . . . . . . . . . . 12 (((𝜑𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑔 Isom < , < ((1...(♯‘𝐴)), 𝐴) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
10099exlimdv 1758 . . . . . . . . . . 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 3879 . . . . . . . . . 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 358 . . . . . . . 8 ((𝜑𝑚 ∈ ℕ) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
105104exlimdv 1758 . . . . . . 7 ((𝜑𝑚 ∈ ℕ) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
106105rexlimdva 2508 . . . . . 6 (𝜑 → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
10752, 106jaod 678 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
10817adantr 272 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝑀 ∈ ℤ)
10922adantr 272 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → 𝐴 ⊆ (ℤ𝑀))
110 eleq1w 2160 . . . . . . . . . . . 12 (𝑥 = 𝑗 → (𝑥𝐴𝑗𝐴))
111110dcbid 792 . . . . . . . . . . 11 (𝑥 = 𝑗 → (DECID 𝑥𝐴DECID 𝑗𝐴))
112111cbvralv 2612 . . . . . . . . . 10 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
11326, 112sylib 121 . . . . . . . . 9 (𝜑 → ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
114113adantr 272 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
115 simpr 109 . . . . . . . 8 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)
116 fveq2 5353 . . . . . . . . . . 11 (𝑚 = 𝑀 → (ℤ𝑚) = (ℤ𝑀))
117116sseq2d 3077 . . . . . . . . . 10 (𝑚 = 𝑀 → (𝐴 ⊆ (ℤ𝑚) ↔ 𝐴 ⊆ (ℤ𝑀)))
118116raleqdv 2590 . . . . . . . . . 10 (𝑚 = 𝑀 → (∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ↔ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴))
119 seqeq1 10062 . . . . . . . . . . 11 (𝑚 = 𝑀 → seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))))
120119breq1d 3885 . . . . . . . . . 10 (𝑚 = 𝑀 → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
121117, 118, 1203anbi123d 1258 . . . . . . . . 9 (𝑚 = 𝑀 → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)))
122121rspcev 2744 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ (𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥)) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
123108, 109, 114, 115, 122syl13anc 1186 . . . . . . 7 ((𝜑 ∧ seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) → ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
124123orcd 693 . . . . . 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 9185 . . . . . . . 8 (𝑎 ∈ (ℤ𝑀) → 𝑎 ∈ ℤ)
128 simpr 109 . . . . . . . . . 10 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → 𝑎𝐴)
1298ad2antrr 475 . . . . . . . . . 10 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
130 nfcsb1v 2985 . . . . . . . . . . . 12 𝑘𝑎 / 𝑘𝐵
131130nfel1 2251 . . . . . . . . . . 11 𝑘𝑎 / 𝑘𝐵 ∈ ℂ
132 csbeq1a 2963 . . . . . . . . . . . 12 (𝑘 = 𝑎𝐵 = 𝑎 / 𝑘𝐵)
133132eleq1d 2168 . . . . . . . . . . 11 (𝑘 = 𝑎 → (𝐵 ∈ ℂ ↔ 𝑎 / 𝑘𝐵 ∈ ℂ))
134131, 133rspc 2738 . . . . . . . . . 10 (𝑎𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑎 / 𝑘𝐵 ∈ ℂ))
135128, 129, 134sylc 62 . . . . . . . . 9 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ 𝑎𝐴) → 𝑎 / 𝑘𝐵 ∈ ℂ)
136 0cnd 7631 . . . . . . . . 9 (((𝜑𝑎 ∈ (ℤ𝑀)) ∧ ¬ 𝑎𝐴) → 0 ∈ ℂ)
137 eleq1w 2160 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑥𝐴𝑎𝐴))
138137dcbid 792 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (DECID 𝑥𝐴DECID 𝑎𝐴))
139138cbvralv 2612 . . . . . . . . . . 11 (∀𝑥 ∈ (ℤ𝑀)DECID 𝑥𝐴 ↔ ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
14026, 139sylib 121 . . . . . . . . . 10 (𝜑 → ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
141140r19.21bi 2479 . . . . . . . . 9 ((𝜑𝑎 ∈ (ℤ𝑀)) → DECID 𝑎𝐴)
142135, 136, 141ifcldadc 3448 . . . . . . . 8 ((𝜑𝑎 ∈ (ℤ𝑀)) → if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0) ∈ ℂ)
143 eleq1w 2160 . . . . . . . . . 10 (𝑛 = 𝑎 → (𝑛𝐴𝑎𝐴))
144 csbeq1 2958 . . . . . . . . . 10 (𝑛 = 𝑎𝑛 / 𝑘𝐵 = 𝑎 / 𝑘𝐵)
145143, 144ifbieq1d 3441 . . . . . . . . 9 (𝑛 = 𝑎 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
146 eqid 2100 . . . . . . . . 9 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
147145, 146fvmptg 5429 . . . . . . . 8 ((𝑎 ∈ ℤ ∧ if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0) ∈ ℂ) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
148127, 142, 147syl2an2 564 . . . . . . 7 ((𝜑𝑎 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) = if(𝑎𝐴, 𝑎 / 𝑘𝐵, 0))
149148, 142eqeltrd 2176 . . . . . 6 ((𝜑𝑎 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑎) ∈ ℂ)
150 simpr 109 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ (ℤ𝑀))
15153, 150sseldi 3045 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 ∈ ℤ)
152 vex 2644 . . . . . . . . . 10 𝑗 ∈ V
153 nfv 1476 . . . . . . . . . . 11 𝑘 𝑗𝐴
154 nfcsb1v 2985 . . . . . . . . . . 11 𝑘𝑗 / 𝑘𝐵
155 nfcv 2240 . . . . . . . . . . 11 𝑘0
156153, 154, 155nfif 3447 . . . . . . . . . 10 𝑘if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0)
157 eleq1w 2160 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝑘𝐴𝑗𝐴))
158 csbeq1a 2963 . . . . . . . . . . 11 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
159157, 158ifbieq1d 3441 . . . . . . . . . 10 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
160152, 156, 159csbief 2994 . . . . . . . . 9 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0)
161 simpr 109 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → 𝑗𝐴)
1628ad2antrr 475 . . . . . . . . . . 11 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → ∀𝑘𝐴 𝐵 ∈ ℂ)
163154nfel1 2251 . . . . . . . . . . . 12 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
164158eleq1d 2168 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
165163, 164rspc 2738 . . . . . . . . . . 11 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
166161, 162, 165sylc 62 . . . . . . . . . 10 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ 𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
167 0cnd 7631 . . . . . . . . . 10 (((𝜑𝑗 ∈ (ℤ𝑀)) ∧ ¬ 𝑗𝐴) → 0 ∈ ℂ)
168113r19.21bi 2479 . . . . . . . . . 10 ((𝜑𝑗 ∈ (ℤ𝑀)) → DECID 𝑗𝐴)
169166, 167, 168ifcldadc 3448 . . . . . . . . 9 ((𝜑𝑗 ∈ (ℤ𝑀)) → if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0) ∈ ℂ)
170160, 169syl5eqel 2186 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ ℂ)
171 nfcv 2240 . . . . . . . . . . 11 𝑛if(𝑘𝐴, 𝐵, 0)
172 nfv 1476 . . . . . . . . . . . 12 𝑘 𝑛𝐴
173 nfcsb1v 2985 . . . . . . . . . . . 12 𝑘𝑛 / 𝑘𝐵
174172, 173, 155nfif 3447 . . . . . . . . . . 11 𝑘if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)
175 eleq1w 2160 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝑘𝐴𝑛𝐴))
176 csbeq1a 2963 . . . . . . . . . . . 12 (𝑘 = 𝑛𝐵 = 𝑛 / 𝑘𝐵)
177175, 176ifbieq1d 3441 . . . . . . . . . . 11 (𝑘 = 𝑛 → if(𝑘𝐴, 𝐵, 0) = if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
178171, 174, 177cbvmpt 3963 . . . . . . . . . 10 (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0)) = (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))
179178eqcomi 2104 . . . . . . . . 9 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 0))
180179fvmpts 5431 . . . . . . . 8 ((𝑗 ∈ ℤ ∧ 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0) ∈ ℂ) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
181151, 170, 180syl2anc 406 . . . . . . 7 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
182150, 21syl6eleqr 2193 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → 𝑗𝑍)
183 zisum.4 . . . . . . . . . 10 ((𝜑𝑘𝑍) → (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
184183ralrimiva 2464 . . . . . . . . 9 (𝜑 → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
185184adantr 272 . . . . . . . 8 ((𝜑𝑗 ∈ (ℤ𝑀)) → ∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0))
186 nfcsb1v 2985 . . . . . . . . . 10 𝑘𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
187186nfeq2 2252 . . . . . . . . 9 𝑘(𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)
188 fveq2 5353 . . . . . . . . . 10 (𝑘 = 𝑗 → (𝐹𝑘) = (𝐹𝑗))
189 csbeq1a 2963 . . . . . . . . . 10 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 0) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
190188, 189eqeq12d 2114 . . . . . . . . 9 (𝑘 = 𝑗 → ((𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) ↔ (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
191187, 190rspc 2738 . . . . . . . 8 (𝑗𝑍 → (∀𝑘𝑍 (𝐹𝑘) = if(𝑘𝐴, 𝐵, 0) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0)))
192182, 185, 191sylc 62 . . . . . . 7 ((𝜑𝑗 ∈ (ℤ𝑀)) → (𝐹𝑗) = 𝑗 / 𝑘if(𝑘𝐴, 𝐵, 0))
193181, 192eqtr4d 2135 . . . . . 6 ((𝜑𝑗 ∈ (ℤ𝑀)) → ((𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))‘𝑗) = (𝐹𝑗))
194 addcl 7617 . . . . . . 7 ((𝑎 ∈ ℂ ∧ 𝑏 ∈ ℂ) → (𝑎 + 𝑏) ∈ ℂ)
195194adantl 273 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ ℂ ∧ 𝑏 ∈ ℂ)) → (𝑎 + 𝑏) ∈ ℂ)
19617, 149, 193, 195seq3feq 10086 . . . . 5 (𝜑 → seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) = seq𝑀( + , 𝐹))
197196breq1d 3885 . . . 4 (𝜑 → (seq𝑀( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
198126, 197bitrd 187 . . 3 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ seq𝑀( + , 𝐹) ⇝ 𝑥))
199198iotabidv 5045 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥))
200 df-sumdc 10962 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
201 df-fv 5067 . 2 ( ⇝ ‘seq𝑀( + , 𝐹)) = (℩𝑥seq𝑀( + , 𝐹) ⇝ 𝑥)
202199, 200, 2013eqtr4g 2157 1 (𝜑 → Σ𝑘𝐴 𝐵 = ( ⇝ ‘seq𝑀( + , 𝐹)))
 Colors of variables: wff set class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 103   ∨ wo 670  DECID wdc 786   ∧ w3a 930   = wceq 1299  ∃wex 1436   ∈ wcel 1448  ∀wral 2375  ∃wrex 2376  ⦋csb 2955   ⊆ wss 3021  ifcif 3421   class class class wbr 3875   ↦ cmpt 3929  ℩cio 5022  –1-1-onto→wf1o 5058  ‘cfv 5059   Isom wiso 5060  (class class class)co 5706   ≈ cen 6562  Fincfn 6564  ℂcc 7498  0cc0 7500  1c1 7501   + caddc 7503   < clt 7672   ≤ cle 7673  ℕcn 8578  ℕ0cn0 8829  ℤcz 8906  ℤ≥cuz 9176  ...cfz 9631  seqcseq 10059  ♯chash 10362   ⇝ cli 10886  Σcsu 10961 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 584  ax-in2 585  ax-io 671  ax-5 1391  ax-7 1392  ax-gen 1393  ax-ie1 1437  ax-ie2 1438  ax-8 1450  ax-10 1451  ax-11 1452  ax-i12 1453  ax-bndl 1454  ax-4 1455  ax-13 1459  ax-14 1460  ax-17 1474  ax-i9 1478  ax-ial 1482  ax-i5r 1483  ax-ext 2082  ax-coll 3983  ax-sep 3986  ax-nul 3994  ax-pow 4038  ax-pr 4069  ax-un 4293  ax-setind 4390  ax-iinf 4440  ax-cnex 7586  ax-resscn 7587  ax-1cn 7588  ax-1re 7589  ax-icn 7590  ax-addcl 7591  ax-addrcl 7592  ax-mulcl 7593  ax-mulrcl 7594  ax-addcom 7595  ax-mulcom 7596  ax-addass 7597  ax-mulass 7598  ax-distr 7599  ax-i2m1 7600  ax-0lt1 7601  ax-1rid 7602  ax-0id 7603  ax-rnegex 7604  ax-precex 7605  ax-cnre 7606  ax-pre-ltirr 7607  ax-pre-ltwlin 7608  ax-pre-lttrn 7609  ax-pre-apti 7610  ax-pre-ltadd 7611  ax-pre-mulgt0 7612  ax-pre-mulext 7613 This theorem depends on definitions:  df-bi 116  df-dc 787  df-3or 931  df-3an 932  df-tru 1302  df-fal 1305  df-nf 1405  df-sb 1704  df-eu 1963  df-mo 1964  df-clab 2087  df-cleq 2093  df-clel 2096  df-nfc 2229  df-ne 2268  df-nel 2363  df-ral 2380  df-rex 2381  df-reu 2382  df-rmo 2383  df-rab 2384  df-v 2643  df-sbc 2863  df-csb 2956  df-dif 3023  df-un 3025  df-in 3027  df-ss 3034  df-nul 3311  df-if 3422  df-pw 3459  df-sn 3480  df-pr 3481  df-op 3483  df-uni 3684  df-int 3719  df-iun 3762  df-br 3876  df-opab 3930  df-mpt 3931  df-tr 3967  df-id 4153  df-po 4156  df-iso 4157  df-iord 4226  df-on 4228  df-ilim 4229  df-suc 4231  df-iom 4443  df-xp 4483  df-rel 4484  df-cnv 4485  df-co 4486  df-dm 4487  df-rn 4488  df-res 4489  df-ima 4490  df-iota 5024  df-fun 5061  df-fn 5062  df-f 5063  df-f1 5064  df-fo 5065  df-f1o 5066  df-fv 5067  df-isom 5068  df-riota 5662  df-ov 5709  df-oprab 5710  df-mpo 5711  df-1st 5969  df-2nd 5970  df-recs 6132  df-irdg 6197  df-frec 6218  df-1o 6243  df-oadd 6247  df-er 6359  df-en 6565  df-dom 6566  df-fin 6567  df-pnf 7674  df-mnf 7675  df-xr 7676  df-ltxr 7677  df-le 7678  df-sub 7806  df-neg 7807  df-reap 8203  df-ap 8210  df-div 8294  df-inn 8579  df-2 8637  df-n0 8830  df-z 8907  df-uz 9177  df-q 9262  df-rp 9292  df-fz 9632  df-fzo 9761  df-seqfrec 10060  df-exp 10134  df-ihash 10363  df-cj 10455  df-rsqrt 10610  df-abs 10611  df-clim 10887  df-sumdc 10962 This theorem is referenced by:  isum  10993  sum0  10996  isumz  10997  isumss  10999  fsumsersdc  11003
 Copyright terms: Public domain W3C validator