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

Theorem metn0 23524
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 23494 . . . . 5 (𝐷 ∈ (Met‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ)
2 frel 6603 . . . . 5 (𝐷:(𝑋 × 𝑋)⟶ℝ → Rel 𝐷)
3 reldm0 5836 . . . . 5 (Rel 𝐷 → (𝐷 = ∅ ↔ dom 𝐷 = ∅))
41, 2, 33syl 18 . . . 4 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ dom 𝐷 = ∅))
51fdmd 6609 . . . . 5 (𝐷 ∈ (Met‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
65eqeq1d 2742 . . . 4 (𝐷 ∈ (Met‘𝑋) → (dom 𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅))
74, 6bitrd 278 . . 3 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ (𝑋 × 𝑋) = ∅))
8 xpeq0 6062 . . . 4 ((𝑋 × 𝑋) = ∅ ↔ (𝑋 = ∅ ∨ 𝑋 = ∅))
9 oridm 902 . . . 4 ((𝑋 = ∅ ∨ 𝑋 = ∅) ↔ 𝑋 = ∅)
108, 9bitri 274 . . 3 ((𝑋 × 𝑋) = ∅ ↔ 𝑋 = ∅)
117, 10bitrdi 287 . 2 (𝐷 ∈ (Met‘𝑋) → (𝐷 = ∅ ↔ 𝑋 = ∅))
1211necon3bid 2990 1 (𝐷 ∈ (Met‘𝑋) → (𝐷 ≠ ∅ ↔ 𝑋 ≠ ∅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wo 844   = wceq 1542  wcel 2110  wne 2945  c0 4262   × cxp 5588  dom cdm 5590  Rel wrel 5595  wf 6428  cfv 6432  cr 10881  Metcmet 20594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7583  ax-cnex 10938  ax-resscn 10939
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-sbc 3721  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-fv 6440  df-ov 7275  df-oprab 7276  df-mpo 7277  df-map 8609  df-met 20602
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator