Users' Mathboxes Mathbox for Frédéric Liné < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  domcatfun Unicode version

Theorem domcatfun 26028
Description: The domain of a morphism in the category Set. (Contributed by FL, 6-Nov-2013.)
Assertion
Ref Expression
domcatfun  |-  ( U  e.  Univ  ->  ( dom SetCat `
 U ) : ( Morphism SetCat `  U ) --> U )

Proof of Theorem domcatfun
Dummy variables  a  u  v  w  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-morcatset 26014 . . . . . . . 8  |-  Morphism SetCat  =  ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } )
21a1i 10 . . . . . . 7  |-  ( U  e.  Univ  ->  Morphism SetCat  =  ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } ) )
32fveq1d 5543 . . . . . 6  |-  ( U  e.  Univ  ->  ( Morphism SetCat `  U )  =  ( ( x  e.  Univ  |->  { <. <. u ,  v
>. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  (
v  ^m  u )
) } ) `  U ) )
43eleq2d 2363 . . . . 5  |-  ( U  e.  Univ  ->  ( a  e.  ( Morphism SetCat `  U
)  <->  a  e.  ( ( x  e.  Univ  |->  { <. <. u ,  v
>. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  (
v  ^m  u )
) } ) `  U ) ) )
54biimpa 470 . . . 4  |-  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  a  e.  ( ( x  e. 
Univ  |->  { <. <. u ,  v >. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u
) ) } ) `
 U ) )
6 prismorcsetlem 26015 . . . . . . . . . 10  |-  ( U  e.  Univ  ->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u ) ) }  e.  _V )
7 eleq2 2357 . . . . . . . . . . . . 13  |-  ( x  =  U  ->  (
u  e.  x  <->  u  e.  U ) )
8 eleq2 2357 . . . . . . . . . . . . 13  |-  ( x  =  U  ->  (
v  e.  x  <->  v  e.  U ) )
97, 83anbi12d 1253 . . . . . . . . . . . 12  |-  ( x  =  U  ->  (
( u  e.  x  /\  v  e.  x  /\  w  e.  (
v  ^m  u )
)  <->  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) ) )
109oprabbidv 5918 . . . . . . . . . . 11  |-  ( x  =  U  ->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) }  =  { <. <. u ,  v >. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) } )
11 eqid 2296 . . . . . . . . . . 11  |-  ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } )  =  ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } )
1210, 11fvmptg 5616 . . . . . . . . . 10  |-  ( ( U  e.  Univ  /\  { <. <. u ,  v
>. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  (
v  ^m  u )
) }  e.  _V )  ->  ( ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } ) `  U )  =  { <. <. u ,  v >. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) } )
136, 12mpdan 649 . . . . . . . . 9  |-  ( U  e.  Univ  ->  ( ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } ) `  U )  =  { <. <. u ,  v >. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) } )
1413eleq2d 2363 . . . . . . . 8  |-  ( U  e.  Univ  ->  ( a  e.  ( ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } ) `  U )  <-> 
a  e.  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u ) ) } ) )
1514biimpd 198 . . . . . . 7  |-  ( U  e.  Univ  ->  ( a  e.  ( ( x  e.  Univ  |->  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u ) ) } ) `  U )  ->  a  e.  { <. <. u ,  v
>. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  (
v  ^m  u )
) } ) )
1615adantr 451 . . . . . 6  |-  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  ( a  e.  ( ( x  e. 
Univ  |->  { <. <. u ,  v >. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u
) ) } ) `
 U )  -> 
a  e.  { <. <.
u ,  v >. ,  w >.  |  (
u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u ) ) } ) )
17 eleq1 2356 . . . . . . . . 9  |-  ( u  =  ( 1st `  ( 1st `  a ) )  ->  ( u  e.  U  <->  ( 1st `  ( 1st `  a ) )  e.  U ) )
18 oveq2 5882 . . . . . . . . . 10  |-  ( u  =  ( 1st `  ( 1st `  a ) )  ->  ( v  ^m  u )  =  ( v  ^m  ( 1st `  ( 1st `  a
) ) ) )
1918eleq2d 2363 . . . . . . . . 9  |-  ( u  =  ( 1st `  ( 1st `  a ) )  ->  ( w  e.  ( v  ^m  u
)  <->  w  e.  (
v  ^m  ( 1st `  ( 1st `  a
) ) ) ) )
2017, 193anbi13d 1254 . . . . . . . 8  |-  ( u  =  ( 1st `  ( 1st `  a ) )  ->  ( ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) )  <->  ( ( 1st `  ( 1st `  a
) )  e.  U  /\  v  e.  U  /\  w  e.  (
v  ^m  ( 1st `  ( 1st `  a
) ) ) ) ) )
21 eleq1 2356 . . . . . . . . 9  |-  ( v  =  ( 2nd `  ( 1st `  a ) )  ->  ( v  e.  U  <->  ( 2nd `  ( 1st `  a ) )  e.  U ) )
22 oveq1 5881 . . . . . . . . . 10  |-  ( v  =  ( 2nd `  ( 1st `  a ) )  ->  ( v  ^m  ( 1st `  ( 1st `  a ) ) )  =  ( ( 2nd `  ( 1st `  a
) )  ^m  ( 1st `  ( 1st `  a
) ) ) )
2322eleq2d 2363 . . . . . . . . 9  |-  ( v  =  ( 2nd `  ( 1st `  a ) )  ->  ( w  e.  ( v  ^m  ( 1st `  ( 1st `  a
) ) )  <->  w  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) ) )
2421, 233anbi23d 1255 . . . . . . . 8  |-  ( v  =  ( 2nd `  ( 1st `  a ) )  ->  ( ( ( 1st `  ( 1st `  a ) )  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  ( 1st `  ( 1st `  a
) ) ) )  <-> 
( ( 1st `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  ( 1st `  a
) )  e.  U  /\  w  e.  (
( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) ) ) )
25 eleq1 2356 . . . . . . . . 9  |-  ( w  =  ( 2nd `  a
)  ->  ( w  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) )  <->  ( 2nd `  a
)  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) ) )
26253anbi3d 1258 . . . . . . . 8  |-  ( w  =  ( 2nd `  a
)  ->  ( (
( 1st `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  ( 1st `  a
) )  e.  U  /\  w  e.  (
( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) )  <->  ( ( 1st `  ( 1st `  a
) )  e.  U  /\  ( 2nd `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  a )  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) ) ) )
2720, 24, 26eloprabi 6202 . . . . . . 7  |-  ( a  e.  { <. <. u ,  v >. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) }  ->  ( ( 1st `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  ( 1st `  a
) )  e.  U  /\  ( 2nd `  a
)  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) ) )
28 fo1st 6155 . . . . . . . . . . . . . 14  |-  1st : _V -onto-> _V
29 fof 5467 . . . . . . . . . . . . . 14  |-  ( 1st
: _V -onto-> _V  ->  1st
: _V --> _V )
3028, 29ax-mp 8 . . . . . . . . . . . . 13  |-  1st : _V
--> _V
31 vex 2804 . . . . . . . . . . . . 13  |-  a  e. 
_V
32 fvco3 5612 . . . . . . . . . . . . 13  |-  ( ( 1st : _V --> _V  /\  a  e.  _V )  ->  ( ( 1st  o.  1st ) `  a )  =  ( 1st `  ( 1st `  a ) ) )
3330, 31, 32mp2an 653 . . . . . . . . . . . 12  |-  ( ( 1st  o.  1st ) `  a )  =  ( 1st `  ( 1st `  a ) )
3433eqcomi 2300 . . . . . . . . . . 11  |-  ( 1st `  ( 1st `  a
) )  =  ( ( 1st  o.  1st ) `  a )
3534eleq1i 2359 . . . . . . . . . 10  |-  ( ( 1st `  ( 1st `  a ) )  e.  U  <->  ( ( 1st 
o.  1st ) `  a
)  e.  U )
3635biimpi 186 . . . . . . . . 9  |-  ( ( 1st `  ( 1st `  a ) )  e.  U  ->  ( ( 1st  o.  1st ) `  a )  e.  U
)
37363ad2ant1 976 . . . . . . . 8  |-  ( ( ( 1st `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  ( 1st `  a
) )  e.  U  /\  ( 2nd `  a
)  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) )  ->  ( ( 1st  o.  1st ) `  a )  e.  U
)
3837a1d 22 . . . . . . 7  |-  ( ( ( 1st `  ( 1st `  a ) )  e.  U  /\  ( 2nd `  ( 1st `  a
) )  e.  U  /\  ( 2nd `  a
)  e.  ( ( 2nd `  ( 1st `  a ) )  ^m  ( 1st `  ( 1st `  a ) ) ) )  ->  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  ( ( 1st  o.  1st ) `  a )  e.  U
) )
3927, 38syl 15 . . . . . 6  |-  ( a  e.  { <. <. u ,  v >. ,  w >.  |  ( u  e.  U  /\  v  e.  U  /\  w  e.  ( v  ^m  u
) ) }  ->  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U ) )  -> 
( ( 1st  o.  1st ) `  a )  e.  U ) )
4016, 39syl6 29 . . . . 5  |-  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  ( a  e.  ( ( x  e. 
Univ  |->  { <. <. u ,  v >. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u
) ) } ) `
 U )  -> 
( ( U  e. 
Univ  /\  a  e.  (
Morphism
SetCat `  U ) )  ->  ( ( 1st 
o.  1st ) `  a
)  e.  U ) ) )
4140pm2.43a 45 . . . 4  |-  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  ( a  e.  ( ( x  e. 
Univ  |->  { <. <. u ,  v >. ,  w >.  |  ( u  e.  x  /\  v  e.  x  /\  w  e.  ( v  ^m  u
) ) } ) `
 U )  -> 
( ( 1st  o.  1st ) `  a )  e.  U ) )
425, 41mpd 14 . . 3  |-  ( ( U  e.  Univ  /\  a  e.  ( Morphism SetCat `  U )
)  ->  ( ( 1st  o.  1st ) `  a )  e.  U
)
43 eqid 2296 . . 3  |-  ( a  e.  ( Morphism SetCat `  U
)  |->  ( ( 1st 
o.  1st ) `  a
) )  =  ( a  e.  ( Morphism SetCat `  U )  |->  ( ( 1st  o.  1st ) `  a ) )
4442, 43fmptd 5700 . 2  |-  ( U  e.  Univ  ->  ( a  e.  ( Morphism SetCat `  U
)  |->  ( ( 1st 
o.  1st ) `  a
) ) : (
Morphism
SetCat `  U ) --> U )
45 fveq2 5541 . . . . 5  |-  ( x  =  U  ->  ( Morphism SetCat `  x )  =  (
Morphism
SetCat `  U ) )
46 eqidd 2297 . . . . 5  |-  ( x  =  U  ->  (
( 1st  o.  1st ) `  a )  =  ( ( 1st 
o.  1st ) `  a
) )
4745, 46mpteq12dv 4114 . . . 4  |-  ( x  =  U  ->  (
a  e.  ( Morphism SetCat `  x )  |->  ( ( 1st  o.  1st ) `  a ) )  =  ( a  e.  (
Morphism
SetCat `  U )  |->  ( ( 1st  o.  1st ) `  a )
) )
48 df-domcatset 26023 . . . 4  |-  dom SetCat  =  ( x  e.  Univ  |->  ( a  e.  ( Morphism SetCat `  x
)  |->  ( ( 1st 
o.  1st ) `  a
) ) )
49 fvex 5555 . . . . 5  |-  ( Morphism SetCat `  U )  e.  _V
5049mptex 5762 . . . 4  |-  ( a  e.  ( Morphism SetCat `  U
)  |->  ( ( 1st 
o.  1st ) `  a
) )  e.  _V
5147, 48, 50fvmpt 5618 . . 3  |-  ( U  e.  Univ  ->  ( dom SetCat `
 U )  =  ( a  e.  (
Morphism
SetCat `  U )  |->  ( ( 1st  o.  1st ) `  a )
) )
5251feq1d 5395 . 2  |-  ( U  e.  Univ  ->  ( ( dom SetCat `  U ) : ( Morphism SetCat `  U
) --> U  <->  ( a  e.  ( Morphism SetCat `  U )  |->  ( ( 1st  o.  1st ) `  a ) ) : ( Morphism SetCat `  U ) --> U ) )
5344, 52mpbird 223 1  |-  ( U  e.  Univ  ->  ( dom SetCat `
 U ) : ( Morphism SetCat `  U ) --> U )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696   _Vcvv 2801    e. cmpt 4093    o. ccom 4709   -->wf 5267   -onto->wfo 5269   ` cfv 5271  (class class class)co 5874   {coprab 5875   1stc1st 6136   2ndc2nd 6137    ^m cmap 6788   Univcgru 8428   Morphism SetCatccmrcase 26013   dom
SetCatcdomcase 26022
This theorem is referenced by:  domdomcatfun  26029  domcatsetval  26031  setiscat  26082
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
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  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-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-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  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-1st 6138  df-2nd 6139  df-morcatset 26014  df-domcatset 26023
  Copyright terms: Public domain W3C validator