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

Theorem rabxp 5154
Description: Membership in a class builder restricted to a Cartesian product. (Contributed by NM, 20-Feb-2014.)
Hypothesis
Ref Expression
rabxp.1  |-  ( x  =  <. y ,  z
>.  ->  ( ph  <->  ps )
)
Assertion
Ref Expression
rabxp  |-  { x  e.  ( A  X.  B
)  |  ph }  =  { <. y ,  z
>.  |  ( y  e.  A  /\  z  e.  B  /\  ps ) }
Distinct variable groups:    x, y,
z, A    x, B, y, z    ph, y, z    ps, x
Allowed substitution hints:    ph( x)    ps( y, z)

Proof of Theorem rabxp
StepHypRef Expression
1 elxp 5131 . . . . 5  |-  ( x  e.  ( A  X.  B )  <->  E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  A  /\  z  e.  B
) ) )
21anbi1i 731 . . . 4  |-  ( ( x  e.  ( A  X.  B )  /\  ph )  <->  ( E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  A  /\  z  e.  B
) )  /\  ph ) )
3 19.41vv 1915 . . . 4  |-  ( E. y E. z ( ( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B )
)  /\  ph )  <->  ( E. y E. z ( x  =  <. y ,  z
>.  /\  ( y  e.  A  /\  z  e.  B ) )  /\  ph ) )
4 anass 681 . . . . . 6  |-  ( ( ( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B )
)  /\  ph )  <->  ( x  =  <. y ,  z
>.  /\  ( ( y  e.  A  /\  z  e.  B )  /\  ph ) ) )
5 rabxp.1 . . . . . . . . 9  |-  ( x  =  <. y ,  z
>.  ->  ( ph  <->  ps )
)
65anbi2d 740 . . . . . . . 8  |-  ( x  =  <. y ,  z
>.  ->  ( ( ( y  e.  A  /\  z  e.  B )  /\  ph )  <->  ( (
y  e.  A  /\  z  e.  B )  /\  ps ) ) )
7 df-3an 1039 . . . . . . . 8  |-  ( ( y  e.  A  /\  z  e.  B  /\  ps )  <->  ( ( y  e.  A  /\  z  e.  B )  /\  ps ) )
86, 7syl6bbr 278 . . . . . . 7  |-  ( x  =  <. y ,  z
>.  ->  ( ( ( y  e.  A  /\  z  e.  B )  /\  ph )  <->  ( y  e.  A  /\  z  e.  B  /\  ps )
) )
98pm5.32i 669 . . . . . 6  |-  ( ( x  =  <. y ,  z >.  /\  (
( y  e.  A  /\  z  e.  B
)  /\  ph ) )  <-> 
( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B  /\  ps ) ) )
104, 9bitri 264 . . . . 5  |-  ( ( ( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B )
)  /\  ph )  <->  ( x  =  <. y ,  z
>.  /\  ( y  e.  A  /\  z  e.  B  /\  ps )
) )
11102exbii 1775 . . . 4  |-  ( E. y E. z ( ( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B )
)  /\  ph )  <->  E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  A  /\  z  e.  B  /\  ps ) ) )
122, 3, 113bitr2i 288 . . 3  |-  ( ( x  e.  ( A  X.  B )  /\  ph )  <->  E. y E. z
( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B  /\  ps ) ) )
1312abbii 2739 . 2  |-  { x  |  ( x  e.  ( A  X.  B
)  /\  ph ) }  =  { x  |  E. y E. z
( x  =  <. y ,  z >.  /\  (
y  e.  A  /\  z  e.  B  /\  ps ) ) }
14 df-rab 2921 . 2  |-  { x  e.  ( A  X.  B
)  |  ph }  =  { x  |  ( x  e.  ( A  X.  B )  /\  ph ) }
15 df-opab 4713 . 2  |-  { <. y ,  z >.  |  ( y  e.  A  /\  z  e.  B  /\  ps ) }  =  {
x  |  E. y E. z ( x  = 
<. y ,  z >.  /\  ( y  e.  A  /\  z  e.  B  /\  ps ) ) }
1613, 14, 153eqtr4i 2654 1  |-  { x  e.  ( A  X.  B
)  |  ph }  =  { <. y ,  z
>.  |  ( y  e.  A  /\  z  e.  B  /\  ps ) }
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    /\ wa 384    /\ w3a 1037    = wceq 1483   E.wex 1704    e. wcel 1990   {cab 2608   {crab 2916   <.cop 4183   {copab 4712    X. cxp 5112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-opab 4713  df-xp 5120
This theorem is referenced by:  cicer  16466  poimirlem26  33435  dib1dim  36454  diclspsn  36483  fgraphxp  37789
  Copyright terms: Public domain W3C validator