Metamath Proof Explorer


Theorem nbupgruvtxres

Description: The neighborhood of a universal vertex in a restricted pseudograph. (Contributed by Alexander van der Vekens, 2-Jan-2018) (Revised by AV, 8-Nov-2020) (Proof shortened by AV, 13-Feb-2022)

Ref Expression
Hypotheses nbupgruvtxres.v V = Vtx G
nbupgruvtxres.e E = Edg G
nbupgruvtxres.f F = e E | N e
nbupgruvtxres.s S = V N I F
Assertion nbupgruvtxres G UPGraph N V K V N G NeighbVtx K = V K S NeighbVtx K = V N K

Proof

Step Hyp Ref Expression
1 nbupgruvtxres.v V = Vtx G
2 nbupgruvtxres.e E = Edg G
3 nbupgruvtxres.f F = e E | N e
4 nbupgruvtxres.s S = V N I F
5 eqid Vtx S = Vtx S
6 5 nbgrssovtx S NeighbVtx K Vtx S K
7 difpr V N K = V N K
8 1 2 3 4 upgrres1lem2 Vtx S = V N
9 8 eqcomi V N = Vtx S
10 9 a1i G UPGraph N V K V N V N = Vtx S
11 10 difeq1d G UPGraph N V K V N V N K = Vtx S K
12 7 11 syl5eq G UPGraph N V K V N V N K = Vtx S K
13 6 12 sseqtrrid G UPGraph N V K V N S NeighbVtx K V N K
14 13 adantr G UPGraph N V K V N G NeighbVtx K = V K S NeighbVtx K V N K
15 simpl G UPGraph N V K V N G NeighbVtx K = V K G UPGraph N V K V N
16 15 anim1i G UPGraph N V K V N G NeighbVtx K = V K n V N K G UPGraph N V K V N n V N K
17 df-3an G UPGraph N V K V N n V N K G UPGraph N V K V N n V N K
18 16 17 sylibr G UPGraph N V K V N G NeighbVtx K = V K n V N K G UPGraph N V K V N n V N K
19 dif32 V N K = V K N
20 7 19 eqtri V N K = V K N
21 20 eleq2i n V N K n V K N
22 eldifsn n V K N n V K n N
23 21 22 bitri n V N K n V K n N
24 23 simplbi n V N K n V K
25 eleq2 G NeighbVtx K = V K n G NeighbVtx K n V K
26 24 25 syl5ibr G NeighbVtx K = V K n V N K n G NeighbVtx K
27 26 adantl G UPGraph N V K V N G NeighbVtx K = V K n V N K n G NeighbVtx K
28 27 imp G UPGraph N V K V N G NeighbVtx K = V K n V N K n G NeighbVtx K
29 1 2 3 4 nbupgrres G UPGraph N V K V N n V N K n G NeighbVtx K n S NeighbVtx K
30 18 28 29 sylc G UPGraph N V K V N G NeighbVtx K = V K n V N K n S NeighbVtx K
31 14 30 eqelssd G UPGraph N V K V N G NeighbVtx K = V K S NeighbVtx K = V N K
32 31 ex G UPGraph N V K V N G NeighbVtx K = V K S NeighbVtx K = V N K