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

Theorem nfcprod 16087
Description: Bound-variable hypothesis builder for product: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in ∏𝑘 ∈ 𝐴𝐵. (Contributed by Scott Fenton, 1-Dec-2017.)
Hypotheses
Ref Expression
nfcprod.1 Ⅎ𝑥𝐴
nfcprod.2 Ⅎ𝑥𝐵
Assertion
Ref Expression
nfcprod Ⅎ𝑥∏𝑘 ∈ 𝐴 𝐵
Distinct variable group:   𝑥,𝑘
Allowed substitution hints:   𝐴(𝑥, 𝑘)   𝐵(𝑥, 𝑘)

Proof of Theorem nfcprod
Dummy variables 𝑓 𝑚 𝑛 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-prod 16082 . 2 ∏𝑘 ∈ 𝐴 𝐵 = (℩𝑦(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
2 nfcv 2922 . . . . 5 Ⅎ𝑥ℤ
3 nfcprod.1 . . . . . . 7 Ⅎ𝑥𝐴
4 nfcv 2922 . . . . . . 7 Ⅎ𝑥(ℤ≥‘𝑚)
53, 4nfss 3902 . . . . . 6 Ⅎ𝑥 𝐴 ⊆ (ℤ≥‘𝑚)
6 nfv 1946 . . . . . . . . 9 Ⅎ𝑥 𝑧 ≠ 0
7 nfcv 2922 . . . . . . . . . . 11 Ⅎ𝑥𝑛
8 nfcv 2922 . . . . . . . . . . 11 Ⅎ𝑥 ·
93nfcri 2914 . . . . . . . . . . . . 13 Ⅎ𝑥 𝑘 ∈ 𝐴
10 nfcprod.2 . . . . . . . . . . . . 13 Ⅎ𝑥𝐵
11 nfcv 2922 . . . . . . . . . . . . 13 Ⅎ𝑥1
129, 10, 11nfif 4512 . . . . . . . . . . . 12 Ⅎ𝑥if(𝑘 ∈ 𝐴, 𝐵, 1)
132, 12nfmpt 5202 . . . . . . . . . . 11 Ⅎ𝑥(𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))
147, 8, 13nfseq 14161 . . . . . . . . . 10 Ⅎ𝑥seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1)))
15 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥 ⇝
16 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥𝑧
1714, 15, 16nfbr 5151 . . . . . . . . 9 Ⅎ𝑥seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧
186, 17nfan 1931 . . . . . . . 8 Ⅎ𝑥(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧)
1918nfex 2354 . . . . . . 7 Ⅎ𝑥∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧)
204, 19nfrexw 3310 . . . . . 6 Ⅎ𝑥∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧)
21 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝑚
2221, 8, 13nfseq 14161 . . . . . . 7 Ⅎ𝑥seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1)))
23 nfcv 2922 . . . . . . 7 Ⅎ𝑥𝑦
2422, 15, 23nfbr 5151 . . . . . 6 Ⅎ𝑥seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦
255, 20, 24nf3an 1933 . . . . 5 Ⅎ𝑥(𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦)
262, 25nfrexw 3310 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦)
27 nfcv 2922 . . . . 5 Ⅎ𝑥ℕ
28 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝑓
29 nfcv 2922 . . . . . . . 8 Ⅎ𝑥(1...𝑚)
3028, 29, 3nff1o 6827 . . . . . . 7 Ⅎ𝑥 𝑓:(1...𝑚)–1-1-onto→𝐴
31 nfcv 2922 . . . . . . . . . . . 12 Ⅎ𝑥(𝑓‘𝑛)
3231, 10nfcsbw 3873 . . . . . . . . . . 11 Ⅎ𝑥⦋(𝑓‘𝑛) / 𝑘⦌𝐵
3327, 32nfmpt 5202 . . . . . . . . . 10 Ⅎ𝑥(𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵)
3411, 8, 33nfseq 14161 . . . . . . . . 9 Ⅎ𝑥seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))
3534, 21nffv 6900 . . . . . . . 8 Ⅎ𝑥(seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3635nfeq2 2939 . . . . . . 7 Ⅎ𝑥 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)
3730, 36nfan 1931 . . . . . 6 Ⅎ𝑥(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3837nfex 2354 . . . . 5 Ⅎ𝑥∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
3927, 38nfrexw 3310 . . . 4 Ⅎ𝑥∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))
4026, 39nfor 1936 . . 3 Ⅎ𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚)))
4140nfiotaw 6501 . 2 Ⅎ𝑥(℩𝑦(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ≥‘𝑚) ∧ ∃𝑛 ∈ (ℤ≥‘𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto→𝐴 ∧ 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ ⦋(𝑓‘𝑛) / 𝑘⦌𝐵))‘𝑚))))
421, 41nfcxfr 2920 1 Ⅎ𝑥∏𝑘 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Ⅎwnfc 2907   ≠ wne 2955  ∃wrex 3086  ⦋csb 3847   ⊆ wss 3896  ifcif 4481   class class class wbr 5102   ↦ cmpt 5185  ℩cio 6495  –1-1-onto→wf1o 6542  ‘cfv 6543  (class class class)co 7424  0cc0 11207  1c1 11208   · cmul 11212  ℕcn 12342  ℤcz 12700  ℤ≥cuz 12972  ...cfz 13646  seqcseq 14151   ⇝ cli 15660  ∏cprod 16081
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-frecs 8306  df-wrecs 8337  df-recs 8386  df-rdg 8425  df-seq 14152  df-prod 16082
This theorem is used by:  fprod2dlem  16156  fprodcom2  16160  fprodcn  46720  fprodcncf  47018
  Copyright terms: Public domain W3C validator