Proof of Theorem dfdif3
Step | Hyp | Ref
| Expression |
1 | | dfdif2 3896 |
. 2
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} |
2 | | ax6ev 1973 |
. . . . . . 7
⊢
∃𝑦 𝑦 = 𝑥 |
3 | 2 | biantrur 531 |
. . . . . 6
⊢ (¬
𝑥 ∈ 𝐵 ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
4 | | 19.41v 1953 |
. . . . . 6
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ (∃𝑦 𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
5 | 3, 4 | bitr4i 277 |
. . . . 5
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵)) |
6 | | sbalex 2235 |
. . . . 5
⊢
(∃𝑦(𝑦 = 𝑥 ∧ ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵)) |
7 | | equcom 2021 |
. . . . . . . 8
⊢ (𝑦 = 𝑥 ↔ 𝑥 = 𝑦) |
8 | 7 | imbi1i 350 |
. . . . . . 7
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵)) |
9 | | eleq1w 2821 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵)) |
10 | 9 | notbid 318 |
. . . . . . . . 9
⊢ (𝑥 = 𝑦 → (¬ 𝑥 ∈ 𝐵 ↔ ¬ 𝑦 ∈ 𝐵)) |
11 | 10 | pm5.74i 270 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵)) |
12 | | con2b 360 |
. . . . . . . 8
⊢ ((𝑥 = 𝑦 → ¬ 𝑦 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦)) |
13 | | df-ne 2944 |
. . . . . . . . . 10
⊢ (𝑥 ≠ 𝑦 ↔ ¬ 𝑥 = 𝑦) |
14 | 13 | bicomi 223 |
. . . . . . . . 9
⊢ (¬
𝑥 = 𝑦 ↔ 𝑥 ≠ 𝑦) |
15 | 14 | imbi2i 336 |
. . . . . . . 8
⊢ ((𝑦 ∈ 𝐵 → ¬ 𝑥 = 𝑦) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
16 | 11, 12, 15 | 3bitri 297 |
. . . . . . 7
⊢ ((𝑥 = 𝑦 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
17 | 8, 16 | bitri 274 |
. . . . . 6
⊢ ((𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
18 | 17 | albii 1822 |
. . . . 5
⊢
(∀𝑦(𝑦 = 𝑥 → ¬ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
19 | 5, 6, 18 | 3bitri 297 |
. . . 4
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
20 | | df-ral 3069 |
. . . 4
⊢
(∀𝑦 ∈
𝐵 𝑥 ≠ 𝑦 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝑥 ≠ 𝑦)) |
21 | 19, 20 | bitr4i 277 |
. . 3
⊢ (¬
𝑥 ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦) |
22 | 21 | rabbii 3408 |
. 2
⊢ {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |
23 | 1, 22 | eqtri 2766 |
1
⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |