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

Definition df-dif 2101
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 A B. 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 (A B) = {x(x A ¬ x B)}
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 2096 . 2 class (A B)
4 vx . . . . . 6 set x
54cv 991 . . . . 5 class x
65, 1wcel 994 . . . 4 wff x A
75, 2wcel 994 . . . . 5 wff x B
87wn 2 . . . 4 wff ¬ x B
96, 8wa 221 . . 3 wff (x A ¬ x B)
109, 4cab 1505 . 2 class {x(x A ¬ x B)}
113, 10wceq 992 1 wff (A B) = {x(x A ¬ x B)}
Colors of variables: wff set class
This definition is referenced by:  dfdif2 2108  eldif 2109  difeq1 2205  difeq2 2206  difeqri 2212  difeqri2 10732  usinuniop 11128
Copyright terms: Public domain