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

Theorem fsum3 11328
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 11295 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
2 nnuz 9501 . . . . 5 ℕ = (ℤ‘1)
3 1zzd 9218 . . . . 5 (𝜑 → 1 ∈ ℤ)
4 elnnuz 9502 . . . . . 6 (𝑥 ∈ ℕ ↔ 𝑥 ∈ (ℤ‘1))
52eqimss2i 3199 . . . . . . . . . 10 (ℤ‘1) ⊆ ℕ
65sseli 3138 . . . . . . . . 9 (𝑥 ∈ (ℤ‘1) → 𝑥 ∈ ℕ)
76adantl 275 . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑥 ∈ ℕ)
8 fveq2 5486 . . . . . . . . . . 11 (𝑛 = 𝑥 → (𝐺𝑛) = (𝐺𝑥))
98eleq1d 2235 . . . . . . . . . 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 11327 . . . . . . . . . . 11 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
1615ad2antrr 480 . . . . . . . . . 10 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
17 1zzd 9218 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 1 ∈ ℤ)
1811nnzd 9312 . . . . . . . . . . . . 13 (𝜑𝑀 ∈ ℤ)
1918ad2antrr 480 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑀 ∈ ℤ)
20 eluzelz 9475 . . . . . . . . . . . . 13 (𝑥 ∈ (ℤ‘1) → 𝑥 ∈ ℤ)
2120ad2antlr 481 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 ∈ ℤ)
2217, 19, 213jca 1167 . . . . . . . . . . 11 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (1 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ))
23 eluzle 9478 . . . . . . . . . . . . 13 (𝑥 ∈ (ℤ‘1) → 1 ≤ 𝑥)
2423ad2antlr 481 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 1 ≤ 𝑥)
25 simpr 109 . . . . . . . . . . . 12 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥𝑀)
2624, 25jca 304 . . . . . . . . . . 11 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (1 ≤ 𝑥𝑥𝑀))
27 elfz2 9951 . . . . . . . . . . 11 (𝑥 ∈ (1...𝑀) ↔ ((1 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) ∧ (1 ≤ 𝑥𝑥𝑀)))
2822, 26, 27sylanbrc 414 . . . . . . . . . 10 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 ∈ (1...𝑀))
299, 16, 28rspcdva 2835 . . . . . . . . 9 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → (𝐺𝑥) ∈ ℂ)
30 0cnd 7892 . . . . . . . . 9 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ ¬ 𝑥𝑀) → 0 ∈ ℂ)
317nnzd 9312 . . . . . . . . . 10 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑥 ∈ ℤ)
3218adantr 274 . . . . . . . . . 10 ((𝜑𝑥 ∈ (ℤ‘1)) → 𝑀 ∈ ℤ)
33 zdcle 9267 . . . . . . . . . 10 ((𝑥 ∈ ℤ ∧ 𝑀 ∈ ℤ) → DECID 𝑥𝑀)
3431, 32, 33syl2anc 409 . . . . . . . . 9 ((𝜑𝑥 ∈ (ℤ‘1)) → DECID 𝑥𝑀)
3529, 30, 34ifcldadc 3549 . . . . . . . 8 ((𝜑𝑥 ∈ (ℤ‘1)) → if(𝑥𝑀, (𝐺𝑥), 0) ∈ ℂ)
36 breq1 3985 . . . . . . . . . 10 (𝑛 = 𝑥 → (𝑛𝑀𝑥𝑀))
3736, 8ifbieq1d 3542 . . . . . . . . 9 (𝑛 = 𝑥 → if(𝑛𝑀, (𝐺𝑛), 0) = if(𝑥𝑀, (𝐺𝑥), 0))
38 eqid 2165 . . . . . . . . 9 (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))
3937, 38fvmptg 5562 . . . . . . . 8 ((𝑥 ∈ ℕ ∧ if(𝑥𝑀, (𝐺𝑥), 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) = if(𝑥𝑀, (𝐺𝑥), 0))
407, 35, 39syl2anc 409 . . . . . . 7 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) = if(𝑥𝑀, (𝐺𝑥), 0))
4140, 35eqeltrd 2243 . . . . . 6 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) ∈ ℂ)
424, 41sylan2b 285 . . . . 5 ((𝜑𝑥 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑥) ∈ ℂ)
432, 3, 42serf 10409 . . . 4 (𝜑 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))):ℕ⟶ℂ)
4443, 11ffvelrnd 5621 . . 3 (𝜑 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ)
4544adantr 274 . . . . . . . 8 ((𝜑 ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ)
46 eleq1w 2227 . . . . . . . . . . . . 13 (𝑛 = 𝑗 → (𝑛𝐴𝑗𝐴))
47 csbeq1 3048 . . . . . . . . . . . . 13 (𝑛 = 𝑗𝑛 / 𝑘𝐵 = 𝑗 / 𝑘𝐵)
4846, 47ifbieq1d 3542 . . . . . . . . . . . 12 (𝑛 = 𝑗 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
4948cbvmptv 4078 . . . . . . . . . . 11 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑗 ∈ ℤ ↦ if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
5013ralrimiva 2539 . . . . . . . . . . . 12 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
51 nfcsb1v 3078 . . . . . . . . . . . . . 14 𝑘𝑗 / 𝑘𝐵
5251nfel1 2319 . . . . . . . . . . . . 13 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
53 csbeq1a 3054 . . . . . . . . . . . . . 14 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
5453eleq1d 2235 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
5552, 54rspc 2824 . . . . . . . . . . . 12 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
5650, 55mpan9 279 . . . . . . . . . . 11 ((𝜑𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
57 breq1 3985 . . . . . . . . . . . . 13 (𝑛 = 𝑖 → (𝑛 ≤ (♯‘𝐴) ↔ 𝑖 ≤ (♯‘𝐴)))
58 fveq2 5486 . . . . . . . . . . . . . . 15 (𝑛 = 𝑖 → (𝑓𝑛) = (𝑓𝑖))
5958csbeq1d 3052 . . . . . . . . . . . . . 14 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵)
60 csbco 3055 . . . . . . . . . . . . . 14 (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵
6159, 60eqtr4di 2217 . . . . . . . . . . . . 13 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
6257, 61ifbieq1d 3542 . . . . . . . . . . . 12 (𝑛 = 𝑖 → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑖 ≤ (♯‘𝐴), (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵, 0))
6362cbvmptv 4078 . . . . . . . . . . 11 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑖 ∈ ℕ ↦ if(𝑖 ≤ (♯‘𝐴), (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵, 0))
6449, 56, 63, 63summodc 11324 . . . . . . . . . 10 (𝜑 → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
65 eleq1w 2227 . . . . . . . . . . . . . . . 16 (𝑢 = 𝑗 → (𝑢𝐴𝑗𝐴))
6665dcbid 828 . . . . . . . . . . . . . . 15 (𝑢 = 𝑗 → (DECID 𝑢𝐴DECID 𝑗𝐴))
6766cbvralv 2692 . . . . . . . . . . . . . 14 (∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ↔ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴)
68673anbi2i 1181 . . . . . . . . . . . . 13 ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
6968rexbii 2473 . . . . . . . . . . . 12 (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥))
70 1zzd 9218 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 1 ∈ ℤ)
71 nnz 9210 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 𝑚 ∈ ℤ)
7270, 71fzfigd 10366 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ → (1...𝑚) ∈ Fin)
73 fihasheqf1oi 10701 . . . . . . . . . . . . . . . . . . . . . . 23 (((1...𝑚) ∈ Fin ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = (♯‘𝐴))
7472, 73sylan 281 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = (♯‘𝐴))
75 nnnn0 9121 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ → 𝑚 ∈ ℕ0)
7675adantr 274 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → 𝑚 ∈ ℕ0)
77 hashfz1 10696 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ0 → (♯‘(1...𝑚)) = 𝑚)
7876, 77syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘(1...𝑚)) = 𝑚)
7974, 78eqtr3d 2200 . . . . . . . . . . . . . . . . . . . . 21 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (♯‘𝐴) = 𝑚)
8079breq2d 3994 . . . . . . . . . . . . . . . . . . . 20 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑛 ≤ (♯‘𝐴) ↔ 𝑛𝑚))
8180ifbid 3541 . . . . . . . . . . . . . . . . . . 19 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))
8281mpteq2dv 4073 . . . . . . . . . . . . . . . . . 18 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))
8382seqeq3d 10388 . . . . . . . . . . . . . . . . 17 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))))
8483fveq1d 5488 . . . . . . . . . . . . . . . 16 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))
8584eqeq2d 2177 . . . . . . . . . . . . . . 15 ((𝑚 ∈ ℕ ∧ 𝑓:(1...𝑚)–1-1-onto𝐴) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ 𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
8685pm5.32da 448 . . . . . . . . . . . . . 14 (𝑚 ∈ ℕ → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
8786exbidv 1813 . . . . . . . . . . . . 13 (𝑚 ∈ ℕ → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
8887rexbiia 2481 . . . . . . . . . . . 12 (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
8969, 88orbi12i 754 . . . . . . . . . . 11 ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑢 ∈ (ℤ𝑚)DECID 𝑢𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
9089mobii 2051 . . . . . . . . . 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 5432 . . . . . . . . . . . . . 14 (𝐹:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)⟶𝐴)
9512, 94syl 14 . . . . . . . . . . . . 13 (𝜑𝐹:(1...𝑀)⟶𝐴)
963, 18fzfigd 10366 . . . . . . . . . . . . 13 (𝜑 → (1...𝑀) ∈ Fin)
97 fex 5714 . . . . . . . . . . . . 13 ((𝐹:(1...𝑀)⟶𝐴 ∧ (1...𝑀) ∈ Fin) → 𝐹 ∈ V)
9895, 96, 97syl2anc 409 . . . . . . . . . . . 12 (𝜑𝐹 ∈ V)
9911, 2eleqtrdi 2259 . . . . . . . . . . . . . 14 (𝜑𝑀 ∈ (ℤ‘1))
10014ralrimiva 2539 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = 𝐶)
101 nfv 1516 . . . . . . . . . . . . . . . . . 18 𝑘(𝐺𝑛) = 𝐶
102 nfcsb1v 3078 . . . . . . . . . . . . . . . . . . 19 𝑛𝑘 / 𝑛𝐶
103102nfeq2 2320 . . . . . . . . . . . . . . . . . 18 𝑛(𝐺𝑘) = 𝑘 / 𝑛𝐶
104 fveq2 5486 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → (𝐺𝑛) = (𝐺𝑘))
105 csbeq1a 3054 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘𝐶 = 𝑘 / 𝑛𝐶)
106104, 105eqeq12d 2180 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → ((𝐺𝑛) = 𝐶 ↔ (𝐺𝑘) = 𝑘 / 𝑛𝐶))
107101, 103, 106cbvral 2688 . . . . . . . . . . . . . . . . 17 (∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = 𝐶 ↔ ∀𝑘 ∈ (1...𝑀)(𝐺𝑘) = 𝑘 / 𝑛𝐶)
108100, 107sylib 121 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑘 ∈ (1...𝑀)(𝐺𝑘) = 𝑘 / 𝑛𝐶)
109108r19.21bi 2554 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) = 𝑘 / 𝑛𝐶)
110 elfznn 9989 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ (1...𝑀) → 𝑘 ∈ ℕ)
111110adantl 275 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 ∈ ℕ)
112 elfzle2 9963 . . . . . . . . . . . . . . . . . . . 20 (𝑘 ∈ (1...𝑀) → 𝑘𝑀)
113112adantl 275 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘𝑀)
114113iftrued 3527 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, (𝐺𝑘), 0) = (𝐺𝑘))
115104eleq1d 2235 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → ((𝐺𝑛) ∈ ℂ ↔ (𝐺𝑘) ∈ ℂ))
11615adantr 274 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) ∈ ℂ)
117 simpr 109 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 ∈ (1...𝑀))
118115, 116, 117rspcdva 2835 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) ∈ ℂ)
119114, 118eqeltrd 2243 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, (𝐺𝑘), 0) ∈ ℂ)
120 breq1 3985 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑘 → (𝑛𝑀𝑘𝑀))
121120, 104ifbieq1d 3542 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → if(𝑛𝑀, (𝐺𝑛), 0) = if(𝑘𝑀, (𝐺𝑘), 0))
122121, 38fvmptg 5562 . . . . . . . . . . . . . . . . 17 ((𝑘 ∈ ℕ ∧ if(𝑘𝑀, (𝐺𝑘), 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = if(𝑘𝑀, (𝐺𝑘), 0))
123111, 119, 122syl2anc 409 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = if(𝑘𝑀, (𝐺𝑘), 0))
124123, 114eqtrd 2198 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = (𝐺𝑘))
125113iftrued 3527 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) = 𝑘 / 𝑛𝐶)
12695ffvelrnda 5620 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) ∈ 𝐴)
12710adantl 275 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑛 ∈ (1...𝑀)) ∧ 𝑘 = (𝐹𝑛)) → 𝐵 = 𝐶)
128126, 127csbied 3091 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) / 𝑘𝐵 = 𝐶)
12950adantr 274 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑𝑛 ∈ (1...𝑀)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
130 nfcsb1v 3078 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑘(𝐹𝑛) / 𝑘𝐵
131130nfel1 2319 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑘(𝐹𝑛) / 𝑘𝐵 ∈ ℂ
132 csbeq1a 3054 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑘 = (𝐹𝑛) → 𝐵 = (𝐹𝑛) / 𝑘𝐵)
133132eleq1d 2235 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑘 = (𝐹𝑛) → (𝐵 ∈ ℂ ↔ (𝐹𝑛) / 𝑘𝐵 ∈ ℂ))
134131, 133rspc 2824 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐹𝑛) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝐹𝑛) / 𝑘𝐵 ∈ ℂ))
135126, 129, 134sylc 62 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐹𝑛) / 𝑘𝐵 ∈ ℂ)
136128, 135eqeltrrd 2244 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑛 ∈ (1...𝑀)) → 𝐶 ∈ ℂ)
137136ralrimiva 2539 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ)
138 nfv 1516 . . . . . . . . . . . . . . . . . . . . 21 𝑘 𝐶 ∈ ℂ
139102nfel1 2319 . . . . . . . . . . . . . . . . . . . . 21 𝑛𝑘 / 𝑛𝐶 ∈ ℂ
140105eleq1d 2235 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = 𝑘 → (𝐶 ∈ ℂ ↔ 𝑘 / 𝑛𝐶 ∈ ℂ))
141138, 139, 140cbvral 2688 . . . . . . . . . . . . . . . . . . . 20 (∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ ↔ ∀𝑘 ∈ (1...𝑀)𝑘 / 𝑛𝐶 ∈ ℂ)
142137, 141sylib 121 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ∀𝑘 ∈ (1...𝑀)𝑘 / 𝑛𝐶 ∈ ℂ)
143142r19.21bi 2554 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (1...𝑀)) → 𝑘 / 𝑛𝐶 ∈ ℂ)
144125, 143eqeltrd 2243 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘 ∈ (1...𝑀)) → if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) ∈ ℂ)
145 nfcv 2308 . . . . . . . . . . . . . . . . . 18 𝑛𝑘
146 nfv 1516 . . . . . . . . . . . . . . . . . . 19 𝑛 𝑘𝑀
147 nfcv 2308 . . . . . . . . . . . . . . . . . . 19 𝑛0
148146, 102, 147nfif 3548 . . . . . . . . . . . . . . . . . 18 𝑛if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0)
149120, 105ifbieq1d 3542 . . . . . . . . . . . . . . . . . 18 (𝑛 = 𝑘 → if(𝑛𝑀, 𝐶, 0) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
150 eqid 2165 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))
151145, 148, 149, 150fvmptf 5578 . . . . . . . . . . . . . . . . 17 ((𝑘 ∈ ℕ ∧ if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
152111, 144, 151syl2anc 409 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = if(𝑘𝑀, 𝑘 / 𝑛𝐶, 0))
153152, 125eqtrd 2198 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘) = 𝑘 / 𝑛𝐶)
154109, 124, 1533eqtr4d 2208 . . . . . . . . . . . . . 14 ((𝜑𝑘 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0))‘𝑘) = ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑘))
155137ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → ∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ)
156 nfcsb1v 3078 . . . . . . . . . . . . . . . . . . . 20 𝑛𝑥 / 𝑛𝐶
157156nfel1 2319 . . . . . . . . . . . . . . . . . . 19 𝑛𝑥 / 𝑛𝐶 ∈ ℂ
158 csbeq1a 3054 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 𝑥𝐶 = 𝑥 / 𝑛𝐶)
159158eleq1d 2235 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 𝑥 → (𝐶 ∈ ℂ ↔ 𝑥 / 𝑛𝐶 ∈ ℂ))
160157, 159rspc 2824 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ (1...𝑀) → (∀𝑛 ∈ (1...𝑀)𝐶 ∈ ℂ → 𝑥 / 𝑛𝐶 ∈ ℂ))
16128, 155, 160sylc 62 . . . . . . . . . . . . . . . . 17 (((𝜑𝑥 ∈ (ℤ‘1)) ∧ 𝑥𝑀) → 𝑥 / 𝑛𝐶 ∈ ℂ)
162161, 30, 34ifcldadc 3549 . . . . . . . . . . . . . . . 16 ((𝜑𝑥 ∈ (ℤ‘1)) → if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0) ∈ ℂ)
163 nfcv 2308 . . . . . . . . . . . . . . . . 17 𝑛𝑥
164 nfv 1516 . . . . . . . . . . . . . . . . . 18 𝑛 𝑥𝑀
165164, 156, 147nfif 3548 . . . . . . . . . . . . . . . . 17 𝑛if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0)
16636, 158ifbieq1d 3542 . . . . . . . . . . . . . . . . 17 (𝑛 = 𝑥 → if(𝑛𝑀, 𝐶, 0) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
167163, 165, 166, 150fvmptf 5578 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ ℕ ∧ if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
1687, 162, 167syl2anc 409 . . . . . . . . . . . . . . 15 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) = if(𝑥𝑀, 𝑥 / 𝑛𝐶, 0))
169168, 162eqeltrd 2243 . . . . . . . . . . . . . 14 ((𝜑𝑥 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))‘𝑥) ∈ ℂ)
170 addcl 7878 . . . . . . . . . . . . . . 15 ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝑥 + 𝑦) ∈ ℂ)
171170adantl 275 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ)) → (𝑥 + 𝑦) ∈ ℂ)
17299, 154, 41, 169, 171seq3fveq 10406 . . . . . . . . . . . . 13 (𝜑 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))
17312, 172jca 304 . . . . . . . . . . . 12 (𝜑 → (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀)))
174 f1oeq1 5421 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → (𝑓:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)–1-1-onto𝐴))
175 fveq1 5485 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = 𝐹 → (𝑓𝑛) = (𝐹𝑛))
176175csbeq1d 3052 . . . . . . . . . . . . . . . . . . . 20 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = (𝐹𝑛) / 𝑘𝐵)
177 vex 2729 . . . . . . . . . . . . . . . . . . . . . . 23 𝑓 ∈ V
178 vex 2729 . . . . . . . . . . . . . . . . . . . . . . 23 𝑛 ∈ V
179177, 178fvex 5506 . . . . . . . . . . . . . . . . . . . . . 22 (𝑓𝑛) ∈ V
180175, 179eqeltrrdi 2258 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = 𝐹 → (𝐹𝑛) ∈ V)
18110adantl 275 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓 = 𝐹𝑘 = (𝐹𝑛)) → 𝐵 = 𝐶)
182180, 181csbied 3091 . . . . . . . . . . . . . . . . . . . 20 (𝑓 = 𝐹(𝐹𝑛) / 𝑘𝐵 = 𝐶)
183176, 182eqtrd 2198 . . . . . . . . . . . . . . . . . . 19 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = 𝐶)
184183ifeq1d 3537 . . . . . . . . . . . . . . . . . 18 (𝑓 = 𝐹 → if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑀, 𝐶, 0))
185184mpteq2dv 4073 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))
186185seqeq3d 10388 . . . . . . . . . . . . . . . 16 (𝑓 = 𝐹 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0))))
187186fveq1d 5488 . . . . . . . . . . . . . . 15 (𝑓 = 𝐹 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))
188187eqeq2d 2177 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → ((seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀)))
189174, 188anbi12d 465 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀)) ↔ (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, 𝐶, 0)))‘𝑀))))
190189spcegv 2814 . . . . . . . . . . . 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 5850 . . . . . . . . . . . . . . 15 (𝑚 = 𝑀 → (1...𝑚) = (1...𝑀))
193 f1oeq2 5422 . . . . . . . . . . . . . . 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 3986 . . . . . . . . . . . . . . . . . . 19 (𝑚 = 𝑀 → (𝑛𝑚𝑛𝑀))
196195ifbid 3541 . . . . . . . . . . . . . . . . . 18 (𝑚 = 𝑀 → if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0) = if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))
197196mpteq2dv 4073 . . . . . . . . . . . . . . . . 17 (𝑚 = 𝑀 → (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))
198197seqeq3d 10388 . . . . . . . . . . . . . . . 16 (𝑚 = 𝑀 → seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0))) = seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0))))
199 id 19 . . . . . . . . . . . . . . . 16 (𝑚 = 𝑀𝑚 = 𝑀)
200198, 199fveq12d 5493 . . . . . . . . . . . . . . 15 (𝑚 = 𝑀 → (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))
201200eqeq2d 2177 . . . . . . . . . . . . . 14 (𝑚 = 𝑀 → ((seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀)))
202194, 201anbi12d 465 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → ((𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))))
203202exbidv 1813 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑀))))
204203rspcev 2830 . . . . . . . . . . 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 724 . . . . . . . . 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 3986 . . . . . . . . . . . 12 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀)))
2092083anbi3d 1308 . . . . . . . . . . 11 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → ((𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))))
210209rexbidv 2467 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))))
211 eqeq1 2172 . . . . . . . . . . . . 13 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚) ↔ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))
212211anbi2d 460 . . . . . . . . . . . 12 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
213212exbidv 1813 . . . . . . . . . . 11 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
214213rexbidv 2467 . . . . . . . . . 10 (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚))))
215210, 214orbi12d 783 . . . . . . . . 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 2907 . . . . . . . 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 1229 . . . . . . 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 5173 . . 3 ((𝜑 ∧ (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀) ∈ ℂ) → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
22344, 222mpdan 418 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∀𝑗 ∈ (ℤ𝑚)DECID 𝑗𝐴 ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑚, (𝑓𝑛) / 𝑘𝐵, 0)))‘𝑚)))) = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
2241, 223syl5eq 2211 1 (𝜑 → Σ𝑘𝐴 𝐵 = (seq1( + , (𝑛 ∈ ℕ ↦ if(𝑛𝑀, (𝐺𝑛), 0)))‘𝑀))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wex 1480  ∃*wmo 2015  wcel 2136  wral 2444  wrex 2445  Vcvv 2726  csb 3045  wss 3116  ifcif 3520   class class class wbr 3982  cmpt 4043  cio 5151  wf 5184  1-1-ontowf1o 5187  cfv 5188  (class class class)co 5842  Fincfn 6706  cc 7751  0cc0 7753  1c1 7754   + caddc 7756  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  ax-arch 7872  ax-caucvg 7873
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-3 8917  df-4 8918  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-re 10785  df-im 10786  df-rsqrt 10940  df-abs 10941  df-clim 11220  df-sumdc 11295
This theorem is referenced by:  isumz  11330  fsumf1o  11331  fsumcl2lem  11339  fsumadd  11347  sumsnf  11350  fsummulc2  11389
  Copyright terms: Public domain W3C validator