Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  unisnif Structured version   Visualization version   GIF version

Theorem unisnif 36415
Description: Express union of singleton in terms of if. (Contributed by Scott Fenton, 27-Mar-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
unisnif {𝐴} = if(𝐴 ∈ V, 𝐴, ∅)

Proof of Theorem unisnif
StepHypRef Expression
1 iftrue 4493 . . . 4 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = 𝐴)
2 unisng 4890 . . . 4 (𝐴 ∈ V → {𝐴} = 𝐴)
31, 2eqtr4d 2801 . . 3 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
4 iffalse 4496 . . . 4 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = ∅)
5 snprc 4683 . . . . . . 7 𝐴 ∈ V ↔ {𝐴} = ∅)
65biimpi 219 . . . . . 6 𝐴 ∈ V → {𝐴} = ∅)
76unieqd 4885 . . . . 5 𝐴 ∈ V → {𝐴} = ∅)
8 uni0 4901 . . . . 5 ∅ = ∅
97, 8eqtrdi 2814 . . . 4 𝐴 ∈ V → {𝐴} = ∅)
104, 9eqtr4d 2801 . . 3 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
113, 10pm2.61i 184 . 2 if(𝐴 ∈ V, 𝐴, ∅) = {𝐴}
1211eqcomi 2772 1 {𝐴} = if(𝐴 ∈ V, 𝐴, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1570  wcel 2143  Vcvv 3455  c0 4286  ifcif 4487  {csn 4589   cuni 4872
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-ext 2735
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-tru 1573  df-fal 1583  df-ex 1810  df-sb 2097  df-clab 2742  df-cleq 2755  df-clel 2838  df-v 3457  df-dif 3908  df-un 3910  df-ss 3922  df-nul 4287  df-if 4488  df-sn 4590  df-pr 4592  df-uni 4873
This theorem is referenced by:  dfrdg4  36443
  Copyright terms: Public domain W3C validator