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

Theorem elxp5 5161
Description: Membership in a cross product requiring no quantifiers or dummy variables. Provides a slightly shorter version of elxp4 5160 when the double intersection does not create class existence problems (caused by int0 3876). (Contributed by NM, 1-Aug-2004.)
Assertion
Ref Expression
elxp5  |-  ( A  e.  ( B  X.  C )  <->  ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )

Proof of Theorem elxp5
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elxp 4706 . 2  |-  ( A  e.  ( B  X.  C )  <->  E. x E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) )
2 sneq 3651 . . . . . . . . . . . 12  |-  ( A  =  <. x ,  y
>.  ->  { A }  =  { <. x ,  y
>. } )
32rneqd 4906 . . . . . . . . . . 11  |-  ( A  =  <. x ,  y
>.  ->  ran  { A }  =  ran  { <. x ,  y >. } )
43unieqd 3838 . . . . . . . . . 10  |-  ( A  =  <. x ,  y
>.  ->  U. ran  { A }  =  U. ran  { <. x ,  y >. } )
5 vex 2791 . . . . . . . . . . 11  |-  x  e. 
_V
6 vex 2791 . . . . . . . . . . 11  |-  y  e. 
_V
75, 6op2nda 5157 . . . . . . . . . 10  |-  U. ran  {
<. x ,  y >. }  =  y
84, 7syl6req 2332 . . . . . . . . 9  |-  ( A  =  <. x ,  y
>.  ->  y  =  U. ran  { A } )
98pm4.71ri 614 . . . . . . . 8  |-  ( A  =  <. x ,  y
>. 
<->  ( y  =  U. ran  { A }  /\  A  =  <. x ,  y >. ) )
109anbi1i 676 . . . . . . 7  |-  ( ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( ( y  =  U. ran  { A }  /\  A  = 
<. x ,  y >.
)  /\  ( x  e.  B  /\  y  e.  C ) ) )
11 anass 630 . . . . . . 7  |-  ( ( ( y  =  U. ran  { A }  /\  A  =  <. x ,  y >. )  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( y  = 
U. ran  { A }  /\  ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) ) )
1210, 11bitri 240 . . . . . 6  |-  ( ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( y  = 
U. ran  { A }  /\  ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) ) )
1312exbii 1569 . . . . 5  |-  ( E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) )  <->  E. y
( y  =  U. ran  { A }  /\  ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
) ) )
14 snex 4216 . . . . . . . 8  |-  { A }  e.  _V
1514rnex 4942 . . . . . . 7  |-  ran  { A }  e.  _V
1615uniex 4516 . . . . . 6  |-  U. ran  { A }  e.  _V
17 opeq2 3797 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  <. x ,  y >.  =  <. x ,  U. ran  { A } >. )
1817eqeq2d 2294 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( A  =  <. x ,  y
>. 
<->  A  =  <. x ,  U. ran  { A } >. ) )
19 eleq1 2343 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  ( y  e.  C  <->  U. ran  { A }  e.  C
) )
2019anbi2d 684 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( ( x  e.  B  /\  y  e.  C )  <->  ( x  e.  B  /\  U.
ran  { A }  e.  C ) ) )
2118, 20anbi12d 691 . . . . . 6  |-  ( y  =  U. ran  { A }  ->  ( ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( A  = 
<. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) ) )
2216, 21ceqsexv 2823 . . . . 5  |-  ( E. y ( y  = 
U. ran  { A }  /\  ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) )  <->  ( A  =  <. x ,  U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C )
) )
2313, 22bitri 240 . . . 4  |-  ( E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) )  <->  ( A  =  <. x ,  U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C )
) )
24 inteq 3865 . . . . . . . 8  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| A  =  |^| <. x ,  U. ran  { A } >. )
2524inteqd 3867 . . . . . . 7  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| |^| A  =  |^| |^|
<. x ,  U. ran  { A } >. )
265, 16op1stb 4569 . . . . . . 7  |-  |^| |^| <. x ,  U. ran  { A } >.  =  x
2725, 26syl6req 2332 . . . . . 6  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  x  =  |^| |^| A
)
2827pm4.71ri 614 . . . . 5  |-  ( A  =  <. x ,  U. ran  { A } >.  <->  (
x  =  |^| |^| A  /\  A  =  <. x ,  U. ran  { A } >. ) )
2928anbi1i 676 . . . 4  |-  ( ( A  =  <. x ,  U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) )  <->  ( (
x  =  |^| |^| A  /\  A  =  <. x ,  U. ran  { A } >. )  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) )
30 anass 630 . . . 4  |-  ( ( ( x  =  |^| |^| A  /\  A  = 
<. x ,  U. ran  { A } >. )  /\  ( x  e.  B  /\  U. ran  { A }  e.  C )
)  <->  ( x  = 
|^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) ) )
3123, 29, 303bitri 262 . . 3  |-  ( E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) )  <->  ( x  =  |^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) ) )
3231exbii 1569 . 2  |-  ( E. x E. y ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  E. x ( x  =  |^| |^| A  /\  ( A  =  <. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) ) )
33 eleq1 2343 . . . . . 6  |-  ( x  =  |^| |^| A  ->  ( x  e.  _V  <->  |^|
|^| A  e.  _V ) )
345, 33mpbii 202 . . . . 5  |-  ( x  =  |^| |^| A  ->  |^| |^| A  e.  _V )
3534adantr 451 . . . 4  |-  ( ( x  =  |^| |^| A  /\  ( A  =  <. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) )  ->  |^| |^| A  e.  _V )
3635exlimiv 1666 . . 3  |-  ( E. x ( x  = 
|^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) )  ->  |^| |^| A  e.  _V )
37 elex 2796 . . . 4  |-  ( |^| |^| A  e.  B  ->  |^| |^| A  e.  _V )
3837ad2antrl 708 . . 3  |-  ( ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U.
ran  { A }  e.  C ) )  ->  |^| |^| A  e.  _V )
39 opeq1 3796 . . . . . 6  |-  ( x  =  |^| |^| A  -> 
<. x ,  U. ran  { A } >.  =  <. |^|
|^| A ,  U. ran  { A } >. )
4039eqeq2d 2294 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( A  =  <. x ,  U. ran  { A } >.  <->  A  =  <. |^|
|^| A ,  U. ran  { A } >. ) )
41 eleq1 2343 . . . . . 6  |-  ( x  =  |^| |^| A  ->  ( x  e.  B  <->  |^|
|^| A  e.  B
) )
4241anbi1d 685 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( ( x  e.  B  /\  U. ran  { A }  e.  C
)  <->  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
4340, 42anbi12d 691 . . . 4  |-  ( x  =  |^| |^| A  ->  ( ( A  = 
<. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) )  <->  ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) ) )
4443ceqsexgv 2900 . . 3  |-  ( |^| |^| A  e.  _V  ->  ( E. x ( x  =  |^| |^| A  /\  ( A  =  <. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) )  <-> 
( A  =  <. |^|
|^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) ) )
4536, 38, 44pm5.21nii 342 . 2  |-  ( E. x ( x  = 
|^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) )  <->  ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
461, 32, 453bitri 262 1  |-  ( A  e.  ( B  X.  C )  <->  ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   _Vcvv 2788   {csn 3640   <.cop 3643   U.cuni 3827   |^|cint 3862    X. cxp 4687   ran crn 4690
This theorem is referenced by:  xpnnenOLD  12488
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-sep 4141  ax-nul 4149  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-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-int 3863  df-br 4024  df-opab 4078  df-xp 4695  df-rel 4696  df-cnv 4697  df-dm 4699  df-rn 4700
  Copyright terms: Public domain W3C validator