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

Theorem comfffval2 13847
Description: Value of the functionalized composition operation. (Contributed by Mario Carneiro, 4-Jan-2017.)
Hypotheses
Ref Expression
comfffval2.o  |-  O  =  (compf `  C )
comfffval2.b  |-  B  =  ( Base `  C
)
comfffval2.h  |-  H  =  (  Homf 
`  C )
comfffval2.x  |-  .x.  =  (comp `  C )
Assertion
Ref Expression
comfffval2  |-  O  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x
) H y ) ,  f  e.  ( H `  x ) 
|->  ( g ( x 
.x.  y ) f ) ) )
Distinct variable groups:    f, g, x, y, B    C, f,
g, x, y    .x. , f,
g, x
Allowed substitution hints:    .x. ( y)    H( x, y, f, g)    O( x, y, f, g)

Proof of Theorem comfffval2
StepHypRef Expression
1 comfffval2.o . . 3  |-  O  =  (compf `  C )
2 comfffval2.b . . 3  |-  B  =  ( Base `  C
)
3 eqid 2380 . . 3  |-  (  Hom  `  C )  =  (  Hom  `  C )
4 comfffval2.x . . 3  |-  .x.  =  (comp `  C )
51, 2, 3, 4comfffval 13844 . 2  |-  O  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x
) (  Hom  `  C
) y ) ,  f  e.  ( (  Hom  `  C ) `  x )  |->  ( g ( x  .x.  y
) f ) ) )
6 comfffval2.h . . . . 5  |-  H  =  (  Homf 
`  C )
7 xp2nd 6309 . . . . . 6  |-  ( x  e.  ( B  X.  B )  ->  ( 2nd `  x )  e.  B )
87adantr 452 . . . . 5  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( 2nd `  x
)  e.  B )
9 simpr 448 . . . . 5  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  y  e.  B )
106, 2, 3, 8, 9homfval 13838 . . . 4  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( ( 2nd `  x
) H y )  =  ( ( 2nd `  x ) (  Hom  `  C ) y ) )
11 xp1st 6308 . . . . . . . 8  |-  ( x  e.  ( B  X.  B )  ->  ( 1st `  x )  e.  B )
1211adantr 452 . . . . . . 7  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( 1st `  x
)  e.  B )
136, 2, 3, 12, 8homfval 13838 . . . . . 6  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( ( 1st `  x
) H ( 2nd `  x ) )  =  ( ( 1st `  x
) (  Hom  `  C
) ( 2nd `  x
) ) )
14 df-ov 6016 . . . . . 6  |-  ( ( 1st `  x ) H ( 2nd `  x
) )  =  ( H `  <. ( 1st `  x ) ,  ( 2nd `  x
) >. )
15 df-ov 6016 . . . . . 6  |-  ( ( 1st `  x ) (  Hom  `  C
) ( 2nd `  x
) )  =  ( (  Hom  `  C
) `  <. ( 1st `  x ) ,  ( 2nd `  x )
>. )
1613, 14, 153eqtr3g 2435 . . . . 5  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( H `  <. ( 1st `  x ) ,  ( 2nd `  x
) >. )  =  ( (  Hom  `  C
) `  <. ( 1st `  x ) ,  ( 2nd `  x )
>. ) )
17 1st2nd2 6318 . . . . . . 7  |-  ( x  e.  ( B  X.  B )  ->  x  =  <. ( 1st `  x
) ,  ( 2nd `  x ) >. )
1817adantr 452 . . . . . 6  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  x  =  <. ( 1st `  x ) ,  ( 2nd `  x
) >. )
1918fveq2d 5665 . . . . 5  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( H `  x
)  =  ( H `
 <. ( 1st `  x
) ,  ( 2nd `  x ) >. )
)
2018fveq2d 5665 . . . . 5  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( (  Hom  `  C
) `  x )  =  ( (  Hom  `  C ) `  <. ( 1st `  x ) ,  ( 2nd `  x
) >. ) )
2116, 19, 203eqtr4d 2422 . . . 4  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( H `  x
)  =  ( (  Hom  `  C ) `  x ) )
22 eqidd 2381 . . . 4  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( g ( x 
.x.  y ) f )  =  ( g ( x  .x.  y
) f ) )
2310, 21, 22mpt2eq123dv 6068 . . 3  |-  ( ( x  e.  ( B  X.  B )  /\  y  e.  B )  ->  ( g  e.  ( ( 2nd `  x
) H y ) ,  f  e.  ( H `  x ) 
|->  ( g ( x 
.x.  y ) f ) )  =  ( g  e.  ( ( 2nd `  x ) (  Hom  `  C
) y ) ,  f  e.  ( (  Hom  `  C ) `  x )  |->  ( g ( x  .x.  y
) f ) ) )
2423mpt2eq3ia 6071 . 2  |-  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x ) H y ) ,  f  e.  ( H `  x
)  |->  ( g ( x  .x.  y ) f ) ) )  =  ( x  e.  ( B  X.  B
) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x
) (  Hom  `  C
) y ) ,  f  e.  ( (  Hom  `  C ) `  x )  |->  ( g ( x  .x.  y
) f ) ) )
255, 24eqtr4i 2403 1  |-  O  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x
) H y ) ,  f  e.  ( H `  x ) 
|->  ( g ( x 
.x.  y ) f ) ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 359    = wceq 1649    e. wcel 1717   <.cop 3753    X. cxp 4809   ` cfv 5387  (class class class)co 6013    e. cmpt2 6015   1stc1st 6279   2ndc2nd 6280   Basecbs 13389    Hom chom 13460  compcco 13461    Homf chomf 13811  compfccomf 13812
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 2361  ax-rep 4254  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634
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 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-reu 2649  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-op 3759  df-uni 3951  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-id 4432  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-1st 6281  df-2nd 6282  df-homf 13815  df-comf 13816
  Copyright terms: Public domain W3C validator