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

Theorem elxp5 5317
Description: Membership in a cross product requiring no quantifiers or dummy variables. Provides a slightly shorter version of elxp4 5316 when the double intersection does not create class existence problems (caused by int0 4024). (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 4854 . 2  |-  ( A  e.  ( B  X.  C )  <->  E. x E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) )
2 sneq 3785 . . . . . . . . . . . 12  |-  ( A  =  <. x ,  y
>.  ->  { A }  =  { <. x ,  y
>. } )
32rneqd 5056 . . . . . . . . . . 11  |-  ( A  =  <. x ,  y
>.  ->  ran  { A }  =  ran  { <. x ,  y >. } )
43unieqd 3986 . . . . . . . . . 10  |-  ( A  =  <. x ,  y
>.  ->  U. ran  { A }  =  U. ran  { <. x ,  y >. } )
5 vex 2919 . . . . . . . . . . 11  |-  x  e. 
_V
6 vex 2919 . . . . . . . . . . 11  |-  y  e. 
_V
75, 6op2nda 5313 . . . . . . . . . 10  |-  U. ran  {
<. x ,  y >. }  =  y
84, 7syl6req 2453 . . . . . . . . 9  |-  ( A  =  <. x ,  y
>.  ->  y  =  U. ran  { A } )
98pm4.71ri 615 . . . . . . . 8  |-  ( A  =  <. x ,  y
>. 
<->  ( y  =  U. ran  { A }  /\  A  =  <. x ,  y >. ) )
109anbi1i 677 . . . . . . 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 631 . . . . . . 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 241 . . . . . 6  |-  ( ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( y  = 
U. ran  { A }  /\  ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) ) )
1312exbii 1589 . . . . 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 4365 . . . . . . . 8  |-  { A }  e.  _V
1514rnex 5092 . . . . . . 7  |-  ran  { A }  e.  _V
1615uniex 4664 . . . . . 6  |-  U. ran  { A }  e.  _V
17 opeq2 3945 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  <. x ,  y >.  =  <. x ,  U. ran  { A } >. )
1817eqeq2d 2415 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( A  =  <. x ,  y
>. 
<->  A  =  <. x ,  U. ran  { A } >. ) )
19 eleq1 2464 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  ( y  e.  C  <->  U. ran  { A }  e.  C
) )
2019anbi2d 685 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( ( x  e.  B  /\  y  e.  C )  <->  ( x  e.  B  /\  U.
ran  { A }  e.  C ) ) )
2118, 20anbi12d 692 . . . . . 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 2951 . . . . 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 241 . . . 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 4013 . . . . . . . 8  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| A  =  |^| <. x ,  U. ran  { A } >. )
2524inteqd 4015 . . . . . . 7  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| |^| A  =  |^| |^|
<. x ,  U. ran  { A } >. )
265, 16op1stb 4717 . . . . . . 7  |-  |^| |^| <. x ,  U. ran  { A } >.  =  x
2725, 26syl6req 2453 . . . . . 6  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  x  =  |^| |^| A
)
2827pm4.71ri 615 . . . . 5  |-  ( A  =  <. x ,  U. ran  { A } >.  <->  (
x  =  |^| |^| A  /\  A  =  <. x ,  U. ran  { A } >. ) )
2928anbi1i 677 . . . 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 631 . . . 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 263 . . 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 1589 . 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 2464 . . . . . 6  |-  ( x  =  |^| |^| A  ->  ( x  e.  _V  <->  |^|
|^| A  e.  _V ) )
345, 33mpbii 203 . . . . 5  |-  ( x  =  |^| |^| A  ->  |^| |^| A  e.  _V )
3534adantr 452 . . . 4  |-  ( ( x  =  |^| |^| A  /\  ( A  =  <. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) )  ->  |^| |^| A  e.  _V )
3635exlimiv 1641 . . 3  |-  ( E. x ( x  = 
|^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) )  ->  |^| |^| A  e.  _V )
37 elex 2924 . . . 4  |-  ( |^| |^| A  e.  B  ->  |^| |^| A  e.  _V )
3837ad2antrl 709 . . 3  |-  ( ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U.
ran  { A }  e.  C ) )  ->  |^| |^| A  e.  _V )
39 opeq1 3944 . . . . . 6  |-  ( x  =  |^| |^| A  -> 
<. x ,  U. ran  { A } >.  =  <. |^|
|^| A ,  U. ran  { A } >. )
4039eqeq2d 2415 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( A  =  <. x ,  U. ran  { A } >.  <->  A  =  <. |^|
|^| A ,  U. ran  { A } >. ) )
41 eleq1 2464 . . . . . 6  |-  ( x  =  |^| |^| A  ->  ( x  e.  B  <->  |^|
|^| A  e.  B
) )
4241anbi1d 686 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( ( x  e.  B  /\  U. ran  { A }  e.  C
)  <->  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
4340, 42anbi12d 692 . . . 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 3028 . . 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 343 . 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 263 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 177    /\ wa 359   E.wex 1547    = wceq 1649    e. wcel 1721   _Vcvv 2916   {csn 3774   <.cop 3777   U.cuni 3975   |^|cint 4010    X. cxp 4835   ran crn 4838
This theorem is referenced by:  xpnnenOLD  12764
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pr 4363  ax-un 4660
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-int 4011  df-br 4173  df-opab 4227  df-xp 4843  df-rel 4844  df-cnv 4845  df-dm 4847  df-rn 4848
  Copyright terms: Public domain W3C validator