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

Theorem isercolllem3 12140
Description: Lemma for isercoll 12141. (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 8995 . . 3  |-  ( n  e.  CC  ->  (
0  +  n )  =  n )
21adantl 452 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  CC )  ->  (
0  +  n )  =  n )
3 addid1 8992 . . 3  |-  ( n  e.  CC  ->  (
n  +  0 )  =  n )
43adantl 452 . 2  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  /\  n  e.  CC )  ->  (
n  +  0 )  =  n )
5 addcl 8819 . . 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 8831 . . 3  |-  0  e.  CC
87a1i 10 . 2  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  0  e.  CC )
9 cnvimass 5033 . . . . 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 5393 . . . . . 6  |-  ( G : NN --> Z  ->  dom  G  =  NN )
1311, 12syl 15 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  dom  G  =  NN )
149, 13syl5sseq 3226 . . . 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 12138 . . . 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 12139 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( 1 ... ( # `  ( G " ( `' G " ( M ... N
) ) ) ) )  =  ( `' G " ( M ... N ) ) )
21 isoeq4 5819 . . . 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 3373 . . . . 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 9757 . . . . . . 7  |-  1  e.  NN
2827a1i 10 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  1  e.  NN )
29 ffvelrn 5663 . . . . . . . . . 10  |-  ( ( G : NN --> Z  /\  1  e.  NN )  ->  ( G `  1
)  e.  Z )
3010, 27, 29sylancl 643 . . . . . . . . 9  |-  ( ph  ->  ( G `  1
)  e.  Z )
3130, 15syl6eleq 2373 . . . . . . . 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 10792 . . . . . . 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 5389 . . . . . . 7  |-  ( G : NN --> Z  ->  G  Fn  NN )
37 elpreima 5645 . . . . . . 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 3461 . . . . 5  |-  ( 1  e.  ( `' G " ( M ... N
) )  ->  ( `' G " ( M ... N ) )  =/=  (/) )
4139, 40syl 15 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( `' G " ( M ... N ) )  =/=  (/) )
4226, 41eqnetrd 2464 . . 3  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =/=  (/) )
43 imadisj 5032 . . . 4  |-  ( ( G " ( `' G " ( M ... N ) ) )  =  (/)  <->  ( dom  G  i^i  ( `' G " ( M ... N
) ) )  =  (/) )
4443necon3bii 2478 . . 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 5391 . . . 4  |-  ( G : NN --> Z  ->  Fun  G )
47 funimacnv 5324 . . . 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 3389 . . . 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 3212 . 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 10794 . . . 4  |-  ( n  e.  ( M ... N )  ->  n  e.  ( ZZ>= `  M )
)
5453, 15syl6eleqr 2374 . . 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 3294 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  =  ( ( M ... N
)  \  ( ( M ... N )  i^i 
ran  G ) ) )
58 difin 3406 . . . . . 6  |-  ( ( M ... N ) 
\  ( ( M ... N )  i^i 
ran  G ) )  =  ( ( M ... N )  \  ran  G )
5957, 58syl6eq 2331 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  =  ( ( M ... N
)  \  ran  G ) )
6054ssriv 3184 . . . . . 6  |-  ( M ... N )  C_  Z
61 ssdif 3311 . . . . . 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 3212 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( G `  1 ) ) )  ->  ( ( M ... N )  \ 
( G " ( `' G " ( M ... N ) ) ) )  C_  ( Z  \  ran  G ) )
6463sselda 3180 . . 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 10819 . . . 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 2350 . . . . . 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 5542 . . . . 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 5529 . . 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 2318 . 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 11402 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 1623    e. wcel 1684    =/= wne 2446    \ cdif 3149    i^i cin 3151    C_ wss 3152   (/)c0 3455   class class class wbr 4023   `'ccnv 4688   dom cdm 4689   ran crn 4690    |` cres 4691   "cima 4692   Fun wfun 5249    Fn wfn 5250   -->wf 5251   ` cfv 5255    Isom wiso 5256  (class class class)co 5858   CCcc 8735   0cc0 8737   1c1 8738    + caddc 8740    < clt 8867   NNcn 9746   ZZcz 10024   ZZ>=cuz 10230   ...cfz 10782    seq cseq 11046   #chash 11337
This theorem is referenced by:  isercoll  12141
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-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  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-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  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-isom 5264  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-card 7572  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-nn 9747  df-n0 9966  df-z 10025  df-uz 10231  df-fz 10783  df-seq 11047  df-hash 11338
  Copyright terms: Public domain W3C validator