ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xpsnen Unicode version

Theorem xpsnen 6795
Description: A set is equinumerous to its Cartesian 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
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpsnen.1 . . 3  |-  A  e. 
_V
2 xpsnen.2 . . . 4  |-  B  e. 
_V
32snex 4169 . . 3  |-  { B }  e.  _V
41, 3xpex 4724 . 2  |-  ( A  X.  { B }
)  e.  _V
5 elxp 4626 . . 3  |-  ( y  e.  ( A  X.  { B } )  <->  E. x E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) ) )
6 inteq 3832 . . . . . . . 8  |-  ( y  =  <. x ,  z
>.  ->  |^| y  =  |^| <.
x ,  z >.
)
76inteqd 3834 . . . . . . 7  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  |^| |^|
<. x ,  z >.
)
8 vex 2733 . . . . . . . 8  |-  x  e. 
_V
9 vex 2733 . . . . . . . 8  |-  z  e. 
_V
108, 9op1stb 4461 . . . . . . 7  |-  |^| |^| <. x ,  z >.  =  x
117, 10eqtrdi 2219 . . . . . 6  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  =  x )
1211, 8eqeltrdi 2261 . . . . 5  |-  ( y  =  <. x ,  z
>.  ->  |^| |^| y  e.  _V )
1312adantr 274 . . . 4  |-  ( ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  ->  |^| |^| y  e.  _V )
1413exlimivv 1889 . . 3  |-  ( E. x E. z ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  ->  |^| |^| y  e.  _V )
155, 14sylbi 120 . 2  |-  ( y  e.  ( A  X.  { B } )  ->  |^| |^| y  e.  _V )
168, 2opex 4212 . . 3  |-  <. x ,  B >.  e.  _V
1716a1i 9 . 2  |-  ( x  e.  A  ->  <. x ,  B >.  e.  _V )
18 eqvisset 2740 . . . . 5  |-  ( x  =  |^| |^| y  ->  |^| |^| y  e.  _V )
19 ancom 264 . . . . . . . . . . 11  |-  ( ( ( y  =  <. x ,  z >.  /\  x  e.  A )  /\  z  e.  { B } )  <-> 
( z  e.  { B }  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
20 anass 399 . . . . . . . . . . 11  |-  ( ( ( y  =  <. x ,  z >.  /\  x  e.  A )  /\  z  e.  { B } )  <-> 
( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) ) )
21 velsn 3598 . . . . . . . . . . . 12  |-  ( z  e.  { B }  <->  z  =  B )
2221anbi1i 455 . . . . . . . . . . 11  |-  ( ( z  e.  { B }  /\  ( y  = 
<. x ,  z >.  /\  x  e.  A
) )  <->  ( z  =  B  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
2319, 20, 223bitr3i 209 . . . . . . . . . 10  |-  ( ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  <->  ( z  =  B  /\  (
y  =  <. x ,  z >.  /\  x  e.  A ) ) )
2423exbii 1598 . . . . . . . . 9  |-  ( E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) )  <->  E. z
( z  =  B  /\  ( y  = 
<. x ,  z >.  /\  x  e.  A
) ) )
25 opeq2 3764 . . . . . . . . . . . 12  |-  ( z  =  B  ->  <. x ,  z >.  =  <. x ,  B >. )
2625eqeq2d 2182 . . . . . . . . . . 11  |-  ( z  =  B  ->  (
y  =  <. x ,  z >.  <->  y  =  <. x ,  B >. ) )
2726anbi1d 462 . . . . . . . . . 10  |-  ( z  =  B  ->  (
( y  =  <. x ,  z >.  /\  x  e.  A )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
282, 27ceqsexv 2769 . . . . . . . . 9  |-  ( E. z ( z  =  B  /\  ( y  =  <. x ,  z
>.  /\  x  e.  A
) )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) )
29 inteq 3832 . . . . . . . . . . . . . 14  |-  ( y  =  <. x ,  B >.  ->  |^| y  =  |^| <.
x ,  B >. )
3029inteqd 3834 . . . . . . . . . . . . 13  |-  ( y  =  <. x ,  B >.  ->  |^| |^| y  =  |^| |^|
<. x ,  B >. )
318, 2op1stb 4461 . . . . . . . . . . . . 13  |-  |^| |^| <. x ,  B >.  =  x
3230, 31eqtr2di 2220 . . . . . . . . . . . 12  |-  ( y  =  <. x ,  B >.  ->  x  =  |^| |^| y )
3332pm4.71ri 390 . . . . . . . . . . 11  |-  ( y  =  <. x ,  B >.  <-> 
( x  =  |^| |^| y  /\  y  = 
<. x ,  B >. ) )
3433anbi1i 455 . . . . . . . . . 10  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
x  =  |^| |^| y  /\  y  =  <. x ,  B >. )  /\  x  e.  A
) )
35 anass 399 . . . . . . . . . 10  |-  ( ( ( x  =  |^| |^| y  /\  y  = 
<. x ,  B >. )  /\  x  e.  A
)  <->  ( x  = 
|^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3634, 35bitri 183 . . . . . . . . 9  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( x  =  |^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3724, 28, 363bitri 205 . . . . . . . 8  |-  ( E. z ( y  = 
<. x ,  z >.  /\  ( x  e.  A  /\  z  e.  { B } ) )  <->  ( x  =  |^| |^| y  /\  (
y  =  <. x ,  B >.  /\  x  e.  A ) ) )
3837exbii 1598 . . . . . . 7  |-  ( E. x E. z ( y  =  <. x ,  z >.  /\  (
x  e.  A  /\  z  e.  { B } ) )  <->  E. x
( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
395, 38bitri 183 . . . . . 6  |-  ( y  e.  ( A  X.  { B } )  <->  E. x
( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A
) ) )
40 opeq1 3763 . . . . . . . . 9  |-  ( x  =  |^| |^| y  -> 
<. x ,  B >.  = 
<. |^| |^| y ,  B >. )
4140eqeq2d 2182 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( y  =  <. x ,  B >.  <->  y  =  <. |^| |^| y ,  B >. ) )
42 eleq1 2233 . . . . . . . 8  |-  ( x  =  |^| |^| y  ->  ( x  e.  A  <->  |^|
|^| y  e.  A
) )
4341, 42anbi12d 470 . . . . . . 7  |-  ( x  =  |^| |^| y  ->  ( ( y  = 
<. x ,  B >.  /\  x  e.  A )  <-> 
( y  =  <. |^|
|^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4443ceqsexgv 2859 . . . . . 6  |-  ( |^| |^| y  e.  _V  ->  ( E. x ( x  =  |^| |^| y  /\  ( y  =  <. x ,  B >.  /\  x  e.  A ) )  <->  ( y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4539, 44syl5bb 191 . . . . 5  |-  ( |^| |^| y  e.  _V  ->  ( y  e.  ( A  X.  { B }
)  <->  ( y  = 
<. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4618, 45syl 14 . . . 4  |-  ( x  =  |^| |^| y  ->  ( y  e.  ( A  X.  { B } )  <->  ( y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A
) ) )
4746pm5.32ri 452 . . 3  |-  ( ( y  e.  ( A  X.  { B }
)  /\  x  =  |^| |^| y )  <->  ( (
y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A )  /\  x  =  |^| |^| y ) )
4832adantr 274 . . . . 5  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  ->  x  =  |^| |^| y )
4948pm4.71i 389 . . . 4  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( (
y  =  <. x ,  B >.  /\  x  e.  A )  /\  x  =  |^| |^| y ) )
5043pm5.32ri 452 . . . 4  |-  ( ( ( y  =  <. x ,  B >.  /\  x  e.  A )  /\  x  =  |^| |^| y )  <->  ( (
y  =  <. |^| |^| y ,  B >.  /\  |^| |^| y  e.  A )  /\  x  =  |^| |^| y ) )
5149, 50bitr2i 184 . . 3  |-  ( ( ( y  =  <. |^|
|^| y ,  B >.  /\  |^| |^| y  e.  A
)  /\  x  =  |^| |^| y )  <->  ( y  =  <. x ,  B >.  /\  x  e.  A
) )
52 ancom 264 . . 3  |-  ( ( y  =  <. x ,  B >.  /\  x  e.  A )  <->  ( x  e.  A  /\  y  =  <. x ,  B >. ) )
5347, 51, 523bitri 205 . 2  |-  ( ( y  e.  ( A  X.  { B }
)  /\  x  =  |^| |^| y )  <->  ( x  e.  A  /\  y  =  <. x ,  B >. ) )
544, 1, 15, 17, 53en2i 6744 1  |-  ( A  X.  { B }
)  ~~  A
Colors of variables: wff set class
Syntax hints:    /\ wa 103    <-> wb 104    = wceq 1348   E.wex 1485    e. wcel 2141   _Vcvv 2730   {csn 3581   <.cop 3584   |^|cint 3829   class class class wbr 3987    X. cxp 4607    ~~ cen 6712
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4105  ax-pow 4158  ax-pr 4192  ax-un 4416
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-un 3125  df-in 3127  df-ss 3134  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-br 3988  df-opab 4049  df-mpt 4050  df-id 4276  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-en 6715
This theorem is referenced by:  xpsneng  6796  endisj  6798
  Copyright terms: Public domain W3C validator