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

Theorem neq0f 4298
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 4302 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 4297 . . 3 (𝐴 = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
32notbii 323 . 2 (¬ 𝐴 = ∅ ↔ ¬ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
4 df-ex 1813 . 2 (∃𝑥 𝑥 ∈ 𝐴 ↔ ¬ ∀𝑥 ¬ 𝑥 ∈ 𝐴)
53, 4bitr4i 281 1 (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Ⅎwnfc 2911  ∅c0 4281
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-dif 4050  df-nul 4282
This theorem is used by:  n0f  4299  ralfal  46449
  Copyright terms: Public domain W3C validator