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

Theorem brssc 13691
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 13690 . . 3  |-  Rel  C_cat
2 brrelex12 4726 . . 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 2791 . . . . . 6  |-  t  e. 
_V
54, 4xpex 4801 . . . . 5  |-  ( t  X.  t )  e. 
_V
6 fnex 5741 . . . . 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 2796 . . . . 5  |-  ( H  e.  X_ x  e.  ( s  X.  s ) ~P ( J `  x )  ->  H  e.  _V )
98rexlimivw 2663 . . . 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 1666 . 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 5335 . . . . 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 5527 . . . . . . . . 9  |-  ( ( h  =  H  /\  j  =  J )  ->  ( j `  x
)  =  ( J `
 x ) )
1615pweqd 3630 . . . . . . . 8  |-  ( ( h  =  H  /\  j  =  J )  ->  ~P ( j `  x )  =  ~P ( J `  x ) )
1716ixpeq2dv 6832 . . . . . . 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 2351 . . . . . 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 2564 . . . . 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 1612 . . 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 13687 . . 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 4279 . 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 1528    = wceq 1623    e. wcel 1684   E.wrex 2544   _Vcvv 2788   ~Pcpw 3625   class class class wbr 4023    X. cxp 4687   Rel wrel 4694    Fn wfn 5250   ` cfv 5255   X_cixp 6817    C_cat cssc 13684
This theorem is referenced by:  sscpwex  13692  sscfn1  13694  sscfn2  13695  isssc  13697
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-ixp 6818  df-ssc 13687
  Copyright terms: Public domain W3C validator