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

Theorem brssc 13707
Description: The subcategory subset relation is a relation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Assertion
Ref Expression
brssc  |-  ( H 
C_cat  J  <->  E. t ( J  Fn  ( t  X.  t )  /\  E. s  e.  ~P  t H  e.  X_ x  e.  ( s  X.  s
) ~P ( J `
 x ) ) )
Distinct variable groups:    t, s, x, H    J, s, t, x

Proof of Theorem brssc
Dummy variables  h  j are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sscrel 13706 . . 3  |-  Rel  C_cat
2 brrelex12 4742 . . 3  |-  ( ( Rel  C_cat  /\  H  C_cat  J )  ->  ( H  e. 
_V  /\  J  e.  _V ) )
31, 2mpan 651 . 2  |-  ( H 
C_cat  J  ->  ( H  e.  _V  /\  J  e. 
_V ) )
4 vex 2804 . . . . . 6  |-  t  e. 
_V
54, 4xpex 4817 . . . . 5  |-  ( t  X.  t )  e. 
_V
6 fnex 5757 . . . . 5  |-  ( ( J  Fn  ( t  X.  t )  /\  ( t  X.  t
)  e.  _V )  ->  J  e.  _V )
75, 6mpan2 652 . . . 4  |-  ( J  Fn  ( t  X.  t )  ->  J  e.  _V )
8 elex 2809 . . . . 5  |-  ( H  e.  X_ x  e.  ( s  X.  s ) ~P ( J `  x )  ->  H  e.  _V )
98rexlimivw 2676 . . . 4  |-  ( E. s  e.  ~P  t H  e.  X_ x  e.  ( s  X.  s
) ~P ( J `
 x )  ->  H  e.  _V )
107, 9anim12ci 550 . . 3  |-  ( ( J  Fn  ( t  X.  t )  /\  E. s  e.  ~P  t H  e.  X_ x  e.  ( s  X.  s
) ~P ( J `
 x ) )  ->  ( H  e. 
_V  /\  J  e.  _V ) )
1110exlimiv 1624 . 2  |-  ( E. t ( J  Fn  ( t  X.  t
)  /\  E. s  e.  ~P  t H  e.  X_ x  e.  (
s  X.  s ) ~P ( J `  x ) )  -> 
( H  e.  _V  /\  J  e.  _V )
)
12 simpr 447 . . . . . 6  |-  ( ( h  =  H  /\  j  =  J )  ->  j  =  J )
1312fneq1d 5351 . . . . 5  |-  ( ( h  =  H  /\  j  =  J )  ->  ( j  Fn  (
t  X.  t )  <-> 
J  Fn  ( t  X.  t ) ) )
14 simpl 443 . . . . . . 7  |-  ( ( h  =  H  /\  j  =  J )  ->  h  =  H )
1512fveq1d 5543 . . . . . . . . 9  |-  ( ( h  =  H  /\  j  =  J )  ->  ( j `  x
)  =  ( J `
 x ) )
1615pweqd 3643 . . . . . . . 8  |-  ( ( h  =  H  /\  j  =  J )  ->  ~P ( j `  x )  =  ~P ( J `  x ) )
1716ixpeq2dv 6848 . . . . . . 7  |-  ( ( h  =  H  /\  j  =  J )  -> 
X_ x  e.  ( s  X.  s ) ~P ( j `  x )  =  X_ x  e.  ( s  X.  s ) ~P ( J `  x )
)
1814, 17eleq12d 2364 . . . . . 6  |-  ( ( h  =  H  /\  j  =  J )  ->  ( h  e.  X_ x  e.  ( s  X.  s ) ~P (
j `  x )  <->  H  e.  X_ x  e.  ( s  X.  s ) ~P ( J `  x ) ) )
1918rexbidv 2577 . . . . 5  |-  ( ( h  =  H  /\  j  =  J )  ->  ( E. s  e. 
~P  t h  e.  X_ x  e.  (
s  X.  s ) ~P ( j `  x )  <->  E. s  e.  ~P  t H  e.  X_ x  e.  (
s  X.  s ) ~P ( J `  x ) ) )
2013, 19anbi12d 691 . . . 4  |-  ( ( h  =  H  /\  j  =  J )  ->  ( ( j  Fn  ( t  X.  t
)  /\  E. s  e.  ~P  t h  e.  X_ x  e.  (
s  X.  s ) ~P ( j `  x ) )  <->  ( J  Fn  ( t  X.  t
)  /\  E. s  e.  ~P  t H  e.  X_ x  e.  (
s  X.  s ) ~P ( J `  x ) ) ) )
2120exbidv 1616 . . 3  |-  ( ( h  =  H  /\  j  =  J )  ->  ( E. t ( j  Fn  ( t  X.  t )  /\  E. s  e.  ~P  t
h  e.  X_ x  e.  ( s  X.  s
) ~P ( j `
 x ) )  <->  E. t ( J  Fn  ( t  X.  t
)  /\  E. s  e.  ~P  t H  e.  X_ x  e.  (
s  X.  s ) ~P ( J `  x ) ) ) )
22 df-ssc 13703 . . 3  |-  C_cat  =  { <. h ,  j >.  |  E. t ( j  Fn  ( t  X.  t )  /\  E. s  e.  ~P  t
h  e.  X_ x  e.  ( s  X.  s
) ~P ( j `
 x ) ) }
2321, 22brabga 4295 . 2  |-  ( ( H  e.  _V  /\  J  e.  _V )  ->  ( H  C_cat  J  <->  E. t
( J  Fn  (
t  X.  t )  /\  E. s  e. 
~P  t H  e.  X_ x  e.  (
s  X.  s ) ~P ( J `  x ) ) ) )
243, 11, 23pm5.21nii 342 1  |-  ( H 
C_cat  J  <->  E. t ( J  Fn  ( t  X.  t )  /\  E. s  e.  ~P  t H  e.  X_ x  e.  ( s  X.  s
) ~P ( J `
 x ) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696   E.wrex 2557   _Vcvv 2801   ~Pcpw 3638   class class class wbr 4039    X. cxp 4703   Rel wrel 4710    Fn wfn 5266   ` cfv 5271   X_cixp 6833    C_cat cssc 13700
This theorem is referenced by:  sscpwex  13708  sscfn1  13710  sscfn2  13711  isssc  13713
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-ixp 6834  df-ssc 13703
  Copyright terms: Public domain W3C validator