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

Theorem ismre 13508
Description: Property of being a Moore collection on some base set. (Contributed by Stefan O'Rear, 30-Jan-2015.)
Assertion
Ref Expression
ismre  |-  ( C  e.  (Moore `  X
)  <->  ( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C ) ) )
Distinct variable groups:    C, s    X, s

Proof of Theorem ismre
Dummy variables  c  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elfvex 5571 . 2  |-  ( C  e.  (Moore `  X
)  ->  X  e.  _V )
2 elex 2809 . . 3  |-  ( X  e.  C  ->  X  e.  _V )
323ad2ant2 977 . 2  |-  ( ( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C
) )  ->  X  e.  _V )
4 pweq 3641 . . . . . . 7  |-  ( x  =  X  ->  ~P x  =  ~P X
)
54pweqd 3643 . . . . . 6  |-  ( x  =  X  ->  ~P ~P x  =  ~P ~P X )
6 eleq1 2356 . . . . . . 7  |-  ( x  =  X  ->  (
x  e.  c  <->  X  e.  c ) )
76anbi1d 685 . . . . . 6  |-  ( x  =  X  ->  (
( x  e.  c  /\  A. s  e. 
~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) )  <->  ( X  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) ) )
85, 7rabeqbidv 2796 . . . . 5  |-  ( x  =  X  ->  { c  e.  ~P ~P x  |  ( x  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) }  =  { c  e. 
~P ~P X  | 
( X  e.  c  /\  A. s  e. 
~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) } )
9 df-mre 13504 . . . . 5  |- Moore  =  ( x  e.  _V  |->  { c  e.  ~P ~P x  |  ( x  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) } )
10 vex 2804 . . . . . . . 8  |-  x  e. 
_V
1110pwex 4209 . . . . . . 7  |-  ~P x  e.  _V
1211pwex 4209 . . . . . 6  |-  ~P ~P x  e.  _V
1312rabex 4181 . . . . 5  |-  { c  e.  ~P ~P x  |  ( x  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) }  e.  _V
148, 9, 13fvmpt3i 5621 . . . 4  |-  ( X  e.  _V  ->  (Moore `  X )  =  {
c  e.  ~P ~P X  |  ( X  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) } )
1514eleq2d 2363 . . 3  |-  ( X  e.  _V  ->  ( C  e.  (Moore `  X
)  <->  C  e.  { c  e.  ~P ~P X  |  ( X  e.  c  /\  A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) } ) )
16 eleq2 2357 . . . . . 6  |-  ( c  =  C  ->  ( X  e.  c  <->  X  e.  C ) )
17 pweq 3641 . . . . . . 7  |-  ( c  =  C  ->  ~P c  =  ~P C
)
18 eleq2 2357 . . . . . . . 8  |-  ( c  =  C  ->  ( |^| s  e.  c  <->  |^| s  e.  C ) )
1918imbi2d 307 . . . . . . 7  |-  ( c  =  C  ->  (
( s  =/=  (/)  ->  |^| s  e.  c )  <->  ( s  =/=  (/)  ->  |^| s  e.  C ) ) )
2017, 19raleqbidv 2761 . . . . . 6  |-  ( c  =  C  ->  ( A. s  e.  ~P  c ( s  =/=  (/)  ->  |^| s  e.  c )  <->  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C
) ) )
2116, 20anbi12d 691 . . . . 5  |-  ( c  =  C  ->  (
( X  e.  c  /\  A. s  e. 
~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) )  <->  ( X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C ) ) ) )
2221elrab 2936 . . . 4  |-  ( C  e.  { c  e. 
~P ~P X  | 
( X  e.  c  /\  A. s  e. 
~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) }  <-> 
( C  e.  ~P ~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C
( s  =/=  (/)  ->  |^| s  e.  C ) ) ) )
2322a1i 10 . . 3  |-  ( X  e.  _V  ->  ( C  e.  { c  e.  ~P ~P X  | 
( X  e.  c  /\  A. s  e. 
~P  c ( s  =/=  (/)  ->  |^| s  e.  c ) ) }  <-> 
( C  e.  ~P ~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C
( s  =/=  (/)  ->  |^| s  e.  C ) ) ) ) )
24 pwexg 4210 . . . . . 6  |-  ( X  e.  _V  ->  ~P X  e.  _V )
25 elpw2g 4190 . . . . . 6  |-  ( ~P X  e.  _V  ->  ( C  e.  ~P ~P X 
<->  C  C_  ~P X
) )
2624, 25syl 15 . . . . 5  |-  ( X  e.  _V  ->  ( C  e.  ~P ~P X 
<->  C  C_  ~P X
) )
2726anbi1d 685 . . . 4  |-  ( X  e.  _V  ->  (
( C  e.  ~P ~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C
( s  =/=  (/)  ->  |^| s  e.  C ) ) )  <-> 
( C  C_  ~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C ) ) ) ) )
28 3anass 938 . . . 4  |-  ( ( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C
) )  <->  ( C  C_ 
~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C
( s  =/=  (/)  ->  |^| s  e.  C ) ) ) )
2927, 28syl6bbr 254 . . 3  |-  ( X  e.  _V  ->  (
( C  e.  ~P ~P X  /\  ( X  e.  C  /\  A. s  e.  ~P  C
( s  =/=  (/)  ->  |^| s  e.  C ) ) )  <-> 
( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C
) ) ) )
3015, 23, 293bitrd 270 . 2  |-  ( X  e.  _V  ->  ( C  e.  (Moore `  X
)  <->  ( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C ) ) ) )
311, 3, 30pm5.21nii 342 1  |-  ( C  e.  (Moore `  X
)  <->  ( C  C_  ~P X  /\  X  e.  C  /\  A. s  e.  ~P  C ( s  =/=  (/)  ->  |^| s  e.  C ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696    =/= wne 2459   A.wral 2556   {crab 2560   _Vcvv 2801    C_ wss 3165   (/)c0 3468   ~Pcpw 3638   |^|cint 3878   ` cfv 5271  Moorecmre 13500
This theorem is referenced by:  mresspw  13510  mre1cl  13512  mreintcl  13513  ismred  13520
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-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230
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-rab 2565  df-v 2803  df-sbc 3005  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-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-iota 5235  df-fun 5273  df-fv 5279  df-mre 13504
  Copyright terms: Public domain W3C validator