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

Theorem nfcprod1 15874
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 15870 . 2 𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2891 . . . . 5 𝑘
3 nfcprod1.1 . . . . . . 7 𝑘𝐴
4 nfcv 2891 . . . . . . 7 𝑘(ℤ𝑚)
53, 4nfss 3939 . . . . . 6 𝑘 𝐴 ⊆ (ℤ𝑚)
6 nfv 1914 . . . . . . . . 9 𝑘 𝑦 ≠ 0
7 nfcv 2891 . . . . . . . . . . 11 𝑘𝑛
8 nfcv 2891 . . . . . . . . . . 11 𝑘 ·
9 nfmpt1 5206 . . . . . . . . . . 11 𝑘(𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))
107, 8, 9nfseq 13976 . . . . . . . . . 10 𝑘seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
11 nfcv 2891 . . . . . . . . . 10 𝑘
12 nfcv 2891 . . . . . . . . . 10 𝑘𝑦
1310, 11, 12nfbr 5154 . . . . . . . . 9 𝑘seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦
146, 13nfan 1899 . . . . . . . 8 𝑘(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
1514nfex 2323 . . . . . . 7 𝑘𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
164, 15nfrexw 3287 . . . . . 6 𝑘𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
17 nfcv 2891 . . . . . . . 8 𝑘𝑚
1817, 8, 9nfseq 13976 . . . . . . 7 𝑘seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
19 nfcv 2891 . . . . . . 7 𝑘𝑥
2018, 11, 19nfbr 5154 . . . . . 6 𝑘seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥
215, 16, 20nf3an 1901 . . . . 5 𝑘(𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥)
222, 21nfrexw 3287 . . . 4 𝑘𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥)
23 nfcv 2891 . . . . 5 𝑘
24 nfcv 2891 . . . . . . . 8 𝑘𝑓
25 nfcv 2891 . . . . . . . 8 𝑘(1...𝑚)
2624, 25, 3nff1o 6798 . . . . . . 7 𝑘 𝑓:(1...𝑚)–1-1-onto𝐴
27 nfcv 2891 . . . . . . . . . 10 𝑘1
28 nfcsb1v 3886 . . . . . . . . . . 11 𝑘(𝑓𝑛) / 𝑘𝐵
2923, 28nfmpt 5205 . . . . . . . . . 10 𝑘(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
3027, 8, 29nfseq 13976 . . . . . . . . 9 𝑘seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
3130, 17nffv 6868 . . . . . . . 8 𝑘(seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3231nfeq2 2909 . . . . . . 7 𝑘 𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3326, 32nfan 1899 . . . . . 6 𝑘(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3433nfex 2323 . . . . 5 𝑘𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3523, 34nfrexw 3287 . . . 4 𝑘𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3622, 35nfor 1904 . . 3 𝑘(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
3736nfiotaw 6468 . 2 𝑘(℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑦(𝑦 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
381, 37nfcxfr 2889 1 𝑘𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 395  wo 847  w3a 1086   = wceq 1540  wex 1779  wcel 2109  wnfc 2876  wne 2925  wrex 3053  csb 3862  wss 3914  ifcif 4488   class class class wbr 5107  cmpt 5188  cio 6462  1-1-ontowf1o 6510  cfv 6511  (class class class)co 7387  0cc0 11068  1c1 11069   · cmul 11073  cn 12186  cz 12529  cuz 12793  ...cfz 13468  seqcseq 13966  cli 15450  cprod 15869
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ral 3045  df-rex 3054  df-rab 3406  df-v 3449  df-sbc 3754  df-csb 3863  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4297  df-if 4489  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4872  df-br 5108  df-opab 5170  df-mpt 5189  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6274  df-iota 6464  df-fun 6513  df-fn 6514  df-f 6515  df-f1 6516  df-fo 6517  df-f1o 6518  df-fv 6519  df-ov 7390  df-oprab 7391  df-mpo 7392  df-frecs 8260  df-wrecs 8291  df-recs 8340  df-rdg 8378  df-seq 13967  df-prod 15870
This theorem is referenced by:  fprodcn  45598  dvmptfprod  45943  vonicc  46683
  Copyright terms: Public domain W3C validator