Metamath Proof Explorer


Theorem unisngl

Description: Taking the union of the set of singletons recovers the initial set. (Contributed by Thierry Arnoux, 9-Jan-2020)

Ref Expression
Hypothesis dissnref.c C=u|xXu=x
Assertion unisngl X=C

Proof

Step Hyp Ref Expression
1 dissnref.c C=u|xXu=x
2 1 unieqi C=u|xXu=x
3 simpl yuu=xyu
4 simpr yuu=xu=x
5 3 4 eleqtrd yuu=xyx
6 5 exlimiv uyuu=xyx
7 eqid x=x
8 snex xV
9 eleq2 u=xyuyx
10 eqeq1 u=xu=xx=x
11 9 10 anbi12d u=xyuu=xyxx=x
12 8 11 spcev yxx=xuyuu=x
13 7 12 mpan2 yxuyuu=x
14 6 13 impbii uyuu=xyx
15 velsn yxy=x
16 equcom y=xx=y
17 14 15 16 3bitri uyuu=xx=y
18 17 rexbii xXuyuu=xxXx=y
19 r19.42v xXyuu=xyuxXu=x
20 19 exbii uxXyuu=xuyuxXu=x
21 rexcom4 xXuyuu=xuxXyuu=x
22 eluniab yu|xXu=xuyuxXu=x
23 20 21 22 3bitr4ri yu|xXu=xxXuyuu=x
24 risset yXxXx=y
25 18 23 24 3bitr4i yu|xXu=xyX
26 25 eqriv u|xXu=x=X
27 2 26 eqtr2i X=C