Metamath Proof Explorer


Theorem clnbgr0edg

Description: In an empty graph (with no edges), all closed neighborhoods consists of a single vertex. (Contributed by AV, 10-May-2025)

Ref Expression
Assertion clnbgr0edg Could not format assertion : No typesetting found for |- ( ( ( Edg ` G ) = (/) /\ K e. ( Vtx ` G ) ) -> ( G ClNeighbVtx K ) = { K } ) with typecode |-

Proof

Step Hyp Ref Expression
1 eqid Vtx G = Vtx G
2 1 dfclnbgr4 Could not format ( K e. ( Vtx ` G ) -> ( G ClNeighbVtx K ) = ( { K } u. ( G NeighbVtx K ) ) ) : No typesetting found for |- ( K e. ( Vtx ` G ) -> ( G ClNeighbVtx K ) = ( { K } u. ( G NeighbVtx K ) ) ) with typecode |-
3 2 adantl Could not format ( ( ( Edg ` G ) = (/) /\ K e. ( Vtx ` G ) ) -> ( G ClNeighbVtx K ) = ( { K } u. ( G NeighbVtx K ) ) ) : No typesetting found for |- ( ( ( Edg ` G ) = (/) /\ K e. ( Vtx ` G ) ) -> ( G ClNeighbVtx K ) = ( { K } u. ( G NeighbVtx K ) ) ) with typecode |-
4 nbgr0edg Edg G = G NeighbVtx K =
5 4 adantr Edg G = K Vtx G G NeighbVtx K =
6 5 uneq2d Edg G = K Vtx G K G NeighbVtx K = K
7 un0 K = K
8 7 a1i Edg G = K Vtx G K = K
9 3 6 8 3eqtrd Could not format ( ( ( Edg ` G ) = (/) /\ K e. ( Vtx ` G ) ) -> ( G ClNeighbVtx K ) = { K } ) : No typesetting found for |- ( ( ( Edg ` G ) = (/) /\ K e. ( Vtx ` G ) ) -> ( G ClNeighbVtx K ) = { K } ) with typecode |-