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

Theorem metn0 23562
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.)
Assertion
Ref Expression
metn0 (𝐷 ∈ (Met‘𝑋) → (𝐷 ≠ ∅ ↔ 𝑋 ≠ ∅))

Proof of Theorem metn0
StepHypRef Expression
1 metf 23532 . . . . 5 (𝐷 ∈ (Met‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ)
2 frel 6635 . . . . 5 (𝐷:(𝑋 × 𝑋)⟶ℝ → Rel 𝐷)
3 reldm0 5849 . . . . 5 (Rel 𝐷 → (𝐷 = ∅ ↔ dom 𝐷 = ∅))
41, 2, 33syl 18 . . . 4 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ dom 𝐷 = ∅))
51fdmd 6641 . . . . 5 (𝐷 ∈ (Met‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
65eqeq1d 2738 . . . 4 (𝐷 ∈ (Met‘𝑋) → (dom 𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅))
74, 6bitrd 279 . . 3 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅))
8 xpeq0 6078 . . . 4 ((𝑋 × 𝑋) = ∅ ↔ (𝑋 = ∅ ∨ 𝑋 = ∅))
9 oridm 903 . . . 4 ((𝑋 = ∅ ∨ 𝑋 = ∅) ↔ 𝑋 = ∅)
108, 9bitri 275 . . 3 ((𝑋 × 𝑋) = ∅ ↔ 𝑋 = ∅)
117, 10bitrdi 287 . 2 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ 𝑋 = ∅))
1211necon3bid 2986 1 (𝐷 ∈ (Met‘𝑋) → (𝐷 ≠ ∅ ↔ 𝑋 ≠ ∅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wo 845   = wceq 1539  wcel 2104  wne 2941  c0 4262   × cxp 5598  dom cdm 5600  Rel wrel 5605  wf 6454  cfv 6458  cr 10920  Metcmet 20632
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620  ax-cnex 10977  ax-resscn 10978
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3306  df-v 3439  df-sbc 3722  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-map 8648  df-met 20640
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator