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

Theorem seqid 11834
Description: Discard the first few terms of a sequence that starts with all zeroes (or whatever the identity  Z is for operation  .+). (Contributed by Mario Carneiro, 13-Jul-2013.) (Revised by Mario Carneiro, 27-May-2014.)
Hypotheses
Ref Expression
seqid.1  |-  ( (
ph  /\  x  e.  S )  ->  ( Z  .+  x )  =  x )
seqid.2  |-  ( ph  ->  Z  e.  S )
seqid.3  |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )
seqid.4  |-  ( ph  ->  ( F `  N
)  e.  S )
seqid.5  |-  ( (
ph  /\  x  e.  ( M ... ( N  -  1 ) ) )  ->  ( F `  x )  =  Z )
Assertion
Ref Expression
seqid  |-  ( ph  ->  (  seq M ( 
.+  ,  F )  |`  ( ZZ>= `  N )
)  =  seq N
(  .+  ,  F
) )
Distinct variable groups:    x,  .+    x, F    x, M    x, N    x, S    x, Z    ph, x

Proof of Theorem seqid
StepHypRef Expression
1 seqid.3 . 2  |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )
2 eluzelz 10857 . . . . 5  |-  ( N  e.  ( ZZ>= `  M
)  ->  N  e.  ZZ )
3 seq1 11802 . . . . 5  |-  ( N  e.  ZZ  ->  (  seq N (  .+  ,  F ) `  N
)  =  ( F `
 N ) )
41, 2, 33syl 20 . . . 4  |-  ( ph  ->  (  seq N ( 
.+  ,  F ) `
 N )  =  ( F `  N
) )
5 seqeq1 11792 . . . . . 6  |-  ( N  =  M  ->  seq N (  .+  ,  F )  =  seq M (  .+  ,  F ) )
65fveq1d 5681 . . . . 5  |-  ( N  =  M  ->  (  seq N (  .+  ,  F ) `  N
)  =  (  seq M (  .+  ,  F ) `  N
) )
76eqeq1d 2441 . . . 4  |-  ( N  =  M  ->  (
(  seq N (  .+  ,  F ) `  N
)  =  ( F `
 N )  <->  (  seq M (  .+  ,  F ) `  N
)  =  ( F `
 N ) ) )
84, 7syl5ibcom 220 . . 3  |-  ( ph  ->  ( N  =  M  ->  (  seq M
(  .+  ,  F
) `  N )  =  ( F `  N ) ) )
9 eluzel2 10853 . . . . . . 7  |-  ( N  e.  ( ZZ>= `  M
)  ->  M  e.  ZZ )
101, 9syl 16 . . . . . 6  |-  ( ph  ->  M  e.  ZZ )
11 seqm1 11806 . . . . . 6  |-  ( ( M  e.  ZZ  /\  N  e.  ( ZZ>= `  ( M  +  1
) ) )  -> 
(  seq M (  .+  ,  F ) `  N
)  =  ( (  seq M (  .+  ,  F ) `  ( N  -  1 ) )  .+  ( F `
 N ) ) )
1210, 11sylan 468 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  (  seq M (  .+  ,  F ) `  N
)  =  ( (  seq M (  .+  ,  F ) `  ( N  -  1 ) )  .+  ( F `
 N ) ) )
13 seqid.2 . . . . . . . . 9  |-  ( ph  ->  Z  e.  S )
14 seqid.1 . . . . . . . . . 10  |-  ( (
ph  /\  x  e.  S )  ->  ( Z  .+  x )  =  x )
1514ralrimiva 2789 . . . . . . . . 9  |-  ( ph  ->  A. x  e.  S  ( Z  .+  x )  =  x )
16 oveq2 6088 . . . . . . . . . . 11  |-  ( x  =  Z  ->  ( Z  .+  x )  =  ( Z  .+  Z
) )
17 id 22 . . . . . . . . . . 11  |-  ( x  =  Z  ->  x  =  Z )
1816, 17eqeq12d 2447 . . . . . . . . . 10  |-  ( x  =  Z  ->  (
( Z  .+  x
)  =  x  <->  ( Z  .+  Z )  =  Z ) )
1918rspcv 3058 . . . . . . . . 9  |-  ( Z  e.  S  ->  ( A. x  e.  S  ( Z  .+  x )  =  x  ->  ( Z  .+  Z )  =  Z ) )
2013, 15, 19sylc 60 . . . . . . . 8  |-  ( ph  ->  ( Z  .+  Z
)  =  Z )
2120adantr 462 . . . . . . 7  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  ( Z  .+  Z )  =  Z )
22 eluzp1m1 10871 . . . . . . . 8  |-  ( ( M  e.  ZZ  /\  N  e.  ( ZZ>= `  ( M  +  1
) ) )  -> 
( N  -  1 )  e.  ( ZZ>= `  M ) )
2310, 22sylan 468 . . . . . . 7  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  ( N  -  1 )  e.  ( ZZ>= `  M )
)
24 seqid.5 . . . . . . . 8  |-  ( (
ph  /\  x  e.  ( M ... ( N  -  1 ) ) )  ->  ( F `  x )  =  Z )
2524adantlr 707 . . . . . . 7  |-  ( ( ( ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  /\  x  e.  ( M ... ( N  -  1 ) ) )  ->  ( F `  x )  =  Z )
2621, 23, 25seqid3 11833 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  (  seq M (  .+  ,  F ) `  ( N  -  1 ) )  =  Z )
2726oveq1d 6095 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  ( (  seq M (  .+  ,  F ) `  ( N  -  1 ) )  .+  ( F `
 N ) )  =  ( Z  .+  ( F `  N ) ) )
28 seqid.4 . . . . . . 7  |-  ( ph  ->  ( F `  N
)  e.  S )
2928adantr 462 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  ( F `  N )  e.  S
)
3015adantr 462 . . . . . 6  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  A. x  e.  S  ( Z  .+  x )  =  x )
31 oveq2 6088 . . . . . . . 8  |-  ( x  =  ( F `  N )  ->  ( Z  .+  x )  =  ( Z  .+  ( F `  N )
) )
32 id 22 . . . . . . . 8  |-  ( x  =  ( F `  N )  ->  x  =  ( F `  N ) )
3331, 32eqeq12d 2447 . . . . . . 7  |-  ( x  =  ( F `  N )  ->  (
( Z  .+  x
)  =  x  <->  ( Z  .+  ( F `  N
) )  =  ( F `  N ) ) )
3433rspcv 3058 . . . . . 6  |-  ( ( F `  N )  e.  S  ->  ( A. x  e.  S  ( Z  .+  x )  =  x  ->  ( Z  .+  ( F `  N ) )  =  ( F `  N
) ) )
3529, 30, 34sylc 60 . . . . 5  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  ( Z  .+  ( F `  N
) )  =  ( F `  N ) )
3612, 27, 353eqtrd 2469 . . . 4  |-  ( (
ph  /\  N  e.  ( ZZ>= `  ( M  +  1 ) ) )  ->  (  seq M (  .+  ,  F ) `  N
)  =  ( F `
 N ) )
3736ex 434 . . 3  |-  ( ph  ->  ( N  e.  (
ZZ>= `  ( M  + 
1 ) )  -> 
(  seq M (  .+  ,  F ) `  N
)  =  ( F `
 N ) ) )
38 uzp1 10881 . . . 4  |-  ( N  e.  ( ZZ>= `  M
)  ->  ( N  =  M  \/  N  e.  ( ZZ>= `  ( M  +  1 ) ) ) )
391, 38syl 16 . . 3  |-  ( ph  ->  ( N  =  M  \/  N  e.  (
ZZ>= `  ( M  + 
1 ) ) ) )
408, 37, 39mpjaod 381 . 2  |-  ( ph  ->  (  seq M ( 
.+  ,  F ) `
 N )  =  ( F `  N
) )
41 eqidd 2434 . 2  |-  ( (
ph  /\  x  e.  ( ZZ>= `  ( N  +  1 ) ) )  ->  ( F `  x )  =  ( F `  x ) )
421, 40, 41seqfeq2 11812 1  |-  ( ph  ->  (  seq M ( 
.+  ,  F )  |`  ( ZZ>= `  N )
)  =  seq N
(  .+  ,  F
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 368    /\ wa 369    = wceq 1362    e. wcel 1755   A.wral 2705    |` cres 4829   ` cfv 5406  (class class class)co 6080   1c1 9270    + caddc 9272    - cmin 9582   ZZcz 10633   ZZ>=cuz 10848   ...cfz 11423    seqcseq 11789
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-8 1757  ax-9 1759  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414  ax-sep 4401  ax-nul 4409  ax-pow 4458  ax-pr 4519  ax-un 6361  ax-cnex 9325  ax-resscn 9326  ax-1cn 9327  ax-icn 9328  ax-addcl 9329  ax-addrcl 9330  ax-mulcl 9331  ax-mulrcl 9332  ax-mulcom 9333  ax-addass 9334  ax-mulass 9335  ax-distr 9336  ax-i2m1 9337  ax-1ne0 9338  ax-1rid 9339  ax-rnegex 9340  ax-rrecex 9341  ax-cnre 9342  ax-pre-lttri 9343  ax-pre-lttrn 9344  ax-pre-ltadd 9345  ax-pre-mulgt0 9346
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 959  df-3an 960  df-tru 1365  df-ex 1590  df-nf 1593  df-sb 1700  df-eu 2258  df-mo 2259  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ne 2598  df-nel 2599  df-ral 2710  df-rex 2711  df-reu 2712  df-rab 2714  df-v 2964  df-sbc 3176  df-csb 3277  df-dif 3319  df-un 3321  df-in 3323  df-ss 3330  df-pss 3332  df-nul 3626  df-if 3780  df-pw 3850  df-sn 3866  df-pr 3868  df-tp 3870  df-op 3872  df-uni 4080  df-iun 4161  df-br 4281  df-opab 4339  df-mpt 4340  df-tr 4374  df-eprel 4619  df-id 4623  df-po 4628  df-so 4629  df-fr 4666  df-we 4668  df-ord 4709  df-on 4710  df-lim 4711  df-suc 4712  df-xp 4833  df-rel 4834  df-cnv 4835  df-co 4836  df-dm 4837  df-rn 4838  df-res 4839  df-ima 4840  df-iota 5369  df-fun 5408  df-fn 5409  df-f 5410  df-f1 5411  df-fo 5412  df-f1o 5413  df-fv 5414  df-riota 6039  df-ov 6083  df-oprab 6084  df-mpt2 6085  df-om 6466  df-1st 6566  df-2nd 6567  df-recs 6818  df-rdg 6852  df-er 7089  df-en 7299  df-dom 7300  df-sdom 7301  df-pnf 9407  df-mnf 9408  df-xr 9409  df-ltxr 9410  df-le 9411  df-sub 9584  df-neg 9585  df-nn 10310  df-n0 10567  df-z 10634  df-uz 10849  df-fz 11424  df-seq 11790
This theorem is referenced by:  seqcoll  12199  sumrblem  13171  logtayl  21989  leibpilem2  22220  prodrblem  27288
  Copyright terms: Public domain W3C validator