| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifssun | Structured version Visualization version GIF version | ||
| Description: A conditional class is included in the union of its two alternatives. (Contributed by BJ, 15-Aug-2024.) |
| Ref | Expression |
|---|---|
| ifssun | ⊢ if(𝜑, 𝐴, 𝐵) ⊆ (𝐴 ∪ 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqid 2760 | . . 3 ⊢ {𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜑} | |
| 2 | 1 | dfif4 4498 | . 2 ⊢ if(𝜑, 𝐴, 𝐵) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑}))) |
| 3 | inss1 4182 | . 2 ⊢ ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ {𝑥 ∣ 𝜑})) ∩ (𝐵 ∪ {𝑥 ∣ 𝜑}))) ⊆ (𝐴 ∪ 𝐵) | |
| 4 | 2, 3 | eqsstri 3977 | 1 ⊢ if(𝜑, 𝐴, 𝐵) ⊆ (𝐴 ∪ 𝐵) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: {cab 2738 Vcvv 3450 ∖ cdif 3896 ∪ cun 3897 ∩ cin 3898 ⊆ wss 3899 ifcif 4482 |
| 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 2147 ax-9 2155 ax-ext 2732 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1573 df-fal 1583 df-ex 1813 df-sb 2100 df-clab 2739 df-cleq 2752 df-clel 2835 df-rab 3413 df-v 3452 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 |
| This theorem is used by: tmachlem-agreeprod 47765 |
| Copyright terms: Public domain | W3C validator |