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 34269
Description: The image of a singleton, general case. [Change and relabel xpimasn 6044 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 6041 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4649 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋𝐴)
3 eqid 2823 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4493 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋𝐴, ∅, 𝐵)
5 ifnot 4519 . 2 if(¬ 𝑋𝐴, ∅, 𝐵) = if(𝑋𝐴, 𝐵, ∅)
61, 4, 53eqtri 2850 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋𝐴, 𝐵, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1537  wcel 2114  cin 3937  c0 4293  ifcif 4469  {csn 4569   × cxp 5555  cima 5560
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-xp 5563  df-rel 5564  df-cnv 5565  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570
This theorem is referenced by:  bj-xpima1sn  34270  bj-xpima2sn  34272
  Copyright terms: Public domain W3C validator