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

Theorem resfval2 14018
Description: Value of the functor restriction operator. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
resfval.c  |-  ( ph  ->  F  e.  V )
resfval.d  |-  ( ph  ->  H  e.  W )
resfval2.g  |-  ( ph  ->  G  e.  X )
resfval2.d  |-  ( ph  ->  H  Fn  ( S  X.  S ) )
Assertion
Ref Expression
resfval2  |-  ( ph  ->  ( <. F ,  G >. 
|`f 
H )  =  <. ( F  |`  S ) ,  ( x  e.  S ,  y  e.  S  |->  ( ( x G y )  |`  ( x H y ) ) ) >.
)
Distinct variable groups:    x, F    x, y, G    x, H, y    ph, x    x, S, y
Allowed substitution hints:    ph( y)    F( y)    V( x, y)    W( x, y)    X( x, y)

Proof of Theorem resfval2
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 opex 4369 . . . 4  |-  <. F ,  G >.  e.  _V
21a1i 11 . . 3  |-  ( ph  -> 
<. F ,  G >.  e. 
_V )
3 resfval.d . . 3  |-  ( ph  ->  H  e.  W )
42, 3resfval 14017 . 2  |-  ( ph  ->  ( <. F ,  G >. 
|`f 
H )  =  <. ( ( 1st `  <. F ,  G >. )  |` 
dom  dom  H ) ,  ( z  e.  dom  H 
|->  ( ( ( 2nd `  <. F ,  G >. ) `  z )  |`  ( H `  z
) ) ) >.
)
5 resfval.c . . . . 5  |-  ( ph  ->  F  e.  V )
6 resfval2.g . . . . 5  |-  ( ph  ->  G  e.  X )
7 op1stg 6299 . . . . 5  |-  ( ( F  e.  V  /\  G  e.  X )  ->  ( 1st `  <. F ,  G >. )  =  F )
85, 6, 7syl2anc 643 . . . 4  |-  ( ph  ->  ( 1st `  <. F ,  G >. )  =  F )
9 resfval2.d . . . . . . 7  |-  ( ph  ->  H  Fn  ( S  X.  S ) )
10 fndm 5485 . . . . . . 7  |-  ( H  Fn  ( S  X.  S )  ->  dom  H  =  ( S  X.  S ) )
119, 10syl 16 . . . . . 6  |-  ( ph  ->  dom  H  =  ( S  X.  S ) )
1211dmeqd 5013 . . . . 5  |-  ( ph  ->  dom  dom  H  =  dom  ( S  X.  S
) )
13 dmxpid 5030 . . . . 5  |-  dom  ( S  X.  S )  =  S
1412, 13syl6eq 2436 . . . 4  |-  ( ph  ->  dom  dom  H  =  S )
158, 14reseq12d 5088 . . 3  |-  ( ph  ->  ( ( 1st `  <. F ,  G >. )  |` 
dom  dom  H )  =  ( F  |`  S ) )
16 op2ndg 6300 . . . . . . . 8  |-  ( ( F  e.  V  /\  G  e.  X )  ->  ( 2nd `  <. F ,  G >. )  =  G )
175, 6, 16syl2anc 643 . . . . . . 7  |-  ( ph  ->  ( 2nd `  <. F ,  G >. )  =  G )
1817fveq1d 5671 . . . . . 6  |-  ( ph  ->  ( ( 2nd `  <. F ,  G >. ) `  z )  =  ( G `  z ) )
1918reseq1d 5086 . . . . 5  |-  ( ph  ->  ( ( ( 2nd `  <. F ,  G >. ) `  z )  |`  ( H `  z
) )  =  ( ( G `  z
)  |`  ( H `  z ) ) )
2011, 19mpteq12dv 4229 . . . 4  |-  ( ph  ->  ( z  e.  dom  H 
|->  ( ( ( 2nd `  <. F ,  G >. ) `  z )  |`  ( H `  z
) ) )  =  ( z  e.  ( S  X.  S ) 
|->  ( ( G `  z )  |`  ( H `  z )
) ) )
21 fveq2 5669 . . . . . . 7  |-  ( z  =  <. x ,  y
>.  ->  ( G `  z )  =  ( G `  <. x ,  y >. )
)
22 df-ov 6024 . . . . . . 7  |-  ( x G y )  =  ( G `  <. x ,  y >. )
2321, 22syl6eqr 2438 . . . . . 6  |-  ( z  =  <. x ,  y
>.  ->  ( G `  z )  =  ( x G y ) )
24 fveq2 5669 . . . . . . 7  |-  ( z  =  <. x ,  y
>.  ->  ( H `  z )  =  ( H `  <. x ,  y >. )
)
25 df-ov 6024 . . . . . . 7  |-  ( x H y )  =  ( H `  <. x ,  y >. )
2624, 25syl6eqr 2438 . . . . . 6  |-  ( z  =  <. x ,  y
>.  ->  ( H `  z )  =  ( x H y ) )
2723, 26reseq12d 5088 . . . . 5  |-  ( z  =  <. x ,  y
>.  ->  ( ( G `
 z )  |`  ( H `  z ) )  =  ( ( x G y )  |`  ( x H y ) ) )
2827mpt2mpt 6105 . . . 4  |-  ( z  e.  ( S  X.  S )  |->  ( ( G `  z )  |`  ( H `  z
) ) )  =  ( x  e.  S ,  y  e.  S  |->  ( ( x G y )  |`  (
x H y ) ) )
2920, 28syl6eq 2436 . . 3  |-  ( ph  ->  ( z  e.  dom  H 
|->  ( ( ( 2nd `  <. F ,  G >. ) `  z )  |`  ( H `  z
) ) )  =  ( x  e.  S ,  y  e.  S  |->  ( ( x G y )  |`  (
x H y ) ) ) )
3015, 29opeq12d 3935 . 2  |-  ( ph  -> 
<. ( ( 1st `  <. F ,  G >. )  |` 
dom  dom  H ) ,  ( z  e.  dom  H 
|->  ( ( ( 2nd `  <. F ,  G >. ) `  z )  |`  ( H `  z
) ) ) >.  =  <. ( F  |`  S ) ,  ( x  e.  S , 
y  e.  S  |->  ( ( x G y )  |`  ( x H y ) ) ) >. )
314, 30eqtrd 2420 1  |-  ( ph  ->  ( <. F ,  G >. 
|`f 
H )  =  <. ( F  |`  S ) ,  ( x  e.  S ,  y  e.  S  |->  ( ( x G y )  |`  ( x H y ) ) ) >.
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1649    e. wcel 1717   _Vcvv 2900   <.cop 3761    e. cmpt 4208    X. cxp 4817   dom cdm 4819    |` cres 4821    Fn wfn 5390   ` cfv 5395  (class class class)co 6021    e. cmpt2 6023   1stc1st 6287   2ndc2nd 6288    |`f cresf 13982
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-sep 4272  ax-nul 4280  ax-pow 4319  ax-pr 4345  ax-un 4642
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-ral 2655  df-rex 2656  df-rab 2659  df-v 2902  df-sbc 3106  df-csb 3196  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-nul 3573  df-if 3684  df-sn 3764  df-pr 3765  df-op 3767  df-uni 3959  df-iun 4038  df-br 4155  df-opab 4209  df-mpt 4210  df-id 4440  df-xp 4825  df-rel 4826  df-cnv 4827  df-co 4828  df-dm 4829  df-rn 4830  df-res 4831  df-iota 5359  df-fun 5397  df-fn 5398  df-fv 5403  df-ov 6024  df-oprab 6025  df-mpt2 6026  df-1st 6289  df-2nd 6290  df-resf 13986
  Copyright terms: Public domain W3C validator