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

Theorem elxp5 6542
Description: Membership in a Cartesian product requiring no quantifiers or dummy variables. Provides a slightly shorter version of elxp4 6541 when the double intersection does not create class existence problems (caused by int0 4161). (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 4876 . 2  |-  ( A  e.  ( B  X.  C )  <->  E. x E. y ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) )
2 sneq 3906 . . . . . . . . . . . 12  |-  ( A  =  <. x ,  y
>.  ->  { A }  =  { <. x ,  y
>. } )
32rneqd 5086 . . . . . . . . . . 11  |-  ( A  =  <. x ,  y
>.  ->  ran  { A }  =  ran  { <. x ,  y >. } )
43unieqd 4120 . . . . . . . . . 10  |-  ( A  =  <. x ,  y
>.  ->  U. ran  { A }  =  U. ran  { <. x ,  y >. } )
5 vex 2994 . . . . . . . . . . 11  |-  x  e. 
_V
6 vex 2994 . . . . . . . . . . 11  |-  y  e. 
_V
75, 6op2nda 5343 . . . . . . . . . 10  |-  U. ran  {
<. x ,  y >. }  =  y
84, 7syl6req 2492 . . . . . . . . 9  |-  ( A  =  <. x ,  y
>.  ->  y  =  U. ran  { A } )
98pm4.71ri 633 . . . . . . . 8  |-  ( A  =  <. x ,  y
>. 
<->  ( y  =  U. ran  { A }  /\  A  =  <. x ,  y >. ) )
109anbi1i 695 . . . . . . 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 649 . . . . . . 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 249 . . . . . 6  |-  ( ( A  =  <. x ,  y >.  /\  (
x  e.  B  /\  y  e.  C )
)  <->  ( y  = 
U. ran  { A }  /\  ( A  = 
<. x ,  y >.  /\  ( x  e.  B  /\  y  e.  C
) ) ) )
1312exbii 1634 . . . . 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 4552 . . . . . . . 8  |-  { A }  e.  _V
1514rnex 6531 . . . . . . 7  |-  ran  { A }  e.  _V
1615uniex 6395 . . . . . 6  |-  U. ran  { A }  e.  _V
17 opeq2 4079 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  <. x ,  y >.  =  <. x ,  U. ran  { A } >. )
1817eqeq2d 2454 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( A  =  <. x ,  y
>. 
<->  A  =  <. x ,  U. ran  { A } >. ) )
19 eleq1 2503 . . . . . . . 8  |-  ( y  =  U. ran  { A }  ->  ( y  e.  C  <->  U. ran  { A }  e.  C
) )
2019anbi2d 703 . . . . . . 7  |-  ( y  =  U. ran  { A }  ->  ( ( x  e.  B  /\  y  e.  C )  <->  ( x  e.  B  /\  U.
ran  { A }  e.  C ) ) )
2118, 20anbi12d 710 . . . . . 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 3028 . . . . 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 249 . . . 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 4150 . . . . . . . 8  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| A  =  |^| <. x ,  U. ran  { A } >. )
2524inteqd 4152 . . . . . . 7  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  |^| |^| A  =  |^| |^|
<. x ,  U. ran  { A } >. )
265, 16op1stb 4581 . . . . . . 7  |-  |^| |^| <. x ,  U. ran  { A } >.  =  x
2725, 26syl6req 2492 . . . . . 6  |-  ( A  =  <. x ,  U. ran  { A } >.  ->  x  =  |^| |^| A
)
2827pm4.71ri 633 . . . . 5  |-  ( A  =  <. x ,  U. ran  { A } >.  <->  (
x  =  |^| |^| A  /\  A  =  <. x ,  U. ran  { A } >. ) )
2928anbi1i 695 . . . 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 649 . . . 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 271 . . 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 1634 . 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 eqvisset 2999 . . . . 5  |-  ( x  =  |^| |^| A  ->  |^| |^| A  e.  _V )
3433adantr 465 . . . 4  |-  ( ( x  =  |^| |^| A  /\  ( A  =  <. x ,  U. ran  { A } >.  /\  (
x  e.  B  /\  U.
ran  { A }  e.  C ) ) )  ->  |^| |^| A  e.  _V )
3534exlimiv 1688 . . 3  |-  ( E. x ( x  = 
|^| |^| A  /\  ( A  =  <. x , 
U. ran  { A } >.  /\  ( x  e.  B  /\  U. ran  { A }  e.  C
) ) )  ->  |^| |^| A  e.  _V )
36 elex 3000 . . . 4  |-  ( |^| |^| A  e.  B  ->  |^| |^| A  e.  _V )
3736ad2antrl 727 . . 3  |-  ( ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U.
ran  { A }  e.  C ) )  ->  |^| |^| A  e.  _V )
38 opeq1 4078 . . . . . 6  |-  ( x  =  |^| |^| A  -> 
<. x ,  U. ran  { A } >.  =  <. |^|
|^| A ,  U. ran  { A } >. )
3938eqeq2d 2454 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( A  =  <. x ,  U. ran  { A } >.  <->  A  =  <. |^|
|^| A ,  U. ran  { A } >. ) )
40 eleq1 2503 . . . . . 6  |-  ( x  =  |^| |^| A  ->  ( x  e.  B  <->  |^|
|^| A  e.  B
) )
4140anbi1d 704 . . . . 5  |-  ( x  =  |^| |^| A  ->  ( ( x  e.  B  /\  U. ran  { A }  e.  C
)  <->  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
4239, 41anbi12d 710 . . . 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
) ) ) )
4342ceqsexgv 3111 . . 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
) ) ) )
4435, 37, 43pm5.21nii 353 . 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
) ) )
451, 32, 443bitri 271 1  |-  ( A  e.  ( B  X.  C )  <->  ( A  =  <. |^| |^| A ,  U. ran  { A } >.  /\  ( |^| |^| A  e.  B  /\  U. ran  { A }  e.  C
) ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   _Vcvv 2991   {csn 3896   <.cop 3902   U.cuni 4110   |^|cint 4147    X. cxp 4857   ran crn 4860
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4432  ax-nul 4440  ax-pr 4550  ax-un 6391
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-ral 2739  df-rex 2740  df-rab 2743  df-v 2993  df-dif 3350  df-un 3352  df-in 3354  df-ss 3361  df-nul 3657  df-if 3811  df-sn 3897  df-pr 3899  df-op 3903  df-uni 4111  df-int 4148  df-br 4312  df-opab 4370  df-xp 4865  df-rel 4866  df-cnv 4867  df-dm 4869  df-rn 4870
This theorem is referenced by:  xpnnenOLD  13511
  Copyright terms: Public domain W3C validator