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

Theorem canth 6759
 Description: No set 𝐴 is equinumerous to its power set (Cantor's theorem), i.e. no function can map 𝐴 it onto its power set. Compare Theorem 6B(b) of [Enderton] p. 132. For the equinumerosity version, see canth2 8266. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 6760 for a counterexample. (Use nex 1868 if you want the form ¬ ∃𝑓𝑓:𝐴–onto→𝒫 𝐴.) (Contributed by NM, 7-Aug-1994.) (Proof shortened by Mario Carneiro, 7-Jun-2016.)
Hypothesis
Ref Expression
canth.1 𝐴 ∈ V
Assertion
Ref Expression
canth ¬ 𝐹:𝐴onto→𝒫 𝐴

Proof of Theorem canth
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssrab2 3816 . . . 4 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴
2 canth.1 . . . . 5 𝐴 ∈ V
32elpw2 4965 . . . 4 ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴 ↔ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴)
41, 3mpbir 221 . . 3 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴
5 forn 6267 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴)
64, 5syl5eleqr 2834 . 2 (𝐹:𝐴onto→𝒫 𝐴 → {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
7 id 22 . . . . . . . . . 10 (𝑥 = 𝑦𝑥 = 𝑦)
8 fveq2 6340 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
97, 8eleq12d 2821 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥 ∈ (𝐹𝑥) ↔ 𝑦 ∈ (𝐹𝑦)))
109notbid 307 . . . . . . . 8 (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹𝑥) ↔ ¬ 𝑦 ∈ (𝐹𝑦)))
1110elrab 3492 . . . . . . 7 (𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ↔ (𝑦𝐴 ∧ ¬ 𝑦 ∈ (𝐹𝑦)))
1211baibr 983 . . . . . 6 (𝑦𝐴 → (¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
13 nbbn 372 . . . . . 6 ((¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1412, 13sylib 208 . . . . 5 (𝑦𝐴 → ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
15 eleq2 2816 . . . . 5 ((𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} → (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1614, 15nsyl 135 . . . 4 (𝑦𝐴 → ¬ (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)})
1716nrex 3126 . . 3 ¬ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}
18 fofn 6266 . . . 4 (𝐹:𝐴onto→𝒫 𝐴𝐹 Fn 𝐴)
19 fvelrnb 6393 . . . 4 (𝐹 Fn 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2018, 19syl 17 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2117, 20mtbiri 316 . 2 (𝐹:𝐴onto→𝒫 𝐴 → ¬ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
226, 21pm2.65i 185 1 ¬ 𝐹:𝐴onto→𝒫 𝐴
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   ↔ wb 196   = wceq 1620   ∈ wcel 2127  ∃wrex 3039  {crab 3042  Vcvv 3328   ⊆ wss 3703  𝒫 cpw 4290  ran crn 5255   Fn wfn 6032  –onto→wfo 6035  ‘cfv 6037 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-sep 4921  ax-nul 4929  ax-pr 5043 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-eu 2599  df-mo 2600  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ral 3043  df-rex 3044  df-rab 3047  df-v 3330  df-sbc 3565  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-nul 4047  df-if 4219  df-pw 4292  df-sn 4310  df-pr 4312  df-op 4316  df-uni 4577  df-br 4793  df-opab 4853  df-mpt 4870  df-id 5162  df-xp 5260  df-rel 5261  df-cnv 5262  df-co 5263  df-dm 5264  df-rn 5265  df-iota 6000  df-fun 6039  df-fn 6040  df-f 6041  df-fo 6043  df-fv 6045 This theorem is referenced by:  canth2  8266  canthwdom  8637
 Copyright terms: Public domain W3C validator