| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > canth | Structured version Visualization version GIF version | ||
| Description: No set 𝐴 is equinumerous to its power set (Cantor's theorem), i.e., no function can map 𝐴 onto its power set. Compare Theorem 6B(b) of [Enderton] p. 132. For the equinumerosity version, see canth2 9072. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 7325 for a counterexample. (Use nex 1802 if you want the form ¬ ∃𝑓𝑓:𝐴–onto→𝒫 𝐴.) (Contributed by NM, 7-Aug-1994.) (Proof shortened by Mario Carneiro, 7-Jun-2016.) |
| Ref | Expression |
|---|---|
| canth.1 | ⊢ 𝐴 ∈ V |
| Ref | Expression |
|---|---|
| canth | ⊢ ¬ 𝐹:𝐴–onto→𝒫 𝐴 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | canth.1 | . . . 4 ⊢ 𝐴 ∈ V | |
| 2 | ssrab2 4034 | . . . 4 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ⊆ 𝐴 | |
| 3 | 1, 2 | elpwi2 5284 | . . 3 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ 𝒫 𝐴 |
| 4 | forn 6759 | . . 3 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴) | |
| 5 | 3, 4 | eleqtrrid 2844 | . 2 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹) |
| 6 | id 22 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → 𝑥 = 𝑦) | |
| 7 | fveq2 6844 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → (𝐹‘𝑥) = (𝐹‘𝑦)) | |
| 8 | 6, 7 | eleq12d 2831 | . . . . . . . . 9 ⊢ (𝑥 = 𝑦 → (𝑥 ∈ (𝐹‘𝑥) ↔ 𝑦 ∈ (𝐹‘𝑦))) |
| 9 | 8 | notbid 318 | . . . . . . . 8 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹‘𝑥) ↔ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 10 | 9 | elrab 3648 | . . . . . . 7 ⊢ (𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ↔ (𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 11 | 10 | baibr 536 | . . . . . 6 ⊢ (𝑦 ∈ 𝐴 → (¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 12 | nbbn 383 | . . . . . 6 ⊢ ((¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 13 | 11, 12 | sylib 218 | . . . . 5 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 14 | eleq2 2826 | . . . . 5 ⊢ ((𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} → (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 15 | 13, 14 | nsyl 140 | . . . 4 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) |
| 16 | 15 | nrex 3066 | . . 3 ⊢ ¬ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} |
| 17 | fofn 6758 | . . . 4 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → 𝐹 Fn 𝐴) | |
| 18 | fvelrnb 6904 | . . . 4 ⊢ (𝐹 Fn 𝐴 → ({𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹 ↔ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 19 | 17, 18 | syl 17 | . . 3 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ({𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹 ↔ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 20 | 16, 19 | mtbiri 327 | . 2 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ¬ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹) |
| 21 | 5, 20 | pm2.65i 194 | 1 ⊢ ¬ 𝐹:𝐴–onto→𝒫 𝐴 |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 206 = wceq 1542 ∈ wcel 2114 ∃wrex 3062 {crab 3401 Vcvv 3442 𝒫 cpw 4556 ran crn 5635 Fn wfn 6497 –onto→wfo 6500 ‘cfv 6502 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2709 ax-sep 5245 ax-nul 5255 ax-pr 5381 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2540 df-eu 2570 df-clab 2716 df-cleq 2729 df-clel 2812 df-nfc 2886 df-ne 2934 df-ral 3053 df-rex 3063 df-rab 3402 df-v 3444 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4288 df-if 4482 df-pw 4558 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5529 df-xp 5640 df-rel 5641 df-cnv 5642 df-co 5643 df-dm 5644 df-rn 5645 df-iota 6458 df-fun 6504 df-fn 6505 df-f 6506 df-fo 6508 df-fv 6510 |
| This theorem is referenced by: canth2 9072 canthwdom 9498 |
| Copyright terms: Public domain | W3C validator |