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

Theorem fprod 15579
Description: The value of a product over a nonempty finite set. (Contributed by Scott Fenton, 6-Dec-2017.)
Hypotheses
Ref Expression
fprod.1 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
fprod.2 (𝜑𝑀 ∈ ℕ)
fprod.3 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
fprod.4 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
fprod.5 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
Assertion
Ref Expression
fprod (𝜑 → ∏𝑘𝐴 𝐵 = (seq1( · , 𝐺)‘𝑀))
Distinct variable groups:   𝐴,𝑘,𝑛   𝐵,𝑛   𝐶,𝑘   𝑘,𝐹,𝑛   𝑘,𝐺,𝑛   𝜑,𝑘   𝑘,𝑀,𝑛   𝜑,𝑛
Allowed substitution hints:   𝐵(𝑘)   𝐶(𝑛)

Proof of Theorem fprod
Dummy variables 𝑓 𝑖 𝑗 𝑚 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-prod 15544 . 2 𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 fvex 6769 . . 3 (seq1( · , 𝐺)‘𝑀) ∈ V
3 nfcv 2906 . . . . . . . . 9 𝑗if(𝑘𝐴, 𝐵, 1)
4 nfv 1918 . . . . . . . . . 10 𝑘 𝑗𝐴
5 nfcsb1v 3853 . . . . . . . . . 10 𝑘𝑗 / 𝑘𝐵
6 nfcv 2906 . . . . . . . . . 10 𝑘1
74, 5, 6nfif 4486 . . . . . . . . 9 𝑘if(𝑗𝐴, 𝑗 / 𝑘𝐵, 1)
8 eleq1w 2821 . . . . . . . . . 10 (𝑘 = 𝑗 → (𝑘𝐴𝑗𝐴))
9 csbeq1a 3842 . . . . . . . . . 10 (𝑘 = 𝑗𝐵 = 𝑗 / 𝑘𝐵)
108, 9ifbieq1d 4480 . . . . . . . . 9 (𝑘 = 𝑗 → if(𝑘𝐴, 𝐵, 1) = if(𝑗𝐴, 𝑗 / 𝑘𝐵, 1))
113, 7, 10cbvmpt 5181 . . . . . . . 8 (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)) = (𝑗 ∈ ℤ ↦ if(𝑗𝐴, 𝑗 / 𝑘𝐵, 1))
12 fprod.4 . . . . . . . . . 10 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
1312ralrimiva 3107 . . . . . . . . 9 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
145nfel1 2922 . . . . . . . . . 10 𝑘𝑗 / 𝑘𝐵 ∈ ℂ
159eleq1d 2823 . . . . . . . . . 10 (𝑘 = 𝑗 → (𝐵 ∈ ℂ ↔ 𝑗 / 𝑘𝐵 ∈ ℂ))
1614, 15rspc 3539 . . . . . . . . 9 (𝑗𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → 𝑗 / 𝑘𝐵 ∈ ℂ))
1713, 16mpan9 506 . . . . . . . 8 ((𝜑𝑗𝐴) → 𝑗 / 𝑘𝐵 ∈ ℂ)
18 fveq2 6756 . . . . . . . . . . 11 (𝑛 = 𝑖 → (𝑓𝑛) = (𝑓𝑖))
1918csbeq1d 3832 . . . . . . . . . 10 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵)
20 csbcow 3843 . . . . . . . . . 10 (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵 = (𝑓𝑖) / 𝑘𝐵
2119, 20eqtr4di 2797 . . . . . . . . 9 (𝑛 = 𝑖(𝑓𝑛) / 𝑘𝐵 = (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
2221cbvmptv 5183 . . . . . . . 8 (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵) = (𝑖 ∈ ℕ ↦ (𝑓𝑖) / 𝑗𝑗 / 𝑘𝐵)
2311, 17, 22prodmo 15574 . . . . . . 7 (𝜑 → ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
24 fprod.2 . . . . . . . . 9 (𝜑𝑀 ∈ ℕ)
25 fprod.3 . . . . . . . . . . . 12 (𝜑𝐹:(1...𝑀)–1-1-onto𝐴)
26 f1of 6700 . . . . . . . . . . . 12 (𝐹:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)⟶𝐴)
2725, 26syl 17 . . . . . . . . . . 11 (𝜑𝐹:(1...𝑀)⟶𝐴)
28 ovex 7288 . . . . . . . . . . 11 (1...𝑀) ∈ V
29 fex 7084 . . . . . . . . . . 11 ((𝐹:(1...𝑀)⟶𝐴 ∧ (1...𝑀) ∈ V) → 𝐹 ∈ V)
3027, 28, 29sylancl 585 . . . . . . . . . 10 (𝜑𝐹 ∈ V)
31 nnuz 12550 . . . . . . . . . . . . 13 ℕ = (ℤ‘1)
3224, 31eleqtrdi 2849 . . . . . . . . . . . 12 (𝜑𝑀 ∈ (ℤ‘1))
33 fprod.5 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = 𝐶)
34 elfznn 13214 . . . . . . . . . . . . . . . 16 (𝑛 ∈ (1...𝑀) → 𝑛 ∈ ℕ)
35 fvex 6769 . . . . . . . . . . . . . . . . 17 (𝐺𝑛) ∈ V
3633, 35eqeltrrdi 2848 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (1...𝑀)) → 𝐶 ∈ V)
37 eqid 2738 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ ℕ ↦ 𝐶) = (𝑛 ∈ ℕ ↦ 𝐶)
3837fvmpt2 6868 . . . . . . . . . . . . . . . 16 ((𝑛 ∈ ℕ ∧ 𝐶 ∈ V) → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = 𝐶)
3934, 36, 38syl2an2 682 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (1...𝑀)) → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = 𝐶)
4033, 39eqtr4d 2781 . . . . . . . . . . . . . 14 ((𝜑𝑛 ∈ (1...𝑀)) → (𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛))
4140ralrimiva 3107 . . . . . . . . . . . . 13 (𝜑 → ∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛))
42 nffvmpt1 6767 . . . . . . . . . . . . . . 15 𝑛((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)
4342nfeq2 2923 . . . . . . . . . . . . . 14 𝑛(𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)
44 fveq2 6756 . . . . . . . . . . . . . . 15 (𝑛 = 𝑘 → (𝐺𝑛) = (𝐺𝑘))
45 fveq2 6756 . . . . . . . . . . . . . . 15 (𝑛 = 𝑘 → ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘))
4644, 45eqeq12d 2754 . . . . . . . . . . . . . 14 (𝑛 = 𝑘 → ((𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) ↔ (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)))
4743, 46rspc 3539 . . . . . . . . . . . . 13 (𝑘 ∈ (1...𝑀) → (∀𝑛 ∈ (1...𝑀)(𝐺𝑛) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑛) → (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘)))
4841, 47mpan9 506 . . . . . . . . . . . 12 ((𝜑𝑘 ∈ (1...𝑀)) → (𝐺𝑘) = ((𝑛 ∈ ℕ ↦ 𝐶)‘𝑘))
4932, 48seqfveq 13675 . . . . . . . . . . 11 (𝜑 → (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))
5025, 49jca 511 . . . . . . . . . 10 (𝜑 → (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀)))
51 f1oeq1 6688 . . . . . . . . . . 11 (𝑓 = 𝐹 → (𝑓:(1...𝑀)–1-1-onto𝐴𝐹:(1...𝑀)–1-1-onto𝐴))
52 fveq1 6755 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓𝑛) = (𝐹𝑛))
5352csbeq1d 3832 . . . . . . . . . . . . . . . 16 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = (𝐹𝑛) / 𝑘𝐵)
54 fvex 6769 . . . . . . . . . . . . . . . . 17 (𝐹𝑛) ∈ V
55 fprod.1 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝐹𝑛) → 𝐵 = 𝐶)
5654, 55csbie 3864 . . . . . . . . . . . . . . . 16 (𝐹𝑛) / 𝑘𝐵 = 𝐶
5753, 56eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝑓 = 𝐹(𝑓𝑛) / 𝑘𝐵 = 𝐶)
5857mpteq2dv 5172 . . . . . . . . . . . . . 14 (𝑓 = 𝐹 → (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵) = (𝑛 ∈ ℕ ↦ 𝐶))
5958seqeq3d 13657 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)) = seq1( · , (𝑛 ∈ ℕ ↦ 𝐶)))
6059fveq1d 6758 . . . . . . . . . . . 12 (𝑓 = 𝐹 → (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))
6160eqeq2d 2749 . . . . . . . . . . 11 (𝑓 = 𝐹 → ((seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀) ↔ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀)))
6251, 61anbi12d 630 . . . . . . . . . 10 (𝑓 = 𝐹 → ((𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)) ↔ (𝐹:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ 𝐶))‘𝑀))))
6330, 50, 62spcedv 3527 . . . . . . . . 9 (𝜑 → ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)))
64 oveq2 7263 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → (1...𝑚) = (1...𝑀))
6564f1oeq2d 6696 . . . . . . . . . . . 12 (𝑚 = 𝑀 → (𝑓:(1...𝑚)–1-1-onto𝐴𝑓:(1...𝑀)–1-1-onto𝐴))
66 fveq2 6756 . . . . . . . . . . . . 13 (𝑚 = 𝑀 → (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))
6766eqeq2d 2749 . . . . . . . . . . . 12 (𝑚 = 𝑀 → ((seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) ↔ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀)))
6865, 67anbi12d 630 . . . . . . . . . . 11 (𝑚 = 𝑀 → ((𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ (𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))))
6968exbidv 1925 . . . . . . . . . 10 (𝑚 = 𝑀 → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))))
7069rspcev 3552 . . . . . . . . 9 ((𝑀 ∈ ℕ ∧ ∃𝑓(𝑓:(1...𝑀)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑀))) → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7124, 63, 70syl2anc 583 . . . . . . . 8 (𝜑 → ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7271olcd 870 . . . . . . 7 (𝜑 → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
73 breq2 5074 . . . . . . . . . . . . . 14 (𝑥 = (seq1( · , 𝐺)‘𝑀) → (seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥 ↔ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)))
74733anbi3d 1440 . . . . . . . . . . . . 13 (𝑥 = (seq1( · , 𝐺)‘𝑀) → ((𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀))))
7574rexbidv 3225 . . . . . . . . . . . 12 (𝑥 = (seq1( · , 𝐺)‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀))))
76 eqeq1 2742 . . . . . . . . . . . . . . 15 (𝑥 = (seq1( · , 𝐺)‘𝑀) → (𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚) ↔ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
7776anbi2d 628 . . . . . . . . . . . . . 14 (𝑥 = (seq1( · , 𝐺)‘𝑀) → ((𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ (𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
7877exbidv 1925 . . . . . . . . . . . . 13 (𝑥 = (seq1( · , 𝐺)‘𝑀) → (∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
7978rexbidv 3225 . . . . . . . . . . . 12 (𝑥 = (seq1( · , 𝐺)‘𝑀) → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
8075, 79orbi12d 915 . . . . . . . . . . 11 (𝑥 = (seq1( · , 𝐺)‘𝑀) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))))
8180moi2 3646 . . . . . . . . . 10 ((((seq1( · , 𝐺)‘𝑀) ∈ V ∧ ∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( · , 𝐺)‘𝑀))
822, 81mpanl1 696 . . . . . . . . 9 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( · , 𝐺)‘𝑀))
8382ancom2s 646 . . . . . . . 8 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))) → 𝑥 = (seq1( · , 𝐺)‘𝑀))
8483expr 456 . . . . . . 7 ((∃*𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ∧ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ (seq1( · , 𝐺)‘𝑀)) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴 ∧ (seq1( · , 𝐺)‘𝑀) = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) → 𝑥 = (seq1( · , 𝐺)‘𝑀)))
8523, 72, 84syl2anc 583 . . . . . 6 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) → 𝑥 = (seq1( · , 𝐺)‘𝑀)))
8672, 80syl5ibrcom 246 . . . . . 6 (𝜑 → (𝑥 = (seq1( · , 𝐺)‘𝑀) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))))
8785, 86impbid 211 . . . . 5 (𝜑 → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ 𝑥 = (seq1( · , 𝐺)‘𝑀)))
8887adantr 480 . . . 4 ((𝜑 ∧ (seq1( · , 𝐺)‘𝑀) ∈ V) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))) ↔ 𝑥 = (seq1( · , 𝐺)‘𝑀)))
8988iota5 6401 . . 3 ((𝜑 ∧ (seq1( · , 𝐺)‘𝑀) ∈ V) → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) = (seq1( · , 𝐺)‘𝑀))
902, 89mpan2 687 . 2 (𝜑 → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))) = (seq1( · , 𝐺)‘𝑀))
911, 90eqtrid 2790 1 (𝜑 → ∏𝑘𝐴 𝐵 = (seq1( · , 𝐺)‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wex 1783  wcel 2108  ∃*wmo 2538  wne 2942  wral 3063  wrex 3064  Vcvv 3422  csb 3828  wss 3883  ifcif 4456   class class class wbr 5070  cmpt 5153  cio 6374  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  cc 10800  0cc0 10802  1c1 10803   · cmul 10807  cn 11903  cz 12249  cuz 12511  ...cfz 13168  seqcseq 13649  cli 15121  cprod 15543
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-prod 15544
This theorem is referenced by:  prod1  15582  fprodf1o  15584  fprodser  15587  fprodcl2lem  15588  fprodmul  15598  fproddiv  15599  prodsn  15600  prodsnf  15602  fprodconst  15616  fprodn0  15617
  Copyright terms: Public domain W3C validator