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

Theorem ofeq 6527
Description: Equality theorem for function operation. (Contributed by Mario Carneiro, 20-Jul-2014.)
Assertion
Ref Expression
ofeq  |-  ( R  =  S  ->  oF R  =  oF S )

Proof of Theorem ofeq
Dummy variables  f 
g  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 996 . . . . 5  |-  ( ( R  =  S  /\  f  e.  _V  /\  g  e.  _V )  ->  R  =  S )
21oveqd 6302 . . . 4  |-  ( ( R  =  S  /\  f  e.  _V  /\  g  e.  _V )  ->  (
( f `  x
) R ( g `
 x ) )  =  ( ( f `
 x ) S ( g `  x
) ) )
32mpteq2dv 4534 . . 3  |-  ( ( R  =  S  /\  f  e.  _V  /\  g  e.  _V )  ->  (
x  e.  ( dom  f  i^i  dom  g
)  |->  ( ( f `
 x ) R ( g `  x
) ) )  =  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x ) S ( g `  x ) ) ) )
43mpt2eq3dva 6346 . 2  |-  ( R  =  S  ->  (
f  e.  _V , 
g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g
)  |->  ( ( f `
 x ) R ( g `  x
) ) ) )  =  ( f  e. 
_V ,  g  e. 
_V  |->  ( x  e.  ( dom  f  i^i 
dom  g )  |->  ( ( f `  x
) S ( g `
 x ) ) ) ) )
5 df-of 6525 . 2  |-  oF R  =  ( f  e.  _V ,  g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x
) R ( g `
 x ) ) ) )
6 df-of 6525 . 2  |-  oF S  =  ( f  e.  _V ,  g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x
) S ( g `
 x ) ) ) )
74, 5, 63eqtr4g 2533 1  |-  ( R  =  S  ->  oF R  =  oF S )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ w3a 973    = wceq 1379    e. wcel 1767   _Vcvv 3113    i^i cin 3475    |-> cmpt 4505   dom cdm 4999   ` cfv 5588  (class class class)co 6285    |-> cmpt2 6287    oFcof 6523
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-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445
This theorem depends on definitions:  df-bi 185  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ral 2819  df-rex 2820  df-uni 4246  df-br 4448  df-opab 4506  df-mpt 4507  df-iota 5551  df-fv 5596  df-ov 6288  df-oprab 6289  df-mpt2 6290  df-of 6525
This theorem is referenced by:  psrval  17822  resspsradd  17882  resspsrvsca  17884  sitmval  28041  mendval  30964  mendplusgfval  30966  mendvscafval  30971  ldualset  34139
  Copyright terms: Public domain W3C validator