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

Theorem fsum 14650
 Description: The value of a sum over a nonempty finite set. (Contributed by Mario Carneiro, 20-Apr-2014.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypotheses
Ref Expression
fsum.1 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
fsum.2 (𝜑𝑀 ∈ ℕ)
fsum.3 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
fsum.4 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
fsum.5 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
Assertion
Ref Expression
fsum (𝜑 → Σ𝑘𝐴 𝐵 = (seq1( + , 𝐺)‘𝑀))
Distinct variable groups:   𝐵,𝑛   𝐶,𝑘   𝑘,𝑛,𝐹   𝜑,𝑘,𝑛   𝐴,𝑘,𝑛   𝑘,𝐺,𝑛   𝑘,𝑀,𝑛
Allowed substitution hints:   𝐵(𝑘)   𝐶(𝑛)

Proof of Theorem fsum
Dummy variables 𝑓 𝑖 𝑗 𝑚 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sum 14616 . 2 Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 fvex 6362 . . 3 (seq1( + , 𝐺)‘𝑀) ∈ V
3 eleq1w 2822 . . . . . . . . . 10 (𝑛 = 𝑗 → (𝑛𝐴𝑗𝐴))
4 csbeq1 3677 . . . . . . . . . 10 (𝑛 = 𝑗𝑛 / 𝑘𝐵 = 𝑗 / 𝑘𝐵)
53, 4ifbieq1d 4253 . . . . . . . . 9 (𝑛 = 𝑗 → if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
65cbvmptv 4902 . . . . . . . 8 (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)) = (𝑗 ∈ ℤ ↦ if(𝑗𝐴, 𝑗 / 𝑘𝐵, 0))
7 fsum.4 . . . . . . . . . 10 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
87ralrimiva 3104 . . . . . . . . 9 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
9 nfcsb1v 3690 . . . . . . . . . . 11 𝑘𝑗 / 𝑘𝐵
109nfel1 2917 . . . . . . . . . 10 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
11 csbeq1a 3683 . . . . . . . . . . 11 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
1211eleq1d 2824 . . . . . . . . . 10 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
1310, 12rspc 3443 . . . . . . . . 9 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
148, 13mpan9 487 . . . . . . . 8 ((𝜑𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
15 fveq2 6352 . . . . . . . . . . 11 (𝑛 = 𝑖 → (𝑓𝑛) = (𝑓𝑖))
1615csbeq1d 3681 . . . . . . . . . 10 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵)
17 csbco 3684 . . . . . . . . . 10 (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵
1816, 17syl6eqr 2812 . . . . . . . . 9 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
1918cbvmptv 4902 . . . . . . . 8 (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵) = (𝑖 ∈ ℕ ↦ (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
206, 14, 19summo 14647 . . . . . . 7 (𝜑 → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
21 fsum.2 . . . . . . . . 9 (𝜑𝑀 ∈ ℕ)
22 fsum.3 . . . . . . . . . . . 12 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
23 f1of 6298 . . . . . . . . . . . 12 (𝐹:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)⟶𝐴)
2422, 23syl 17 . . . . . . . . . . 11 (𝜑𝐹:(1...𝑀)⟶𝐴)
25 ovex 6841 . . . . . . . . . . 11 (1...𝑀) ∈ V
26 fex 6653 . . . . . . . . . . 11 ((𝐹:(1...𝑀)⟶𝐴 ∧ (1...𝑀) ∈ V) → 𝐹 ∈ V)
2724, 25, 26sylancl 697 . . . . . . . . . 10 (𝜑𝐹 ∈ V)
28 nnuz 11916 . . . . . . . . . . . . 13 ℕ = (ℤ‘1)
2921, 28syl6eleq 2849 . . . . . . . . . . . 12 (𝜑𝑀 ∈ (ℤ‘1))
30 fsum.5 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
31 elfznn 12563 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (1...𝑀) → 𝑛 ∈ ℕ)
3231adantl 473 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (1...𝑀)) → 𝑛 ∈ ℕ)
33 fvex 6362 . . . . . . . . . . . . . . . . 17 (𝐺𝑛) ∈ V
3430, 33syl6eqelr 2848 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (1...𝑀)) → 𝐶 ∈ V)
35 eqid 2760 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ ℕ ↦ 𝐶) = (𝑛 ∈ ℕ ↦ 𝐶)
3635fvmpt2 6453 . . . . . . . . . . . . . . . 16 ((𝑛 ∈ ℕ ∧ 𝐶 ∈ V) → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = 𝐶)
3732, 34, 36syl2anc 696 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = 𝐶)
3830, 37eqtr4d 2797 . . . . . . . . . . . . . 14 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛))
3938ralrimiva 3104 . . . . . . . . . . . . 13 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛))
40 nffvmpt1 6360 . . . . . . . . . . . . . . 15 𝑛((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)
4140nfeq2 2918 . . . . . . . . . . . . . 14 𝑛(𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)
42 fveq2 6352 . . . . . . . . . . . . . . 15 (𝑛 = 𝑘 → (𝐺𝑛) = (𝐺𝑘))
43 fveq2 6352 . . . . . . . . . . . . . . 15 (𝑛 = 𝑘 → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘))
4442, 43eqeq12d 2775 . . . . . . . . . . . . . 14 (𝑛 = 𝑘 → ((𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) ↔ (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)))
4541, 44rspc 3443 . . . . . . . . . . . . 13 (𝑘 ∈ (1...𝑀) → (∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) → (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)))
4639, 45mpan9 487 . . . . . . . . . . . 12 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘))
4729, 46seqfveq 13019 . . . . . . . . . . 11 (𝜑 → (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))
4822, 47jca 555 . . . . . . . . . 10 (𝜑 → (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀)))
49 f1oeq1 6288 . . . . . . . . . . . 12 (𝑓 = 𝐹 → (𝑓:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)–1-1-onto𝐴))
50 fveq1 6351 . . . . . . . . . . . . . . . . . 18 (𝑓 = 𝐹 → (𝑓𝑛) = (𝐹𝑛))
5150csbeq1d 3681 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = (𝐹𝑛) / 𝑘𝐵)
52 fvex 6362 . . . . . . . . . . . . . . . . . 18 (𝐹𝑛) ∈ V
53 fsum.1 . . . . . . . . . . . . . . . . . 18 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
5452, 53csbie 3700 . . . . . . . . . . . . . . . . 17 (𝐹𝑛) / 𝑘𝐵 = 𝐶
5551, 54syl6eq 2810 . . . . . . . . . . . . . . . 16 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = 𝐶)
5655mpteq2dv 4897 . . . . . . . . . . . . . . 15 (𝑓 = 𝐹 → (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵) = (𝑛 ∈ ℕ ↦ 𝐶))
5756seqeq3d 13003 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)) = seq1( + , (𝑛 ∈ ℕ ↦ 𝐶)))
5857fveq1d 6354 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))
5958eqeq2d 2770 . . . . . . . . . . . 12 (𝑓 = 𝐹 → ((seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀) ↔ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀)))
6049, 59anbi12d 749 . . . . . . . . . . 11 (𝑓 = 𝐹 → ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)) ↔ (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))))
6160spcegv 3434 . . . . . . . . . 10 (𝐹 ∈ V → ((𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀)) → ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))))
6227, 48, 61sylc 65 . . . . . . . . 9 (𝜑 → ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)))
63 oveq2 6821 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → (1...𝑚) = (1...𝑀))
64 f1oeq2 6289 . . . . . . . . . . . . 13 ((1...𝑚) = (1...𝑀) → (𝑓:(1...𝑚)–1-1-onto𝐴𝑓:(1...𝑀)–1-1-onto𝐴))
6563, 64syl 17 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (𝑓:(1...𝑚)–1-1-onto𝐴𝑓:(1...𝑀)–1-1-onto𝐴))
66 fveq2 6352 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))
6766eqeq2d 2770 . . . . . . . . . . . 12 (𝑚 = 𝑀 → ((seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) ↔ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)))
6865, 67anbi12d 749 . . . . . . . . . . 11 (𝑚 = 𝑀 → ((𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ (𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))))
6968exbidv 1999 . . . . . . . . . 10 (𝑚 = 𝑀 → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))))
7069rspcev 3449 . . . . . . . . 9 ((𝑀 ∈ ℕ ∧ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))) → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7121, 62, 70syl2anc 696 . . . . . . . 8 (𝜑 → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7271olcd 407 . . . . . . 7 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
73 breq2 4808 . . . . . . . . . . . . . 14 (𝑥 = (seq1( + , 𝐺)‘𝑀) → (seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥 ↔ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)))
7473anbi2d 742 . . . . . . . . . . . . 13 (𝑥 = (seq1( + , 𝐺)‘𝑀) → ((𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀))))
7574rexbidv 3190 . . . . . . . . . . . 12 (𝑥 = (seq1( + , 𝐺)‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀))))
76 eqeq1 2764 . . . . . . . . . . . . . . 15 (𝑥 = (seq1( + , 𝐺)‘𝑀) → (𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) ↔ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7776anbi2d 742 . . . . . . . . . . . . . 14 (𝑥 = (seq1( + , 𝐺)‘𝑀) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
7877exbidv 1999 . . . . . . . . . . . . 13 (𝑥 = (seq1( + , 𝐺)‘𝑀) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
7978rexbidv 3190 . . . . . . . . . . . 12 (𝑥 = (seq1( + , 𝐺)‘𝑀) → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
8075, 79orbi12d 748 . . . . . . . . . . 11 (𝑥 = (seq1( + , 𝐺)‘𝑀) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))))
8180moi2 3528 . . . . . . . . . 10 ((((seq1( + , 𝐺)‘𝑀) ∈ V ∧ ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( + , 𝐺)‘𝑀))
822, 81mpanl1 718 . . . . . . . . 9 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( + , 𝐺)‘𝑀))
8382ancom2s 879 . . . . . . . 8 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( + , 𝐺)‘𝑀))
8483expr 644 . . . . . . 7 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ (seq1( + , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( + , 𝐺)‘𝑀) = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) → 𝑥 = (seq1( + , 𝐺)‘𝑀)))
8520, 72, 84syl2anc 696 . . . . . 6 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) → 𝑥 = (seq1( + , 𝐺)‘𝑀)))
8672, 80syl5ibrcom 237 . . . . . 6 (𝜑 → (𝑥 = (seq1( + , 𝐺)‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))))
8785, 86impbid 202 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ 𝑥 = (seq1( + , 𝐺)‘𝑀)))
8887adantr 472 . . . 4 ((𝜑 ∧ (seq1( + , 𝐺)‘𝑀) ∈ V) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ 𝑥 = (seq1( + , 𝐺)‘𝑀)))
8988iota5 6032 . . 3 ((𝜑 ∧ (seq1( + , 𝐺)‘𝑀) ∈ V) → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) = (seq1( + , 𝐺)‘𝑀))
902, 89mpan2 709 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) = (seq1( + , 𝐺)‘𝑀))
911, 90syl5eq 2806 1 (𝜑 → Σ𝑘𝐴 𝐵 = (seq1( + , 𝐺)‘𝑀))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∨ wo 382   ∧ wa 383   = wceq 1632  ∃wex 1853   ∈ wcel 2139  ∃*wmo 2608  ∀wral 3050  ∃wrex 3051  Vcvv 3340  ⦋csb 3674   ⊆ wss 3715  ifcif 4230   class class class wbr 4804   ↦ cmpt 4881  ℩cio 6010  ⟶wf 6045  –1-1-onto→wf1o 6048  ‘cfv 6049  (class class class)co 6813  ℂcc 10126  0cc0 10128  1c1 10129   + caddc 10131  ℕcn 11212  ℤcz 11569  ℤ≥cuz 11879  ...cfz 12519  seqcseq 12995   ⇝ cli 14414  Σcsu 14615 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114  ax-inf2 8711  ax-cnex 10184  ax-resscn 10185  ax-1cn 10186  ax-icn 10187  ax-addcl 10188  ax-addrcl 10189  ax-mulcl 10190  ax-mulrcl 10191  ax-mulcom 10192  ax-addass 10193  ax-mulass 10194  ax-distr 10195  ax-i2m1 10196  ax-1ne0 10197  ax-1rid 10198  ax-rnegex 10199  ax-rrecex 10200  ax-cnre 10201  ax-pre-lttri 10202  ax-pre-lttrn 10203  ax-pre-ltadd 10204  ax-pre-mulgt0 10205  ax-pre-sup 10206 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rmo 3058  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-se 5226  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-isom 6058  df-riota 6774  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-om 7231  df-1st 7333  df-2nd 7334  df-wrecs 7576  df-recs 7637  df-rdg 7675  df-1o 7729  df-oadd 7733  df-er 7911  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-sup 8513  df-oi 8580  df-card 8955  df-pnf 10268  df-mnf 10269  df-xr 10270  df-ltxr 10271  df-le 10272  df-sub 10460  df-neg 10461  df-div 10877  df-nn 11213  df-2 11271  df-3 11272  df-n0 11485  df-z 11570  df-uz 11880  df-rp 12026  df-fz 12520  df-fzo 12660  df-seq 12996  df-exp 13055  df-hash 13312  df-cj 14038  df-re 14039  df-im 14040  df-sqrt 14174  df-abs 14175  df-clim 14418  df-sum 14616 This theorem is referenced by:  sumz  14652  fsumf1o  14653  fsumcl2lem  14661  fsumadd  14669  sumsnf  14672  sumsn  14674  fsummulc2  14715  fsumconst  14721  fsumrelem  14738  gsumfsum  20015  sumsnd  39684
 Copyright terms: Public domain W3C validator