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 35958
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 4481 . . . 4 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = 𝐴)
2 unisng 4877 . . . 4 (𝐴 ∈ V → {𝐴} = 𝐴)
31, 2eqtr4d 2769 . . 3 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
4 iffalse 4484 . . . 4 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = ∅)
5 snprc 4670 . . . . . . 7 𝐴 ∈ V ↔ {𝐴} = ∅)
65biimpi 216 . . . . . 6 𝐴 ∈ V → {𝐴} = ∅)
76unieqd 4872 . . . . 5 𝐴 ∈ V → {𝐴} = ∅)
8 uni0 4887 . . . . 5 ∅ = ∅
97, 8eqtrdi 2782 . . . 4 𝐴 ∈ V → {𝐴} = ∅)
104, 9eqtr4d 2769 . . 3 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
113, 10pm2.61i 182 . 2 if(𝐴 ∈ V, 𝐴, ∅) = {𝐴}
1211eqcomi 2740 1 {𝐴} = if(𝐴 ∈ V, 𝐴, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1541  wcel 2111  Vcvv 3436  c0 4283  ifcif 4475  {csn 4576   cuni 4859
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-11 2160  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1544  df-fal 1554  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-ral 3048  df-rex 3057  df-v 3438  df-dif 3905  df-un 3907  df-ss 3919  df-nul 4284  df-if 4476  df-sn 4577  df-pr 4579  df-uni 4860
This theorem is referenced by:  dfrdg4  35984
  Copyright terms: Public domain W3C validator