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

Theorem nfcprod1 15831
Description: Bound-variable hypothesis builder for product. (Contributed by Scott Fenton, 4-Dec-2017.)
Hypothesis
Ref Expression
nfcprod1.1 𝑘𝐴
Assertion
Ref Expression
nfcprod1 𝑘𝑘𝐴 𝐵
Distinct variable group:   𝐴,𝑘
Allowed substitution hint:   𝐵(𝑘)

Proof of Theorem nfcprod1
Dummy variables 𝑓 𝑚 𝑛 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-prod 15827 . 2 𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2898 . . . . 5 𝑘
3 nfcprod1.1 . . . . . . 7 𝑘𝐴
4 nfcv 2898 . . . . . . 7 𝑘(ℤ𝑚)
53, 4nfss 3926 . . . . . 6 𝑘 𝐴 ⊆ (ℤ𝑚)
6 nfv 1915 . . . . . . . . 9 𝑘 𝑦 ≠ 0
7 nfcv 2898 . . . . . . . . . . 11 𝑘𝑛
8 nfcv 2898 . . . . . . . . . . 11 𝑘 ·
9 nfmpt1 5197 . . . . . . . . . . 11 𝑘(𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))
107, 8, 9nfseq 13934 . . . . . . . . . 10 𝑘seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
11 nfcv 2898 . . . . . . . . . 10 𝑘
12 nfcv 2898 . . . . . . . . . 10 𝑘𝑦
1310, 11, 12nfbr 5145 . . . . . . . . 9 𝑘seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦
146, 13nfan 1900 . . . . . . . 8 𝑘(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
1514nfex 2329 . . . . . . 7 𝑘𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
164, 15nfrexw 3284 . . . . . 6 𝑘𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
17 nfcv 2898 . . . . . . . 8 𝑘𝑚
1817, 8, 9nfseq 13934 . . . . . . 7 𝑘seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
19 nfcv 2898 . . . . . . 7 𝑘𝑥
2018, 11, 19nfbr 5145 . . . . . 6 𝑘seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥
215, 16, 20nf3an 1902 . . . . 5 𝑘(𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥)
222, 21nfrexw 3284 . . . 4 𝑘𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥)
23 nfcv 2898 . . . . 5 𝑘
24 nfcv 2898 . . . . . . . 8 𝑘𝑓
25 nfcv 2898 . . . . . . . 8 𝑘(1...𝑚)
2624, 25, 3nff1o 6772 . . . . . . 7 𝑘 𝑓:(1...𝑚)–1-1-onto𝐴
27 nfcv 2898 . . . . . . . . . 10 𝑘1
28 nfcsb1v 3873 . . . . . . . . . . 11 𝑘(𝑓𝑛) / 𝑘𝐵
2923, 28nfmpt 5196 . . . . . . . . . 10 𝑘(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
3027, 8, 29nfseq 13934 . . . . . . . . 9 𝑘seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
3130, 17nffv 6844 . . . . . . . 8 𝑘(seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3231nfeq2 2916 . . . . . . 7 𝑘 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3326, 32nfan 1900 . . . . . 6 𝑘(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3433nfex 2329 . . . . 5 𝑘𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3523, 34nfrexw 3284 . . . 4 𝑘𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3622, 35nfor 1905 . . 3 𝑘(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
3736nfiotaw 6452 . 2 𝑘(℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
381, 37nfcxfr 2896 1 𝑘𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 395  wo 847  w3a 1086   = wceq 1541  wex 1780  wcel 2113  wnfc 2883  wne 2932  wrex 3060  csb 3849  wss 3901  ifcif 4479   class class class wbr 5098  cmpt 5179  cio 6446  1-1-ontowf1o 6491  cfv 6492  (class class class)co 7358  0cc0 11026  1c1 11027   · cmul 11031  cn 12145  cz 12488  cuz 12751  ...cfz 13423  seqcseq 13924  cli 15407  cprod 15826
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2184  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-sbc 3741  df-csb 3850  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-br 5099  df-opab 5161  df-mpt 5180  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-pred 6259  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-ov 7361  df-oprab 7362  df-mpo 7363  df-frecs 8223  df-wrecs 8254  df-recs 8303  df-rdg 8341  df-seq 13925  df-prod 15827
This theorem is referenced by:  fprodcn  45846  dvmptfprod  46189  vonicc  46929
  Copyright terms: Public domain W3C validator