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

Theorem canth 6508
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 7998. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 6509 for a counterexample. (Use nex 1722 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 3650 . . . 4 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴
2 canth.1 . . . . 5 𝐴 ∈ V
32elpw2 4755 . . . 4 ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴 ↔ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴)
41, 3mpbir 220 . . 3 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴
5 forn 6031 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴)
64, 5syl5eleqr 2695 . 2 (𝐹:𝐴onto→𝒫 𝐴 → {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
7 id 22 . . . . . . . . . 10 (𝑥 = 𝑦𝑥 = 𝑦)
8 fveq2 6103 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
97, 8eleq12d 2682 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥 ∈ (𝐹𝑥) ↔ 𝑦 ∈ (𝐹𝑦)))
109notbid 307 . . . . . . . 8 (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹𝑥) ↔ ¬ 𝑦 ∈ (𝐹𝑦)))
1110elrab 3331 . . . . . . 7 (𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ↔ (𝑦𝐴 ∧ ¬ 𝑦 ∈ (𝐹𝑦)))
1211baibr 943 . . . . . 6 (𝑦𝐴 → (¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
13 nbbn 372 . . . . . 6 ((¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1412, 13sylib 207 . . . . 5 (𝑦𝐴 → ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
15 eleq2 2677 . . . . 5 ((𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} → (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1614, 15nsyl 134 . . . 4 (𝑦𝐴 → ¬ (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)})
1716nrex 2983 . . 3 ¬ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}
18 fofn 6030 . . . 4 (𝐹:𝐴onto→𝒫 𝐴𝐹 Fn 𝐴)
19 fvelrnb 6153 . . . 4 (𝐹 Fn 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2018, 19syl 17 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2117, 20mtbiri 316 . 2 (𝐹:𝐴onto→𝒫 𝐴 → ¬ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
226, 21pm2.65i 184 1 ¬ 𝐹:𝐴onto→𝒫 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 195   = wceq 1475  wcel 1977  wrex 2897  {crab 2900  Vcvv 3173  wss 3540  𝒫 cpw 4108  ran crn 5039   Fn wfn 5799  ontowfo 5802  cfv 5804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-fo 5810  df-fv 5812
This theorem is referenced by:  canth2  7998  canthwdom  8367
  Copyright terms: Public domain W3C validator