HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem difab 1693
Description: Difference of two class abstractions.
Assertion
Ref Expression
difab ({xφ} ∖ {xψ}) = {x∣(φ ∧ ¬ ψ)}

Proof of Theorem difab
StepHypRef Expression
1 sbn 882 . . . . . 6 ([y / x] ¬ ψ ↔ ¬ [y / x]ψ)
2 df-clab 1093 . . . . . 6 (y ∈ {x∣ ¬ ψ} ↔ [y / x] ¬ ψ)
3 df-clab 1093 . . . . . . 7 (y ∈ {xψ} ↔ [y / x]ψ)
43negbii 162 . . . . . 6 y ∈ {xψ} ↔ ¬ [y / x]ψ)
51, 2, 43bitr4 158 . . . . 5 (y ∈ {x∣ ¬ ψ} ↔ ¬ y ∈ {xψ})
6 visset 1350 . . . . . 6 yV
76biantrur 544 . . . . 5 y ∈ {xψ} ↔ (yV ∧ ¬ y ∈ {xψ}))
85, 7bitr2 152 . . . 4 ((yV ∧ ¬ y ∈ {xψ}) ↔ y ∈ {x∣ ¬ ψ})
98difeqri 1589 . . 3 (V ∖ {xψ}) = {x∣ ¬ ψ}
109ineq2i 1642 . 2 ({xφ} ∩ (V ∖ {xψ})) = ({xφ} ∩ {x∣ ¬ ψ})
11 invdif 1674 . 2 ({xφ} ∩ (V ∖ {xψ})) = ({xφ} ∖ {xψ})
12 inab 1692 . 2 ({xφ} ∩ {x∣ ¬ ψ}) = {x∣(φ ∧ ¬ ψ)}
1310, 11, 123eqtr3 1124 1 ({xφ} ∖ {xψ}) = {x∣(φ ∧ ¬ ψ)}
Colors of variables: wff set class
Syntax hints:  ¬ wn 1   ∧ wa 196  [wsb 852  {cab 1090   = wceq 1091   ∈ wcel 1092  Vcvv 1348   ∖ cdif 1484   ∩ cin 1486
This theorem is referenced by:  difrab 1695
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-16 922  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-in 1491
metamath.org