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

Theorem canth 6475
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 7196. Note that  A must be a set: this theorem does not hold when  A is too large to be a set; see ncanth 6476 for a counterexample. (Use nex 1561 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 3371 . . . 4  |-  { x  e.  A  |  -.  x  e.  ( F `  x ) }  C_  A
2 canth.1 . . . . 5  |-  A  e. 
_V
32elpw2 4305 . . . 4  |-  ( { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ~P A  <->  { x  e.  A  |  -.  x  e.  ( F `  x ) }  C_  A )
41, 3mpbir 201 . . 3  |-  { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ~P A
5 forn 5596 . . 3  |-  ( F : A -onto-> ~P A  ->  ran  F  =  ~P A )
64, 5syl5eleqr 2474 . 2  |-  ( F : A -onto-> ~P A  ->  { x  e.  A  |  -.  x  e.  ( F `  x ) }  e.  ran  F
)
7 id 20 . . . . . . . . . 10  |-  ( x  =  y  ->  x  =  y )
8 fveq2 5668 . . . . . . . . . 10  |-  ( x  =  y  ->  ( F `  x )  =  ( F `  y ) )
97, 8eleq12d 2455 . . . . . . . . 9  |-  ( x  =  y  ->  (
x  e.  ( F `
 x )  <->  y  e.  ( F `  y ) ) )
109notbid 286 . . . . . . . 8  |-  ( x  =  y  ->  ( -.  x  e.  ( F `  x )  <->  -.  y  e.  ( F `
 y ) ) )
1110elrab 3035 . . . . . . 7  |-  ( y  e.  { x  e.  A  |  -.  x  e.  ( F `  x
) }  <->  ( y  e.  A  /\  -.  y  e.  ( F `  y
) ) )
1211baibr 873 . . . . . 6  |-  ( y  e.  A  ->  ( -.  y  e.  ( F `  y )  <->  y  e.  { x  e.  A  |  -.  x  e.  ( F `  x
) } ) )
13 nbbn 348 . . . . . 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 189 . . . . 5  |-  ( y  e.  A  ->  -.  ( y  e.  ( F `  y )  <-> 
y  e.  { x  e.  A  |  -.  x  e.  ( F `  x ) } ) )
15 eleq2 2448 . . . . 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 115 . . . 4  |-  ( y  e.  A  ->  -.  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x
) } )
1716nrex 2751 . . 3  |-  -.  E. y  e.  A  ( F `  y )  =  { x  e.  A  |  -.  x  e.  ( F `  x ) }
18 fofn 5595 . . . 4  |-  ( F : A -onto-> ~P A  ->  F  Fn  A )
19 fvelrnb 5713 . . . 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 16 . . 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 295 . 2  |-  ( F : A -onto-> ~P A  ->  -.  { x  e.  A  |  -.  x  e.  ( F `  x
) }  e.  ran  F )
226, 21pm2.65i 167 1  |-  -.  F : A -onto-> ~P A
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 177    = wceq 1649    e. wcel 1717   E.wrex 2650   {crab 2653   _Vcvv 2899    C_ wss 3263   ~Pcpw 3742   ran crn 4819    Fn wfn 5389   -onto->wfo 5392   ` cfv 5394
This theorem is referenced by:  canth2  7196  canthwdom  7480
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pr 4344
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-sbc 3105  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-op 3766  df-uni 3958  df-br 4154  df-opab 4208  df-mpt 4209  df-id 4439  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-fo 5400  df-fv 5402
  Copyright terms: Public domain W3C validator