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

Theorem seqof 11119
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 (  o F  .+  ,  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 5555 . . . . . . . . 9  |-  ( G `
 x )  e. 
_V
32rgenw 2623 . . . . . . . 8  |-  A. z  e.  A  ( G `  x )  e.  _V
4 eqid 2296 . . . . . . . . 9  |-  ( z  e.  A  |->  ( G `
 x ) )  =  ( z  e.  A  |->  ( G `  x ) )
54fnmpt 5386 . . . . . . . 8  |-  ( A. z  e.  A  ( G `  x )  e.  _V  ->  ( z  e.  A  |->  ( G `
 x ) )  Fn  A )
63, 5mp1i 11 . . . . . . 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 5351 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( ( F `  x )  Fn  A  <->  ( z  e.  A  |->  ( G `  x ) )  Fn  A ) )
96, 8mpbird 223 . . . . . 6  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  Fn  A
)
10 fvex 5555 . . . . . . 7  |-  ( F `
 x )  e. 
_V
11 fneq1 5349 . . . . . . 7  |-  ( z  =  ( F `  x )  ->  (
z  Fn  A  <->  ( F `  x )  Fn  A
) )
1210, 11elab 2927 . . . . . 6  |-  ( ( F `  x )  e.  { z  |  z  Fn  A }  <->  ( F `  x )  Fn  A )
139, 12sylibr 203 . . . . 5  |-  ( (
ph  /\  x  e.  ( M ... N ) )  ->  ( F `  x )  e.  {
z  |  z  Fn  A } )
14 simprl 732 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  ->  x  Fn  A )
15 simprr 733 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  -> 
y  Fn  A )
16 seqof.1 . . . . . . . . . 10  |-  ( ph  ->  A  e.  V )
1716adantr 451 . . . . . . . . 9  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  ->  A  e.  V )
18 inidm 3391 . . . . . . . . 9  |-  ( A  i^i  A )  =  A
1914, 15, 17, 17, 18offn 6105 . . . . . . . 8  |-  ( (
ph  /\  ( x  Fn  A  /\  y  Fn  A ) )  -> 
( x  o F 
.+  y )  Fn  A )
2019ex 423 . . . . . . 7  |-  ( ph  ->  ( ( x  Fn  A  /\  y  Fn  A )  ->  (
x  o F  .+  y )  Fn  A
) )
21 vex 2804 . . . . . . . . 9  |-  x  e. 
_V
22 fneq1 5349 . . . . . . . . 9  |-  ( z  =  x  ->  (
z  Fn  A  <->  x  Fn  A ) )
2321, 22elab 2927 . . . . . . . 8  |-  ( x  e.  { z  |  z  Fn  A }  <->  x  Fn  A )
24 vex 2804 . . . . . . . . 9  |-  y  e. 
_V
25 fneq1 5349 . . . . . . . . 9  |-  ( z  =  y  ->  (
z  Fn  A  <->  y  Fn  A ) )
2624, 25elab 2927 . . . . . . . 8  |-  ( y  e.  { z  |  z  Fn  A }  <->  y  Fn  A )
2723, 26anbi12i 678 . . . . . . 7  |-  ( ( x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } )  <->  ( x  Fn  A  /\  y  Fn  A ) )
28 ovex 5899 . . . . . . . 8  |-  ( x  o F  .+  y
)  e.  _V
29 fneq1 5349 . . . . . . . 8  |-  ( z  =  ( x  o F  .+  y )  ->  ( z  Fn  A  <->  ( x  o F  .+  y )  Fn  A ) )
3028, 29elab 2927 . . . . . . 7  |-  ( ( x  o F  .+  y )  e.  {
z  |  z  Fn  A }  <->  ( x  o F  .+  y )  Fn  A )
3120, 27, 303imtr4g 261 . . . . . 6  |-  ( ph  ->  ( ( x  e. 
{ z  |  z  Fn  A }  /\  y  e.  { z  |  z  Fn  A } )  ->  (
x  o F  .+  y )  e.  {
z  |  z  Fn  A } ) )
3231imp 418 . . . . 5  |-  ( (
ph  /\  ( x  e.  { z  |  z  Fn  A }  /\  y  e.  { z  |  z  Fn  A } ) )  -> 
( x  o F 
.+  y )  e. 
{ z  |  z  Fn  A } )
331, 13, 32seqcl 11082 . . . 4  |-  ( ph  ->  (  seq  M (  o F  .+  ,  F ) `  N
)  e.  { z  |  z  Fn  A } )
34 fvex 5555 . . . . 5  |-  (  seq 
M (  o F 
.+  ,  F ) `
 N )  e. 
_V
35 fneq1 5349 . . . . 5  |-  ( z  =  (  seq  M
(  o F  .+  ,  F ) `  N
)  ->  ( z  Fn  A  <->  (  seq  M
(  o F  .+  ,  F ) `  N
)  Fn  A ) )
3634, 35elab 2927 . . . 4  |-  ( (  seq  M (  o F  .+  ,  F
) `  N )  e.  { z  |  z  Fn  A }  <->  (  seq  M (  o F  .+  ,  F ) `  N
)  Fn  A )
3733, 36sylib 188 . . 3  |-  ( ph  ->  (  seq  M (  o F  .+  ,  F ) `  N
)  Fn  A )
38 dffn5 5584 . . 3  |-  ( (  seq  M (  o F  .+  ,  F
) `  N )  Fn  A  <->  (  seq  M
(  o F  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  ( (  seq  M (  o F  .+  ,  F
) `  N ) `  z ) ) )
3937, 38sylib 188 . 2  |-  ( ph  ->  (  seq  M (  o F  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  ( (  seq  M (  o F  .+  ,  F
) `  N ) `  z ) ) )
40 fveq1 5540 . . . . . 6  |-  ( w  =  (  seq  M
(  o F  .+  ,  F ) `  N
)  ->  ( w `  z )  =  ( (  seq  M (  o F  .+  ,  F ) `  N
) `  z )
)
41 eqid 2296 . . . . . 6  |-  ( w  e.  _V  |->  ( w `
 z ) )  =  ( w  e. 
_V  |->  ( w `  z ) )
42 fvex 5555 . . . . . 6  |-  ( (  seq  M (  o F  .+  ,  F
) `  N ) `  z )  e.  _V
4340, 41, 42fvmpt 5618 . . . . 5  |-  ( (  seq  M (  o F  .+  ,  F
) `  N )  e.  _V  ->  ( (
w  e.  _V  |->  ( w `  z ) ) `  (  seq 
M (  o F 
.+  ,  F ) `
 N ) )  =  ( (  seq 
M (  o F 
.+  ,  F ) `
 N ) `  z ) )
4434, 43mp1i 11 . . . 4  |-  ( (
ph  /\  z  e.  A )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  (  seq  M (  o F 
.+  ,  F ) `
 N ) )  =  ( (  seq 
M (  o F 
.+  ,  F ) `
 N ) `  z ) )
4532adantlr 695 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } ) )  ->  ( x  o F  .+  y )  e.  { z  |  z  Fn  A }
)
4613adantlr 695 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  ( F `  x )  e.  { z  |  z  Fn  A } )
471adantr 451 . . . . 5  |-  ( (
ph  /\  z  e.  A )  ->  N  e.  ( ZZ>= `  M )
)
48 eqidd 2297 . . . . . . . . 9  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
x `  z )  =  ( x `  z ) )
49 eqidd 2297 . . . . . . . . 9  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
y `  z )  =  ( y `  z ) )
5014, 15, 17, 17, 18, 48, 49ofval 6103 . . . . . . . 8  |-  ( ( ( ph  /\  (
x  Fn  A  /\  y  Fn  A )
)  /\  z  e.  A )  ->  (
( x  o F 
.+  y ) `  z )  =  ( ( x `  z
)  .+  ( y `  z ) ) )
5150an32s 779 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  Fn  A  /\  y  Fn  A )
)  ->  ( (
x  o F  .+  y ) `  z
)  =  ( ( x `  z ) 
.+  ( y `  z ) ) )
52 fveq1 5540 . . . . . . . . 9  |-  ( w  =  ( x  o F  .+  y )  ->  ( w `  z )  =  ( ( x  o F 
.+  y ) `  z ) )
53 fvex 5555 . . . . . . . . 9  |-  ( ( x  o F  .+  y ) `  z
)  e.  _V
5452, 41, 53fvmpt 5618 . . . . . . . 8  |-  ( ( x  o F  .+  y )  e.  _V  ->  ( ( w  e. 
_V  |->  ( w `  z ) ) `  ( x  o F  .+  y ) )  =  ( ( x  o F  .+  y ) `
 z ) )
5528, 54ax-mp 8 . . . . . . 7  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  ( x  o F  .+  y
) )  =  ( ( x  o F 
.+  y ) `  z )
56 fveq1 5540 . . . . . . . . . 10  |-  ( w  =  x  ->  (
w `  z )  =  ( x `  z ) )
57 fvex 5555 . . . . . . . . . 10  |-  ( x `
 z )  e. 
_V
5856, 41, 57fvmpt 5618 . . . . . . . . 9  |-  ( x  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  x
)  =  ( x `
 z ) )
5921, 58ax-mp 8 . . . . . . . 8  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  x )  =  ( x `  z )
60 fveq1 5540 . . . . . . . . . 10  |-  ( w  =  y  ->  (
w `  z )  =  ( y `  z ) )
61 fvex 5555 . . . . . . . . . 10  |-  ( y `
 z )  e. 
_V
6260, 41, 61fvmpt 5618 . . . . . . . . 9  |-  ( y  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  y
)  =  ( y `
 z ) )
6324, 62ax-mp 8 . . . . . . . 8  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  y )  =  ( y `  z )
6459, 63oveq12i 5886 . . . . . . 7  |-  ( ( ( w  e.  _V  |->  ( w `  z
) ) `  x
)  .+  ( (
w  e.  _V  |->  ( w `  z ) ) `  y ) )  =  ( ( x `  z ) 
.+  ( y `  z ) )
6551, 55, 643eqtr4g 2353 . . . . . 6  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  Fn  A  /\  y  Fn  A )
)  ->  ( (
w  e.  _V  |->  ( w `  z ) ) `  ( x  o F  .+  y
) )  =  ( ( ( w  e. 
_V  |->  ( w `  z ) ) `  x )  .+  (
( w  e.  _V  |->  ( w `  z
) ) `  y
) ) )
6627, 65sylan2b 461 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  (
x  e.  { z  |  z  Fn  A }  /\  y  e.  {
z  |  z  Fn  A } ) )  ->  ( ( w  e.  _V  |->  ( w `
 z ) ) `
 ( x  o F  .+  y ) )  =  ( ( ( w  e.  _V  |->  ( w `  z
) ) `  x
)  .+  ( (
w  e.  _V  |->  ( w `  z ) ) `  y ) ) )
67 fveq1 5540 . . . . . . . 8  |-  ( w  =  ( F `  x )  ->  (
w `  z )  =  ( ( F `
 x ) `  z ) )
68 fvex 5555 . . . . . . . 8  |-  ( ( F `  x ) `
 z )  e. 
_V
6967, 41, 68fvmpt 5618 . . . . . . 7  |-  ( ( F `  x )  e.  _V  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  ( F `  x )
)  =  ( ( F `  x ) `
 z ) )
7010, 69ax-mp 8 . . . . . 6  |-  ( ( w  e.  _V  |->  ( w `  z ) ) `  ( F `
 x ) )  =  ( ( F `
 x ) `  z )
717adantlr 695 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  ( F `  x )  =  ( z  e.  A  |->  ( G `  x ) ) )
7271fveq1d 5543 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( F `  x
) `  z )  =  ( ( z  e.  A  |->  ( G `
 x ) ) `
 z ) )
73 simplr 731 . . . . . . . 8  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  z  e.  A )
744fvmpt2 5624 . . . . . . . 8  |-  ( ( z  e.  A  /\  ( G `  x )  e.  _V )  -> 
( ( z  e.  A  |->  ( G `  x ) ) `  z )  =  ( G `  x ) )
7573, 2, 74sylancl 643 . . . . . . 7  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( z  e.  A  |->  ( G `  x
) ) `  z
)  =  ( G `
 x ) )
7672, 75eqtrd 2328 . . . . . 6  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( F `  x
) `  z )  =  ( G `  x ) )
7770, 76syl5eq 2340 . . . . 5  |-  ( ( ( ph  /\  z  e.  A )  /\  x  e.  ( M ... N
) )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  ( F `  x )
)  =  ( G `
 x ) )
7845, 46, 47, 66, 77seqhomo 11109 . . . 4  |-  ( (
ph  /\  z  e.  A )  ->  (
( w  e.  _V  |->  ( w `  z
) ) `  (  seq  M (  o F 
.+  ,  F ) `
 N ) )  =  (  seq  M
(  .+  ,  G
) `  N )
)
7944, 78eqtr3d 2330 . . 3  |-  ( (
ph  /\  z  e.  A )  ->  (
(  seq  M (  o F  .+  ,  F
) `  N ) `  z )  =  (  seq  M (  .+  ,  G ) `  N
) )
8079mpteq2dva 4122 . 2  |-  ( ph  ->  ( z  e.  A  |->  ( (  seq  M
(  o F  .+  ,  F ) `  N
) `  z )
)  =  ( z  e.  A  |->  (  seq 
M (  .+  ,  G ) `  N
) ) )
8139, 80eqtrd 2328 1  |-  ( ph  ->  (  seq  M (  o F  .+  ,  F ) `  N
)  =  ( z  e.  A  |->  (  seq 
M (  .+  ,  G ) `  N
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696   {cab 2282   A.wral 2556   _Vcvv 2801    e. cmpt 4093    Fn wfn 5266   ` cfv 5271  (class class class)co 5874    o Fcof 6092   ZZ>=cuz 10246   ...cfz 10798    seq cseq 11062
This theorem is referenced by:  mtest  19797  pserulm  19814
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830
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 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-of 6094  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-nn 9763  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-seq 11063
  Copyright terms: Public domain W3C validator