| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > dfdif3 | Structured version Visualization version GIF version | ||
| Description: Alternate definition of class difference. (Contributed by BJ and Jim Kingdon, 16-Jun-2022.) (Proof shortened by SN, 15-Aug-2025.) |
| Ref | Expression |
|---|---|
| dfdif3 | ⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | dfdif2 3935 | . 2 ⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ¬ 𝑥 ∈ 𝐵} | |
| 2 | nelb 3218 | . . 3 ⊢ (¬ 𝑥 ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐵 𝑦 ≠ 𝑥) | |
| 3 | necom 2985 | . . . 4 ⊢ (𝑦 ≠ 𝑥 ↔ 𝑥 ≠ 𝑦) | |
| 4 | 3 | ralbii 3082 | . . 3 ⊢ (∀𝑦 ∈ 𝐵 𝑦 ≠ 𝑥 ↔ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦) |
| 5 | 2, 4 | bitri 275 | . 2 ⊢ (¬ 𝑥 ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦) |
| 6 | 1, 5 | rabbieq 3424 | 1 ⊢ (𝐴 ∖ 𝐵) = {𝑥 ∈ 𝐴 ∣ ∀𝑦 ∈ 𝐵 𝑥 ≠ 𝑦} |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 = wceq 1540 ∈ wcel 2108 ≠ wne 2932 ∀wral 3051 {crab 3415 ∖ cdif 3923 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-ext 2707 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-tru 1543 df-ex 1780 df-sb 2065 df-clab 2714 df-cleq 2727 df-clel 2809 df-ne 2933 df-ral 3052 df-rex 3061 df-rab 3416 df-dif 3929 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |