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

Theorem ab0orv 4309
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 Gino Giotto, 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 1918 . . 3 𝑦𝜑
2 nf3 1790 . . 3 (Ⅎ𝑦𝜑 ↔ (∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑))
31, 2mpbi 229 . 2 (∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑)
4 tbtru 1547 . . . . . 6 (𝜑 ↔ (𝜑 ↔ ⊤))
5 df-clab 2716 . . . . . . . 8 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
6 sbv 2092 . . . . . . . 8 ([𝑦 / 𝑥]𝜑𝜑)
75, 6bitr2i 275 . . . . . . 7 (𝜑𝑦 ∈ {𝑥𝜑})
8 tru 1543 . . . . . . . 8
9 vextru 2722 . . . . . . . 8 𝑦 ∈ {𝑥 ∣ ⊤}
108, 92th 263 . . . . . . 7 (⊤ ↔ 𝑦 ∈ {𝑥 ∣ ⊤})
117, 10bibi12i 339 . . . . . 6 ((𝜑 ↔ ⊤) ↔ (𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ⊤}))
124, 11bitri 274 . . . . 5 (𝜑 ↔ (𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ⊤}))
1312albii 1823 . . . 4 (∀𝑦𝜑 ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ⊤}))
14 dfcleq 2731 . . . 4 ({𝑥𝜑} = {𝑥 ∣ ⊤} ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ⊤}))
15 dfv2 3425 . . . . . 6 V = {𝑥 ∣ ⊤}
1615eqcomi 2747 . . . . 5 {𝑥 ∣ ⊤} = V
1716eqeq2i 2751 . . . 4 ({𝑥𝜑} = {𝑥 ∣ ⊤} ↔ {𝑥𝜑} = V)
1813, 14, 173bitr2i 298 . . 3 (∀𝑦𝜑 ↔ {𝑥𝜑} = V)
19 equid 2016 . . . . . . 7 𝑦 = 𝑦
2019nbn3 373 . . . . . 6 𝜑 ↔ (𝜑 ↔ ¬ 𝑦 = 𝑦))
21 df-clab 2716 . . . . . . . 8 (𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥} ↔ [𝑦 / 𝑥] ¬ 𝑥 = 𝑥)
22 equid 2016 . . . . . . . . . . . 12 𝑥 = 𝑥
2322, 192th 263 . . . . . . . . . . 11 (𝑥 = 𝑥𝑦 = 𝑦)
2423notbii 319 . . . . . . . . . 10 𝑥 = 𝑥 ↔ ¬ 𝑦 = 𝑦)
2524a1i 11 . . . . . . . . 9 (𝑥 = 𝑦 → (¬ 𝑥 = 𝑥 ↔ ¬ 𝑦 = 𝑦))
2625sbievw 2097 . . . . . . . 8 ([𝑦 / 𝑥] ¬ 𝑥 = 𝑥 ↔ ¬ 𝑦 = 𝑦)
2721, 26bitr2i 275 . . . . . . 7 𝑦 = 𝑦𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥})
287, 27bibi12i 339 . . . . . 6 ((𝜑 ↔ ¬ 𝑦 = 𝑦) ↔ (𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥}))
2920, 28bitri 274 . . . . 5 𝜑 ↔ (𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥}))
3029albii 1823 . . . 4 (∀𝑦 ¬ 𝜑 ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥}))
31 dfcleq 2731 . . . 4 ({𝑥𝜑} = {𝑥 ∣ ¬ 𝑥 = 𝑥} ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥 ∣ ¬ 𝑥 = 𝑥}))
32 dfnul2 4256 . . . . . 6 ∅ = {𝑥 ∣ ¬ 𝑥 = 𝑥}
3332eqcomi 2747 . . . . 5 {𝑥 ∣ ¬ 𝑥 = 𝑥} = ∅
3433eqeq2i 2751 . . . 4 ({𝑥𝜑} = {𝑥 ∣ ¬ 𝑥 = 𝑥} ↔ {𝑥𝜑} = ∅)
3530, 31, 343bitr2i 298 . . 3 (∀𝑦 ¬ 𝜑 ↔ {𝑥𝜑} = ∅)
3618, 35orbi12i 911 . 2 ((∀𝑦𝜑 ∨ ∀𝑦 ¬ 𝜑) ↔ ({𝑥𝜑} = V ∨ {𝑥𝜑} = ∅))
373, 36mpbi 229 1 ({𝑥𝜑} = V ∨ {𝑥𝜑} = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wo 843  wal 1537   = wceq 1539  wtru 1540  wnf 1787  [wsb 2068  wcel 2108  {cab 2715  Vcvv 3422  c0 4253
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-v 3424  df-dif 3886  df-nul 4254
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator