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

Theorem nfsum 11320
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 11317 . 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 2312 . . . . 5  |-  F/_ x ZZ
3 nfsum.1 . . . . . . 7  |-  F/_ x A
4 nfcv 2312 . . . . . . 7  |-  F/_ x
( ZZ>= `  m )
53, 4nfss 3140 . . . . . 6  |-  F/ x  A  C_  ( ZZ>= `  m
)
63nfcri 2306 . . . . . . . 8  |-  F/ x  j  e.  A
76nfdc 1652 . . . . . . 7  |-  F/ xDECID  j  e.  A
84, 7nfralxy 2508 . . . . . 6  |-  F/ x A. j  e.  ( ZZ>=
`  m )DECID  j  e.  A
9 nfcv 2312 . . . . . . . 8  |-  F/_ x m
10 nfcv 2312 . . . . . . . 8  |-  F/_ x  +
113nfcri 2306 . . . . . . . . . 10  |-  F/ x  n  e.  A
12 nfcv 2312 . . . . . . . . . . 11  |-  F/_ x n
13 nfsum.2 . . . . . . . . . . 11  |-  F/_ x B
1412, 13nfcsb 3086 . . . . . . . . . 10  |-  F/_ x [_ n  /  k ]_ B
15 nfcv 2312 . . . . . . . . . 10  |-  F/_ x
0
1611, 14, 15nfif 3554 . . . . . . . . 9  |-  F/_ x if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 )
172, 16nfmpt 4081 . . . . . . . 8  |-  F/_ x
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) )
189, 10, 17nfseq 10411 . . . . . . 7  |-  F/_ x  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )
19 nfcv 2312 . . . . . . 7  |-  F/_ x  ~~>
20 nfcv 2312 . . . . . . 7  |-  F/_ x
z
2118, 19, 20nfbr 4035 . . . . . 6  |-  F/ x  seq m (  +  , 
( n  e.  ZZ  |->  if ( n  e.  A ,  [_ n  /  k ]_ B ,  0 ) ) )  ~~>  z
225, 8, 21nf3an 1559 . . . . 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 2509 . . . 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 2312 . . . . 5  |-  F/_ x NN
25 nfcv 2312 . . . . . . . 8  |-  F/_ x
f
26 nfcv 2312 . . . . . . . 8  |-  F/_ x
( 1 ... m
)
2725, 26, 3nff1o 5440 . . . . . . 7  |-  F/ x  f : ( 1 ... m ) -1-1-onto-> A
28 nfcv 2312 . . . . . . . . . 10  |-  F/_ x
1
29 nfv 1521 . . . . . . . . . . . 12  |-  F/ x  n  <_  m
30 nfcv 2312 . . . . . . . . . . . . 13  |-  F/_ x
( f `  n
)
3130, 13nfcsb 3086 . . . . . . . . . . . 12  |-  F/_ x [_ ( f `  n
)  /  k ]_ B
3229, 31, 15nfif 3554 . . . . . . . . . . 11  |-  F/_ x if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 )
3324, 32nfmpt 4081 . . . . . . . . . 10  |-  F/_ x
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) )
3428, 10, 33nfseq 10411 . . . . . . . . 9  |-  F/_ x  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) )
3534, 9nffv 5506 . . . . . . . 8  |-  F/_ x
(  seq 1 (  +  ,  ( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n
)  /  k ]_ B ,  0 ) ) ) `  m
)
3635nfeq2 2324 . . . . . . 7  |-  F/ x  z  =  (  seq 1 (  +  , 
( n  e.  NN  |->  if ( n  <_  m ,  [_ ( f `  n )  /  k ]_ B ,  0 ) ) ) `  m
)
3727, 36nfan 1558 . . . . . 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 1630 . . . . 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 2509 . . . 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 1567 . . 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 5164 . 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 2309 1  |-  F/_ x sum_ k  e.  A  B
Colors of variables: wff set class
Syntax hints:    /\ wa 103    \/ wo 703  DECID wdc 829    /\ w3a 973    = wceq 1348   E.wex 1485    e. wcel 2141   F/_wnfc 2299   A.wral 2448   E.wrex 2449   [_csb 3049    C_ wss 3121   ifcif 3526   class class class wbr 3989    |-> cmpt 4050   iotacio 5158   -1-1-onto->wf1o 5197   ` cfv 5198  (class class class)co 5853   0cc0 7774   1c1 7775    + caddc 7777    <_ cle 7955   NNcn 8878   ZZcz 9212   ZZ>=cuz 9487   ...cfz 9965    seqcseq 10401    ~~> cli 11241   sum_csu 11316
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-if 3527  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-recs 6284  df-frec 6370  df-seqfrec 10402  df-sumdc 11317
This theorem is referenced by:  fsum2dlemstep  11397  fisumcom2  11401  fsumiun  11440  fsumcncntop  13350
  Copyright terms: Public domain W3C validator