Proof of Theorem dfdif3
Step | Hyp | Ref
| Expression |
1 | | dfdif2 3892 |
. 2
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} |
2 | | ax6ev 1974 |
. . . . . . 7
⊢
∃𝑦 𝑦 = 𝑥 |
3 | 2 | biantrur 530 |
. . . . . 6
⊢ (¬
𝑥 ∈ 𝐵 ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
4 | | 19.41v 1954 |
. . . . . 6
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
5 | 3, 4 | bitr4i 277 |
. . . . 5
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
6 | | sbalex 2238 |
. . . . 5
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵)) |
7 | | equcom 2022 |
. . . . . . . 8
⊢ (𝑦 = 𝑥 ↔ 𝑥 = 𝑦) |
8 | 7 | imbi1i 349 |
. . . . . . 7
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵)) |
9 | | eleq1w 2821 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵)) |
10 | 9 | notbid 317 |
. . . . . . . . 9
⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ 𝐵 ↔ ¬ 𝑦 ∈ 𝐵)) |
11 | 10 | pm5.74i 270 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵)) |
12 | | con2b 359 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦)) |
13 | | df-ne 2943 |
. . . . . . . . . 10
⊢ (𝑥 ≠ 𝑦 ↔ ¬ 𝑥 = 𝑦) |
14 | 13 | bicomi 223 |
. . . . . . . . 9
⊢ (¬
𝑥 = 𝑦 ↔ 𝑥 ≠ 𝑦) |
15 | 14 | imbi2i 335 |
. . . . . . . 8
⊢ ((𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
16 | 11, 12, 15 | 3bitri 296 |
. . . . . . 7
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
17 | 8, 16 | bitri 274 |
. . . . . 6
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
18 | 17 | albii 1823 |
. . . . 5
⊢
(∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
19 | 5, 6, 18 | 3bitri 296 |
. . . 4
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
20 | | df-ral 3068 |
. . . 4
⊢
(∀𝑦 ∈
𝐵 𝑥 ≠ 𝑦 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
21 | 19, 20 | bitr4i 277 |
. . 3
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦) |
22 | 21 | rabbii 3397 |
. 2
⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |
23 | 1, 22 | eqtri 2766 |
1
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |