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

Theorem prodeq2ii 16137
Description: Equality theorem for product, with the class expressions 𝐵 and 𝐶 guarded by I to be always sets. (Contributed by Scott Fenton, 4-Dec-2017.)
Assertion
Ref Expression
prodeq2ii (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → ∏𝑘 ∈ 𝐴 𝐵 = ∏𝑘 ∈ 𝐴 𝐶)
Distinct variable group:   𝐴,𝑘
Allowed substitution hints:   𝐵(𝑘)   𝐶(𝑘)

Proof of Theorem prodeq2ii
Dummy variables 𝑓 𝑚 𝑛 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eluzelz 13026 . . . . . . . . . . . . 13 (𝑛 ∈ (ℤ≥‘𝑚) → 𝑛 ∈ ℤ)
21adantl 487 . . . . . . . . . . . 12 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) → 𝑛 ∈ ℤ)
3 nfra1 3293 . . . . . . . . . . . . . . . . 17 Ⅎ𝑘∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶)
4 rsp 3257 . . . . . . . . . . . . . . . . . . . . 21 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (𝑘 ∈ 𝐴 → ( I ‘𝐵) = ( I ‘𝐶)))
54adantr 486 . . . . . . . . . . . . . . . . . . . 20 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ 𝐴 → ( I ‘𝐵) = ( I ‘𝐶)))
6 ifeq1 4491 . . . . . . . . . . . . . . . . . . . 20 (( I ‘𝐵) = ( I ‘𝐶) → if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1)))
75, 6syl6 36 . . . . . . . . . . . . . . . . . . 19 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑘 ∈ ℤ) → (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1))))
8 iffalse 4496 . . . . . . . . . . . . . . . . . . . 20 (¬ 𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1)) = ( I ‘1))
9 iffalse 4496 . . . . . . . . . . . . . . . . . . . 20 (¬ 𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1)) = ( I ‘1))
108, 9eqtr4d 2807 . . . . . . . . . . . . . . . . . . 19 (¬ 𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1)))
117, 10pm2.61d1 182 . . . . . . . . . . . . . . . . . 18 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑘 ∈ ℤ) → if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1)))
12 fvif 6942 . . . . . . . . . . . . . . . . . 18 ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐵), ( I ‘1))
13 fvif 6942 . . . . . . . . . . . . . . . . . 18 ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)) = if(𝑘 ∈ 𝐴, ( I ‘𝐶), ( I ‘1))
1411, 12, 133eqtr4g 2829 . . . . . . . . . . . . . . . . 17 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑘 ∈ ℤ) → ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)) = ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))
153, 14mpteq2da 5206 . . . . . . . . . . . . . . . 16 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1))) = (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1))))
1615adantr 486 . . . . . . . . . . . . . . 15 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑥 ∈ (ℤ≥‘𝑛)) → (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1))) = (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1))))
1716fveq1d 6928 . . . . . . . . . . . . . 14 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑥 ∈ (ℤ≥‘𝑛)) → ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)))‘𝑥) = ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))‘𝑥))
1817adantlr 728 . . . . . . . . . . . . 13 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) ∧ 𝑥 ∈ (ℤ≥‘𝑛)) → ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)))‘𝑥) = ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))‘𝑥))
19 eqid 2769 . . . . . . . . . . . . . 14 (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1)) = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))
20 eqid 2769 . . . . . . . . . . . . . 14 (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1))) = (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)))
2119, 20fvmptex 7049 . . . . . . . . . . . . 13 ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))‘𝑥) = ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)))‘𝑥)
22 eqid 2769 . . . . . . . . . . . . . 14 (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1)) = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))
23 eqid 2769 . . . . . . . . . . . . . 14 (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1))) = (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))
2422, 23fvmptex 7049 . . . . . . . . . . . . 13 ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))‘𝑥) = ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))‘𝑥)
2518, 21, 243eqtr4g 2829 . . . . . . . . . . . 12 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) ∧ 𝑥 ∈ (ℤ≥‘𝑛)) → ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))‘𝑥) = ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))‘𝑥))
262, 25seqfeq 14223 . . . . . . . . . . 11 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) → seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) = seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))))
2726breq1d 5121 . . . . . . . . . 10 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) → (seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦 ↔ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦))
2827anbi2d 642 . . . . . . . . 9 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) → ((𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ↔ (𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦)))
2928exbidv 1958 . . . . . . . 8 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑛 ∈ (ℤ≥‘𝑚)) → (∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ↔ ∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦)))
3029rexbidva 3194 . . . . . . 7 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ↔ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦)))
3130adantr 486 . . . . . 6 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) → (∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ↔ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦)))
32 simpr 490 . . . . . . . 8 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) → 𝑚 ∈ ℤ)
3315adantr 486 . . . . . . . . . . 11 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑥 ∈ (ℤ≥‘𝑚)) → (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1))) = (𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1))))
3433fveq1d 6928 . . . . . . . . . 10 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑥 ∈ (ℤ≥‘𝑚)) → ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐵, 1)))‘𝑥) = ((𝑘 ∈ ℤ ↦ ( I ‘if(𝑘 ∈ 𝐴, 𝐶, 1)))‘𝑥))
3534, 21, 243eqtr4g 2829 . . . . . . . . 9 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑥 ∈ (ℤ≥‘𝑚)) → ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))‘𝑥) = ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))‘𝑥))
3635adantlr 728 . . . . . . . 8 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) ∧ 𝑥 ∈ (ℤ≥‘𝑚)) → ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))‘𝑥) = ((𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))‘𝑥))
3732, 36seqfeq 14223 . . . . . . 7 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) → seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) = seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))))
3837breq1d 5121 . . . . . 6 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) → (seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥 ↔ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥))
3931, 383anbi23d 1470 . . . . 5 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℤ) → ((𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥) ↔ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥)))
4039rexbidva 3194 . . . 4 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥) ↔ ∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥)))
41 simplr 781 . . . . . . . . . 10 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) → 𝑚 ∈ ℕ)
42 nnuz 13055 . . . . . . . . . 10 ℕ = (ℤ≥‘1)
4341, 42eleqtrdi 2880 . . . . . . . . 9 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) → 𝑚 ∈ (ℤ≥‘1))
44 f1of 6864 . . . . . . . . . . . . . 14 (𝑓:(1...𝑚)⟶1-1onto𝐴 → 𝑓:(1...𝑚)⟶𝐴)
4544ad2antlr 740 . . . . . . . . . . . . 13 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → 𝑓:(1...𝑚)⟶𝐴)
46 ffvelcdm 7123 . . . . . . . . . . . . 13 ((𝑓:(1...𝑚)⟶𝐴 ∧ 𝑥 ∈ (1...𝑚)) → (𝑓‘𝑥) ∈ 𝐴)
4745, 46sylancom 600 . . . . . . . . . . . 12 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → (𝑓‘𝑥) ∈ 𝐴)
48 simplll 787 . . . . . . . . . . . 12 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶))
49 nfcsb1v 3877 . . . . . . . . . . . . . 14 Ⅎ𝑘⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵)
50 nfcsb1v 3877 . . . . . . . . . . . . . 14 Ⅎ𝑘⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶)
5149, 50nfeq 2945 . . . . . . . . . . . . 13 Ⅎ𝑘⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶)
52 csbeq1a 3867 . . . . . . . . . . . . . 14 (𝑘 = (𝑓‘𝑥) → ( I ‘𝐵) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵))
53 csbeq1a 3867 . . . . . . . . . . . . . 14 (𝑘 = (𝑓‘𝑥) → ( I ‘𝐶) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶))
5452, 53eqeq12d 2785 . . . . . . . . . . . . 13 (𝑘 = (𝑓‘𝑥) → (( I ‘𝐵) = ( I ‘𝐶) ↔ ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶)))
5551, 54rspc 3570 . . . . . . . . . . . 12 ((𝑓‘𝑥) ∈ 𝐴 → (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶)))
5647, 48, 55sylc 66 . . . . . . . . . . 11 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶))
57 fvex 6939 . . . . . . . . . . . 12 (𝑓‘𝑥) ∈ V
58 csbfv2g 6972 . . . . . . . . . . . 12 ((𝑓‘𝑥) ∈ V → ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐵))
5957, 58ax-mp 5 . . . . . . . . . . 11 ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐵) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐵)
60 csbfv2g 6972 . . . . . . . . . . . 12 ((𝑓‘𝑥) ∈ V → ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐶))
6157, 60ax-mp 5 . . . . . . . . . . 11 ⦋(𝑓‘𝑥) / 𝑘⦌( I ‘𝐶) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐶)
6256, 59, 613eqtr3g 2827 . . . . . . . . . 10 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐵) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐶))
63 elfznn 13738 . . . . . . . . . . . 12 (𝑥 ∈ (1...𝑚) → 𝑥 ∈ ℕ)
6463adantl 487 . . . . . . . . . . 11 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → 𝑥 ∈ ℕ)
65 fveq2 6926 . . . . . . . . . . . . 13 (𝑛 = 𝑥 → (𝑓‘𝑛) = (𝑓‘𝑥))
6665csbeq1d 3857 . . . . . . . . . . . 12 (𝑛 = 𝑥 → ⦋(𝑓‘𝑛) / 𝑘⦌𝐵 = ⦋(𝑓‘𝑥) / 𝑘⦌𝐵)
67 eqid 2769 . . . . . . . . . . . 12 (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵) = (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)
6866, 67fvmpti 7033 . . . . . . . . . . 11 (𝑥 ∈ ℕ → ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)‘𝑥) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐵))
6964, 68syl 18 . . . . . . . . . 10 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)‘𝑥) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐵))
7065csbeq1d 3857 . . . . . . . . . . . 12 (𝑛 = 𝑥 → ⦋(𝑓‘𝑛) / 𝑘⦌𝐶 = ⦋(𝑓‘𝑥) / 𝑘⦌𝐶)
71 eqid 2769 . . . . . . . . . . . 12 (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶) = (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶)
7270, 71fvmpti 7033 . . . . . . . . . . 11 (𝑥 ∈ ℕ → ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶)‘𝑥) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐶))
7364, 72syl 18 . . . . . . . . . 10 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶)‘𝑥) = ( I ‘⦋(𝑓‘𝑥) / 𝑘⦌𝐶))
7462, 69, 733eqtr4d 2814 . . . . . . . . 9 ((((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) ∧ 𝑥 ∈ (1...𝑚)) → ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)‘𝑥) = ((𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶)‘𝑥))
7543, 74seqfveq 14222 . . . . . . . 8 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) → (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚) = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚))
7675eqeq2d 2780 . . . . . . 7 (((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) ∧ 𝑓:(1...𝑚)⟶1-1onto𝐴) → (𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚) ↔ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚)))
7776pm5.32da 590 . . . . . 6 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) → ((𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)) ↔ (𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚))))
7877exbidv 1958 . . . . 5 ((∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) ∧ 𝑚 ∈ ℕ) → (∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)) ↔ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚))))
7978rexbidva 3194 . . . 4 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)) ↔ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚))))
8040, 79orbi12d 932 . . 3 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → ((∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))) ↔ (∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚)))))
8180iotabidv 6556 . 2 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)))) = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚)))))
82 df-prod 16130 . 2 ∏𝑘 ∈ 𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
83 df-prod 16130 . 2 ∏𝑘 ∈ 𝐴 𝐶 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐶, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)⟶1-1onto𝐴 ∧ 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐶))‘𝑚))))
8481, 82, 833eqtr4g 2829 1 (∀𝑘 ∈ 𝐴 ( I ‘𝐵) = ( I ‘𝐶) → ∏𝑘 ∈ 𝐴 𝐵 = ∏𝑘 ∈ 𝐴 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1104   = wceq 1572  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965  ∀wral 3086  ∃wrex 3096  Vcvv 3456  ⦋csb 3853   ⊆ wss 3902  ifcif 4487   class class class wbr 5111   ↦ cmpt 5195   I cid 5555  ℩cio 6525  ⟶wf 6569  ⟶1-1ontowf1o 6572  ‘cfv 6573  (class class class)co 7462  0cc0 11250  1c1 11251   · cmul 11255  ℕcn 12386  ℤcz 12744  ℤ≥cuz 13016  ...cfz 13690  seqcseq 14197   ⇝ cli 15708  ∏cprod 16129
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794  ax-cnex 11306  ax-resscn 11307  ax-1cn 11308  ax-icn 11309  ax-addcl 11310  ax-addrcl 11311  ax-mulcl 11312  ax-mulrcl 11313  ax-mulcom 11314  ax-addass 11315  ax-mulass 11316  ax-distr 11317  ax-i2m1 11318  ax-1ne0 11319  ax-1rid 11320  ax-rnegex 11321  ax-rrecex 11322  ax-cnre 11323  ax-pre-lttri 11324  ax-pre-lttrn 11325  ax-pre-ltadd 11326  ax-pre-mulgt0 11327
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7465  df-oprab 7466  df-mpo 7467  df-om 7923  df-1st 8046  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467  df-er 8766  df-en 9023  df-dom 9024  df-sdom 9025  df-pnf 11395  df-mnf 11396  df-xr 11397  df-ltxr 11398  df-le 11399  df-sub 11593  df-neg 11594  df-nn 12387  df-n0 12658  df-z 12745  df-uz 13017  df-fz 13691  df-seq 14198  df-prod 16130
This theorem is used by:  prodeq2  16138  prod2id  16152
  Copyright terms: Public domain W3C validator