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

Theorem eq0 4301
Description: A class is equal to the empty set if and only if it has no elements. Theorem 2 of [Suppes] p. 22. (Contributed by NM, 29-Aug-1993.) Avoid ax-11 2154, ax-12 2171. (Revised by Gino Giotto and Steven Nguyen, 28-Jun-2024.) Avoid ax-8 2108, df-clel 2815. (Revised by Gino Giotto, 6-Sep-2024.)
Assertion
Ref Expression
eq0 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥𝐴)
Distinct variable group:   𝑥,𝐴

Proof of Theorem eq0
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfnul4 4282 . . 3 ∅ = {𝑦 ∣ ⊥}
21eqeq2i 2750 . 2 (𝐴 = ∅ ↔ 𝐴 = {𝑦 ∣ ⊥})
3 dfcleq 2730 . . 3 (𝐴 = {𝑦 ∣ ⊥} ↔ ∀𝑥(𝑥𝐴𝑥 ∈ {𝑦 ∣ ⊥}))
4 df-clab 2715 . . . . . . 7 (𝑥 ∈ {𝑦 ∣ ⊥} ↔ [𝑥 / 𝑦]⊥)
5 sbv 2091 . . . . . . 7 ([𝑥 / 𝑦]⊥ ↔ ⊥)
64, 5bitri 274 . . . . . 6 (𝑥 ∈ {𝑦 ∣ ⊥} ↔ ⊥)
76bibi2i 337 . . . . 5 ((𝑥𝐴𝑥 ∈ {𝑦 ∣ ⊥}) ↔ (𝑥𝐴 ↔ ⊥))
8 nbfal 1556 . . . . 5 𝑥𝐴 ↔ (𝑥𝐴 ↔ ⊥))
97, 8bitr4i 277 . . . 4 ((𝑥𝐴𝑥 ∈ {𝑦 ∣ ⊥}) ↔ ¬ 𝑥𝐴)
109albii 1821 . . 3 (∀𝑥(𝑥𝐴𝑥 ∈ {𝑦 ∣ ⊥}) ↔ ∀𝑥 ¬ 𝑥𝐴)
113, 10bitri 274 . 2 (𝐴 = {𝑦 ∣ ⊥} ↔ ∀𝑥 ¬ 𝑥𝐴)
122, 11bitri 274 1 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wal 1539   = wceq 1541  wfal 1553  [wsb 2067  wcel 2106  {cab 2714  c0 4280
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-9 2116  ax-ext 2708
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1544  df-fal 1554  df-ex 1782  df-sb 2068  df-clab 2715  df-cleq 2729  df-dif 3911  df-nul 4281
This theorem is referenced by:  neq0  4303  nel0  4308  0el  4318  ssdif0  4321  difin0ss  4326  inssdif0  4327  ralf0OLD  4473  disjiun  5090  0ex  5262  reldm0  5881  iresn0n0  6005  uzwo  12790  hashgt0elex  14254  hausdiag  22947  rnelfmlem  23254  prv0  33827  wzel  34208  knoppndv  34928  bj-nul  35458  bj-nuliota  35459  bj-nuliotaALT  35460  nninfnub  36141  prtlem14  37267  orddif0suc  41505  nrhmzr  46065  zrninitoringc  46263
  Copyright terms: Public domain W3C validator