Proof of Theorem difrab
Step | Hyp | Ref
| Expression |
1 | | df-rab 3074 |
. . 3
⊢ {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} |
2 | | df-rab 3074 |
. . 3
⊢ {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)} |
3 | 1, 2 | difeq12i 4059 |
. 2
⊢ ({𝑥 ∈ 𝐴 ∣ 𝜑} ∖ {𝑥 ∈ 𝐴 ∣ 𝜓}) = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∖ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)}) |
4 | | df-rab 3074 |
. . 3
⊢ {𝑥 ∈ 𝐴 ∣ (𝜑 ∧ ¬ 𝜓)} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ (𝜑 ∧ ¬ 𝜓))} |
5 | | difab 4239 |
. . . 4
⊢ ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∖ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)}) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓))} |
6 | | anass 468 |
. . . . . 6
⊢ (((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ 𝜓) ↔ (𝑥 ∈ 𝐴 ∧ (𝜑 ∧ ¬ 𝜓))) |
7 | | simpr 484 |
. . . . . . . . 9
⊢ ((𝑥 ∈ 𝐴 ∧ 𝜓) → 𝜓) |
8 | 7 | con3i 154 |
. . . . . . . 8
⊢ (¬
𝜓 → ¬ (𝑥 ∈ 𝐴 ∧ 𝜓)) |
9 | 8 | anim2i 616 |
. . . . . . 7
⊢ (((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ 𝜓) → ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓))) |
10 | | pm3.2 469 |
. . . . . . . . . 10
⊢ (𝑥 ∈ 𝐴 → (𝜓 → (𝑥 ∈ 𝐴 ∧ 𝜓))) |
11 | 10 | adantr 480 |
. . . . . . . . 9
⊢ ((𝑥 ∈ 𝐴 ∧ 𝜑) → (𝜓 → (𝑥 ∈ 𝐴 ∧ 𝜓))) |
12 | 11 | con3d 152 |
. . . . . . . 8
⊢ ((𝑥 ∈ 𝐴 ∧ 𝜑) → (¬ (𝑥 ∈ 𝐴 ∧ 𝜓) → ¬ 𝜓)) |
13 | 12 | imdistani 568 |
. . . . . . 7
⊢ (((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓)) → ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ 𝜓)) |
14 | 9, 13 | impbii 208 |
. . . . . 6
⊢ (((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ 𝜓) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓))) |
15 | 6, 14 | bitr3i 276 |
. . . . 5
⊢ ((𝑥 ∈ 𝐴 ∧ (𝜑 ∧ ¬ 𝜓)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓))) |
16 | 15 | abbii 2809 |
. . . 4
⊢ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ (𝜑 ∧ ¬ 𝜓))} = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ ¬ (𝑥 ∈ 𝐴 ∧ 𝜓))} |
17 | 5, 16 | eqtr4i 2770 |
. . 3
⊢ ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∖ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)}) = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ (𝜑 ∧ ¬ 𝜓))} |
18 | 4, 17 | eqtr4i 2770 |
. 2
⊢ {𝑥 ∈ 𝐴 ∣ (𝜑 ∧ ¬ 𝜓)} = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∖ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)}) |
19 | 3, 18 | eqtr4i 2770 |
1
⊢ ({𝑥 ∈ 𝐴 ∣ 𝜑} ∖ {𝑥 ∈ 𝐴 ∣ 𝜓}) = {𝑥 ∈ 𝐴 ∣ (𝜑 ∧ ¬ 𝜓)} |