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

Theorem notabw 4299
Description: A class abstraction defined by a negation. Version of notab 4300 using implicit substitution, which does not require ax-10 2130, ax-12 2164. (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 3473 . . . . 5 𝑥 ∈ V
21biantrur 530 . . . 4 𝑥 ∈ {𝑦𝜓} ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
3 df-clab 2705 . . . . 5 (𝑥 ∈ {𝑦𝜓} ↔ [𝑥 / 𝑦]𝜓)
4 notabw.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
54bicomd 222 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
65equcoms 2016 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
76sbievw 2088 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
83, 7bitri 275 . . . 4 (𝑥 ∈ {𝑦𝜓} ↔ 𝜑)
92, 8xchnxbi 332 . . 3 𝜑 ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓}))
109abbii 2797 . 2 {𝑥 ∣ ¬ 𝜑} = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
11 df-dif 3947 . 2 (V ∖ {𝑦𝜓}) = {𝑥 ∣ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝑦𝜓})}
1210, 11eqtr4i 2758 1 {𝑥 ∣ ¬ 𝜑} = (V ∖ {𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1534  [wsb 2060  wcel 2099  {cab 2704  Vcvv 3469  cdif 3941
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-ext 2698
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1537  df-ex 1775  df-sb 2061  df-clab 2705  df-cleq 2719  df-clel 2805  df-v 3471  df-dif 3947
This theorem is referenced by:  dfif3  4538
  Copyright terms: Public domain W3C validator