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

Theorem neq0f 4305
Description: A class is not empty if and only if it has at least one element. Proposition 5.17(1) of [TakeutiZaring] p. 20. This version of neq0 4309 requires only that 𝑥 not be free in, rather than not occur in, 𝐴. (Contributed by BJ, 15-Jul-2021.)
Hypothesis
Ref Expression
eq0f.1 Ⅎ𝑥𝐴
Assertion
Ref Expression
neq0f (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)

Proof of Theorem neq0f
StepHypRef Expression
1 eq0f.1 . . . 4 Ⅎ𝑥𝐴
21eq0f 4304 . . 3 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
32notbii 323 . 2 (¬ 𝐴 = ∅ ↔ ¬ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
4 df-ex 1819 . 2 (∃𝑥 𝑥 ∈ 𝐴 ↔ ¬ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
53, 4bitr4i 281 1 (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209  ∀wal 1570   = wceq 1572  ∃wex 1818   ∈ wcel 2156  Ⅎwnfc 2922  ∅c0 4288
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-dif 4057  df-nul 4289
This theorem is used by:  n0f  4306  ralfal  46608
  Copyright terms: Public domain W3C validator