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

Theorem ab0orv 4346
Description: The class abstraction defined by a formula not containing the abstraction variable is either the empty set or the universal class. (Contributed by Mario Carneiro, 29-Aug-2013.) (Revised by BJ, 22-Mar-2020.) Reduce axiom usage. (Revised by GG, 30-Aug-2024.)
Assertion
Ref Expression
ab0orv ({𝑥𝜑} = V ∨ {𝑥𝜑} = ∅)
Distinct variable group:   𝜑,𝑥

Proof of Theorem ab0orv
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 nfv 1941 . . 3 𝑦𝜑
2 nf3 1813 . . 3 (Ⅎ𝑦𝜑 ↔ (∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑))
31, 2mpbi 233 . 2 (∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑)
4 biidd 265 . . . . 5 (𝑥 = 𝑦 → (𝜑𝜑))
54eqabcbw 2843 . . . 4 ({𝑥𝜑} = {𝑥 ∣ ⊤} ↔ ∀𝑦(𝜑𝑦 ∈ {𝑥 ∣ ⊤}))
6 dfv2 3466 . . . . 5 V = {𝑥 ∣ ⊤}
76eqeq2i 2782 . . . 4 ({𝑥𝜑} = V ↔ {𝑥𝜑} = {𝑥 ∣ ⊤})
8 vextru 2754 . . . . . 6 𝑦 ∈ {𝑥 ∣ ⊤}
98tbt 372 . . . . 5 (𝜑 ↔ (𝜑𝑦 ∈ {𝑥 ∣ ⊤}))
109albii 1846 . . . 4 (∀𝑦𝜑 ↔ ∀𝑦(𝜑𝑦 ∈ {𝑥 ∣ ⊤}))
115, 7, 103bitr4i 306 . . 3 ({𝑥𝜑} = V ↔ ∀𝑦𝜑)
124ab0w 4342 . . 3 ({𝑥𝜑} = ∅ ↔ ∀𝑦 ¬ 𝜑)
1311, 12orbi12i 927 . 2 (({𝑥𝜑} = V ∨ {𝑥𝜑} = ∅) ↔ (∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑))
143, 13mpbir 234 1 ({𝑥𝜑} = V ∨ {𝑥𝜑} = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wo 860  wal 1565   = wceq 1567  wtru 1568  wnf 1810  wcel 2149  {cab 2747  Vcvv 3463  c0 4294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-9 2159  ax-ext 2741
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-clab 2748  df-cleq 2761  df-v 3465  df-dif 3916  df-nul 4295
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator