Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > dfif4 | Structured version Visualization version GIF version |
Description: Alternate definition of the conditional operator df-if 4473. Note that 𝜑 is independent of 𝑥 i.e. a constant true or false. (Contributed by NM, 25-Aug-2013.) |
Ref | Expression |
---|---|
dfif3.1 | ⊢ 𝐶 = {𝑥 ∣ 𝜑} |
Ref | Expression |
---|---|
dfif4 | ⊢ if(𝜑, 𝐴, 𝐵) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ 𝐶)) ∩ (𝐵 ∪ 𝐶))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | dfif3.1 | . . 3 ⊢ 𝐶 = {𝑥 ∣ 𝜑} | |
2 | 1 | dfif3 4486 | . 2 ⊢ if(𝜑, 𝐴, 𝐵) = ((𝐴 ∩ 𝐶) ∪ (𝐵 ∩ (V ∖ 𝐶))) |
3 | undir 4222 | . 2 ⊢ ((𝐴 ∩ 𝐶) ∪ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∪ (𝐵 ∩ (V ∖ 𝐶))) ∩ (𝐶 ∪ (𝐵 ∩ (V ∖ 𝐶)))) | |
4 | undi 4220 | . . . 4 ⊢ (𝐴 ∪ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ (V ∖ 𝐶))) | |
5 | undi 4220 | . . . . 5 ⊢ (𝐶 ∪ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐶 ∪ 𝐵) ∩ (𝐶 ∪ (V ∖ 𝐶))) | |
6 | uncom 4099 | . . . . . 6 ⊢ (𝐶 ∪ 𝐵) = (𝐵 ∪ 𝐶) | |
7 | unvdif 4420 | . . . . . 6 ⊢ (𝐶 ∪ (V ∖ 𝐶)) = V | |
8 | 6, 7 | ineq12i 4156 | . . . . 5 ⊢ ((𝐶 ∪ 𝐵) ∩ (𝐶 ∪ (V ∖ 𝐶))) = ((𝐵 ∪ 𝐶) ∩ V) |
9 | inv1 4340 | . . . . 5 ⊢ ((𝐵 ∪ 𝐶) ∩ V) = (𝐵 ∪ 𝐶) | |
10 | 5, 8, 9 | 3eqtri 2768 | . . . 4 ⊢ (𝐶 ∪ (𝐵 ∩ (V ∖ 𝐶))) = (𝐵 ∪ 𝐶) |
11 | 4, 10 | ineq12i 4156 | . . 3 ⊢ ((𝐴 ∪ (𝐵 ∩ (V ∖ 𝐶))) ∩ (𝐶 ∪ (𝐵 ∩ (V ∖ 𝐶)))) = (((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ (V ∖ 𝐶))) ∩ (𝐵 ∪ 𝐶)) |
12 | inass 4165 | . . 3 ⊢ (((𝐴 ∪ 𝐵) ∩ (𝐴 ∪ (V ∖ 𝐶))) ∩ (𝐵 ∪ 𝐶)) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ 𝐶)) ∩ (𝐵 ∪ 𝐶))) | |
13 | 11, 12 | eqtri 2764 | . 2 ⊢ ((𝐴 ∪ (𝐵 ∩ (V ∖ 𝐶))) ∩ (𝐶 ∪ (𝐵 ∩ (V ∖ 𝐶)))) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ 𝐶)) ∩ (𝐵 ∪ 𝐶))) |
14 | 2, 3, 13 | 3eqtri 2768 | 1 ⊢ if(𝜑, 𝐴, 𝐵) = ((𝐴 ∪ 𝐵) ∩ ((𝐴 ∪ (V ∖ 𝐶)) ∩ (𝐵 ∪ 𝐶))) |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1540 {cab 2713 Vcvv 3441 ∖ cdif 3894 ∪ cun 3895 ∩ cin 3896 ifcif 4472 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1912 ax-6 1970 ax-7 2010 ax-8 2107 ax-9 2115 ax-ext 2707 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-tru 1543 df-fal 1553 df-ex 1781 df-sb 2067 df-clab 2714 df-cleq 2728 df-clel 2814 df-rab 3404 df-v 3443 df-dif 3900 df-un 3902 df-in 3904 df-ss 3914 df-nul 4269 df-if 4473 |
This theorem is referenced by: dfif5 4488 ifssun 4489 |
Copyright terms: Public domain | W3C validator |