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

Theorem notabw 4265
Description: A class abstraction defined by a negation. Version of notab 4266 using implicit substitution, which does not require ax-10 2174, ax-12 2211. (Contributed by GG, 15-Oct-2024.)
Hypothesis
Ref Expression
notabw.1 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
notabw {𝑥 ∣ ¬ 𝜑} = (V ∖ {𝑦𝜓})
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem notabw
StepHypRef Expression
1 vex 3457 . . . . 5 𝑥 ∈ V
21biantrur 538 . . . 4 𝑥 ∈ {𝑦𝜓} ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
3 df-clab 2740 . . . . 5 (𝑥 ∈ {𝑦𝜓} ↔ [𝑥 / 𝑦]𝜓)
4 notabw.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
54bicomd 225 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
65equcoms 2039 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
76sbievw 2126 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
83, 7bitri 277 . . . 4 (𝑥 ∈ {𝑦𝜓} ↔ 𝜑)
92, 8xchnxbi 334 . . 3 𝜑 ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
109abbii 2828 . 2 {𝑥 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
11 df-dif 3907 . 2 (V ∖ {𝑦𝜓}) = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
1210, 11eqtr4i 2787 1 {𝑥 ∣ ¬ 𝜑} = (V ∖ {𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 399   = wceq 1559  [wsb 2089  wcel 2141  {cab 2739  Vcvv 3453  cdif 3901
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-ext 2733
This theorem depends on definitions:  df-bi 209  df-an 400  df-tru 1562  df-ex 1799  df-sb 2090  df-clab 2740  df-cleq 2753  df-clel 2836  df-v 3455  df-dif 3907
This theorem is referenced by:  dfif3  4494
  Copyright terms: Public domain W3C validator