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

Theorem seqof 12133
Description: Distribute function operation through a sequence. Note that  G ( z ) is an implicit function on  z. (Contributed by Mario Carneiro, 3-Mar-2015.)
Hypotheses
Ref Expression
seqof.1  |-  ( ph  ->  A  e.  V )
seqof.2  |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )
seqof.3  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  =  ( z  e.  A  |->  ( G `  x ) ) )
Assertion
Ref Expression
seqof  |-  ( ph  ->  (  seq M (  oF  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  (  seq M (  .+  ,  G ) `  N
) ) )
Distinct variable groups:    x, z, A    x, F, z    x, G    x, M, z    x, N, z    x,  .+ , z    ph, x, z
Allowed substitution hints:    G( z)    V( x, z)

Proof of Theorem seqof
Dummy variables  y  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 seqof.2 . . . . 5  |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )
2 fvex 5876 . . . . . . . . 9  |-  ( G `
 x )  e. 
_V
32rgenw 2825 . . . . . . . 8  |-  A. z  e.  A  ( G `  x )  e.  _V
4 eqid 2467 . . . . . . . . 9  |-  ( z  e.  A  |->  ( G `
 x ) )  =  ( z  e.  A  |->  ( G `  x ) )
54fnmpt 5707 . . . . . . . 8  |-  ( A. z  e.  A  ( G `  x )  e.  _V  ->  ( z  e.  A  |->  ( G `
 x ) )  Fn  A )
63, 5mp1i 12 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( z  e.  A  |->  ( G `
 x ) )  Fn  A )
7 seqof.3 . . . . . . . 8  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  =  ( z  e.  A  |->  ( G `  x ) ) )
87fneq1d 5671 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( ( F `  x )  Fn  A  <->  ( z  e.  A  |->  ( G `  x ) )  Fn  A ) )
96, 8mpbird 232 . . . . . 6  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  Fn  A
)
10 fvex 5876 . . . . . . 7  |-  ( F `
 x )  e. 
_V
11 fneq1 5669 . . . . . . 7  |-  ( z  =  ( F `  x )  ->  (
z  Fn  A  <->  ( F `  x )  Fn  A
) )
1210, 11elab 3250 . . . . . 6  |-  ( ( F `  x )  e.  { z  |  z  Fn  A }  <->  ( F `  x )  Fn  A )
139, 12sylibr 212 . . . . 5  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  e.  {
z  |  z  Fn  A } )
14 simprl 755 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  ->  x  Fn  A )
15 simprr 756 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  -> 
y  Fn  A )
16 seqof.1 . . . . . . . . . 10  |-  ( ph  ->  A  e.  V )
1716adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  ->  A  e.  V )
18 inidm 3707 . . . . . . . . 9  |-  ( A  i^i  A )  =  A
1914, 15, 17, 17, 18offn 6536 . . . . . . . 8  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  -> 
( x  oF  .+  y )  Fn  A )
2019ex 434 . . . . . . 7  |-  ( ph  ->  ( ( x  Fn  A  /\  y  Fn  A )  ->  (
x  oF  .+  y )  Fn  A
) )
21 vex 3116 . . . . . . . . 9  |-  x  e. 
_V
22 fneq1 5669 . . . . . . . . 9  |-  ( z  =  x  ->  (
z  Fn  A  <->  x  Fn  A ) )
2321, 22elab 3250 . . . . . . . 8  |-  ( x  e.  { z  |  z  Fn  A }  <->  x  Fn  A )
24 vex 3116 . . . . . . . . 9  |-  y  e. 
_V
25 fneq1 5669 . . . . . . . . 9  |-  ( z  =  y  ->  (
z  Fn  A  <->  y  Fn  A ) )
2624, 25elab 3250 . . . . . . . 8  |-  ( y  e.  { z  |  z  Fn  A }  <->  y  Fn  A )
2723, 26anbi12i 697 . . . . . . 7  |-  ( ( x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } )  <->  ( x  Fn  A  /\  y  Fn  A ) )
28 ovex 6310 . . . . . . . 8  |-  ( x  oF  .+  y
)  e.  _V
29 fneq1 5669 . . . . . . . 8  |-  ( z  =  ( x  oF  .+  y )  ->  ( z  Fn  A  <->  ( x  oF  .+  y )  Fn  A ) )
3028, 29elab 3250 . . . . . . 7  |-  ( ( x  oF  .+  y )  e.  {
z  |  z  Fn  A }  <->  ( x  oF  .+  y )  Fn  A )
3120, 27, 303imtr4g 270 . . . . . 6  |-  ( ph  ->  ( ( x  e. 
{ z  |  z  Fn  A }  /\  y  e.  { z  |  z  Fn  A } )  ->  (
x  oF  .+  y )  e.  {
z  |  z  Fn  A } ) )
3231imp 429 . . . . 5  |-  ( (
ph  /\  ( x  e.  { z  |  z  Fn  A }  /\  y  e.  { z  |  z  Fn  A } ) )  -> 
( x  oF  .+  y )  e. 
{ z  |  z  Fn  A } )
331, 13, 32seqcl 12096 . . . 4  |-  ( ph  ->  (  seq M (  oF  .+  ,  F ) `  N
)  e.  { z  |  z  Fn  A } )
34 fvex 5876 . . . . 5  |-  (  seq M (  oF  .+  ,  F ) `
 N )  e. 
_V
35 fneq1 5669 . . . . 5  |-  ( z  =  (  seq M
(  oF  .+  ,  F ) `  N
)  ->  ( z  Fn  A  <->  (  seq M
(  oF  .+  ,  F ) `  N
)  Fn  A ) )
3634, 35elab 3250 . . . 4  |-  ( (  seq M (  oF  .+  ,  F
) `  N )  e.  { z  |  z  Fn  A }  <->  (  seq M (  oF  .+  ,  F ) `
 N )  Fn  A )
3733, 36sylib 196 . . 3  |-  ( ph  ->  (  seq M (  oF  .+  ,  F ) `  N
)  Fn  A )
38 dffn5 5913 . . 3  |-  ( (  seq M (  oF  .+  ,  F
) `  N )  Fn  A  <->  (  seq M
(  oF  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  ( (  seq M (  oF  .+  ,  F
) `  N ) `  z ) ) )
3937, 38sylib 196 . 2  |-  ( ph  ->  (  seq M (  oF  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  ( (  seq M (  oF  .+  ,  F
) `  N ) `  z ) ) )
40 fveq1 5865 . . . . . 6  |-  ( w  =  (  seq M
(  oF  .+  ,  F ) `  N
)  ->  ( w `  z )  =  ( (  seq M (  oF  .+  ,  F ) `  N
) `  z )
)
41 eqid 2467 . . . . . 6  |-  ( w  e.  _V  |->  ( w `
 z ) )  =  ( w  e. 
_V  |->  ( w `  z ) )
42 fvex 5876 . . . . . 6  |-  ( (  seq M (  oF  .+  ,  F
) `  N ) `  z )  e.  _V
4340, 41, 42fvmpt 5951 . . . . 5  |-  ( (  seq M (  oF  .+  ,  F
) `  N )  e.  _V  ->  ( (
w  e.  _V  |->  ( w `  z ) ) `  (  seq M (  oF  .+  ,  F ) `
 N ) )  =  ( (  seq M (  oF  .+  ,  F ) `
 N ) `  z ) )
4434, 43mp1i 12 . . . 4  |-  ( (
ph  /\  z  e.  A )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  (  seq M (  oF  .+  ,  F ) `
 N ) )  =  ( (  seq M (  oF  .+  ,  F ) `
 N ) `  z ) )
4532adantlr 714 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } ) )  ->  ( x  oF  .+  y )  e.  { z  |  z  Fn  A }
)
4613adantlr 714 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  ( F `  x )  e.  { z  |  z  Fn  A } )
471adantr 465 . . . . 5  |-  ( (
ph  /\  z  e.  A )  ->  N  e.  ( ZZ>= `  M )
)
48 eqidd 2468 . . . . . . . . 9  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
x `  z )  =  ( x `  z ) )
49 eqidd 2468 . . . . . . . . 9  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
y `  z )  =  ( y `  z ) )
5014, 15, 17, 17, 18, 48, 49ofval 6534 . . . . . . . 8  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
( x  oF  .+  y ) `  z )  =  ( ( x `  z
)  .+  ( y `  z ) ) )
5150an32s 802 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  Fn  A  /\  y  Fn  A )
)  ->  ( (
x  oF  .+  y ) `  z
)  =  ( ( x `  z ) 
.+  ( y `  z ) ) )
52 fveq1 5865 . . . . . . . . 9  |-  ( w  =  ( x  oF  .+  y )  ->  ( w `  z )  =  ( ( x  oF  .+  y ) `  z ) )
53 fvex 5876 . . . . . . . . 9  |-  ( ( x  oF  .+  y ) `  z
)  e.  _V
5452, 41, 53fvmpt 5951 . . . . . . . 8  |-  ( ( x  oF  .+  y )  e.  _V  ->  ( ( w  e. 
_V  |->  ( w `  z ) ) `  ( x  oF  .+  y ) )  =  ( ( x  oF  .+  y ) `
 z ) )
5528, 54ax-mp 5 . . . . . . 7  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  ( x  oF  .+  y
) )  =  ( ( x  oF  .+  y ) `  z )
56 fveq1 5865 . . . . . . . . . 10  |-  ( w  =  x  ->  (
w `  z )  =  ( x `  z ) )
57 fvex 5876 . . . . . . . . . 10  |-  ( x `
 z )  e. 
_V
5856, 41, 57fvmpt 5951 . . . . . . . . 9  |-  ( x  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  x
)  =  ( x `
 z ) )
5921, 58ax-mp 5 . . . . . . . 8  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  x )  =  ( x `  z )
60 fveq1 5865 . . . . . . . . . 10  |-  ( w  =  y  ->  (
w `  z )  =  ( y `  z ) )
61 fvex 5876 . . . . . . . . . 10  |-  ( y `
 z )  e. 
_V
6260, 41, 61fvmpt 5951 . . . . . . . . 9  |-  ( y  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  y
)  =  ( y `
 z ) )
6324, 62ax-mp 5 . . . . . . . 8  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  y )  =  ( y `  z )
6459, 63oveq12i 6297 . . . . . . 7  |-  ( ( ( w  e.  _V  |->  ( w `  z
) ) `  x
)  .+  ( (
w  e.  _V  |->  ( w `  z ) ) `  y ) )  =  ( ( x `  z ) 
.+  ( y `  z ) )
6551, 55, 643eqtr4g 2533 . . . . . 6  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  Fn  A  /\  y  Fn  A )
)  ->  ( (
w  e.  _V  |->  ( w `  z ) ) `  ( x  oF  .+  y
) )  =  ( ( ( w  e. 
_V  |->  ( w `  z ) ) `  x )  .+  (
( w  e.  _V  |->  ( w `  z
) ) `  y
) ) )
6627, 65sylan2b 475 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } ) )  ->  ( ( w  e.  _V  |->  ( w `
 z ) ) `
 ( x  oF  .+  y ) )  =  ( ( ( w  e.  _V  |->  ( w `  z
) ) `  x
)  .+  ( (
w  e.  _V  |->  ( w `  z ) ) `  y ) ) )
67 fveq1 5865 . . . . . . . 8  |-  ( w  =  ( F `  x )  ->  (
w `  z )  =  ( ( F `
 x ) `  z ) )
68 fvex 5876 . . . . . . . 8  |-  ( ( F `  x ) `
 z )  e. 
_V
6967, 41, 68fvmpt 5951 . . . . . . 7  |-  ( ( F `  x )  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  ( F `  x )
)  =  ( ( F `  x ) `
 z ) )
7010, 69ax-mp 5 . . . . . 6  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  ( F `
 x ) )  =  ( ( F `
 x ) `  z )
717adantlr 714 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  ( F `  x )  =  ( z  e.  A  |->  ( G `  x ) ) )
7271fveq1d 5868 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( F `  x
) `  z )  =  ( ( z  e.  A  |->  ( G `
 x ) ) `
 z ) )
73 simplr 754 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  z  e.  A )
744fvmpt2 5958 . . . . . . . 8  |-  ( ( z  e.  A  /\  ( G `  x )  e.  _V )  -> 
( ( z  e.  A  |->  ( G `  x ) ) `  z )  =  ( G `  x ) )
7573, 2, 74sylancl 662 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( z  e.  A  |->  ( G `  x
) ) `  z
)  =  ( G `
 x ) )
7672, 75eqtrd 2508 . . . . . 6  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( F `  x
) `  z )  =  ( G `  x ) )
7770, 76syl5eq 2520 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  ( F `  x )
)  =  ( G `
 x ) )
7845, 46, 47, 66, 77seqhomo 12123 . . . 4  |-  ( (
ph  /\  z  e.  A )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  (  seq M (  oF  .+  ,  F ) `
 N ) )  =  (  seq M
(  .+  ,  G
) `  N )
)
7944, 78eqtr3d 2510 . . 3  |-  ( (
ph  /\  z  e.  A )  ->  (
(  seq M (  oF  .+  ,  F
) `  N ) `  z )  =  (  seq M (  .+  ,  G ) `  N
) )
8079mpteq2dva 4533 . 2  |-  ( ph  ->  ( z  e.  A  |->  ( (  seq M
(  oF  .+  ,  F ) `  N
) `  z )
)  =  ( z  e.  A  |->  (  seq M (  .+  ,  G ) `  N
) ) )
8139, 80eqtrd 2508 1  |-  ( ph  ->  (  seq M (  oF  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  (  seq M (  .+  ,  G ) `  N
) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1379    e. wcel 1767   {cab 2452   A.wral 2814   _Vcvv 3113    |-> cmpt 4505    Fn wfn 5583   ` cfv 5588  (class class class)co 6285    oFcof 6523   ZZ>=cuz 11083   ...cfz 11673    seqcseq 12076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6577  ax-cnex 9549  ax-resscn 9550  ax-1cn 9551  ax-icn 9552  ax-addcl 9553  ax-addrcl 9554  ax-mulcl 9555  ax-mulrcl 9556  ax-mulcom 9557  ax-addass 9558  ax-mulass 9559  ax-distr 9560  ax-i2m1 9561  ax-1ne0 9562  ax-1rid 9563  ax-rnegex 9564  ax-rrecex 9565  ax-cnre 9566  ax-pre-lttri 9567  ax-pre-lttrn 9568  ax-pre-ltadd 9569  ax-pre-mulgt0 9570
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2819  df-rex 2820  df-reu 2821  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-we 4840  df-ord 4881  df-on 4882  df-lim 4883  df-suc 4884  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5551  df-fun 5590  df-fn 5591  df-f 5592  df-f1 5593  df-fo 5594  df-f1o 5595  df-fv 5596  df-riota 6246  df-ov 6288  df-oprab 6289  df-mpt2 6290  df-of 6525  df-om 6686  df-1st 6785  df-2nd 6786  df-recs 7043  df-rdg 7077  df-er 7312  df-en 7518  df-dom 7519  df-sdom 7520  df-pnf 9631  df-mnf 9632  df-xr 9633  df-ltxr 9634  df-le 9635  df-sub 9808  df-neg 9809  df-nn 10538  df-n0 10797  df-z 10866  df-uz 11084  df-fz 11674  df-seq 12077
This theorem is referenced by:  seqof2  12134  mtest  22625  pserulm  22643
  Copyright terms: Public domain W3C validator