Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > ILE Home > Th. List > df-dif | GIF version |
Description: Define class difference, also called relative complement. Definition 5.12 of [TakeutiZaring] p. 20. Contrast this operation with union (𝐴 ∪ 𝐵) (df-un 3120) and intersection (𝐴 ∩ 𝐵) (df-in 3122). 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 "𝐴 excludes 𝐵 " to mean 𝐴 ∖ 𝐵. We will use "𝐵 is removed from 𝐴 " to mean 𝐴 ∖ {𝐵} i.e. the removal of an element or equivalently the exclusion of a singleton. (Contributed by NM, 29-Apr-1994.) |
Ref | Expression |
---|---|
df-dif | ⊢ (𝐴 ∖ 𝐵) = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)} |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | cA | . . 3 class 𝐴 | |
2 | cB | . . 3 class 𝐵 | |
3 | 1, 2 | cdif 3113 | . 2 class (𝐴 ∖ 𝐵) |
4 | vx | . . . . . 6 setvar 𝑥 | |
5 | 4 | cv 1342 | . . . . 5 class 𝑥 |
6 | 5, 1 | wcel 2136 | . . . 4 wff 𝑥 ∈ 𝐴 |
7 | 5, 2 | wcel 2136 | . . . . 5 wff 𝑥 ∈ 𝐵 |
8 | 7 | wn 3 | . . . 4 wff ¬ 𝑥 ∈ 𝐵 |
9 | 6, 8 | wa 103 | . . 3 wff (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) |
10 | 9, 4 | cab 2151 | . 2 class {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)} |
11 | 3, 10 | wceq 1343 | 1 wff (𝐴 ∖ 𝐵) = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)} |
Colors of variables: wff set class |
This definition is referenced by: dfdif2 3124 eldif 3125 bdcdif 13743 |
Copyright terms: Public domain | W3C validator |