Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-xpimasn Structured version   Visualization version   GIF version

Theorem bj-xpimasn 37960
Description: The image of a singleton, general case. [Change and relabel xpimasn 6176 accordingly, maybe to xpima2sn.] (Contributed by BJ, 6-Apr-2019.)
Assertion
Ref Expression
bj-xpimasn ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅)

Proof of Theorem bj-xpimasn
StepHypRef Expression
1 xpima 6173 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4668 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ 𝐴)
3 eqid 2760 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4507 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵)
5 ifnot 4534 . 2 if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
61, 4, 53eqtri 2787 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1569   ∈ wcel 2144   ∩ cin 4089  ∅c0 4278  ifcif 4481  {csn 4584   × cxp 5648   “ cima 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663
This theorem is used by:  bj-xpima1sn  37961  bj-xpima2sn  37963
  Copyright terms: Public domain W3C validator