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 37393
Description: The image of a singleton, general case. [Change and relabel xpimasn 6165 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 6162 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4669 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋𝐴)
3 eqid 2761 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4505 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋𝐴, ∅, 𝐵)
5 ifnot 4532 . 2 if(¬ 𝑋𝐴, ∅, 𝐵) = if(𝑋𝐴, 𝐵, ∅)
61, 4, 53eqtri 2788 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋𝐴, 𝐵, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1559  wcel 2141  cin 3903  c0 4285  ifcif 4479  {csn 4581   × cxp 5643  cima 5648
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-11 2190  ax-ext 2733  ax-sep 5245  ax-pr 5389
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-sb 2090  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3076  df-rex 3086  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-br 5100  df-opab 5162  df-xp 5651  df-rel 5652  df-cnv 5653  df-dm 5655  df-rn 5656  df-res 5657  df-ima 5658
This theorem is referenced by:  bj-xpima1sn  37394  bj-xpima2sn  37396
  Copyright terms: Public domain W3C validator