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

Theorem xpsnen 6942
Description: A set is equinumerous to its cross-product with a singleton. Proposition 4.22(c) of [Mendelson] p. 254. (Contributed by NM, 4-Jan-2004.) (Revised by Mario Carneiro, 15-Nov-2014.)
Hypotheses
Ref Expression
xpsnen.1  |-  A  e. 
_V
xpsnen.2  |-  B  e. 
_V
Assertion
Ref Expression
xpsnen  |-  ( A  X.  { B }
)  ~~  A
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.

Proof of Theorem xpsnen
StepHypRef Expression
1 xpsnen.1 . . 3  |-  A  e. 
_V
2 snex 4216 . . 3  |-  { B }  e.  _V
31, 2xpex 4801 . 2  |-  ( A  X.  { B }
)  e.  _V
4 elxp 4706 . . 3  |-  ( y  e.  ( A  X.  { B } )  <->  E. x E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) ) )
5 inteq 3867 . . . . . . . 8  |-  ( y  =  <. x ,  z
>.  ->  |^| y  =  |^| <.
x ,  z >.
)
65inteqd 3869 . . . . . . 7  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  |^| |^|
<. x ,  z >.
)
7 vex 2793 . . . . . . . 8  |-  x  e. 
_V
8 vex 2793 . . . . . . . 8  |-  z  e. 
_V
97, 8op1stb 4569 . . . . . . 7  |-  |^| |^| <. x ,  z >.  =  x
106, 9syl6eq 2333 . . . . . 6  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  x )
1110, 7syl6eqel 2373 . . . . 5  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  e.  _V )
1211adantr 453 . . . 4  |-  ( ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  ->  |^| |^| y  e.  _V )
1312exlimivv 1668 . . 3  |-  ( E. x E. z ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  ->  |^| |^| y  e.  _V )
144, 13sylbi 189 . 2  |-  ( y  e.  ( A  X.  { B } )  ->  |^| |^| y  e.  _V )
15 opex 4237 . . 3  |-  <. x ,  B >.  e.  _V
1615a1i 12 . 2  |-  ( x  e.  A  ->  <. x ,  B >.  e.  _V )
17 eleq1 2345 . . . . . 6  |-  ( x  =  |^| |^| y  ->  ( x  e.  _V  <->  |^|
|^| y  e.  _V ) )
187, 17mpbii 204 . . . . 5  |-  ( x  =  |^| |^| y  ->  |^| |^| y  e.  _V )
19 ancom 439 . . . . . . . . . . 11  |-  ( ( ( y  =  <. x ,  z >.  /\  x  e.  A )  /\  z  e.  { B } )  <-> 
( z  e.  { B }  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
20 anass 632 . . . . . . . . . . 11  |-  ( ( ( y  =  <. x ,  z >.  /\  x  e.  A )  /\  z  e.  { B } )  <-> 
( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) ) )
21 elsn 3657 . . . . . . . . . . . 12  |-  ( z  e.  { B }  <->  z  =  B )
2221anbi1i 678 . . . . . . . . . . 11  |-  ( ( z  e.  { B }  /\  ( y  = 
<. x ,  z >.  /\  x  e.  A
) )  <->  ( z  =  B  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
2319, 20, 223bitr3i 268 . . . . . . . . . 10  |-  ( ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  <->  ( z  =  B  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
2423exbii 1570 . . . . . . . . 9  |-  ( E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) )  <->  E. z
( z  =  B  /\  ( y  = 
<. x ,  z >.  /\  x  e.  A
) ) )
25 xpsnen.2 . . . . . . . . . 10  |-  B  e. 
_V
26 opeq2 3799 . . . . . . . . . . . 12  |-  ( z  =  B  ->  <. x ,  z >.  =  <. x ,  B >. )
2726eqeq2d 2296 . . . . . . . . . . 11  |-  ( z  =  B  ->  (
y  =  <. x ,  z >.  <->  y  =  <. x ,  B >. ) )
2827anbi1d 687 . . . . . . . . . 10  |-  ( z  =  B  ->  (
( y  =  <. x ,  z >.  /\  x  e.  A )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
2925, 28ceqsexv 2825 . . . . . . . . 9  |-  ( E. z ( z  =  B  /\  ( y  =  <. x ,  z
>.  /\  x  e.  A
) )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) )
30 inteq 3867 . . . . . . . . . . . . . 14  |-  ( y  =  <. x ,  B >.  ->  |^| y  =  |^| <.
x ,  B >. )
3130inteqd 3869 . . . . . . . . . . . . 13  |-  ( y  =  <. x ,  B >.  ->  |^| |^| y  =  |^| |^|
<. x ,  B >. )
327, 25op1stb 4569 . . . . . . . . . . . . 13  |-  |^| |^| <. x ,  B >.  =  x
3331, 32syl6req 2334 . . . . . . . . . . . 12  |-  ( y  =  <. x ,  B >.  ->  x  =  |^| |^| y )
3433pm4.71ri 616 . . . . . . . . . . 11  |-  ( y  =  <. x ,  B >.  <-> 
( x  =  |^| |^| y  /\  y  = 
<. x ,  B >. ) )
3534anbi1i 678 . . . . . . . . . 10  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
x  =  |^| |^| y  /\  y  =  <. x ,  B >. )  /\  x  e.  A
) )
36 anass 632 . . . . . . . . . 10  |-  ( ( ( x  =  |^| |^| y  /\  y  = 
<. x ,  B >. )  /\  x  e.  A
)  <->  ( x  = 
|^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3735, 36bitri 242 . . . . . . . . 9  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( x  =  |^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3824, 29, 373bitri 264 . . . . . . . 8  |-  ( E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) )  <->  ( x  =  |^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3938exbii 1570 . . . . . . 7  |-  ( E. x E. z ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  <->  E. x
( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
404, 39bitri 242 . . . . . 6  |-  ( y  e.  ( A  X.  { B } )  <->  E. x
( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
41 opeq1 3798 . . . . . . . . 9  |-  ( x  =  |^| |^| y  -> 
<. x ,  B >.  = 
<. |^| |^| y ,  B >. )
4241eqeq2d 2296 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( y  =  <. x ,  B >.  <->  y  =  <. |^| |^| y ,  B >. ) )
43 eleq1 2345 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( x  e.  A  <->  |^|
|^| y  e.  A
) )
4442, 43anbi12d 693 . . . . . . 7  |-  ( x  =  |^| |^| y  ->  ( ( y  = 
<. x ,  B >.  /\  x  e.  A )  <-> 
( y  =  <. |^|
|^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4544ceqsexgv 2902 . . . . . 6  |-  ( |^| |^| y  e.  _V  ->  ( E. x ( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A ) )  <->  ( y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4640, 45syl5bb 250 . . . . 5  |-  ( |^| |^| y  e.  _V  ->  ( y  e.  ( A  X.  { B }
)  <->  ( y  = 
<. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4718, 46syl 17 . . . 4  |-  ( x  =  |^| |^| y  ->  ( y  e.  ( A  X.  { B } )  <->  ( y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4847pm5.32ri 621 . . 3  |-  ( ( y  e.  ( A  X.  { B }
)  /\  x  =  |^| |^| y )  <->  ( (
y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A )  /\  x  =  |^| |^| y ) )
4933adantr 453 . . . . 5  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  ->  x  =  |^| |^| y )
5049pm4.71i 615 . . . 4  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
y  =  <. x ,  B >.  /\  x  e.  A )  /\  x  =  |^| |^| y ) )
5144pm5.32ri 621 . . . 4  |-  ( ( ( y  =  <. x ,  B >.  /\  x  e.  A )  /\  x  =  |^| |^| y )  <->  ( (
y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A )  /\  x  =  |^| |^| y ) )
5250, 51bitr2i 243 . . 3  |-  ( ( ( y  =  <. |^|
|^| y ,  B >.  /\  |^| |^| y  e.  A
)  /\  x  =  |^| |^| y )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) )
53 ancom 439 . . 3  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( x  e.  A  /\  y  =  <. x ,  B >. ) )
5448, 52, 533bitri 264 . 2  |-  ( ( y  e.  ( A  X.  { B }
)  /\  x  =  |^| |^| y )  <->  ( x  e.  A  /\  y  =  <. x ,  B >. ) )
553, 1, 14, 16, 54en2i 6895 1  |-  ( A  X.  { B }
)  ~~  A
Colors of variables: wff set class
Syntax hints:    <-> wb 178    /\ wa 360   E.wex 1529    = wceq 1624    e. wcel 1685   _Vcvv 2790   {csn 3642   <.cop 3645   |^|cint 3864   class class class wbr 4025    X. cxp 4687    ~~ cen 6856
This theorem is referenced by:  xpsneng  6943  endisj  6945  infxpenlem  7637  pm110.643  7799  hashxplem  11380  xpnnenOLD  12483  rexpen  12501  heiborlem3  25937
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-13 1687  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1868  ax-ext 2266  ax-sep 4143  ax-nul 4151  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2149  df-mo 2150  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-ne 2450  df-ral 2550  df-rex 2551  df-rab 2554  df-v 2792  df-dif 3157  df-un 3159  df-in 3161  df-ss 3168  df-nul 3458  df-if 3568  df-pw 3629  df-sn 3648  df-pr 3649  df-op 3651  df-uni 3830  df-int 3865  df-br 4026  df-opab 4080  df-mpt 4081  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-fun 5224  df-fn 5225  df-f 5226  df-f1 5227  df-fo 5228  df-f1o 5229  df-en 6860
  Copyright terms: Public domain W3C validator