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

Theorem isercolllem3 12142
Description: Lemma for isercoll 12143. (Contributed by Mario Carneiro, 6-Apr-2015.)
Hypotheses
Ref Expression
isercoll.z  |-  Z  =  ( ZZ>= `  M )
isercoll.m  |-  ( ph  ->  M  e.  ZZ )
isercoll.g  |-  ( ph  ->  G : NN --> Z )
isercoll.i  |-  ( (
ph  /\  k  e.  NN )  ->  ( G `
 k )  < 
( G `  (
k  +  1 ) ) )
isercoll.0  |-  ( (
ph  /\  n  e.  ( Z  \  ran  G
) )  ->  ( F `  n )  =  0 )
isercoll.f  |-  ( (
ph  /\  n  e.  Z )  ->  ( F `  n )  e.  CC )
isercoll.h  |-  ( (
ph  /\  k  e.  NN )  ->  ( H `
 k )  =  ( F `  ( G `  k )
) )
Assertion
Ref Expression
isercolllem3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  (  seq  M (  +  ,  F
) `  N )  =  (  seq  1
(  +  ,  H
) `  ( # `  ( G " ( `' G " ( M ... N
) ) ) ) ) )
Distinct variable groups:    k, n, F    k, N, n    ph, k, n    k, G, n    k, H, n    k, M, n   
n, Z
Allowed substitution hint:    Z( k)

Proof of Theorem isercolllem3
StepHypRef Expression
1 addid2 8997 . . 3  |-  ( n  e.  CC  ->  (
0  +  n )  =  n )
21adantl 452 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  CC )  ->  (
0  +  n )  =  n )
3 addid1 8994 . . 3  |-  ( n  e.  CC  ->  (
n  +  0 )  =  n )
43adantl 452 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  CC )  ->  (
n  +  0 )  =  n )
5 addcl 8821 . . 3  |-  ( ( n  e.  CC  /\  k  e.  CC )  ->  ( n  +  k )  e.  CC )
65adantl 452 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  ( n  e.  CC  /\  k  e.  CC ) )  -> 
( n  +  k )  e.  CC )
7 0cn 8833 . . 3  |-  0  e.  CC
87a1i 10 . 2  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  0  e.  CC )
9 cnvimass 5035 . . . . 5  |-  ( `' G " ( M ... N ) ) 
C_  dom  G
10 isercoll.g . . . . . . 7  |-  ( ph  ->  G : NN --> Z )
1110adantr 451 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  G : NN
--> Z )
12 fdm 5395 . . . . . 6  |-  ( G : NN --> Z  ->  dom  G  =  NN )
1311, 12syl 15 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  dom  G  =  NN )
149, 13syl5sseq 3228 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( `' G " ( M ... N ) )  C_  NN )
15 isercoll.z . . . . 5  |-  Z  =  ( ZZ>= `  M )
16 isercoll.m . . . . 5  |-  ( ph  ->  M  e.  ZZ )
17 isercoll.i . . . . 5  |-  ( (
ph  /\  k  e.  NN )  ->  ( G `
 k )  < 
( G `  (
k  +  1 ) ) )
1815, 16, 10, 17isercolllem1 12140 . . . 4  |-  ( (
ph  /\  ( `' G " ( M ... N ) )  C_  NN )  ->  ( G  |`  ( `' G "
( M ... N
) ) )  Isom  <  ,  <  ( ( `' G " ( M ... N ) ) ,  ( G "
( `' G "
( M ... N
) ) ) ) )
1914, 18syldan 456 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G  |`  ( `' G "
( M ... N
) ) )  Isom  <  ,  <  ( ( `' G " ( M ... N ) ) ,  ( G "
( `' G "
( M ... N
) ) ) ) )
2015, 16, 10, 17isercolllem2 12141 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( 1 ... ( # `  ( G " ( `' G " ( M ... N
) ) ) ) )  =  ( `' G " ( M ... N ) ) )
21 isoeq4 5821 . . . 4  |-  ( ( 1 ... ( # `  ( G " ( `' G " ( M ... N ) ) ) ) )  =  ( `' G "
( M ... N
) )  ->  (
( G  |`  ( `' G " ( M ... N ) ) )  Isom  <  ,  <  ( ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) ,  ( G
" ( `' G " ( M ... N
) ) ) )  <-> 
( G  |`  ( `' G " ( M ... N ) ) )  Isom  <  ,  <  ( ( `' G "
( M ... N
) ) ,  ( G " ( `' G " ( M ... N ) ) ) ) ) )
2220, 21syl 15 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( G  |`  ( `' G " ( M ... N
) ) )  Isom  <  ,  <  ( ( 1 ... ( # `  ( G " ( `' G " ( M ... N
) ) ) ) ) ,  ( G
" ( `' G " ( M ... N
) ) ) )  <-> 
( G  |`  ( `' G " ( M ... N ) ) )  Isom  <  ,  <  ( ( `' G "
( M ... N
) ) ,  ( G " ( `' G " ( M ... N ) ) ) ) ) )
2319, 22mpbird 223 . 2  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G  |`  ( `' G "
( M ... N
) ) )  Isom  <  ,  <  ( ( 1 ... ( # `  ( G " ( `' G " ( M ... N
) ) ) ) ) ,  ( G
" ( `' G " ( M ... N
) ) ) ) )
249a1i 10 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( `' G " ( M ... N ) )  C_  dom  G )
25 dfss1 3375 . . . . 5  |-  ( ( `' G " ( M ... N ) ) 
C_  dom  G  <->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =  ( `' G "
( M ... N
) ) )
2624, 25sylib 188 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =  ( `' G "
( M ... N
) ) )
27 1nn 9759 . . . . . . 7  |-  1  e.  NN
2827a1i 10 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  1  e.  NN )
29 ffvelrn 5665 . . . . . . . . . 10  |-  ( ( G : NN --> Z  /\  1  e.  NN )  ->  ( G `  1
)  e.  Z )
3010, 27, 29sylancl 643 . . . . . . . . 9  |-  ( ph  ->  ( G `  1
)  e.  Z )
3130, 15syl6eleq 2375 . . . . . . . 8  |-  ( ph  ->  ( G `  1
)  e.  ( ZZ>= `  M ) )
3231adantr 451 . . . . . . 7  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G `  1 )  e.  ( ZZ>= `  M )
)
33 simpr 447 . . . . . . 7  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  N  e.  ( ZZ>= `  ( G `  1 ) ) )
34 elfzuzb 10794 . . . . . . 7  |-  ( ( G `  1 )  e.  ( M ... N )  <->  ( ( G `  1 )  e.  ( ZZ>= `  M )  /\  N  e.  ( ZZ>=
`  ( G ` 
1 ) ) ) )
3532, 33, 34sylanbrc 645 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G `  1 )  e.  ( M ... N
) )
36 ffn 5391 . . . . . . 7  |-  ( G : NN --> Z  ->  G  Fn  NN )
37 elpreima 5647 . . . . . . 7  |-  ( G  Fn  NN  ->  (
1  e.  ( `' G " ( M ... N ) )  <-> 
( 1  e.  NN  /\  ( G `  1
)  e.  ( M ... N ) ) ) )
3811, 36, 373syl 18 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( 1  e.  ( `' G " ( M ... N
) )  <->  ( 1  e.  NN  /\  ( G `  1 )  e.  ( M ... N
) ) ) )
3928, 35, 38mpbir2and 888 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  1  e.  ( `' G " ( M ... N ) ) )
40 ne0i 3463 . . . . 5  |-  ( 1  e.  ( `' G " ( M ... N
) )  ->  ( `' G " ( M ... N ) )  =/=  (/) )
4139, 40syl 15 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( `' G " ( M ... N ) )  =/=  (/) )
4226, 41eqnetrd 2466 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =/=  (/) )
43 imadisj 5034 . . . 4  |-  ( ( G " ( `' G " ( M ... N ) ) )  =  (/)  <->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =  (/) )
4443necon3bii 2480 . . 3  |-  ( ( G " ( `' G " ( M ... N ) ) )  =/=  (/)  <->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =/=  (/) )
4542, 44sylibr 203 . 2  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G " ( `' G "
( M ... N
) ) )  =/=  (/) )
46 ffun 5393 . . . 4  |-  ( G : NN --> Z  ->  Fun  G )
47 funimacnv 5326 . . . 4  |-  ( Fun 
G  ->  ( G " ( `' G "
( M ... N
) ) )  =  ( ( M ... N )  i^i  ran  G ) )
4811, 46, 473syl 18 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G " ( `' G "
( M ... N
) ) )  =  ( ( M ... N )  i^i  ran  G ) )
49 inss1 3391 . . . 4  |-  ( ( M ... N )  i^i  ran  G )  C_  ( M ... N
)
5049a1i 10 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  i^i 
ran  G )  C_  ( M ... N ) )
5148, 50eqsstrd 3214 . 2  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( G " ( `' G "
( M ... N
) ) )  C_  ( M ... N ) )
52 simpl 443 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ph )
53 elfzuz 10796 . . . 4  |-  ( n  e.  ( M ... N )  ->  n  e.  ( ZZ>= `  M )
)
5453, 15syl6eleqr 2376 . . 3  |-  ( n  e.  ( M ... N )  ->  n  e.  Z )
55 isercoll.f . . 3  |-  ( (
ph  /\  n  e.  Z )  ->  ( F `  n )  e.  CC )
5652, 54, 55syl2an 463 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  ( M ... N
) )  ->  ( F `  n )  e.  CC )
5748difeq2d 3296 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  =  ( ( M ... N
)  \  ( ( M ... N )  i^i 
ran  G ) ) )
58 difin 3408 . . . . . 6  |-  ( ( M ... N ) 
\  ( ( M ... N )  i^i 
ran  G ) )  =  ( ( M ... N )  \  ran  G )
5957, 58syl6eq 2333 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  =  ( ( M ... N
)  \  ran  G ) )
6054ssriv 3186 . . . . . 6  |-  ( M ... N )  C_  Z
61 ssdif 3313 . . . . . 6  |-  ( ( M ... N ) 
C_  Z  ->  (
( M ... N
)  \  ran  G ) 
C_  ( Z  \  ran  G ) )
6260, 61mp1i 11 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \  ran  G )  C_  ( Z  \  ran  G ) )
6359, 62eqsstrd 3214 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  C_  ( Z  \  ran  G ) )
6463sselda 3182 . . 3  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  ( ( M ... N )  \  ( G " ( `' G " ( M ... N
) ) ) ) )  ->  n  e.  ( Z  \  ran  G
) )
65 isercoll.0 . . . 4  |-  ( (
ph  /\  n  e.  ( Z  \  ran  G
) )  ->  ( F `  n )  =  0 )
6665adantlr 695 . . 3  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  ( Z  \  ran  G ) )  ->  ( F `  n )  =  0 )
6764, 66syldan 456 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  ( ( M ... N )  \  ( G " ( `' G " ( M ... N
) ) ) ) )  ->  ( F `  n )  =  0 )
68 elfznn 10821 . . . 4  |-  ( k  e.  ( 1 ... ( # `  ( G " ( `' G " ( M ... N
) ) ) ) )  ->  k  e.  NN )
69 isercoll.h . . . 4  |-  ( (
ph  /\  k  e.  NN )  ->  ( H `
 k )  =  ( F `  ( G `  k )
) )
7052, 68, 69syl2an 463 . . 3  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) )  ->  ( H `  k )  =  ( F `  ( G `  k ) ) )
7120eleq2d 2352 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) )  <->  k  e.  ( `' G " ( M ... N ) ) ) )
7271biimpa 470 . . . . 5  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) )  ->  k  e.  ( `' G "
( M ... N
) ) )
73 fvres 5544 . . . . 5  |-  ( k  e.  ( `' G " ( M ... N
) )  ->  (
( G  |`  ( `' G " ( M ... N ) ) ) `  k )  =  ( G `  k ) )
7472, 73syl 15 . . . 4  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) )  ->  (
( G  |`  ( `' G " ( M ... N ) ) ) `  k )  =  ( G `  k ) )
7574fveq2d 5531 . . 3  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) )  ->  ( F `  ( ( G  |`  ( `' G " ( M ... N
) ) ) `  k ) )  =  ( F `  ( G `  k )
) )
7670, 75eqtr4d 2320 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  k  e.  ( 1 ... ( # `
 ( G "
( `' G "
( M ... N
) ) ) ) ) )  ->  ( H `  k )  =  ( F `  ( ( G  |`  ( `' G " ( M ... N ) ) ) `  k ) ) )
772, 4, 6, 8, 23, 45, 51, 56, 67, 76seqcoll2 11404 1  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  (  seq  M (  +  ,  F
) `  N )  =  (  seq  1
(  +  ,  H
) `  ( # `  ( G " ( `' G " ( M ... N
) ) ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1625    e. wcel 1686    =/= wne 2448    \ cdif 3151    i^i cin 3153    C_ wss 3154   (/)c0 3457   class class class wbr 4025   `'ccnv 4690   dom cdm 4691   ran crn 4692    |` cres 4693   "cima 4694   Fun wfun 5251    Fn wfn 5252   -->wf 5253   ` cfv 5257    Isom wiso 5258  (class class class)co 5860   CCcc 8737   0cc0 8739   1c1 8740    + caddc 8742    < clt 8869   NNcn 9748   ZZcz 10026   ZZ>=cuz 10232   ...cfz 10784    seq cseq 11048   #chash 11339
This theorem is referenced by:  isercoll  12143
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1535  ax-5 1546  ax-17 1605  ax-9 1637  ax-8 1645  ax-13 1688  ax-14 1690  ax-6 1705  ax-7 1710  ax-11 1717  ax-12 1868  ax-ext 2266  ax-rep 4133  ax-sep 4143  ax-nul 4151  ax-pow 4190  ax-pr 4216  ax-un 4514  ax-cnex 8795  ax-resscn 8796  ax-1cn 8797  ax-icn 8798  ax-addcl 8799  ax-addrcl 8800  ax-mulcl 8801  ax-mulrcl 8802  ax-mulcom 8803  ax-addass 8804  ax-mulass 8805  ax-distr 8806  ax-i2m1 8807  ax-1ne0 8808  ax-1rid 8809  ax-rnegex 8810  ax-rrecex 8811  ax-cnre 8812  ax-pre-lttri 8813  ax-pre-lttrn 8814  ax-pre-ltadd 8815  ax-pre-mulgt0 8816  ax-pre-sup 8817
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1531  df-nf 1534  df-sb 1632  df-eu 2149  df-mo 2150  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-ne 2450  df-nel 2451  df-ral 2550  df-rex 2551  df-reu 2552  df-rmo 2553  df-rab 2554  df-v 2792  df-sbc 2994  df-csb 3084  df-dif 3157  df-un 3159  df-in 3161  df-ss 3168  df-pss 3170  df-nul 3458  df-if 3568  df-pw 3629  df-sn 3648  df-pr 3649  df-tp 3650  df-op 3651  df-uni 3830  df-int 3865  df-iun 3909  df-br 4026  df-opab 4080  df-mpt 4081  df-tr 4116  df-eprel 4307  df-id 4311  df-po 4316  df-so 4317  df-fr 4354  df-we 4356  df-ord 4397  df-on 4398  df-lim 4399  df-suc 4400  df-om 4659  df-xp 4697  df-rel 4698  df-cnv 4699  df-co 4700  df-dm 4701  df-rn 4702  df-res 4703  df-ima 4704  df-iota 5221  df-fun 5259  df-fn 5260  df-f 5261  df-f1 5262  df-fo 5263  df-f1o 5264  df-fv 5265  df-isom 5266  df-ov 5863  df-oprab 5864  df-mpt2 5865  df-1st 6124  df-2nd 6125  df-riota 6306  df-recs 6390  df-rdg 6425  df-1o 6481  df-er 6662  df-en 6866  df-dom 6867  df-sdom 6868  df-fin 6869  df-sup 7196  df-card 7574  df-pnf 8871  df-mnf 8872  df-xr 8873  df-ltxr 8874  df-le 8875  df-sub 9041  df-neg 9042  df-nn 9749  df-n0 9968  df-z 10027  df-uz 10233  df-fz 10785  df-seq 11049  df-hash 11340
  Copyright terms: Public domain W3C validator