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 37623
Description: The image of a singleton, general case. [Change and relabel xpimasn 6186 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 6183 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4680 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋𝐴)
3 eqid 2766 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4516 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋𝐴, ∅, 𝐵)
5 ifnot 4543 . 2 if(¬ 𝑋𝐴, ∅, 𝐵) = if(𝑋𝐴, 𝐵, ∅)
61, 4, 53eqtri 2793 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋𝐴, 𝐵, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570  wcel 2146  cin 3907  c0 4289  ifcif 4490  {csn 4592   × cxp 5662  cima 5667
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 2148  ax-9 2156  ax-11 2195  ax-ext 2738  ax-sep 5260  ax-pr 5407
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4491  df-sn 4593  df-pr 4595  df-op 4599  df-br 5113  df-opab 5177  df-xp 5670  df-rel 5671  df-cnv 5672  df-dm 5674  df-rn 5675  df-res 5676  df-ima 5677
This theorem is used by:  bj-xpima1sn  37624  bj-xpima2sn  37626
  Copyright terms: Public domain W3C validator