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 36502
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 4488 . . . 4 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = 𝐴)
2 unisng 4885 . . . 4 (𝐴 ∈ V → {𝐴} = 𝐴)
31, 2eqtr4d 2798 . . 3 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
4 iffalse 4491 . . . 4 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = ∅)
5 snprc 4678 . . . . . . 7 𝐴 ∈ V ↔ {𝐴} = ∅)
65biimpi 219 . . . . . 6 𝐴 ∈ V → {𝐴} = ∅)
76unieqd 4880 . . . . 5 𝐴 ∈ V → {𝐴} = ∅)
8 uni0 4896 . . . . 5 ∅ = ∅
97, 8eqtrdi 2811 . . . 4 𝐴 ∈ V → {𝐴} = ∅)
104, 9eqtr4d 2798 . . 3 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
113, 10pm2.61i 184 . 2 if(𝐴 ∈ V, 𝐴, ∅) = {𝐴}
1211eqcomi 2769 1 {𝐴} = if(𝐴 ∈ V, 𝐴, ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570  wcel 2145  Vcvv 3450  c0 4279  ifcif 4482  {csn 4584   cuni 4867
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 2147  ax-9 2155  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-uni 4868
This theorem is used by:  dfrdg4  36530
  Copyright terms: Public domain W3C validator