| 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 9149. Note that 𝐴 must be a set: this theorem does not hold when 𝐴 is too large to be a set; see ncanth 7375 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 4028 | . . . 4 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ⊆ 𝐴 | |
| 3 | 1, 2 | elpwi2 5297 | . . 3 ⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ 𝒫 𝐴 |
| 4 | forn 6799 | . . 3 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → ran 𝐹 = 𝒫 𝐴) | |
| 5 | 3, 4 | eleqtrrid 2868 | . 2 ⊢ (𝐹:𝐴–onto→𝒫 𝐴 → {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ∈ ran 𝐹) |
| 6 | id 23 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → 𝑥 = 𝑦) | |
| 7 | fveq2 6885 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑦 → (𝐹‘𝑥) = (𝐹‘𝑦)) | |
| 8 | 6, 7 | eleq12d 2855 | . . . . . . . . 9 ⊢ (𝑥 = 𝑦 → (𝑥 ∈ (𝐹‘𝑥) ↔ 𝑦 ∈ (𝐹‘𝑦))) |
| 9 | 8 | notbid 321 | . . . . . . . 8 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ (𝐹‘𝑥) ↔ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 10 | 9 | elrab 3645 | . . . . . . 7 ⊢ (𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} ↔ (𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (𝐹‘𝑦))) |
| 11 | 10 | baibr 546 | . . . . . 6 ⊢ (𝑦 ∈ 𝐴 → (¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 12 | nbbn 386 | . . . . . 6 ⊢ ((¬ 𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) ↔ ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 13 | 11, 12 | sylib 221 | . . . . 5 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) |
| 14 | eleq2 2850 | . . . . 5 ⊢ ((𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)} → (𝑦 ∈ (𝐹‘𝑦) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)})) | |
| 15 | 13, 14 | nsyl 141 | . . . 4 ⊢ (𝑦 ∈ 𝐴 → ¬ (𝐹‘𝑦) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ (𝐹‘𝑥)}) |
| 16 | 15 | nrex 3091 | . . 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 2145 ∃wrex 3087 {crab 3413 Vcvv 3451 𝒫 cpw 4557 ran crn 5652 Fn wfn 6533 –onto→wfo 6536 ‘cfv 6538 |
| 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 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2733 ax-sep 5249 ax-nul 5260 ax-pr 5391 |
| 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 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3078 df-rex 3088 df-rab 3414 df-v 3453 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5546 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-fo 6544 df-fv 6546 |
| This theorem is used by: canth2 9149 canthwdom 9573 |
| Copyright terms: Public domain | W3C validator |