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

Theorem xpsnen 6831
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

Proof of Theorem xpsnen
StepHypRef Expression
1 xpsnen.1 . . 3  |-  A  e. 
_V
2 snex 4110 . . 3  |-  { B }  e.  _V
31, 2xpex 4708 . 2  |-  ( A  X.  { B }
)  e.  _V
4 elxp 4613 . . 3  |-  ( y  e.  ( A  X.  { B } )  <->  E. x E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) ) )
5 inteq 3763 . . . . . . . 8  |-  ( y  =  <. x ,  z
>.  ->  |^| y  =  |^| <.
x ,  z >.
)
65inteqd 3765 . . . . . . 7  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  |^| |^|
<. x ,  z >.
)
7 vex 2730 . . . . . . . 8  |-  x  e. 
_V
8 vex 2730 . . . . . . . 8  |-  z  e. 
_V
97, 8op1stb 4460 . . . . . . 7  |-  |^| |^| <. x ,  z >.  =  x
106, 9syl6eq 2301 . . . . . 6  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  x )
1110, 7syl6eqel 2341 . . . . 5  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  e.  _V )
1211adantr 453 . . . 4  |-  ( ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  ->  |^| |^| y  e.  _V )
1312exlimivv 2025 . . 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 4130 . . 3  |-  <. x ,  B >.  e.  _V
1615a1i 12 . 2  |-  ( x  e.  A  ->  <. x ,  B >.  e.  _V )
17 eleq1 2313 . . . . . 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 633 . . . . . . . . . . 11  |-  ( ( ( y  =  <. x ,  z >.  /\  x  e.  A )  /\  z  e.  { B } )  <-> 
( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) ) )
21 elsn 3559 . . . . . . . . . . . 12  |-  ( z  e.  { B }  <->  z  =  B )
2221anbi1i 679 . . . . . . . . . . 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 1580 . . . . . . . . 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 3697 . . . . . . . . . . . 12  |-  ( z  =  B  ->  <. x ,  z >.  =  <. x ,  B >. )
2726eqeq2d 2264 . . . . . . . . . . 11  |-  ( z  =  B  ->  (
y  =  <. x ,  z >.  <->  y  =  <. x ,  B >. ) )
2827anbi1d 688 . . . . . . . . . 10  |-  ( z  =  B  ->  (
( y  =  <. x ,  z >.  /\  x  e.  A )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
2925, 28ceqsexv 2761 . . . . . . . . 9  |-  ( E. z ( z  =  B  /\  ( y  =  <. x ,  z
>.  /\  x  e.  A
) )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) )
30 inteq 3763 . . . . . . . . . . . . . 14  |-  ( y  =  <. x ,  B >.  ->  |^| y  =  |^| <.
x ,  B >. )
3130inteqd 3765 . . . . . . . . . . . . 13  |-  ( y  =  <. x ,  B >.  ->  |^| |^| y  =  |^| |^|
<. x ,  B >. )
327, 25op1stb 4460 . . . . . . . . . . . . 13  |-  |^| |^| <. x ,  B >.  =  x
3331, 32syl6req 2302 . . . . . . . . . . . 12  |-  ( y  =  <. x ,  B >.  ->  x  =  |^| |^| y )
3433pm4.71ri 617 . . . . . . . . . . 11  |-  ( y  =  <. x ,  B >.  <-> 
( x  =  |^| |^| y  /\  y  = 
<. x ,  B >. ) )
3534anbi1i 679 . . . . . . . . . 10  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
x  =  |^| |^| y  /\  y  =  <. x ,  B >. )  /\  x  e.  A
) )
36 anass 633 . . . . . . . . . 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 1580 . . . . . . 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 3696 . . . . . . . . 9  |-  ( x  =  |^| |^| y  -> 
<. x ,  B >.  = 
<. |^| |^| y ,  B >. )
4241eqeq2d 2264 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( y  =  <. x ,  B >.  <->  y  =  <. |^| |^| y ,  B >. ) )
43 eleq1 2313 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( x  e.  A  <->  |^|
|^| y  e.  A
) )
4442, 43anbi12d 694 . . . . . . 7  |-  ( x  =  |^| |^| y  ->  ( ( y  = 
<. x ,  B >.  /\  x  e.  A )  <-> 
( y  =  <. |^|
|^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4544ceqsexgv 2837 . . . . . 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 622 . . 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 616 . . . 4  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
y  =  <. x ,  B >.  /\  x  e.  A )  /\  x  =  |^| |^| y ) )
5144pm5.32ri 622 . . . 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 6785 1  |-  ( A  X.  { B }
)  ~~  A
Colors of variables: wff set class
Syntax hints:    <-> wb 178    /\ wa 360   E.wex 1537    = wceq 1619    e. wcel 1621   _Vcvv 2727   {csn 3544   <.cop 3547   |^|cint 3760   class class class wbr 3920    X. cxp 4578    ~~ cen 6746
This theorem is referenced by:  xpsneng  6832  endisj  6834  infxpenlem  7525  pm110.643  7687  hashxplem  11262  xpnnenOLD  12362  rexpen  12380  heiborlem3  25703
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-ral 2513  df-rex 2514  df-rab 2516  df-v 2729  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-op 3553  df-uni 3728  df-int 3761  df-br 3921  df-opab 3975  df-mpt 3976  df-id 4202  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-en 6750
  Copyright terms: Public domain W3C validator