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

Theorem canth 6310
Description: No set  A is equinumerous to its power set (Cantor's theorem), i.e. no function can map  A it onto its power set. Compare Theorem 6B(b) of [Enderton] p. 132. For the equinumerosity version, see canth2 7030. Note that  A must be a set: this theorem does not hold when  A is too large to be a set; see ncanth 6311 for a counterexample. (Use nex 1545 if you want the form  -.  E. f f : A -onto-> ~P A.) (Contributed by NM, 7-Aug-1994.) (Proof shortened by Mario Carneiro, 7-Jun-2016.)
Hypothesis
Ref Expression
canth.1  |-  A  e. 
_V
Assertion
Ref Expression
canth  |-  -.  F : A -onto-> ~P A

Proof of Theorem canth
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssrab2 3271 . . . 4  |-  { x  e.  A  |  -.  x  e.  ( F `  x ) }  C_  A
2 canth.1 . . . . 5  |-  A  e. 
_V
32elpw2 4191 . . . 4  |-  ( { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ~P A  <->  { x  e.  A  |  -.  x  e.  ( F `  x ) }  C_  A )
41, 3mpbir 200 . . 3  |-  { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ~P A
5 forn 5470 . . 3  |-  ( F : A -onto-> ~P A  ->  ran  F  =  ~P A )
64, 5syl5eleqr 2383 . 2  |-  ( F : A -onto-> ~P A  ->  { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ran  F
)
7 id 19 . . . . . . . . . 10  |-  ( x  =  y  ->  x  =  y )
8 fveq2 5541 . . . . . . . . . 10  |-  ( x  =  y  ->  ( F `  x )  =  ( F `  y ) )
97, 8eleq12d 2364 . . . . . . . . 9  |-  ( x  =  y  ->  (
x  e.  ( F `
 x )  <->  y  e.  ( F `  y ) ) )
109notbid 285 . . . . . . . 8  |-  ( x  =  y  ->  ( -.  x  e.  ( F `  x )  <->  -.  y  e.  ( F `
 y ) ) )
1110elrab 2936 . . . . . . 7  |-  ( y  e.  { x  e.  A  |  -.  x  e.  ( F `  x
) }  <->  ( y  e.  A  /\  -.  y  e.  ( F `  y
) ) )
1211baibr 872 . . . . . 6  |-  ( y  e.  A  ->  ( -.  y  e.  ( F `  y )  <->  y  e.  { x  e.  A  |  -.  x  e.  ( F `  x
) } ) )
13 nbbn 347 . . . . . 6  |-  ( ( -.  y  e.  ( F `  y )  <-> 
y  e.  { x  e.  A  |  -.  x  e.  ( F `  x ) } )  <->  -.  ( y  e.  ( F `  y )  <-> 
y  e.  { x  e.  A  |  -.  x  e.  ( F `  x ) } ) )
1412, 13sylib 188 . . . . 5  |-  ( y  e.  A  ->  -.  ( y  e.  ( F `  y )  <-> 
y  e.  { x  e.  A  |  -.  x  e.  ( F `  x ) } ) )
15 eleq2 2357 . . . . 5  |-  ( ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x
) }  ->  (
y  e.  ( F `
 y )  <->  y  e.  { x  e.  A  |  -.  x  e.  ( F `  x ) } ) )
1614, 15nsyl 113 . . . 4  |-  ( y  e.  A  ->  -.  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x
) } )
1716nrex 2658 . . 3  |-  -.  E. y  e.  A  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x ) }
18 fofn 5469 . . . 4  |-  ( F : A -onto-> ~P A  ->  F  Fn  A )
19 fvelrnb 5586 . . . 4  |-  ( F  Fn  A  ->  ( { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ran  F  <->  E. y  e.  A  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x
) } ) )
2018, 19syl 15 . . 3  |-  ( F : A -onto-> ~P A  ->  ( { x  e.  A  |  -.  x  e.  ( F `  x
) }  e.  ran  F  <->  E. y  e.  A  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x
) } ) )
2117, 20mtbiri 294 . 2  |-  ( F : A -onto-> ~P A  ->  -.  { x  e.  A  |  -.  x  e.  ( F `  x
) }  e.  ran  F )
226, 21pm2.65i 165 1  |-  -.  F : A -onto-> ~P A
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 176    = wceq 1632    e. wcel 1696   E.wrex 2557   {crab 2560   _Vcvv 2801    C_ wss 3165   ~Pcpw 3638   ran crn 4706    Fn wfn 5266   -onto->wfo 5269   ` cfv 5271
This theorem is referenced by:  canth2  7030  canthwdom  7309
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fo 5277  df-fv 5279
  Copyright terms: Public domain W3C validator