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

Theorem nfcprod1 13799
Description: Bound-variable hypothesis builder for product. (Contributed by Scott Fenton, 4-Dec-2017.)
Hypothesis
Ref Expression
nfcprod1.1  |-  F/_ k A
Assertion
Ref Expression
nfcprod1  |-  F/_ k prod_ k  e.  A  B
Distinct variable group:    A, k
Allowed substitution hint:    B( k)

Proof of Theorem nfcprod1
Dummy variables  f  m  n  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-prod 13795 . 2  |-  prod_ k  e.  A  B  =  ( iota x ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  E. n  e.  ( ZZ>= `  m ) E. y ( y  =/=  0  /\  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )  /\  seq m (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m ) ) ) )
2 nfcv 2616 . . . . 5  |-  F/_ k ZZ
3 nfcprod1.1 . . . . . . 7  |-  F/_ k A
4 nfcv 2616 . . . . . . 7  |-  F/_ k
( ZZ>= `  m )
53, 4nfss 3482 . . . . . 6  |-  F/ k  A  C_  ( ZZ>= `  m )
6 nfv 1712 . . . . . . . . 9  |-  F/ k  y  =/=  0
7 nfcv 2616 . . . . . . . . . . 11  |-  F/_ k
n
8 nfcv 2616 . . . . . . . . . . 11  |-  F/_ k  x.
9 nfmpt1 4528 . . . . . . . . . . 11  |-  F/_ k
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) )
107, 8, 9nfseq 12099 . . . . . . . . . 10  |-  F/_ k  seq n (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )
11 nfcv 2616 . . . . . . . . . 10  |-  F/_ k  ~~>
12 nfcv 2616 . . . . . . . . . 10  |-  F/_ k
y
1310, 11, 12nfbr 4483 . . . . . . . . 9  |-  F/ k  seq n (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y
146, 13nfan 1933 . . . . . . . 8  |-  F/ k ( y  =/=  0  /\  seq n (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
1514nfex 1953 . . . . . . 7  |-  F/ k E. y ( y  =/=  0  /\  seq n (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
164, 15nfrex 2917 . . . . . 6  |-  F/ k E. n  e.  (
ZZ>= `  m ) E. y ( y  =/=  0  /\  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
17 nfcv 2616 . . . . . . . 8  |-  F/_ k
m
1817, 8, 9nfseq 12099 . . . . . . 7  |-  F/_ k  seq m (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )
19 nfcv 2616 . . . . . . 7  |-  F/_ k
x
2018, 11, 19nfbr 4483 . . . . . 6  |-  F/ k  seq m (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x
215, 16, 20nf3an 1935 . . . . 5  |-  F/ k ( A  C_  ( ZZ>=
`  m )  /\  E. n  e.  ( ZZ>= `  m ) E. y
( y  =/=  0  /\  seq n (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )  /\  seq m (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x )
222, 21nfrex 2917 . . . 4  |-  F/ k E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  E. n  e.  ( ZZ>= `  m ) E. y
( y  =/=  0  /\  seq n (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )  /\  seq m (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x )
23 nfcv 2616 . . . . 5  |-  F/_ k NN
24 nfcv 2616 . . . . . . . 8  |-  F/_ k
f
25 nfcv 2616 . . . . . . . 8  |-  F/_ k
( 1 ... m
)
2624, 25, 3nff1o 5796 . . . . . . 7  |-  F/ k  f : ( 1 ... m ) -1-1-onto-> A
27 nfcv 2616 . . . . . . . . . 10  |-  F/_ k
1
28 nfcsb1v 3436 . . . . . . . . . . 11  |-  F/_ k [_ ( f `  n
)  /  k ]_ B
2923, 28nfmpt 4527 . . . . . . . . . 10  |-  F/_ k
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B )
3027, 8, 29nfseq 12099 . . . . . . . . 9  |-  F/_ k  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) )
3130, 17nffv 5855 . . . . . . . 8  |-  F/_ k
(  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m )
3231nfeq2 2633 . . . . . . 7  |-  F/ k  x  =  (  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m )
3326, 32nfan 1933 . . . . . 6  |-  F/ k ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) )
3433nfex 1953 . . . . 5  |-  F/ k E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
) ) `  m
) )
3523, 34nfrex 2917 . . . 4  |-  F/ k E. m  e.  NN  E. f ( f : ( 1 ... m
)
-1-1-onto-> A  /\  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) )
3622, 35nfor 1940 . . 3  |-  F/ k ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  E. n  e.  (
ZZ>= `  m ) E. y ( y  =/=  0  /\  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )  /\  seq m (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m ) ) )
3736nfiota 5538 . 2  |-  F/_ k
( iota x ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  E. n  e.  ( ZZ>= `  m ) E. y ( y  =/=  0  /\  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )  /\  seq m (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m ) ) ) )
381, 37nfcxfr 2614 1  |-  F/_ k prod_ k  e.  A  B
Colors of variables: wff setvar class
Syntax hints:    \/ wo 366    /\ wa 367    /\ w3a 971    = wceq 1398   E.wex 1617    e. wcel 1823   F/_wnfc 2602    =/= wne 2649   E.wrex 2805   [_csb 3420    C_ wss 3461   ifcif 3929   class class class wbr 4439    |-> cmpt 4497   iotacio 5532   -1-1-onto->wf1o 5569   ` cfv 5570  (class class class)co 6270   0cc0 9481   1c1 9482    x. cmul 9486   NNcn 10531   ZZcz 10860   ZZ>=cuz 11082   ...cfz 11675    seqcseq 12089    ~~> cli 13389   prod_cprod 13794
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ral 2809  df-rex 2810  df-rab 2813  df-v 3108  df-sbc 3325  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3784  df-if 3930  df-sn 4017  df-pr 4019  df-op 4023  df-uni 4236  df-br 4440  df-opab 4498  df-mpt 4499  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-res 5000  df-ima 5001  df-iota 5534  df-fun 5572  df-fn 5573  df-f 5574  df-f1 5575  df-fo 5576  df-f1o 5577  df-fv 5578  df-ov 6273  df-oprab 6274  df-mpt2 6275  df-recs 7034  df-rdg 7068  df-seq 12090  df-prod 13795
This theorem is referenced by:  dvmptfprod  31981
  Copyright terms: Public domain W3C validator