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

Theorem fsum3 11350
Description: The value of a sum over a nonempty finite set. (Contributed by Jim Kingdon, 10-Oct-2022.)
Hypotheses
Ref Expression
fsum.1 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
fsum.2 (𝜑𝑀 ∈ ℕ)
fsum.3 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
fsum.4 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
fsum.5 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
Assertion
Ref Expression
fsum3 (𝜑 → Σ𝑘𝐴 𝐵 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
Distinct variable groups:   𝐴,𝑘,𝑛   𝐵,𝑛   𝐶,𝑘   𝑘,𝐹,𝑛   𝑘,𝐺,𝑛   𝑘,𝑀,𝑛   𝜑,𝑘,𝑛
Allowed substitution hints:   𝐵(𝑘)   𝐶(𝑛)

Proof of Theorem fsum3
Dummy variables 𝑓 𝑖 𝑗 𝑚 𝑢 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sumdc 11317 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
2 nnuz 9522 . . . . 5 ℕ = (ℤ‘1)
3 1zzd 9239 . . . . 5 (𝜑 → 1 ∈ ℤ)
4 elnnuz 9523 . . . . . 6 (𝑥 ∈ ℕ ↔ 𝑥 ∈ (ℤ‘1))
52eqimss2i 3204 . . . . . . . . . 10 (ℤ‘1) ⊆ ℕ
65sseli 3143 . . . . . . . . 9 (𝑥 ∈ (ℤ‘1) → 𝑥 ∈ ℕ)
76adantl 275 . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑥 ∈ ℕ)
8 fveq2 5496 . . . . . . . . . . 11 (𝑛 = 𝑥 → (𝐺𝑛) = (𝐺𝑥))
98eleq1d 2239 . . . . . . . . . 10 (𝑛 = 𝑥 → ((𝐺𝑛) ∈ ℂ ↔ (𝐺𝑥) ∈ ℂ))
10 fsum.1 . . . . . . . . . . . 12 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
11 fsum.2 . . . . . . . . . . . 12 (𝜑𝑀 ∈ ℕ)
12 fsum.3 . . . . . . . . . . . 12 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
13 fsum.4 . . . . . . . . . . . 12 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
14 fsum.5 . . . . . . . . . . . 12 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
1510, 11, 12, 13, 14fsumgcl 11349 . . . . . . . . . . 11 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
1615ad2antrr 485 . . . . . . . . . 10 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
17 1zzd 9239 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 1 ∈ ℤ)
1811nnzd 9333 . . . . . . . . . . . . 13 (𝜑𝑀 ∈ ℤ)
1918ad2antrr 485 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑀 ∈ ℤ)
20 eluzelz 9496 . . . . . . . . . . . . 13 (𝑥 ∈ (ℤ‘1) → 𝑥 ∈ ℤ)
2120ad2antlr 486 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 ∈ ℤ)
2217, 19, 213jca 1172 . . . . . . . . . . 11 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (1 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ))
23 eluzle 9499 . . . . . . . . . . . . 13 (𝑥 ∈ (ℤ‘1) → 1 ≤ 𝑥)
2423ad2antlr 486 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 1 ≤ 𝑥)
25 simpr 109 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥𝑀)
2624, 25jca 304 . . . . . . . . . . 11 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (1 ≤ 𝑥𝑥𝑀))
27 elfz2 9972 . . . . . . . . . . 11 (𝑥 ∈ (1...𝑀) ↔ ((1 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) ∧ (1 ≤ 𝑥𝑥𝑀)))
2822, 26, 27sylanbrc 415 . . . . . . . . . 10 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 ∈ (1...𝑀))
299, 16, 28rspcdva 2839 . . . . . . . . 9 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (𝐺𝑥) ∈ ℂ)
30 0cnd 7913 . . . . . . . . 9 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ ¬ 𝑥𝑀) → 0 ∈ ℂ)
317nnzd 9333 . . . . . . . . . 10 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑥 ∈ ℤ)
3218adantr 274 . . . . . . . . . 10 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑀 ∈ ℤ)
33 zdcle 9288 . . . . . . . . . 10 ((𝑥 ∈ ℤ ∧ 𝑀 ∈ ℤ) → DECID 𝑥𝑀)
3431, 32, 33syl2anc 409 . . . . . . . . 9 ((𝜑𝑥 ∈ (ℤ‘1)) → DECID 𝑥𝑀)
3529, 30, 34ifcldadc 3555 . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ‘1)) → if(𝑥𝑀, (𝐺𝑥), 0) ∈ ℂ)
36 breq1 3992 . . . . . . . . . 10 (𝑛 = 𝑥 → (𝑛𝑀𝑥𝑀))
3736, 8ifbieq1d 3548 . . . . . . . . 9 (𝑛 = 𝑥 → if(𝑛𝑀, (𝐺𝑛), 0) = if(𝑥𝑀, (𝐺𝑥), 0))
38 eqid 2170 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))
3937, 38fvmptg 5572 . . . . . . . 8 ((𝑥 ∈ ℕ ∧ if(𝑥𝑀, (𝐺𝑥), 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) = if(𝑥𝑀, (𝐺𝑥), 0))
407, 35, 39syl2anc 409 . . . . . . 7 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) = if(𝑥𝑀, (𝐺𝑥), 0))
4140, 35eqeltrd 2247 . . . . . 6 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) ∈ ℂ)
424, 41sylan2b 285 . . . . 5 ((𝜑𝑥 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) ∈ ℂ)
432, 3, 42serf 10430 . . . 4 (𝜑 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))):ℕ⟶ℂ)
4443, 11ffvelrnd 5632 . . 3 (𝜑 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ)
4544adantr 274 . . . . . . . 8 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ)
46 eleq1w 2231 . . . . . . . . . . . . 13 (𝑛 = 𝑗 → (𝑛𝐴𝑗𝐴))
47 csbeq1 3052 . . . . . . . . . . . . 13 (𝑛 = 𝑗𝑛 / 𝑘𝐵 = 𝑗 / 𝑘𝐵)
4846, 47ifbieq1d 3548 . . . . . . . . . . . 12 (𝑛 = 𝑗 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
4948cbvmptv 4085 . . . . . . . . . . 11 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑗 ∈ ℤ ↦ if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
5013ralrimiva 2543 . . . . . . . . . . . 12 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
51 nfcsb1v 3082 . . . . . . . . . . . . . 14 𝑘𝑗 / 𝑘𝐵
5251nfel1 2323 . . . . . . . . . . . . 13 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
53 csbeq1a 3058 . . . . . . . . . . . . . 14 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
5453eleq1d 2239 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
5552, 54rspc 2828 . . . . . . . . . . . 12 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
5650, 55mpan9 279 . . . . . . . . . . 11 ((𝜑𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
57 breq1 3992 . . . . . . . . . . . . 13 (𝑛 = 𝑖 → (𝑛 ≤ (♯‘𝐴) ↔ 𝑖 ≤ (♯‘𝐴)))
58 fveq2 5496 . . . . . . . . . . . . . . 15 (𝑛 = 𝑖 → (𝑓𝑛) = (𝑓𝑖))
5958csbeq1d 3056 . . . . . . . . . . . . . 14 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵)
60 csbco 3059 . . . . . . . . . . . . . 14 (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵
6159, 60eqtr4di 2221 . . . . . . . . . . . . 13 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
6257, 61ifbieq1d 3548 . . . . . . . . . . . 12 (𝑛 = 𝑖 → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑖 ≤ (♯‘𝐴), (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵, 0))
6362cbvmptv 4085 . . . . . . . . . . 11 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑖 ∈ ℕ ↦ if(𝑖 ≤ (♯‘𝐴), (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵, 0))
6449, 56, 63, 63summodc 11346 . . . . . . . . . 10 (𝜑 → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
65 eleq1w 2231 . . . . . . . . . . . . . . . 16 (𝑢 = 𝑗 → (𝑢𝐴𝑗𝐴))
6665dcbid 833 . . . . . . . . . . . . . . 15 (𝑢 = 𝑗 → (DECID 𝑢𝐴DECID 𝑗𝐴))
6766cbvralv 2696 . . . . . . . . . . . . . 14 (∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ↔ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴)
68673anbi2i 1186 . . . . . . . . . . . . 13 ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6968rexbii 2477 . . . . . . . . . . . 12 (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
70 1zzd 9239 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 1 ∈ ℤ)
71 nnz 9231 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 𝑚 ∈ ℤ)
7270, 71fzfigd 10387 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ → (1...𝑚) ∈ Fin)
73 fihasheqf1oi 10722 . . . . . . . . . . . . . . . . . . . . . . 23 (((1...𝑚) ∈ Fin ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = (♯‘𝐴))
7472, 73sylan 281 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = (♯‘𝐴))
75 nnnn0 9142 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 𝑚 ∈ ℕ0)
7675adantr 274 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℕ0)
77 hashfz1 10717 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ0 → (♯‘(1...𝑚)) = 𝑚)
7876, 77syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = 𝑚)
7974, 78eqtr3d 2205 . . . . . . . . . . . . . . . . . . . . 21 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘𝐴) = 𝑚)
8079breq2d 4001 . . . . . . . . . . . . . . . . . . . 20 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑛 ≤ (♯‘𝐴) ↔ 𝑛𝑚))
8180ifbid 3547 . . . . . . . . . . . . . . . . . . 19 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))
8281mpteq2dv 4080 . . . . . . . . . . . . . . . . . 18 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))
8382seqeq3d 10409 . . . . . . . . . . . . . . . . 17 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))))
8483fveq1d 5498 . . . . . . . . . . . . . . . 16 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
8584eqeq2d 2182 . . . . . . . . . . . . . . 15 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
8685pm5.32da 449 . . . . . . . . . . . . . 14 (𝑚 ∈ ℕ → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
8786exbidv 1818 . . . . . . . . . . . . 13 (𝑚 ∈ ℕ → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
8887rexbiia 2485 . . . . . . . . . . . 12 (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
8969, 88orbi12i 759 . . . . . . . . . . 11 ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
9089mobii 2056 . . . . . . . . . 10 (∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
9164, 90sylib 121 . . . . . . . . 9 (𝜑 → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
9291adantr 274 . . . . . . . 8 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
93 simpr 109 . . . . . . . 8 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
94 f1of 5442 . . . . . . . . . . . . . 14 (𝐹:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)⟶𝐴)
9512, 94syl 14 . . . . . . . . . . . . 13 (𝜑𝐹:(1...𝑀)⟶𝐴)
963, 18fzfigd 10387 . . . . . . . . . . . . 13 (𝜑 → (1...𝑀) ∈ Fin)
97 fex 5725 . . . . . . . . . . . . 13 ((𝐹:(1...𝑀)⟶𝐴 ∧ (1...𝑀) ∈ Fin) → 𝐹 ∈ V)
9895, 96, 97syl2anc 409 . . . . . . . . . . . 12 (𝜑𝐹 ∈ V)
9911, 2eleqtrdi 2263 . . . . . . . . . . . . . 14 (𝜑𝑀 ∈ (ℤ‘1))
10014ralrimiva 2543 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = 𝐶)
101 nfv 1521 . . . . . . . . . . . . . . . . . 18 𝑘(𝐺𝑛) = 𝐶
102 nfcsb1v 3082 . . . . . . . . . . . . . . . . . . 19 𝑛𝑘 / 𝑛𝐶
103102nfeq2 2324 . . . . . . . . . . . . . . . . . 18 𝑛(𝐺𝑘) = 𝑘 / 𝑛𝐶
104 fveq2 5496 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → (𝐺𝑛) = (𝐺𝑘))
105 csbeq1a 3058 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘𝐶 = 𝑘 / 𝑛𝐶)
106104, 105eqeq12d 2185 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → ((𝐺𝑛) = 𝐶 ↔ (𝐺𝑘) = 𝑘 / 𝑛𝐶))
107101, 103, 106cbvral 2692 . . . . . . . . . . . . . . . . 17 (∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = 𝐶 ↔ ∀𝑘 ∈ (1...𝑀)(𝐺𝑘) = 𝑘 / 𝑛𝐶)
108100, 107sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑘 ∈ (1...𝑀)(𝐺𝑘) = 𝑘 / 𝑛𝐶)
109108r19.21bi 2558 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) = 𝑘 / 𝑛𝐶)
110 elfznn 10010 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ (1...𝑀) → 𝑘 ∈ ℕ)
111110adantl 275 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 ∈ ℕ)
112 elfzle2 9984 . . . . . . . . . . . . . . . . . . . 20 (𝑘 ∈ (1...𝑀) → 𝑘𝑀)
113112adantl 275 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘𝑀)
114113iftrued 3533 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, (𝐺𝑘), 0) = (𝐺𝑘))
115104eleq1d 2239 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → ((𝐺𝑛) ∈ ℂ ↔ (𝐺𝑘) ∈ ℂ))
11615adantr 274 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
117 simpr 109 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 ∈ (1...𝑀))
118115, 116, 117rspcdva 2839 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) ∈ ℂ)
119114, 118eqeltrd 2247 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, (𝐺𝑘), 0) ∈ ℂ)
120 breq1 3992 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → (𝑛𝑀𝑘𝑀))
121120, 104ifbieq1d 3548 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → if(𝑛𝑀, (𝐺𝑛), 0) = if(𝑘𝑀, (𝐺𝑘), 0))
122121, 38fvmptg 5572 . . . . . . . . . . . . . . . . 17 ((𝑘 ∈ ℕ ∧ if(𝑘𝑀, (𝐺𝑘), 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = if(𝑘𝑀, (𝐺𝑘), 0))
123111, 119, 122syl2anc 409 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = if(𝑘𝑀, (𝐺𝑘), 0))
124123, 114eqtrd 2203 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = (𝐺𝑘))
125113iftrued 3533 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) = 𝑘 / 𝑛𝐶)
12695ffvelrnda 5631 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) ∈ 𝐴)
12710adantl 275 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑛 ∈ (1...𝑀)) ∧ 𝑘 = (𝐹𝑛)) → 𝐵 = 𝐶)
128126, 127csbied 3095 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) / 𝑘𝐵 = 𝐶)
12950adantr 274 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑛 ∈ (1...𝑀)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
130 nfcsb1v 3082 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑘(𝐹𝑛) / 𝑘𝐵
131130nfel1 2323 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑘(𝐹𝑛) / 𝑘𝐵 ∈ ℂ
132 csbeq1a 3058 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑘 = (𝐹𝑛) → 𝐵 = (𝐹𝑛) / 𝑘𝐵)
133132eleq1d 2239 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑘 = (𝐹𝑛) → (𝐵 ∈ ℂ ↔ (𝐹𝑛) / 𝑘𝐵 ∈ ℂ))
134131, 133rspc 2828 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐹𝑛) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝐹𝑛) / 𝑘𝐵 ∈ ℂ))
135126, 129, 134sylc 62 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) / 𝑘𝐵 ∈ ℂ)
136128, 135eqeltrrd 2248 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑛 ∈ (1...𝑀)) → 𝐶 ∈ ℂ)
137136ralrimiva 2543 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ)
138 nfv 1521 . . . . . . . . . . . . . . . . . . . . 21 𝑘 𝐶 ∈ ℂ
139102nfel1 2323 . . . . . . . . . . . . . . . . . . . . 21 𝑛𝑘 / 𝑛𝐶 ∈ ℂ
140105eleq1d 2239 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = 𝑘 → (𝐶 ∈ ℂ ↔ 𝑘 / 𝑛𝐶 ∈ ℂ))
141138, 139, 140cbvral 2692 . . . . . . . . . . . . . . . . . . . 20 (∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ ↔ ∀𝑘 ∈ (1...𝑀)𝑘 / 𝑛𝐶 ∈ ℂ)
142137, 141sylib 121 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ∀𝑘 ∈ (1...𝑀)𝑘 / 𝑛𝐶 ∈ ℂ)
143142r19.21bi 2558 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 / 𝑛𝐶 ∈ ℂ)
144125, 143eqeltrd 2247 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) ∈ ℂ)
145 nfcv 2312 . . . . . . . . . . . . . . . . . 18 𝑛𝑘
146 nfv 1521 . . . . . . . . . . . . . . . . . . 19 𝑛 𝑘𝑀
147 nfcv 2312 . . . . . . . . . . . . . . . . . . 19 𝑛0
148146, 102, 147nfif 3554 . . . . . . . . . . . . . . . . . 18 𝑛if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0)
149120, 105ifbieq1d 3548 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → if(𝑛𝑀, 𝐶, 0) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
150 eqid 2170 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))
151145, 148, 149, 150fvmptf 5588 . . . . . . . . . . . . . . . . 17 ((𝑘 ∈ ℕ ∧ if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
152111, 144, 151syl2anc 409 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
153152, 125eqtrd 2203 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = 𝑘 / 𝑛𝐶)
154109, 124, 1533eqtr4d 2213 . . . . . . . . . . . . . 14 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘))
155137ad2antrr 485 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → ∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ)
156 nfcsb1v 3082 . . . . . . . . . . . . . . . . . . . 20 𝑛𝑥 / 𝑛𝐶
157156nfel1 2323 . . . . . . . . . . . . . . . . . . 19 𝑛𝑥 / 𝑛𝐶 ∈ ℂ
158 csbeq1a 3058 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 𝑥𝐶 = 𝑥 / 𝑛𝐶)
159158eleq1d 2239 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑥 → (𝐶 ∈ ℂ ↔ 𝑥 / 𝑛𝐶 ∈ ℂ))
160157, 159rspc 2828 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ (1...𝑀) → (∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ → 𝑥 / 𝑛𝐶 ∈ ℂ))
16128, 155, 160sylc 62 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 / 𝑛𝐶 ∈ ℂ)
162161, 30, 34ifcldadc 3555 . . . . . . . . . . . . . . . 16 ((𝜑𝑥 ∈ (ℤ‘1)) → if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0) ∈ ℂ)
163 nfcv 2312 . . . . . . . . . . . . . . . . 17 𝑛𝑥
164 nfv 1521 . . . . . . . . . . . . . . . . . 18 𝑛 𝑥𝑀
165164, 156, 147nfif 3554 . . . . . . . . . . . . . . . . 17 𝑛if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0)
16636, 158ifbieq1d 3548 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑥 → if(𝑛𝑀, 𝐶, 0) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
167163, 165, 166, 150fvmptf 5588 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℕ ∧ if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
1687, 162, 167syl2anc 409 . . . . . . . . . . . . . . 15 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
169168, 162eqeltrd 2247 . . . . . . . . . . . . . 14 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) ∈ ℂ)
170 addcl 7899 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝑥 + 𝑦) ∈ ℂ)
171170adantl 275 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → (𝑥 + 𝑦) ∈ ℂ)
17299, 154, 41, 169, 171seq3fveq 10427 . . . . . . . . . . . . 13 (𝜑 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))
17312, 172jca 304 . . . . . . . . . . . 12 (𝜑 → (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀)))
174 f1oeq1 5431 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → (𝑓:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)–1-1-onto𝐴))
175 fveq1 5495 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = 𝐹 → (𝑓𝑛) = (𝐹𝑛))
176175csbeq1d 3056 . . . . . . . . . . . . . . . . . . . 20 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = (𝐹𝑛) / 𝑘𝐵)
177 vex 2733 . . . . . . . . . . . . . . . . . . . . . . 23 𝑓 ∈ V
178 vex 2733 . . . . . . . . . . . . . . . . . . . . . . 23 𝑛 ∈ V
179177, 178fvex 5516 . . . . . . . . . . . . . . . . . . . . . 22 (𝑓𝑛) ∈ V
180175, 179eqeltrrdi 2262 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = 𝐹 → (𝐹𝑛) ∈ V)
18110adantl 275 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓 = 𝐹𝑘 = (𝐹𝑛)) → 𝐵 = 𝐶)
182180, 181csbied 3095 . . . . . . . . . . . . . . . . . . . 20 (𝑓 = 𝐹(𝐹𝑛) / 𝑘𝐵 = 𝐶)
183176, 182eqtrd 2203 . . . . . . . . . . . . . . . . . . 19 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = 𝐶)
184183ifeq1d 3543 . . . . . . . . . . . . . . . . . 18 (𝑓 = 𝐹 → if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑀, 𝐶, 0))
185184mpteq2dv 4080 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))
186185seqeq3d 10409 . . . . . . . . . . . . . . . 16 (𝑓 = 𝐹 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))))
187186fveq1d 5498 . . . . . . . . . . . . . . 15 (𝑓 = 𝐹 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))
188187eqeq2d 2182 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → ((seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀)))
189174, 188anbi12d 470 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀)) ↔ (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))))
190189spcegv 2818 . . . . . . . . . . . 12 (𝐹 ∈ V → ((𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀)) → ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))))
19198, 173, 190sylc 62 . . . . . . . . . . 11 (𝜑 → ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀)))
192 oveq2 5861 . . . . . . . . . . . . . . 15 (𝑚 = 𝑀 → (1...𝑚) = (1...𝑀))
193 f1oeq2 5432 . . . . . . . . . . . . . . 15 ((1...𝑚) = (1...𝑀) → (𝑓:(1...𝑚)–1-1-onto𝐴𝑓:(1...𝑀)–1-1-onto𝐴))
194192, 193syl 14 . . . . . . . . . . . . . 14 (𝑚 = 𝑀 → (𝑓:(1...𝑚)–1-1-onto𝐴𝑓:(1...𝑀)–1-1-onto𝐴))
195 breq2 3993 . . . . . . . . . . . . . . . . . . 19 (𝑚 = 𝑀 → (𝑛𝑚𝑛𝑀))
196195ifbid 3547 . . . . . . . . . . . . . . . . . 18 (𝑚 = 𝑀 → if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))
197196mpteq2dv 4080 . . . . . . . . . . . . . . . . 17 (𝑚 = 𝑀 → (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))
198197seqeq3d 10409 . . . . . . . . . . . . . . . 16 (𝑚 = 𝑀 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))))
199 id 19 . . . . . . . . . . . . . . . 16 (𝑚 = 𝑀𝑚 = 𝑀)
200198, 199fveq12d 5503 . . . . . . . . . . . . . . 15 (𝑚 = 𝑀 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))
201200eqeq2d 2182 . . . . . . . . . . . . . 14 (𝑚 = 𝑀 → ((seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀)))
202194, 201anbi12d 470 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → ((𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))))
203202exbidv 1818 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))))
204203rspcev 2834 . . . . . . . . . . 11 ((𝑀 ∈ ℕ ∧ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))) → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
20511, 191, 204syl2anc 409 . . . . . . . . . 10 (𝜑 → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
206205olcd 729 . . . . . . . . 9 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
207206adantr 274 . . . . . . . 8 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
208 breq2 3993 . . . . . . . . . . . 12 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)))
2092083anbi3d 1313 . . . . . . . . . . 11 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))))
210209rexbidv 2471 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))))
211 eqeq1 2177 . . . . . . . . . . . . 13 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
212211anbi2d 461 . . . . . . . . . . . 12 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
213212exbidv 1818 . . . . . . . . . . 11 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
214213rexbidv 2471 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
215210, 214orbi12d 788 . . . . . . . . 9 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))))
216215moi2 2911 . . . . . . . 8 ((((seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ ∧ ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))) → 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
21745, 92, 93, 207, 216syl22anc 1234 . . . . . . 7 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
218217ex 114 . . . . . 6 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) → 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)))
219206, 215syl5ibrcom 156 . . . . . 6 (𝜑 → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))))
220218, 219impbid 128 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)))
221220adantr 274 . . . 4 ((𝜑 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)))
222221iota5 5180 . . 3 ((𝜑 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ) → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
22344, 222mpdan 419 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
2241, 223eqtrid 2215 1 (𝜑 → Σ𝑘𝐴 𝐵 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  DECID wdc 829  w3a 973   = wceq 1348  wex 1485  ∃*wmo 2020  wcel 2141  wral 2448  wrex 2449  Vcvv 2730  csb 3049  wss 3121  ifcif 3526   class class class wbr 3989  cmpt 4050  cio 5158  wf 5194  1-1-ontowf1o 5197  cfv 5198  (class class class)co 5853  Fincfn 6718  cc 7772  0cc0 7774  1c1 7775   + caddc 7777  cle 7955  cn 8878  0cn0 9135  cz 9212  cuz 9487  ...cfz 9965  seqcseq 10401  chash 10709  cli 11241  Σcsu 11316
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-mulrcl 7873  ax-addcom 7874  ax-mulcom 7875  ax-addass 7876  ax-mulass 7877  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-1rid 7881  ax-0id 7882  ax-rnegex 7883  ax-precex 7884  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-apti 7889  ax-pre-ltadd 7890  ax-pre-mulgt0 7891  ax-pre-mulext 7892  ax-arch 7893  ax-caucvg 7894
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-isom 5207  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-irdg 6349  df-frec 6370  df-1o 6395  df-oadd 6399  df-er 6513  df-en 6719  df-dom 6720  df-fin 6721  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-reap 8494  df-ap 8501  df-div 8590  df-inn 8879  df-2 8937  df-3 8938  df-4 8939  df-n0 9136  df-z 9213  df-uz 9488  df-q 9579  df-rp 9611  df-fz 9966  df-fzo 10099  df-seqfrec 10402  df-exp 10476  df-ihash 10710  df-cj 10806  df-re 10807  df-im 10808  df-rsqrt 10962  df-abs 10963  df-clim 11242  df-sumdc 11317
This theorem is referenced by:  isumz  11352  fsumf1o  11353  fsumcl2lem  11361  fsumadd  11369  sumsnf  11372  fsummulc2  11411
  Copyright terms: Public domain W3C validator