| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > metn0 | Structured version Visualization version GIF version | ||
| Description: A metric space is nonempty iff its base set is nonempty. (Contributed by NM, 4-Oct-2007.) (Revised by Mario Carneiro, 14-Aug-2015.) |
| Ref | Expression |
|---|---|
| metn0 | ⊢ (𝐷 ∈ (Met‘𝑋) → (𝐷 ≠ ∅ ↔ 𝑋 ≠ ∅)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | metf 24370 | . . . . 5 ⊢ (𝐷 ∈ (Met‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ) | |
| 2 | frel 6693 | . . . . 5 ⊢ (𝐷:(𝑋 × 𝑋)⟶ℝ → Rel 𝐷) | |
| 3 | reldm0 5902 | . . . . 5 ⊢ (Rel 𝐷 → (𝐷 = ∅ ↔ dom 𝐷 = ∅)) | |
| 4 | 1, 2, 3 | 3syl 18 | . . . 4 ⊢ (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ dom 𝐷 = ∅)) |
| 5 | 1 | fdmd 6698 | . . . . 5 ⊢ (𝐷 ∈ (Met‘𝑋) → dom 𝐷 = (𝑋 × 𝑋)) |
| 6 | 5 | eqeq1d 2763 | . . . 4 ⊢ (𝐷 ∈ (Met‘𝑋) → (dom 𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅)) |
| 7 | 4, 6 | bitrd 281 | . . 3 ⊢ (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅)) |
| 8 | xpeq0 6142 | . . . 4 ⊢ ((𝑋 × 𝑋) = ∅ ↔ (𝑋 = ∅ ∨ 𝑋 = ∅)) | |
| 9 | oridm 915 | . . . 4 ⊢ ((𝑋 = ∅ ∨ 𝑋 = ∅) ↔ 𝑋 = ∅) | |
| 10 | 8, 9 | bitri 277 | . . 3 ⊢ ((𝑋 × 𝑋) = ∅ ↔ 𝑋 = ∅) |
| 11 | 7, 10 | bitrdi 289 | . 2 ⊢ (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ 𝑋 = ∅)) |
| 12 | 11 | necon3bid 3000 | 1 ⊢ (𝐷 ∈ (Met‘𝑋) → (𝐷 ≠ ∅ ↔ 𝑋 ≠ ∅)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∨ wo 858 = wceq 1559 ∈ wcel 2141 ≠ wne 2956 ∅c0 4285 × cxp 5643 dom cdm 5645 Rel wrel 5650 ⟶wf 6513 ‘cfv 6517 ℝcr 11069 Metcmet 21390 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-8 2143 ax-9 2151 ax-10 2174 ax-11 2190 ax-12 2211 ax-ext 2733 ax-sep 5245 ax-nul 5255 ax-pow 5321 ax-pr 5389 ax-un 7714 ax-cnex 11126 ax-resscn 11127 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1099 df-tru 1562 df-fal 1572 df-ex 1799 df-nf 1803 df-sb 2090 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3076 df-rex 3086 df-rab 3414 df-v 3455 df-sbc 3745 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4480 df-pw 4556 df-sn 4582 df-pr 4584 df-op 4588 df-uni 4865 df-br 5100 df-opab 5162 df-mpt 5181 df-id 5540 df-xp 5651 df-rel 5652 df-cnv 5653 df-co 5654 df-dm 5655 df-rn 5656 df-iota 6473 df-fun 6519 df-fn 6520 df-f 6521 df-fv 6525 df-ov 7395 df-oprab 7396 df-mpo 7397 df-map 8805 df-met 21398 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |