ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  seqeq3 Unicode version

Theorem seqeq3 10406
Description: Equality theorem for the sequence builder operation. (Contributed by Mario Carneiro, 4-Sep-2013.)
Assertion
Ref Expression
seqeq3  |-  ( F  =  G  ->  seq M (  .+  ,  F )  =  seq M (  .+  ,  G ) )

Proof of Theorem seqeq3
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 992 . . . . . . . 8  |-  ( ( F  =  G  /\  x  e.  ( ZZ>= `  M )  /\  y  e.  _V )  ->  F  =  G )
21fveq1d 5498 . . . . . . 7  |-  ( ( F  =  G  /\  x  e.  ( ZZ>= `  M )  /\  y  e.  _V )  ->  ( F `  ( x  +  1 ) )  =  ( G `  ( x  +  1
) ) )
32oveq2d 5869 . . . . . 6  |-  ( ( F  =  G  /\  x  e.  ( ZZ>= `  M )  /\  y  e.  _V )  ->  (
y  .+  ( F `  ( x  +  1 ) ) )  =  ( y  .+  ( G `  ( x  +  1 ) ) ) )
43opeq2d 3772 . . . . 5  |-  ( ( F  =  G  /\  x  e.  ( ZZ>= `  M )  /\  y  e.  _V )  ->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >.  =  <. ( x  +  1 ) ,  ( y  .+  ( G `  ( x  +  1 ) ) ) >. )
54mpoeq3dva 5917 . . . 4  |-  ( F  =  G  ->  (
x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >. )  =  ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( G `  ( x  +  1 ) ) ) >. ) )
6 fveq1 5495 . . . . 5  |-  ( F  =  G  ->  ( F `  M )  =  ( G `  M ) )
76opeq2d 3772 . . . 4  |-  ( F  =  G  ->  <. M , 
( F `  M
) >.  =  <. M , 
( G `  M
) >. )
8 freceq1 6371 . . . . 5  |-  ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >. )  =  ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( G `  ( x  +  1 ) ) ) >. )  -> frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >. ) ,  <. M ,  ( F `  M ) >. )  = frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. ( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( F `  M
) >. ) )
9 freceq2 6372 . . . . 5  |-  ( <. M ,  ( F `  M ) >.  =  <. M ,  ( G `  M ) >.  -> frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( G `  ( x  +  1 ) ) ) >. ) ,  <. M ,  ( F `  M ) >. )  = frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. ( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( G `  M
) >. ) )
108, 9sylan9eq 2223 . . . 4  |-  ( ( ( x  e.  (
ZZ>= `  M ) ,  y  e.  _V  |->  <.
( x  +  1 ) ,  ( y 
.+  ( F `  ( x  +  1
) ) ) >.
)  =  ( x  e.  ( ZZ>= `  M
) ,  y  e. 
_V  |->  <. ( x  + 
1 ) ,  ( y  .+  ( G `
 ( x  + 
1 ) ) )
>. )  /\  <. M , 
( F `  M
) >.  =  <. M , 
( G `  M
) >. )  -> frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >. ) ,  <. M ,  ( F `  M ) >. )  = frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. ( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( G `  M
) >. ) )
115, 7, 10syl2anc 409 . . 3  |-  ( F  =  G  -> frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. (
x  +  1 ) ,  ( y  .+  ( F `  ( x  +  1 ) ) ) >. ) ,  <. M ,  ( F `  M ) >. )  = frec ( ( x  e.  ( ZZ>= `  M ) ,  y  e.  _V  |->  <. ( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( G `  M
) >. ) )
1211rneqd 4840 . 2  |-  ( F  =  G  ->  ran frec ( ( x  e.  (
ZZ>= `  M ) ,  y  e.  _V  |->  <.
( x  +  1 ) ,  ( y 
.+  ( F `  ( x  +  1
) ) ) >.
) ,  <. M , 
( F `  M
) >. )  =  ran frec ( ( x  e.  (
ZZ>= `  M ) ,  y  e.  _V  |->  <.
( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( G `  M
) >. ) )
13 df-seqfrec 10402 . 2  |-  seq M
(  .+  ,  F
)  =  ran frec (
( x  e.  (
ZZ>= `  M ) ,  y  e.  _V  |->  <.
( x  +  1 ) ,  ( y 
.+  ( F `  ( x  +  1
) ) ) >.
) ,  <. M , 
( F `  M
) >. )
14 df-seqfrec 10402 . 2  |-  seq M
(  .+  ,  G
)  =  ran frec (
( x  e.  (
ZZ>= `  M ) ,  y  e.  _V  |->  <.
( x  +  1 ) ,  ( y 
.+  ( G `  ( x  +  1
) ) ) >.
) ,  <. M , 
( G `  M
) >. )
1512, 13, 143eqtr4g 2228 1  |-  ( F  =  G  ->  seq M (  .+  ,  F )  =  seq M (  .+  ,  G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ w3a 973    = wceq 1348    e. wcel 2141   _Vcvv 2730   <.cop 3586   ran crn 4612   ` cfv 5198  (class class class)co 5853    e. cmpo 5855  freccfrec 6369   1c1 7775    + caddc 7777   ZZ>=cuz 9487    seqcseq 10401
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-un 3125  df-in 3127  df-ss 3134  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-cnv 4619  df-dm 4621  df-rn 4622  df-res 4623  df-iota 5160  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-recs 6284  df-frec 6370  df-seqfrec 10402
This theorem is referenced by:  seqeq3d  10409  cbvsum  11323  fsumadd  11369  cbvprod  11521
  Copyright terms: Public domain W3C validator