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 38046
Description: The image of a singleton, general case. [Change and relabel xpimasn 6189 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 6186 . 2 ((𝐴 × 𝐵) “ {𝑋}) = if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵)
2 disjsn 4672 . . 3 ((𝐴 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ 𝐴)
3 eqid 2763 . . 3 𝐵 = 𝐵
42, 3ifbieq2i 4511 . 2 if((𝐴 ∩ {𝑋}) = ∅, ∅, 𝐵) = if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵)
5 ifnot 4538 . 2 if(¬ 𝑋 ∈ 𝐴, ∅, 𝐵) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
61, 4, 53eqtri 2790 1 ((𝐴 × 𝐵) “ {𝑋}) = if(𝑋 ∈ 𝐴, 𝐵, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147   ∩ cin 4092  ∅c0 4281  ifcif 4485  {csn 4588   × cxp 5653   “ cima 5658
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-cnv 5663  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668
This theorem is used by:  bj-xpima1sn  38047  bj-xpima2sn  38049
  Copyright terms: Public domain W3C validator