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

Theorem nfsum1 12163
Description: Bound-variable hypothesis builder for sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jul-2013.)
Hypothesis
Ref Expression
nfsum1.1  |-  F/_ k A
Assertion
Ref Expression
nfsum1  |-  F/_ k sum_ k  e.  A  B
Distinct variable group:    A, k
Allowed substitution hint:    B( k)

Proof of Theorem nfsum1
Dummy variables  f  m  n  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-sum 12159 . 2  |-  sum_ k  e.  A  B  =  ( iota y ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  seq  m (  +  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  y  =  (  seq  1 (  +  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m ) ) ) )
2 nfcv 2419 . . . . 5  |-  F/_ k ZZ
3 nfsum1.1 . . . . . . 7  |-  F/_ k A
4 nfcv 2419 . . . . . . 7  |-  F/_ k
( ZZ>= `  m )
53, 4nfss 3173 . . . . . 6  |-  F/ k  A  C_  ( ZZ>= `  m )
6 nfcv 2419 . . . . . . . 8  |-  F/_ k
m
7 nfcv 2419 . . . . . . . 8  |-  F/_ k  +
8 nfmpt1 4109 . . . . . . . 8  |-  F/_ k
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) )
96, 7, 8nfseq 11056 . . . . . . 7  |-  F/_ k  seq  m (  +  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )
10 nfcv 2419 . . . . . . 7  |-  F/_ k  ~~>
11 nfcv 2419 . . . . . . 7  |-  F/_ k
y
129, 10, 11nfbr 4067 . . . . . 6  |-  F/ k  seq  m (  +  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y
135, 12nfan 1771 . . . . 5  |-  F/ k ( A  C_  ( ZZ>=
`  m )  /\  seq  m (  +  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y )
142, 13nfrex 2598 . . . 4  |-  F/ k E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  seq  m (  +  , 
( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y )
15 nfcv 2419 . . . . 5  |-  F/_ k NN
16 nfcv 2419 . . . . . . . 8  |-  F/_ k
f
17 nfcv 2419 . . . . . . . 8  |-  F/_ k
( 1 ... m
)
1816, 17, 3nff1o 5470 . . . . . . 7  |-  F/ k  f : ( 1 ... m ) -1-1-onto-> A
19 nfcv 2419 . . . . . . . . . 10  |-  F/_ k
1
20 nfcsb1v 3113 . . . . . . . . . . 11  |-  F/_ k [_ ( f `  n
)  /  k ]_ B
2115, 20nfmpt 4108 . . . . . . . . . 10  |-  F/_ k
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B )
2219, 7, 21nfseq 11056 . . . . . . . . 9  |-  F/_ k  seq  1 (  +  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) )
2322, 6nffv 5532 . . . . . . . 8  |-  F/_ k
(  seq  1 (  +  ,  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
) ) `  m
)
2423nfeq2 2430 . . . . . . 7  |-  F/ k  y  =  (  seq  1 (  +  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m )
2518, 24nfan 1771 . . . . . 6  |-  F/ k ( f : ( 1 ... m ) -1-1-onto-> A  /\  y  =  (  seq  1 (  +  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) )
2625nfex 1767 . . . . 5  |-  F/ k E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  y  =  (  seq  1 (  +  ,  ( n  e.  NN  |->  [_ (
f `  n )  /  k ]_ B
) ) `  m
) )
2715, 26nfrex 2598 . . . 4  |-  F/ k E. m  e.  NN  E. f ( f : ( 1 ... m
)
-1-1-onto-> A  /\  y  =  (  seq  1 (  +  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) )
2814, 27nfor 1770 . . 3  |-  F/ k ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m )  /\  seq  m (  +  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y )  \/ 
E. m  e.  NN  E. f ( f : ( 1 ... m
)
-1-1-onto-> A  /\  y  =  (  seq  1 (  +  ,  ( n  e.  NN  |->  [_ ( f `  n )  /  k ]_ B ) ) `  m ) ) )
2928nfiota 5223 . 2  |-  F/_ k
( iota y ( E. m  e.  ZZ  ( A  C_  ( ZZ>= `  m
)  /\  seq  m (  +  ,  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  0 ) ) )  ~~>  y )  \/  E. m  e.  NN  E. f ( f : ( 1 ... m ) -1-1-onto-> A  /\  y  =  (  seq  1 (  +  , 
( n  e.  NN  |->  [_ ( f `  n
)  /  k ]_ B ) ) `  m ) ) ) )
301, 29nfcxfr 2416 1  |-  F/_ k sum_ k  e.  A  B
Colors of variables: wff set class
Syntax hints:    \/ wo 357    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   F/_wnfc 2406   E.wrex 2544   [_csb 3081    C_ wss 3152   ifcif 3565   class class class wbr 4023    e. cmpt 4077   iotacio 5217   -1-1-onto->wf1o 5254   ` cfv 5255  (class class class)co 5858   0cc0 8737   1c1 8738    + caddc 8740   NNcn 9746   ZZcz 10024   ZZ>=cuz 10230   ...cfz 10782    seq cseq 11046    ~~> cli 11958   sum_csu 12158
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-recs 6388  df-rdg 6423  df-seq 11047  df-sum 12159
  Copyright terms: Public domain W3C validator