| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > elnelun | Structured version Visualization version GIF version | ||
| Description: The union of the set of elements 𝑠 determining classes 𝐶 (which may depend on 𝑠) containing a special element and the set of elements 𝑠 determining classes 𝐶 not containing the special element yields the original set. (Contributed by Alexander van der Vekens, 11-Jan-2018.) (Revised by AV, 9-Nov-2020.) (Revised by AV, 17-Dec-2021.) |
| Ref | Expression |
|---|---|
| elneldisj.e | ⊢ 𝐸 = {𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} |
| elneldisj.n | ⊢ 𝑁 = {𝑠 ∈ 𝐴 ∣ 𝐵 ∉ 𝐶} |
| Ref | Expression |
|---|---|
| elnelun | ⊢ (𝐸 ∪ 𝑁) = 𝐴 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elneldisj.e | . . 3 ⊢ 𝐸 = {𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} | |
| 2 | elneldisj.n | . . . 4 ⊢ 𝑁 = {𝑠 ∈ 𝐴 ∣ 𝐵 ∉ 𝐶} | |
| 3 | df-nel 3067 | . . . 4 ⊢ (𝐵 ∉ 𝐶 ↔ ¬ 𝐵 ∈ 𝐶) | |
| 4 | 2, 3 | rabbieq 3426 | . . 3 ⊢ 𝑁 = {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶} |
| 5 | 1, 4 | uneq12i 4120 | . 2 ⊢ (𝐸 ∪ 𝑁) = ({𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} ∪ {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶}) |
| 6 | rabxm 4347 | . 2 ⊢ 𝐴 = ({𝑠 ∈ 𝐴 ∣ 𝐵 ∈ 𝐶} ∪ {𝑠 ∈ 𝐴 ∣ ¬ 𝐵 ∈ 𝐶}) | |
| 7 | 5, 6 | eqtr4i 2791 | 1 ⊢ (𝐸 ∪ 𝑁) = 𝐴 |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 = wceq 1570 ∈ wcel 2146 ∉ wnel 3066 {crab 3418 ∪ cun 3904 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-12 2216 ax-ext 2737 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1573 df-ex 1813 df-nf 1817 df-sb 2100 df-clab 2744 df-cleq 2757 df-clel 2840 df-nel 3067 df-ral 3082 df-rab 3419 df-v 3459 df-un 3911 |
| This theorem is used by: usgrfilem 29737 cusgrsizeinds 29862 vtxdginducedm1 29953 |
| Copyright terms: Public domain | W3C validator |