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

Theorem reldm0 5793
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 5667 . . 3 Rel ∅
2 eqrel 5653 . . 3 ((Rel 𝐴 ∧ Rel ∅) → (𝐴 = ∅ ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅)))
31, 2mpan2 689 . 2 (Rel 𝐴 → (𝐴 = ∅ ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅)))
4 eq0 4308 . . 3 (dom 𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ dom 𝐴)
5 alnex 1778 . . . . . 6 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ¬ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
6 vex 3498 . . . . . . 7 𝑥 ∈ V
76eldm2 5765 . . . . . 6 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
85, 7xchbinxr 337 . . . . 5 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ¬ 𝑥 ∈ dom 𝐴)
9 noel 4296 . . . . . . 7 ¬ ⟨𝑥, 𝑦⟩ ∈ ∅
109nbn 375 . . . . . 6 (¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
1110albii 1816 . . . . 5 (∀𝑦 ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
128, 11bitr3i 279 . . . 4 𝑥 ∈ dom 𝐴 ↔ ∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
1312albii 1816 . . 3 (∀𝑥 ¬ 𝑥 ∈ dom 𝐴 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅))
144, 13bitr2i 278 . 2 (∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ∅) ↔ dom 𝐴 = ∅)
153, 14syl6bb 289 1 (Rel 𝐴 → (𝐴 = ∅ ↔ dom 𝐴 = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wal 1531   = wceq 1533  wex 1776  wcel 2110  c0 4291  cop 4567  dom cdm 5550  Rel wrel 5555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-br 5060  df-opab 5122  df-xp 5556  df-rel 5557  df-dm 5560
This theorem is referenced by:  relrn0  5835  coeq0  6103  fnresdisj  6462  fn0  6474  fresaunres2  6545  funopsn  6905  fsnunfv  6944  frxp  7814  domss2  8670  swrd0  14014  setsres  16519  pmtrsn  18641  gsumval3  19021  00lsp  19747  metn0  22964  wlkn0  27396  eulerpath  28014  funresdm1  30349  dfrdg2  33035  mbfresfi  34932  mapfzcons1  39307  diophrw  39349  eldioph2lem1  39350  eldioph2lem2  39351  sge0cl  42656
  Copyright terms: Public domain W3C validator