ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nfsum Unicode version

Theorem nfsum 11298
Description: Bound-variable hypothesis builder for sum: if  x is (effectively) not free in  A and  B, it is not free in  sum_ k  e.  A B. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Hypotheses
Ref Expression
nfsum.1  |-  F/_ x A
nfsum.2  |-  F/_ x B
Assertion
Ref Expression
nfsum  |-  F/_ x sum_ k  e.  A  B

Proof of Theorem nfsum
Dummy variables  f  j  m  n  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sumdc 11295 . 2  |-  sum_ k  e.  A  B  =  ( iota z ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  A. j  e.  ( ZZ>= `  m )DECID  j  e.  A  /\  seq m
(  +  ,  ( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  z  =  (  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) ) `  m
) ) ) )
2 nfcv 2308 . . . . 5  |-  F/_ x ZZ
3 nfsum.1 . . . . . . 7  |-  F/_ x A
4 nfcv 2308 . . . . . . 7  |-  F/_ x
( ZZ>= `  m )
53, 4nfss 3135 . . . . . 6  |-  F/ x  A  C_  ( ZZ>= `  m
)
63nfcri 2302 . . . . . . . 8  |-  F/ x  j  e.  A
76nfdc 1647 . . . . . . 7  |-  F/ xDECID  j  e.  A
84, 7nfralxy 2504 . . . . . 6  |-  F/ x A. j  e.  ( ZZ>=
`  m )DECID  j  e.  A
9 nfcv 2308 . . . . . . . 8  |-  F/_ x m
10 nfcv 2308 . . . . . . . 8  |-  F/_ x  +
113nfcri 2302 . . . . . . . . . 10  |-  F/ x  n  e.  A
12 nfcv 2308 . . . . . . . . . . 11  |-  F/_ x n
13 nfsum.2 . . . . . . . . . . 11  |-  F/_ x B
1412, 13nfcsb 3082 . . . . . . . . . 10  |-  F/_ x [_ n  /  k ]_ B
15 nfcv 2308 . . . . . . . . . 10  |-  F/_ x
0
1611, 14, 15nfif 3548 . . . . . . . . 9  |-  F/_ x if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 )
172, 16nfmpt 4074 . . . . . . . 8  |-  F/_ x
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) )
189, 10, 17nfseq 10390 . . . . . . 7  |-  F/_ x  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )
19 nfcv 2308 . . . . . . 7  |-  F/_ x  ~~>
20 nfcv 2308 . . . . . . 7  |-  F/_ x
z
2118, 19, 20nfbr 4028 . . . . . 6  |-  F/ x  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z
225, 8, 21nf3an 1554 . . . . 5  |-  F/ x
( A  C_  ( ZZ>=
`  m )  /\  A. j  e.  ( ZZ>= `  m )DECID  j  e.  A  /\  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z )
232, 22nfrexxy 2505 . . . 4  |-  F/ x E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  A. j  e.  ( ZZ>= `  m )DECID  j  e.  A  /\  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z )
24 nfcv 2308 . . . . 5  |-  F/_ x NN
25 nfcv 2308 . . . . . . . 8  |-  F/_ x
f
26 nfcv 2308 . . . . . . . 8  |-  F/_ x
( 1 ... m
)
2725, 26, 3nff1o 5430 . . . . . . 7  |-  F/ x  f : ( 1 ... m ) -1-1-onto-> A
28 nfcv 2308 . . . . . . . . . 10  |-  F/_ x
1
29 nfv 1516 . . . . . . . . . . . 12  |-  F/ x  n  <_  m
30 nfcv 2308 . . . . . . . . . . . . 13  |-  F/_ x
( f `  n
)
3130, 13nfcsb 3082 . . . . . . . . . . . 12  |-  F/_ x [_ ( f `  n
)  /  k ]_ B
3229, 31, 15nfif 3548 . . . . . . . . . . 11  |-  F/_ x if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 )
3324, 32nfmpt 4074 . . . . . . . . . 10  |-  F/_ x
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) )
3428, 10, 33nfseq 10390 . . . . . . . . 9  |-  F/_ x  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) )
3534, 9nffv 5496 . . . . . . . 8  |-  F/_ x
(  seq 1 (  +  ,  ( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n
)  /  k ]_ B ,  0 ) ) ) `  m
)
3635nfeq2 2320 . . . . . . 7  |-  F/ x  z  =  (  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) ) `  m
)
3727, 36nfan 1553 . . . . . 6  |-  F/ x
( f : ( 1 ... m ) -1-1-onto-> A  /\  z  =  (  seq 1 (  +  ,  ( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n
)  /  k ]_ B ,  0 ) ) ) `  m
) )
3837nfex 1625 . . . . 5  |-  F/ x E. f ( f : ( 1 ... m
)
-1-1-onto-> A  /\  z  =  (  seq 1 (  +  ,  ( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n
)  /  k ]_ B ,  0 ) ) ) `  m
) )
3924, 38nfrexxy 2505 . . . 4  |-  F/ x E. m  e.  NN  E. f ( f : ( 1 ... m
)
-1-1-onto-> A  /\  z  =  (  seq 1 (  +  ,  ( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n
)  /  k ]_ B ,  0 ) ) ) `  m
) )
4023, 39nfor 1562 . . 3  |-  F/ x
( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  A. j  e.  (
ZZ>= `  m )DECID  j  e.  A  /\  seq m
(  +  ,  ( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  z  =  (  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) ) `  m
) ) )
4140nfiotaw 5157 . 2  |-  F/_ x
( iota z ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  A. j  e.  ( ZZ>= `  m )DECID  j  e.  A  /\  seq m
(  +  ,  ( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  z  =  (  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) ) `  m
) ) ) )
421, 41nfcxfr 2305 1  |-  F/_ x sum_ k  e.  A  B
Colors of variables: wff set class
Syntax hints:    /\ wa 103    \/ wo 698  DECID wdc 824    /\ w3a 968    = wceq 1343   E.wex 1480    e. wcel 2136   F/_wnfc 2295   A.wral 2444   E.wrex 2445   [_csb 3045    C_ wss 3116   ifcif 3520   class class class wbr 3982    |-> cmpt 4043   iotacio 5151   -1-1-onto->wf1o 5187   ` cfv 5188  (class class class)co 5842   0cc0 7753   1c1 7754    + caddc 7756    <_ cle 7934   NNcn 8857   ZZcz 9191   ZZ>=cuz 9466   ...cfz 9944    seqcseq 10380    ~~> cli 11219   sum_csu 11294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-if 3521  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-recs 6273  df-frec 6359  df-seqfrec 10381  df-sumdc 11295
This theorem is referenced by:  fsum2dlemstep  11375  fisumcom2  11379  fsumiun  11418  fsumcncntop  13196
  Copyright terms: Public domain W3C validator