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

Theorem reldm0 5909
Description: A relation is empty iff its domain is empty. (Contributed by NM, 15-Sep-2004.)
Assertion
Ref Expression
reldm0 (Rel 𝐴 → (𝐴 = ∅ ↔ dom 𝐴 = ∅))

Proof of Theorem reldm0
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rel0 5775 . . 3 Rel ∅
2 eqrel 5759 . . 3 ((Rel 𝐴 ∧ Rel ∅) → (𝐴 = ∅ ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅)))
31, 2mpan2 704 . 2 (Rel 𝐴 → (𝐴 = ∅ ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅)))
4 eq0 4296 . . 3 (dom 𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ dom 𝐴)
5 alnex 1813 . . . . . 6 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ¬ ∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴)
6 vex 3454 . . . . . . 7 𝑥 ∈ V
76eldm2 5882 . . . . . 6 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴)
85, 7xchbinxr 338 . . . . 5 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ¬ 𝑥 ∈ dom 𝐴)
9 noel 4283 . . . . . . 7 ¬ ⟨𝑥, 𝑦⟩ ∈ ∅
109nbn 375 . . . . . 6 (¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
1110albii 1851 . . . . 5 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
128, 11bitr3i 280 . . . 4 (¬ 𝑥 ∈ dom 𝐴 ↔ ∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
1312albii 1851 . . 3 (∀𝑥 ¬ 𝑥 ∈ dom 𝐴 ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
144, 13bitr2i 279 . 2 (∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅) ↔ dom 𝐴 = ∅)
153, 14bitrdi 290 1 (Rel 𝐴 → (𝐴 = ∅ ↔ dom 𝐴 = ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∅c0 4278  ⟨cop 4834  dom cdm 5650  Rel wrel 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-dm 5660
This theorem is used by:  relrn0  5954  relresdm1  6024  coeq0  6257  snres0  6301  fnresdisj  6659  fn0  6670  fresaunres2  6754  funopsnOLD  7152  fsnunfv  7192  frxp  8140  frxp2  8163  frxp3  8170  domss2  9158  swrd0  14812  setsres  17361  pmtrsn  19738  gsumval3  20126  00lsp  21261  metn0  24684  noetasuplem2  28096  noetainflem2  28100  wlkn0  30206  eulerpath  30847  dfrdg2  36649  mbfresfi  38677  mapfzcons1  43821  diophrw  43863  eldioph2lem1  43864  eldioph2lem2  43865  tfsconcatb0  44439  tfsconcat0i  44440  tfsconcat0b  44441  sge0cl  47484  resinsn  50078  resinsnALT  50079
  Copyright terms: Public domain W3C validator