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

Theorem cmp2morpdom 25964
Description: Domain of the composite of two morphisms. (Contributed by FL, 7-Nov-2013.) (Revised by Mario Carneiro, 27-Dec-2014.)
Hypotheses
Ref Expression
cmp2morpcatt.1  |-  O  =  ( ro SetCat `  U
)
cmp2morpcatt.2  |- .Morphism  =  ( Morphism SetCat `  U )
cmp2morpcatt.3  |- .dom  =  ( dom SetCat `  U
)
cmp2morpcatt.4  |- .cod  =  ( cod SetCat `  U
)
Assertion
Ref Expression
cmp2morpdom  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  (.dom  `  ( A O B ) )  =  (.dom  `  B ) )

Proof of Theorem cmp2morpdom
StepHypRef Expression
1 cmp2morpcatt.3 . . . 4  |- .dom  =  ( dom SetCat `  U
)
21a1i 10 . . 3  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  -> .dom  =  ( dom SetCat `  U )
)
32fveq1d 5527 . 2  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  (.dom  `  ( A O B ) )  =  ( ( dom SetCat `  U
) `  ( A O B ) ) )
4 simp1 955 . . 3  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  U  e.  Univ )
5 cmp2morpcatt.2 . . . . . . 7  |- .Morphism  =  ( Morphism SetCat `  U )
65eleq2i 2347 . . . . . 6  |-  ( A  e. .Morphism  <->  A  e.  ( Morphism SetCat `  U )
)
76biimpi 186 . . . . 5  |-  ( A  e. .Morphism  ->  A  e.  ( Morphism SetCat `  U )
)
85eleq2i 2347 . . . . . 6  |-  ( B  e. .Morphism  <->  B  e.  ( Morphism SetCat `  U )
)
98biimpi 186 . . . . 5  |-  ( B  e. .Morphism  ->  B  e.  ( Morphism SetCat `  U )
)
107, 9anim12i 549 . . . 4  |-  ( ( A  e. .Morphism  /\  B  e. .Morphism  )  ->  ( A  e.  (
Morphism
SetCat `  U )  /\  B  e.  ( Morphism SetCat `  U ) ) )
11 cmp2morpcatt.1 . . . . 5  |-  O  =  ( ro SetCat `  U
)
12 eqid 2283 . . . . 5  |-  ( Morphism SetCat `  U )  =  (
Morphism
SetCat `  U )
13 cmp2morpcatt.4 . . . . 5  |- .cod  =  ( cod SetCat `  U
)
1411, 12, 1, 13rocatval2 25960 . . . 4  |-  ( ( U  e.  Univ  /\  ( A  e.  ( Morphism SetCat `  U )  /\  B  e.  ( Morphism SetCat `  U )
)  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( A O B )  e.  (
Morphism
SetCat `  U ) )
1510, 14syl3an2 1216 . . 3  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( A O B )  e.  (
Morphism
SetCat `  U ) )
16 domcatval 25930 . . 3  |-  ( ( U  e.  Univ  /\  ( A O B )  e.  ( Morphism SetCat `  U )
)  ->  ( ( dom
SetCat `  U ) `  ( A O B ) )  =  ( ( 1st  o.  1st ) `  ( A O B ) ) )
174, 15, 16syl2anc 642 . 2  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( ( dom
SetCat `  U ) `  ( A O B ) )  =  ( ( 1st  o.  1st ) `  ( A O B ) ) )
1811, 5, 1, 13cmp2morpcats 25961 . . . 4  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( A O B )  =  <. <.
(.dom  `  B
) ,  (.cod  `  A ) >. ,  ( ( 2nd `  A
)  o.  ( 2nd `  B ) ) >.
)
1918fveq2d 5529 . . 3  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( ( 1st  o.  1st ) `  ( A O B ) )  =  ( ( 1st  o.  1st ) `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )
)
20 fo1st 6139 . . . . . 6  |-  1st : _V -onto-> _V
21 fof 5451 . . . . . 6  |-  ( 1st
: _V -onto-> _V  ->  1st
: _V --> _V )
2220, 21ax-mp 8 . . . . 5  |-  1st : _V
--> _V
23 opex 4237 . . . . 5  |-  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >.  e.  _V
24 fvco3 5596 . . . . 5  |-  ( ( 1st : _V --> _V  /\  <. <. (.dom  `  B
) ,  (.cod  `  A ) >. ,  ( ( 2nd `  A
)  o.  ( 2nd `  B ) ) >.  e.  _V )  ->  (
( 1st  o.  1st ) `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )  =  ( 1st `  ( 1st `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )
) )
2522, 23, 24mp2an 653 . . . 4  |-  ( ( 1st  o.  1st ) `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )  =  ( 1st `  ( 1st `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )
)
26 opex 4237 . . . . . 6  |-  <. (.dom  `  B ) ,  (.cod  `  A )
>.  e.  _V
27 fvex 5539 . . . . . . 7  |-  ( 2nd `  A )  e.  _V
28 fvex 5539 . . . . . . 7  |-  ( 2nd `  B )  e.  _V
2927, 28coex 5216 . . . . . 6  |-  ( ( 2nd `  A )  o.  ( 2nd `  B
) )  e.  _V
3026, 29op1st 6128 . . . . 5  |-  ( 1st `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )  =  <. (.dom  `  B ) ,  (.cod  `  A )
>.
3130fveq2i 5528 . . . 4  |-  ( 1st `  ( 1st `  <. <.
(.dom  `  B
) ,  (.cod  `  A ) >. ,  ( ( 2nd `  A
)  o.  ( 2nd `  B ) ) >.
) )  =  ( 1st `  <. (.dom  `  B ) ,  (.cod  `  A )
>. )
32 fvex 5539 . . . . 5  |-  (.dom  `  B )  e.  _V
33 fvex 5539 . . . . 5  |-  (.cod  `  A )  e.  _V
3432, 33op1st 6128 . . . 4  |-  ( 1st `  <. (.dom  `  B ) ,  (.cod  `  A )
>. )  =  (.dom  `  B )
3525, 31, 343eqtri 2307 . . 3  |-  ( ( 1st  o.  1st ) `  <. <. (.dom  `  B ) ,  (.cod  `  A )
>. ,  ( ( 2nd `  A )  o.  ( 2nd `  B
) ) >. )  =  (.dom  `  B
)
3619, 35syl6eq 2331 . 2  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  ( ( 1st  o.  1st ) `  ( A O B ) )  =  (.dom  `  B ) )
373, 17, 363eqtrd 2319 1  |-  ( ( U  e.  Univ  /\  ( A  e. .Morphism  /\  B  e. .Morphism  )  /\  (.dom  `  A )  =  (.cod  `  B ) )  ->  (.dom  `  ( A O B ) )  =  (.dom  `  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   _Vcvv 2788   <.cop 3643    o. ccom 4693   -->wf 5251   -onto->wfo 5253   ` cfv 5255  (class class class)co 5858   1stc1st 6120   2ndc2nd 6121   Univcgru 8412   Morphism SetCatccmrcase 25910   dom
SetCatcdomcase 25919   cod
SetCatccodcase 25932   ro SetCatcrocase 25955
This theorem is referenced by:  cmpmorass  25966  setiscat  25979
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-map 6774  df-morcatset 25911  df-domcatset 25920  df-codcatset 25933  df-rocatset 25956
  Copyright terms: Public domain W3C validator