| 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 9120. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 7371 for a counterexample. (Use nex 1833 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 4037 | . . . 4 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ⊆ 𝐴 | |
| 3 | 1, 2 | elpwi2 5309 | . . 3 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ 𝒫 𝐴 |
| 4 | forn 6799 | . . 3 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴) | |
| 5 | 3, 4 | eleqtrrid 2873 | . 2 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹) |
| 6 | id 23 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → 𝑥 = 𝑦) | |
| 7 | fveq2 6885 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → (𝐹‘𝑥) = (𝐹‘𝑦)) | |
| 8 | 6, 7 | eleq12d 2860 | . . . . . . . . 9 ⊢ (𝑥 = 𝑦 → (𝑥 ∈ (𝐹‘𝑥) ↔ 𝑦 ∈ (𝐹‘𝑦))) |
| 9 | 8 | notbid 321 | . . . . . . . 8 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹‘𝑥) ↔ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 10 | 9 | elrab 3653 | . . . . . . 7 ⊢ (𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ↔ (𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 11 | 10 | baibr 546 | . . . . . 6 ⊢ (𝑦 ∈ 𝐴 → (¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 12 | nbbn 386 | . . . . . 6 ⊢ ((¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 13 | 11, 12 | sylib 221 | . . . . 5 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 14 | eleq2 2855 | . . . . 5 ⊢ ((𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} → (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 15 | 13, 14 | nsyl 141 | . . . 4 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) |
| 16 | 15 | nrex 3096 | . . 3 ⊢ ¬ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} |
| 17 | fofn 6798 | . . . 4 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → 𝐹 Fn 𝐴) | |
| 18 | fvelrnb 6945 | . . . 4 ⊢ (𝐹 Fn 𝐴 → ({𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹 ↔ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 19 | 17, 18 | syl 18 | . . 3 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ({𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹 ↔ ∃𝑦 ∈ 𝐴 (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 20 | 16, 19 | mtbiri 330 | . 2 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ¬ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹) |
| 21 | 5, 20 | pm2.65i 196 | 1 ⊢ ¬ 𝐹:𝐴–onto→𝒫 𝐴 |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 ↔ wb 209 = wceq 1570 ∈ wcel 2146 ∃wrex 3092 {crab 3419 Vcvv 3458 𝒫 cpw 4565 ran crn 5665 Fn wfn 6535 –onto→wfo 6538 ‘cfv 6540 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5260 ax-nul 5272 ax-pr 5407 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-ral 3083 df-rex 3093 df-rab 3420 df-v 3460 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4491 df-pw 4567 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4876 df-br 5113 df-opab 5177 df-mpt 5196 df-id 5559 df-xp 5670 df-rel 5671 df-cnv 5672 df-co 5673 df-dm 5674 df-rn 5675 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-fo 6546 df-fv 6548 |
| This theorem is used by: canth2 9120 canthwdom 9543 |
| Copyright terms: Public domain | W3C validator |