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

Definition df-dif 2046
Description: Define class difference, also called relative complement. Definition 5.12 of [TakeutiZaring] p. 20. Several notations are used in the literature; we chose the ∖ convention used in Definition 5.3 of [Eisenberg] p. 67 instead of the more common minus sign to reserve the latter for later use in, e.g., arithmetic. We will use the terminology "A excludes B" to mean AB. We will use "B is removed from A" to mean A ∖ {B} i.e. the removal of an element or equivalently the exclusion of a singleton.
Assertion
Ref Expression
df-dif (AB) = {x∣(xA ⋀ ¬ xB)}
Distinct variable groups:   x,A   x,B

Detailed syntax breakdown of Definition df-dif
StepHypRef Expression
1 cA . . 3 class A
2 cB . . 3 class B
31, 2cdif 2041 . 2 class (AB)
4 vx . . . . . 6 set x
54cv 954 . . . . 5 class x
65, 1wcel 957 . . . 4 wff xA
75, 2wcel 957 . . . . 5 wff xB
87wn 2 . . . 4 wff ¬ xB
96, 8wa 223 . . 3 wff (xA ⋀ ¬ xB)
109, 4cab 1462 . 2 class {x∣(xA ⋀ ¬ xB)}
113, 10wceq 955 1 wff (AB) = {x∣(xA ⋀ ¬ xB)}
Colors of variables: wff set class
This definition is referenced by:  dfdif2 2053  eldif 2054  difeq1 2150  difeq2 2151  difeqri 2157  difeqri2 10402
Copyright terms: Public domain