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 38109
Description: The image of a singleton, general case. [Change and relabel xpimasn 6199 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 6196 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4675 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ 𝐴)
3 eqid 2769 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4513 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵)
5 ifnot 4540 . 2 if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
61, 4, 53eqtri 2796 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572   ∈ wcel 2151   ∩ cin 4094  ∅c0 4283  ifcif 4487  {csn 4590   × cxp 5659   “ cima 5664
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-cnv 5669  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674
This theorem is used by:  bj-xpima1sn  38110  bj-xpima2sn  38112
  Copyright terms: Public domain W3C validator