Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > difab | Structured version Visualization version GIF version |
Description: Difference of two class abstractions. (Contributed by NM, 23-Oct-2004.) (Proof shortened by Andrew Salmon, 26-Jun-2011.) |
Ref | Expression |
---|---|
difab | ⊢ ({𝑥 ∣ 𝜑} ∖ {𝑥 ∣ 𝜓}) = {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)} |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-clab 2715 | . . 3 ⊢ (𝑦 ∈ {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)} ↔ [𝑦 / 𝑥](𝜑 ∧ ¬ 𝜓)) | |
2 | sban 2086 | . . 3 ⊢ ([𝑦 / 𝑥](𝜑 ∧ ¬ 𝜓) ↔ ([𝑦 / 𝑥]𝜑 ∧ [𝑦 / 𝑥] ¬ 𝜓)) | |
3 | df-clab 2715 | . . . . 5 ⊢ (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑) | |
4 | 3 | bicomi 227 | . . . 4 ⊢ ([𝑦 / 𝑥]𝜑 ↔ 𝑦 ∈ {𝑥 ∣ 𝜑}) |
5 | sbn 2281 | . . . . 5 ⊢ ([𝑦 / 𝑥] ¬ 𝜓 ↔ ¬ [𝑦 / 𝑥]𝜓) | |
6 | df-clab 2715 | . . . . 5 ⊢ (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ [𝑦 / 𝑥]𝜓) | |
7 | 5, 6 | xchbinxr 338 | . . . 4 ⊢ ([𝑦 / 𝑥] ¬ 𝜓 ↔ ¬ 𝑦 ∈ {𝑥 ∣ 𝜓}) |
8 | 4, 7 | anbi12i 630 | . . 3 ⊢ (([𝑦 / 𝑥]𝜑 ∧ [𝑦 / 𝑥] ¬ 𝜓) ↔ (𝑦 ∈ {𝑥 ∣ 𝜑} ∧ ¬ 𝑦 ∈ {𝑥 ∣ 𝜓})) |
9 | 1, 2, 8 | 3bitrri 301 | . 2 ⊢ ((𝑦 ∈ {𝑥 ∣ 𝜑} ∧ ¬ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ 𝑦 ∈ {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)}) |
10 | 9 | difeqri 4039 | 1 ⊢ ({𝑥 ∣ 𝜑} ∖ {𝑥 ∣ 𝜓}) = {𝑥 ∣ (𝜑 ∧ ¬ 𝜓)} |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ∧ wa 399 = wceq 1543 [wsb 2070 ∈ wcel 2110 {cab 2714 ∖ cdif 3863 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-10 2141 ax-12 2175 ax-ext 2708 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-tru 1546 df-ex 1788 df-nf 1792 df-sb 2071 df-clab 2715 df-cleq 2729 df-clel 2816 df-v 3410 df-dif 3869 |
This theorem is referenced by: notab 4219 difrab 4223 notrab 4226 |
Copyright terms: Public domain | W3C validator |