MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-prod Structured version   Visualization version   Unicode version

Definition df-prod 14636
Description: Define the product of a series with an index set of integers  A. This definition takes most of the aspects of df-sum 14417 and adapts them for multiplication instead of addition. However, we insist that in the infinite case, there is a nonzero tail of the sequence. This ensures that the convergence criteria match those of infinite sums. (Contributed by Scott Fenton, 4-Dec-2017.)
Assertion
Ref Expression
df-prod  |-  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 ) ) ) )
Distinct variable groups:    f, k, m, n, x, y    A, f, m, n, x, y    B, f, m, n, x, y
Allowed substitution hints:    A( k)    B( k)

Detailed syntax breakdown of Definition df-prod
StepHypRef Expression
1 cA . . 3  class  A
2 cB . . 3  class  B
3 vk . . 3  setvar  k
41, 2, 3cprod 14635 . 2  class  prod_ k  e.  A  B
5 vm . . . . . . . . 9  setvar  m
65cv 1482 . . . . . . . 8  class  m
7 cuz 11687 . . . . . . . 8  class  ZZ>=
86, 7cfv 5888 . . . . . . 7  class  ( ZZ>= `  m )
91, 8wss 3574 . . . . . 6  wff  A  C_  ( ZZ>= `  m )
10 vy . . . . . . . . . . 11  setvar  y
1110cv 1482 . . . . . . . . . 10  class  y
12 cc0 9936 . . . . . . . . . 10  class  0
1311, 12wne 2794 . . . . . . . . 9  wff  y  =/=  0
14 cmul 9941 . . . . . . . . . . 11  class  x.
15 cz 11377 . . . . . . . . . . . 12  class  ZZ
163cv 1482 . . . . . . . . . . . . . 14  class  k
1716, 1wcel 1990 . . . . . . . . . . . . 13  wff  k  e.  A
18 c1 9937 . . . . . . . . . . . . 13  class  1
1917, 2, 18cif 4086 . . . . . . . . . . . 12  class  if ( k  e.  A ,  B ,  1 )
203, 15, 19cmpt 4729 . . . . . . . . . . 11  class  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) )
21 vn . . . . . . . . . . . 12  setvar  n
2221cv 1482 . . . . . . . . . . 11  class  n
2314, 20, 22cseq 12801 . . . . . . . . . 10  class  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )
24 cli 14215 . . . . . . . . . 10  class  ~~>
2523, 11, 24wbr 4653 . . . . . . . . 9  wff  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y
2613, 25wa 384 . . . . . . . 8  wff  ( y  =/=  0  /\  seq n (  x.  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
2726, 10wex 1704 . . . . . . 7  wff  E. y
( y  =/=  0  /\  seq n (  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
2827, 21, 8wrex 2913 . . . . . 6  wff  E. n  e.  ( ZZ>= `  m ) E. y ( y  =/=  0  /\  seq n
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  y )
2914, 20, 6cseq 12801 . . . . . . 7  class  seq m
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )
30 vx . . . . . . . 8  setvar  x
3130cv 1482 . . . . . . 7  class  x
3229, 31, 24wbr 4653 . . . . . 6  wff  seq m
(  x.  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) ) )  ~~>  x
339, 28, 32w3a 1037 . . . . 5  wff  ( 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 )
3433, 5, 15wrex 2913 . . . 4  wff  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 )
35 cfz 12326 . . . . . . . . 9  class  ...
3618, 6, 35co 6650 . . . . . . . 8  class  ( 1 ... m )
37 vf . . . . . . . . 9  setvar  f
3837cv 1482 . . . . . . . 8  class  f
3936, 1, 38wf1o 5887 . . . . . . 7  wff  f : ( 1 ... m
)
-1-1-onto-> A
40 cn 11020 . . . . . . . . . . 11  class  NN
4122, 38cfv 5888 . . . . . . . . . . . 12  class  ( f `
 n )
423, 41, 2csb 3533 . . . . . . . . . . 11  class  [_ (
f `  n )  /  k ]_ B
4321, 40, 42cmpt 4729 . . . . . . . . . 10  class  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
)
4414, 43, 18cseq 12801 . . . . . . . . 9  class  seq 1
(  x.  ,  ( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) )
456, 44cfv 5888 . . . . . . . 8  class  (  seq 1 (  x.  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m )
4631, 45wceq 1483 . . . . . . 7  wff  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
) ) `  m
)
4739, 46wa 384 . . . . . 6  wff  ( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
) ) `  m
) )
4847, 37wex 1704 . . . . 5  wff  E. f
( f : ( 1 ... m ) -1-1-onto-> A  /\  x  =  (  seq 1 (  x.  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) )
4948, 5, 40wrex 2913 . . . 4  wff  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 ) )
5034, 49wo 383 . . 3  wff  ( 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 ) ) )
5150, 30cio 5849 . 2  class  ( 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 ) ) ) )
524, 51wceq 1483 1  wff  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 ) ) ) )
Colors of variables: wff setvar class
This definition is referenced by:  prodex  14637  prodeq1f  14638  nfcprod1  14640  nfcprod  14641  prodeq2w  14642  prodeq2ii  14643  cbvprod  14645  zprod  14667  fprod  14671
  Copyright terms: Public domain W3C validator