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

Theorem isfull 15154
Description: Value of the set of full functors between two categories. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypotheses
Ref Expression
isfull.b  |-  B  =  ( Base `  C
)
isfull.j  |-  J  =  ( Hom  `  D
)
Assertion
Ref Expression
isfull  |-  ( F ( C Full  D ) G  <->  ( F ( C  Func  D ) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) )
Distinct variable groups:    x, y, B    x, C, y    x, D, y    x, J, y   
x, F, y    x, G, y

Proof of Theorem isfull
Dummy variables  c 
d  f  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fullfunc 15150 . . 3  |-  ( C Full 
D )  C_  ( C  Func  D )
21ssbri 4495 . 2  |-  ( F ( C Full  D ) G  ->  F ( C  Func  D ) G )
3 df-br 4454 . . . . . . 7  |-  ( F ( C  Func  D
) G  <->  <. F ,  G >.  e.  ( C 
Func  D ) )
4 funcrcl 15107 . . . . . . 7  |-  ( <. F ,  G >.  e.  ( C  Func  D
)  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
53, 4sylbi 195 . . . . . 6  |-  ( F ( C  Func  D
) G  ->  ( C  e.  Cat  /\  D  e.  Cat ) )
6 oveq12 6304 . . . . . . . . . 10  |-  ( ( c  =  C  /\  d  =  D )  ->  ( c  Func  d
)  =  ( C 
Func  D ) )
76breqd 4464 . . . . . . . . 9  |-  ( ( c  =  C  /\  d  =  D )  ->  ( f ( c 
Func  d ) g  <-> 
f ( C  Func  D ) g ) )
8 simpl 457 . . . . . . . . . . . 12  |-  ( ( c  =  C  /\  d  =  D )  ->  c  =  C )
98fveq2d 5876 . . . . . . . . . . 11  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Base `  c
)  =  ( Base `  C ) )
10 isfull.b . . . . . . . . . . 11  |-  B  =  ( Base `  C
)
119, 10syl6eqr 2526 . . . . . . . . . 10  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Base `  c
)  =  B )
12 simpr 461 . . . . . . . . . . . . . . 15  |-  ( ( c  =  C  /\  d  =  D )  ->  d  =  D )
1312fveq2d 5876 . . . . . . . . . . . . . 14  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Hom  `  d
)  =  ( Hom  `  D ) )
14 isfull.j . . . . . . . . . . . . . 14  |-  J  =  ( Hom  `  D
)
1513, 14syl6eqr 2526 . . . . . . . . . . . . 13  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Hom  `  d
)  =  J )
1615oveqd 6312 . . . . . . . . . . . 12  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) )  =  ( ( f `
 x ) J ( f `  y
) ) )
1716eqeq2d 2481 . . . . . . . . . . 11  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ran  ( x g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) )  <->  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) )
1811, 17raleqbidv 3077 . . . . . . . . . 10  |-  ( ( c  =  C  /\  d  =  D )  ->  ( A. y  e.  ( Base `  c
) ran  ( x
g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) )  <->  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) )
1911, 18raleqbidv 3077 . . . . . . . . 9  |-  ( ( c  =  C  /\  d  =  D )  ->  ( A. x  e.  ( Base `  c
) A. y  e.  ( Base `  c
) ran  ( x
g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) )  <->  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) )
207, 19anbi12d 710 . . . . . . . 8  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ( f ( c  Func  d )
g  /\  A. x  e.  ( Base `  c
) A. y  e.  ( Base `  c
) ran  ( x
g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) ) )  <->  ( f ( C  Func  D )
g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) ) )
2120opabbidv 4516 . . . . . . 7  |-  ( ( c  =  C  /\  d  =  D )  ->  { <. f ,  g
>.  |  ( f
( c  Func  d
) g  /\  A. x  e.  ( Base `  c ) A. y  e.  ( Base `  c
) ran  ( x
g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) ) ) }  =  { <. f ,  g >.  |  ( f ( C  Func  D )
g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } )
22 df-full 15148 . . . . . . 7  |- Full  =  ( c  e.  Cat , 
d  e.  Cat  |->  {
<. f ,  g >.  |  ( f ( c  Func  d )
g  /\  A. x  e.  ( Base `  c
) A. y  e.  ( Base `  c
) ran  ( x
g y )  =  ( ( f `  x ) ( Hom  `  d ) ( f `
 y ) ) ) } )
23 ovex 6320 . . . . . . . 8  |-  ( C 
Func  D )  e.  _V
24 simpl 457 . . . . . . . . . 10  |-  ( ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) )  ->  f ( C 
Func  D ) g )
2524ssopab2i 4781 . . . . . . . . 9  |-  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) }  C_  { <. f ,  g >.  |  f ( C  Func  D
) g }
26 opabss 4514 . . . . . . . . 9  |-  { <. f ,  g >.  |  f ( C  Func  D
) g }  C_  ( C  Func  D )
2725, 26sstri 3518 . . . . . . . 8  |-  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) }  C_  ( C  Func  D )
2823, 27ssexi 4598 . . . . . . 7  |-  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) }  e.  _V
2921, 22, 28ovmpt2a 6428 . . . . . 6  |-  ( ( C  e.  Cat  /\  D  e.  Cat )  ->  ( C Full  D )  =  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } )
305, 29syl 16 . . . . 5  |-  ( F ( C  Func  D
) G  ->  ( C Full  D )  =  { <. f ,  g >.  |  ( f ( C  Func  D )
g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } )
3130breqd 4464 . . . 4  |-  ( F ( C  Func  D
) G  ->  ( F ( C Full  D
) G  <->  F { <. f ,  g >.  |  ( f ( C  Func  D )
g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } G
) )
32 relfunc 15106 . . . . . 6  |-  Rel  ( C  Func  D )
33 brrelex12 5043 . . . . . 6  |-  ( ( Rel  ( C  Func  D )  /\  F ( C  Func  D ) G )  ->  ( F  e.  _V  /\  G  e.  _V ) )
3432, 33mpan 670 . . . . 5  |-  ( F ( C  Func  D
) G  ->  ( F  e.  _V  /\  G  e.  _V ) )
35 breq12 4458 . . . . . . 7  |-  ( ( f  =  F  /\  g  =  G )  ->  ( f ( C 
Func  D ) g  <->  F ( C  Func  D ) G ) )
36 simpr 461 . . . . . . . . . . 11  |-  ( ( f  =  F  /\  g  =  G )  ->  g  =  G )
3736oveqd 6312 . . . . . . . . . 10  |-  ( ( f  =  F  /\  g  =  G )  ->  ( x g y )  =  ( x G y ) )
3837rneqd 5236 . . . . . . . . 9  |-  ( ( f  =  F  /\  g  =  G )  ->  ran  ( x g y )  =  ran  ( x G y ) )
39 simpl 457 . . . . . . . . . . 11  |-  ( ( f  =  F  /\  g  =  G )  ->  f  =  F )
4039fveq1d 5874 . . . . . . . . . 10  |-  ( ( f  =  F  /\  g  =  G )  ->  ( f `  x
)  =  ( F `
 x ) )
4139fveq1d 5874 . . . . . . . . . 10  |-  ( ( f  =  F  /\  g  =  G )  ->  ( f `  y
)  =  ( F `
 y ) )
4240, 41oveq12d 6313 . . . . . . . . 9  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( f `  x ) J ( f `  y ) )  =  ( ( F `  x ) J ( F `  y ) ) )
4338, 42eqeq12d 2489 . . . . . . . 8  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) )  <->  ran  ( x G y )  =  ( ( F `  x
) J ( F `
 y ) ) ) )
44432ralbidv 2911 . . . . . . 7  |-  ( ( f  =  F  /\  g  =  G )  ->  ( A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) )  <->  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) )
4535, 44anbi12d 710 . . . . . 6  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( f ( C  Func  D )
g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) )  <->  ( F
( C  Func  D
) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) ) )
46 eqid 2467 . . . . . 6  |-  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) }  =  { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) }
4745, 46brabga 4767 . . . . 5  |-  ( ( F  e.  _V  /\  G  e.  _V )  ->  ( F { <. f ,  g >.  |  ( f ( C  Func  D ) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } G  <->  ( F
( C  Func  D
) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) ) )
4834, 47syl 16 . . . 4  |-  ( F ( C  Func  D
) G  ->  ( F { <. f ,  g
>.  |  ( f
( C  Func  D
) g  /\  A. x  e.  B  A. y  e.  B  ran  ( x g y )  =  ( ( f `  x ) J ( f `  y ) ) ) } G  <->  ( F
( C  Func  D
) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) ) )
4931, 48bitrd 253 . . 3  |-  ( F ( C  Func  D
) G  ->  ( F ( C Full  D
) G  <->  ( F
( C  Func  D
) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) ) )
5049bianabs 878 . 2  |-  ( F ( C  Func  D
) G  ->  ( F ( C Full  D
) G  <->  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) )
512, 50biadan2 642 1  |-  ( F ( C Full  D ) G  <->  ( F ( C  Func  D ) G  /\  A. x  e.  B  A. y  e.  B  ran  ( x G y )  =  ( ( F `  x ) J ( F `  y ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1379    e. wcel 1767   A.wral 2817   _Vcvv 3118   <.cop 4039   class class class wbr 4453   {copab 4510   ran crn 5006   Rel wrel 5010   ` cfv 5594  (class class class)co 6295   Basecbs 14507   Hom chom 14583   Catccat 14936    Func cfunc 15098   Full cful 15146
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-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4574  ax-nul 4582  ax-pow 4631  ax-pr 4692  ax-un 6587
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2822  df-rex 2823  df-rab 2826  df-v 3120  df-sbc 3337  df-csb 3441  df-dif 3484  df-un 3486  df-in 3488  df-ss 3495  df-nul 3791  df-if 3946  df-sn 4034  df-pr 4036  df-op 4040  df-uni 4252  df-iun 4333  df-br 4454  df-opab 4512  df-mpt 4513  df-id 4801  df-xp 5011  df-rel 5012  df-cnv 5013  df-co 5014  df-dm 5015  df-rn 5016  df-res 5017  df-ima 5018  df-iota 5557  df-fun 5596  df-fv 5602  df-ov 6298  df-oprab 6299  df-mpt2 6300  df-1st 6795  df-2nd 6796  df-func 15102  df-full 15148
This theorem is referenced by:  isfull2  15155  fullpropd  15164  fulloppc  15166  fullres2c  15183
  Copyright terms: Public domain W3C validator