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

Theorem pw2f1o 6935
Description: The power set of a set is equinumerous to set exponentiation with an unordered pair base of ordinal 2. Generalized from Proposition 10.44 of [TakeutiZaring] p. 96. (Contributed by Mario Carneiro, 6-Oct-2014.)
Hypotheses
Ref Expression
pw2f1o.1  |-  ( ph  ->  A  e.  V )
pw2f1o.2  |-  ( ph  ->  B  e.  W )
pw2f1o.3  |-  ( ph  ->  C  e.  W )
pw2f1o.4  |-  ( ph  ->  B  =/=  C )
pw2f1o.5  |-  F  =  ( x  e.  ~P A  |->  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) )
Assertion
Ref Expression
pw2f1o  |-  ( ph  ->  F : ~P A -1-1-onto-> ( { B ,  C }  ^m  A ) )
Distinct variable groups:    x, z, A    x, B, z    x, C, z    ph, x
Allowed substitution hints:    ph( z)    F( x, z)    V( x, z)    W( x, z)

Proof of Theorem pw2f1o
StepHypRef Expression
1 pw2f1o.5 . 2  |-  F  =  ( x  e.  ~P A  |->  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) )
2 eqid 2258 . . . 4  |-  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  =  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )
3 pw2f1o.1 . . . . . 6  |-  ( ph  ->  A  e.  V )
4 pw2f1o.2 . . . . . 6  |-  ( ph  ->  B  e.  W )
5 pw2f1o.3 . . . . . 6  |-  ( ph  ->  C  e.  W )
6 pw2f1o.4 . . . . . 6  |-  ( ph  ->  B  =/=  C )
73, 4, 5, 6pw2f1olem 6934 . . . . 5  |-  ( ph  ->  ( ( x  e. 
~P A  /\  (
z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  =  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) )  <->  ( (
z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  e.  ( { B ,  C }  ^m  A )  /\  x  =  ( `' ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) " { C } ) ) ) )
87biimpa 472 . . . 4  |-  ( (
ph  /\  ( x  e.  ~P A  /\  (
z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  =  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) ) )  -> 
( ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  e.  ( { B ,  C }  ^m  A )  /\  x  =  ( `' ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) " { C } ) ) )
92, 8mpanr2 668 . . 3  |-  ( (
ph  /\  x  e.  ~P A )  ->  (
( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  e.  ( { B ,  C }  ^m  A )  /\  x  =  ( `' ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) " { C } ) ) )
109simpld 447 . 2  |-  ( (
ph  /\  x  e.  ~P A )  ->  (
z  e.  A  |->  if ( z  e.  x ,  C ,  B ) )  e.  ( { B ,  C }  ^m  A ) )
11 vex 2766 . . . 4  |-  y  e. 
_V
1211cnvex 5196 . . 3  |-  `' y  e.  _V
13 imaexg 5014 . . 3  |-  ( `' y  e.  _V  ->  ( `' y " { C } )  e.  _V )
1412, 13mp1i 13 . 2  |-  ( (
ph  /\  y  e.  ( { B ,  C }  ^m  A ) )  ->  ( `' y
" { C }
)  e.  _V )
153, 4, 5, 6pw2f1olem 6934 . 2  |-  ( ph  ->  ( ( x  e. 
~P A  /\  y  =  ( z  e.  A  |->  if ( z  e.  x ,  C ,  B ) ) )  <-> 
( y  e.  ( { B ,  C }  ^m  A )  /\  x  =  ( `' y " { C }
) ) ) )
161, 10, 14, 15f1od 6001 1  |-  ( ph  ->  F : ~P A -1-1-onto-> ( { B ,  C }  ^m  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360    = wceq 1619    e. wcel 1621    =/= wne 2421   _Vcvv 2763   ifcif 3539   ~Pcpw 3599   {csn 3614   {cpr 3615    e. cmpt 4051   `'ccnv 4660   "cima 4664   -1-1-onto->wf1o 4672  (class class class)co 5792    ^m cmap 6740
This theorem is referenced by:  pw2eng  6936
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 1927  ax-ext 2239  ax-sep 4115  ax-nul 4123  ax-pow 4160  ax-pr 4186  ax-un 4484
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 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-ral 2523  df-rex 2524  df-rab 2527  df-v 2765  df-sbc 2967  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-op 3623  df-uni 3802  df-br 3998  df-opab 4052  df-mpt 4053  df-id 4281  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-map 6742
  Copyright terms: Public domain W3C validator