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

Theorem notabw 4234
Description: A class abstraction defined by a negation. Version of notab 4235 using implicit substitution, which does not require ax-10 2139, ax-12 2173. (Contributed by Gino Giotto, 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 3426 . . . . 5 𝑥 ∈ V
21biantrur 530 . . . 4 𝑥 ∈ {𝑦𝜓} ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
3 df-clab 2716 . . . . 5 (𝑥 ∈ {𝑦𝜓} ↔ [𝑥 / 𝑦]𝜓)
4 notabw.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
54bicomd 222 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
65equcoms 2024 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
76sbievw 2097 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
83, 7bitri 274 . . . 4 (𝑥 ∈ {𝑦𝜓} ↔ 𝜑)
92, 8xchnxbi 331 . . 3 𝜑 ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
109abbii 2809 . 2 {𝑥 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
11 df-dif 3886 . 2 (V ∖ {𝑦𝜓}) = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
1210, 11eqtr4i 2769 1 {𝑥 ∣ ¬ 𝜑} = (V ∖ {𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  [wsb 2068  wcel 2108  {cab 2715  Vcvv 3422  cdif 3880
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-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-v 3424  df-dif 3886
This theorem is referenced by:  dfif3  4470
  Copyright terms: Public domain W3C validator