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

Theorem nfcprod 15265
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 15260 . 2 𝑘𝐴 𝐵 = (℩𝑦(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
2 nfcv 2977 . . . . 5 𝑥
3 nfcprod.1 . . . . . . 7 𝑥𝐴
4 nfcv 2977 . . . . . . 7 𝑥(ℤ𝑚)
53, 4nfss 3960 . . . . . 6 𝑥 𝐴 ⊆ (ℤ𝑚)
6 nfv 1915 . . . . . . . . 9 𝑥 𝑧 ≠ 0
7 nfcv 2977 . . . . . . . . . . 11 𝑥𝑛
8 nfcv 2977 . . . . . . . . . . 11 𝑥 ·
93nfcri 2971 . . . . . . . . . . . . 13 𝑥 𝑘𝐴
10 nfcprod.2 . . . . . . . . . . . . 13 𝑥𝐵
11 nfcv 2977 . . . . . . . . . . . . 13 𝑥1
129, 10, 11nfif 4496 . . . . . . . . . . . 12 𝑥if(𝑘𝐴, 𝐵, 1)
132, 12nfmpt 5163 . . . . . . . . . . 11 𝑥(𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))
147, 8, 13nfseq 13380 . . . . . . . . . 10 𝑥seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
15 nfcv 2977 . . . . . . . . . 10 𝑥
16 nfcv 2977 . . . . . . . . . 10 𝑥𝑧
1714, 15, 16nfbr 5113 . . . . . . . . 9 𝑥seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧
186, 17nfan 1900 . . . . . . . 8 𝑥(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧)
1918nfex 2343 . . . . . . 7 𝑥𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧)
204, 19nfrex 3309 . . . . . 6 𝑥𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧)
21 nfcv 2977 . . . . . . . 8 𝑥𝑚
2221, 8, 13nfseq 13380 . . . . . . 7 𝑥seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1)))
23 nfcv 2977 . . . . . . 7 𝑥𝑦
2422, 15, 23nfbr 5113 . . . . . 6 𝑥seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦
255, 20, 24nf3an 1902 . . . . 5 𝑥(𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
262, 25nfrex 3309 . . . 4 𝑥𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦)
27 nfcv 2977 . . . . 5 𝑥
28 nfcv 2977 . . . . . . . 8 𝑥𝑓
29 nfcv 2977 . . . . . . . 8 𝑥(1...𝑚)
3028, 29, 3nff1o 6613 . . . . . . 7 𝑥 𝑓:(1...𝑚)–1-1-onto𝐴
31 nfcv 2977 . . . . . . . . . . . 12 𝑥(𝑓𝑛)
3231, 10nfcsbw 3909 . . . . . . . . . . 11 𝑥(𝑓𝑛) / 𝑘𝐵
3327, 32nfmpt 5163 . . . . . . . . . 10 𝑥(𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵)
3411, 8, 33nfseq 13380 . . . . . . . . 9 𝑥seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))
3534, 21nffv 6680 . . . . . . . 8 𝑥(seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3635nfeq2 2995 . . . . . . 7 𝑥 𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)
3730, 36nfan 1900 . . . . . 6 𝑥(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3837nfex 2343 . . . . 5 𝑥𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
3927, 38nfrex 3309 . . . 4 𝑥𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))
4026, 39nfor 1905 . . 3 𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚)))
4140nfiotaw 6318 . 2 𝑥(℩𝑦(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ ∃𝑛 ∈ (ℤ𝑚)∃𝑧(𝑧 ≠ 0 ∧ seq𝑛( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑧) ∧ seq𝑚( · , (𝑘 ∈ ℤ ↦ if(𝑘𝐴, 𝐵, 1))) ⇝ 𝑦) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑦 = (seq1( · , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵))‘𝑚))))
421, 41nfcxfr 2975 1 𝑥𝑘𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843  w3a 1083   = wceq 1537  wex 1780  wcel 2114  wnfc 2961  wne 3016  wrex 3139  csb 3883  wss 3936  ifcif 4467   class class class wbr 5066  cmpt 5146  cio 6312  1-1-ontowf1o 6354  cfv 6355  (class class class)co 7156  0cc0 10537  1c1 10538   · cmul 10542  cn 11638  cz 11982  cuz 12244  ...cfz 12893  seqcseq 13370  cli 14841  cprod 15259
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-seq 13371  df-prod 15260
This theorem is referenced by:  fprod2dlem  15334  fprodcom2  15338  fprodcn  41901  fprodcncf  42204
  Copyright terms: Public domain W3C validator