ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  difab GIF version

Theorem difab 3340
Description: Difference of two class abstractions. (Contributed by NM, 23-Oct-2004.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
difab ({𝑥𝜑} ∖ {𝑥𝜓}) = {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)}

Proof of Theorem difab
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-clab 2124 . . 3 (𝑦 ∈ {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)} ↔ [𝑦 / 𝑥](𝜑 ∧ ¬ 𝜓))
2 sban 1926 . . 3 ([𝑦 / 𝑥](𝜑 ∧ ¬ 𝜓) ↔ ([𝑦 / 𝑥]𝜑 ∧ [𝑦 / 𝑥] ¬ 𝜓))
3 df-clab 2124 . . . . 5 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
43bicomi 131 . . . 4 ([𝑦 / 𝑥]𝜑𝑦 ∈ {𝑥𝜑})
5 sbn 1923 . . . . 5 ([𝑦 / 𝑥] ¬ 𝜓 ↔ ¬ [𝑦 / 𝑥]𝜓)
6 df-clab 2124 . . . . 5 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
75, 6xchbinxr 672 . . . 4 ([𝑦 / 𝑥] ¬ 𝜓 ↔ ¬ 𝑦 ∈ {𝑥𝜓})
84, 7anbi12i 455 . . 3 (([𝑦 / 𝑥]𝜑 ∧ [𝑦 / 𝑥] ¬ 𝜓) ↔ (𝑦 ∈ {𝑥𝜑} ∧ ¬ 𝑦 ∈ {𝑥𝜓}))
91, 2, 83bitrri 206 . 2 ((𝑦 ∈ {𝑥𝜑} ∧ ¬ 𝑦 ∈ {𝑥𝜓}) ↔ 𝑦 ∈ {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)})
109difeqri 3191 1 ({𝑥𝜑} ∖ {𝑥𝜓}) = {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)}
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103   = wceq 1331  wcel 1480  [wsb 1735  {cab 2123  cdif 3063
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-v 2683  df-dif 3068
This theorem is referenced by:  notab  3341  difrab  3345  notrab  3348  imadiflem  5197  imadif  5198
  Copyright terms: Public domain W3C validator