| Mathbox for BJ |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > bj-xpimasn | Structured version Visualization version GIF version | ||
| Description: The image of a singleton, general case. [Change and relabel xpimasn 6132 accordingly, maybe to xpima2sn.] (Contributed by BJ, 6-Apr-2019.) |
| Ref | Expression |
|---|---|
| bj-xpimasn | ⊢ ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | xpima 6129 | . 2 ⊢ ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) | |
| 2 | disjsn 4661 | . . 3 ⊢ ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ 𝐴) | |
| 3 | eqid 2731 | . . 3 ⊢ 𝐵 = 𝐵 | |
| 4 | 2, 3 | ifbieq2i 4498 | . 2 ⊢ if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵) |
| 5 | ifnot 4525 | . 2 ⊢ if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵) = if(𝑋 ∈ 𝐴, 𝐵, ∅) | |
| 6 | 1, 4, 5 | 3eqtri 2758 | 1 ⊢ ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 = wceq 1541 ∈ wcel 2111 ∩ cin 3896 ∅c0 4280 ifcif 4472 {csn 4573 × cxp 5612 “ cima 5617 |
| 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 1911 ax-6 1968 ax-7 2009 ax-8 2113 ax-9 2121 ax-11 2160 ax-ext 2703 ax-sep 5232 ax-nul 5242 ax-pr 5368 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-sb 2068 df-clab 2710 df-cleq 2723 df-clel 2806 df-ne 2929 df-ral 3048 df-rex 3057 df-rab 3396 df-v 3438 df-dif 3900 df-un 3902 df-in 3904 df-ss 3914 df-nul 4281 df-if 4473 df-sn 4574 df-pr 4576 df-op 4580 df-br 5090 df-opab 5152 df-xp 5620 df-rel 5621 df-cnv 5622 df-dm 5624 df-rn 5625 df-res 5626 df-ima 5627 |
| This theorem is referenced by: bj-xpima1sn 37000 bj-xpima2sn 37002 |
| Copyright terms: Public domain | W3C validator |