Metamath Proof Explorer


Theorem nbusgr

Description: The set of neighbors of an arbitrary class in a simple graph. (Contributed by Alexander van der Vekens, 9-Oct-2017) (Revised by AV, 26-Oct-2020) (Proof shortened by AV, 27-Nov-2020)

Ref Expression
Hypotheses nbuhgr.v V = Vtx G
nbuhgr.e E = Edg G
Assertion nbusgr G USGraph G NeighbVtx N = n V | N n E

Proof

Step Hyp Ref Expression
1 nbuhgr.v V = Vtx G
2 nbuhgr.e E = Edg G
3 usgrumgr G USGraph G UMGraph
4 1 2 nbumgr G UMGraph G NeighbVtx N = n V | N n E
5 3 4 syl G USGraph G NeighbVtx N = n V | N n E