Proof of Theorem dfdif3
Step | Hyp | Ref
| Expression |
1 | | dfdif2 3875 |
. 2
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} |
2 | | ax6ev 1978 |
. . . . . . 7
⊢
∃𝑦 𝑦 = 𝑥 |
3 | 2 | biantrur 534 |
. . . . . 6
⊢ (¬
𝑥 ∈ 𝐵 ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
4 | | 19.41v 1958 |
. . . . . 6
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
5 | 3, 4 | bitr4i 281 |
. . . . 5
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
6 | | sbalex 2240 |
. . . . 5
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵)) |
7 | | equcom 2026 |
. . . . . . . 8
⊢ (𝑦 = 𝑥 ↔ 𝑥 = 𝑦) |
8 | 7 | imbi1i 353 |
. . . . . . 7
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵)) |
9 | | eleq1w 2820 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵)) |
10 | 9 | notbid 321 |
. . . . . . . . 9
⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ 𝐵 ↔ ¬ 𝑦 ∈ 𝐵)) |
11 | 10 | pm5.74i 274 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵)) |
12 | | con2b 363 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦)) |
13 | | df-ne 2941 |
. . . . . . . . . 10
⊢ (𝑥 ≠ 𝑦 ↔ ¬ 𝑥 = 𝑦) |
14 | 13 | bicomi 227 |
. . . . . . . . 9
⊢ (¬
𝑥 = 𝑦 ↔ 𝑥 ≠ 𝑦) |
15 | 14 | imbi2i 339 |
. . . . . . . 8
⊢ ((𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
16 | 11, 12, 15 | 3bitri 300 |
. . . . . . 7
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
17 | 8, 16 | bitri 278 |
. . . . . 6
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
18 | 17 | albii 1827 |
. . . . 5
⊢
(∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
19 | 5, 6, 18 | 3bitri 300 |
. . . 4
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
20 | | df-ral 3066 |
. . . 4
⊢
(∀𝑦 ∈
𝐵 𝑥 ≠ 𝑦 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
21 | 19, 20 | bitr4i 281 |
. . 3
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦) |
22 | 21 | rabbii 3383 |
. 2
⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |
23 | 1, 22 | eqtri 2765 |
1
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |