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 33388
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 4475 . . . 4 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = 𝐴)
2 unisng 4859 . . . 4 (𝐴 ∈ V → {𝐴} = 𝐴)
31, 2eqtr4d 2861 . . 3 (𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
4 iffalse 4478 . . . 4 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = ∅)
5 snprc 4655 . . . . . . 7 𝐴 ∈ V ↔ {𝐴} = ∅)
65biimpi 218 . . . . . 6 𝐴 ∈ V → {𝐴} = ∅)
76unieqd 4854 . . . . 5 𝐴 ∈ V → {𝐴} = ∅)
8 uni0 4868 . . . . 5 ∅ = ∅
97, 8syl6eq 2874 . . . 4 𝐴 ∈ V → {𝐴} = ∅)
104, 9eqtr4d 2861 . . 3 𝐴 ∈ V → if(𝐴 ∈ V, 𝐴, ∅) = {𝐴})
113, 10pm2.61i 184 . 2 if(𝐴 ∈ V, 𝐴, ∅) = {𝐴}
1211eqcomi 2832 1 {𝐴} = if(𝐴 ∈ V, 𝐴, ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1537  wcel 2114  Vcvv 3496  c0 4293  ifcif 4469  {csn 4569   cuni 4840
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-uni 4841
This theorem is referenced by:  dfrdg4  33414
  Copyright terms: Public domain W3C validator