Metamath Proof Explorer


Definition df-uvtx

Description: Define the class of all universal vertices (in graphs). A vertex is calleduniversal if it is adjacent, i.e. connected by an edge, to all other vertices (of the graph), or equivalently, if all other vertices are its neighbors. (Contributed by Alexander van der Vekens, 12-Oct-2017) (Revised by AV, 24-Oct-2020)

Ref Expression
Assertion df-uvtx UnivVtx=gVvVtxg|nVtxgvngNeighbVtxv

Detailed syntax breakdown

Step Hyp Ref Expression
0 cuvtx classUnivVtx
1 vg setvarg
2 cvv classV
3 vv setvarv
4 cvtx classVtx
5 1 cv setvarg
6 5 4 cfv classVtxg
7 vn setvarn
8 3 cv setvarv
9 8 csn classv
10 6 9 cdif classVtxgv
11 7 cv setvarn
12 cnbgr classNeighbVtx
13 5 8 12 co classgNeighbVtxv
14 11 13 wcel wffngNeighbVtxv
15 14 7 10 wral wffnVtxgvngNeighbVtxv
16 15 3 6 crab classvVtxg|nVtxgvngNeighbVtxv
17 1 2 16 cmpt classgVvVtxg|nVtxgvngNeighbVtxv
18 0 17 wceq wffUnivVtx=gVvVtxg|nVtxgvngNeighbVtxv