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

Theorem canth 6322
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 7809. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 6323 for a counterexample. (Use nex 1707 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 3536 . . . 4 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴
2 canth.1 . . . . 5 𝐴 ∈ V
32elpw2 4605 . . . 4 ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴 ↔ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ⊆ 𝐴)
41, 3mpbir 216 . . 3 {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ 𝒫 𝐴
5 forn 5855 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴)
64, 5syl5eleqr 2590 . 2 (𝐹:𝐴onto→𝒫 𝐴 → {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
7 id 22 . . . . . . . . . 10 (𝑥 = 𝑦𝑥 = 𝑦)
8 fveq2 5927 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
97, 8eleq12d 2577 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥 ∈ (𝐹𝑥) ↔ 𝑦 ∈ (𝐹𝑦)))
109notbid 303 . . . . . . . 8 (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹𝑥) ↔ ¬ 𝑦 ∈ (𝐹𝑦)))
1110elrab 3220 . . . . . . 7 (𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ↔ (𝑦𝐴 ∧ ¬ 𝑦 ∈ (𝐹𝑦)))
1211baibr 933 . . . . . 6 (𝑦𝐴 → (¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
13 nbbn 367 . . . . . 6 ((¬ 𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1412, 13sylib 203 . . . . 5 (𝑦𝐴 → ¬ (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
15 eleq2 2572 . . . . 5 ((𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} → (𝑦 ∈ (𝐹𝑦) ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
1614, 15nsyl 127 . . . 4 (𝑦𝐴 → ¬ (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)})
1716nrex 2876 . . 3 ¬ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}
18 fofn 5854 . . . 4 (𝐹:𝐴onto→𝒫 𝐴𝐹 Fn 𝐴)
19 fvelrnb 5977 . . . 4 (𝐹 Fn 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2018, 19syl 17 . . 3 (𝐹:𝐴onto→𝒫 𝐴 → ({𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹 ↔ ∃𝑦𝐴 (𝐹𝑦) = {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)}))
2117, 20mtbiri 312 . 2 (𝐹:𝐴onto→𝒫 𝐴 → ¬ {𝑥𝐴 ∣ ¬ 𝑥 ∈ (𝐹𝑥)} ∈ ran 𝐹)
226, 21pm2.65i 180 1 ¬ 𝐹:𝐴onto→𝒫 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 191   = wceq 1468  wcel 1937  wrex 2792  {crab 2795  Vcvv 3066  wss 3426  𝒫 cpw 3978  ran crn 4881   Fn wfn 5628  ontowfo 5631  cfv 5633
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1698  ax-4 1711  ax-5 1789  ax-6 1836  ax-7 1883  ax-9 1946  ax-10 1965  ax-11 1970  ax-12 1983  ax-13 2137  ax-ext 2485  ax-sep 4558  ax-nul 4567  ax-pr 4680
This theorem depends on definitions:  df-bi 192  df-or 379  df-an 380  df-3an 1023  df-tru 1471  df-ex 1693  df-nf 1697  df-sb 1829  df-eu 2357  df-mo 2358  df-clab 2492  df-cleq 2498  df-clel 2501  df-nfc 2635  df-ne 2677  df-ral 2796  df-rex 2797  df-rab 2800  df-v 3068  df-sbc 3292  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-nul 3758  df-if 3909  df-pw 3980  df-sn 3996  df-pr 3998  df-op 4002  df-uni 4229  df-br 4435  df-opab 4494  df-mpt 4495  df-id 4795  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-iota 5597  df-fun 5635  df-fn 5636  df-f 5637  df-fo 5639  df-fv 5641
This theorem is referenced by:  canth2  7809  canthwdom  8177
  Copyright terms: Public domain W3C validator