Step | Hyp | Ref
| Expression |
1 | | nbupgruvtxres.s |
. . . . . . 7
⊢ 𝑆 = 〈(𝑉 ∖ {𝑁}), ( I ↾ 𝐹)〉 |
2 | | opex 4859 |
. . . . . . 7
⊢
〈(𝑉 ∖
{𝑁}), ( I ↾ 𝐹)〉 ∈
V |
3 | 1, 2 | eqeltri 2684 |
. . . . . 6
⊢ 𝑆 ∈ V |
4 | | eqid 2610 |
. . . . . . 7
⊢
(Vtx‘𝑆) =
(Vtx‘𝑆) |
5 | 4 | nbgrssovtx 40586 |
. . . . . 6
⊢ (𝑆 ∈ V → (𝑆 NeighbVtx 𝐾) ⊆ ((Vtx‘𝑆) ∖ {𝐾})) |
6 | 3, 5 | mp1i 13 |
. . . . 5
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → (𝑆 NeighbVtx 𝐾) ⊆ ((Vtx‘𝑆) ∖ {𝐾})) |
7 | | difpr 4275 |
. . . . . 6
⊢ (𝑉 ∖ {𝑁, 𝐾}) = ((𝑉 ∖ {𝑁}) ∖ {𝐾}) |
8 | | nbupgruvtxres.v |
. . . . . . . . . 10
⊢ 𝑉 = (Vtx‘𝐺) |
9 | | nbupgruvtxres.e |
. . . . . . . . . 10
⊢ 𝐸 = (Edg‘𝐺) |
10 | | nbupgruvtxres.f |
. . . . . . . . . 10
⊢ 𝐹 = {𝑒 ∈ 𝐸 ∣ 𝑁 ∉ 𝑒} |
11 | 8, 9, 10, 1 | upgrres1lem2 40530 |
. . . . . . . . 9
⊢
(Vtx‘𝑆) =
(𝑉 ∖ {𝑁}) |
12 | 11 | eqcomi 2619 |
. . . . . . . 8
⊢ (𝑉 ∖ {𝑁}) = (Vtx‘𝑆) |
13 | 12 | a1i 11 |
. . . . . . 7
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → (𝑉 ∖ {𝑁}) = (Vtx‘𝑆)) |
14 | 13 | difeq1d 3689 |
. . . . . 6
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → ((𝑉 ∖ {𝑁}) ∖ {𝐾}) = ((Vtx‘𝑆) ∖ {𝐾})) |
15 | 7, 14 | syl5eq 2656 |
. . . . 5
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → (𝑉 ∖ {𝑁, 𝐾}) = ((Vtx‘𝑆) ∖ {𝐾})) |
16 | 6, 15 | sseqtr4d 3605 |
. . . 4
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → (𝑆 NeighbVtx 𝐾) ⊆ (𝑉 ∖ {𝑁, 𝐾})) |
17 | 16 | adantr 480 |
. . 3
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → (𝑆 NeighbVtx 𝐾) ⊆ (𝑉 ∖ {𝑁, 𝐾})) |
18 | | simpl 472 |
. . . . . . . 8
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁}))) |
19 | 18 | anim1i 590 |
. . . . . . 7
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑁 ∈
𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) → (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}))) |
20 | | df-3an 1033 |
. . . . . . 7
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) ↔ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}))) |
21 | 19, 20 | sylibr 223 |
. . . . . 6
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑁 ∈
𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) → ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}))) |
22 | | dif32 3850 |
. . . . . . . . . . . . 13
⊢ ((𝑉 ∖ {𝑁}) ∖ {𝐾}) = ((𝑉 ∖ {𝐾}) ∖ {𝑁}) |
23 | 7, 22 | eqtri 2632 |
. . . . . . . . . . . 12
⊢ (𝑉 ∖ {𝑁, 𝐾}) = ((𝑉 ∖ {𝐾}) ∖ {𝑁}) |
24 | 23 | eleq2i 2680 |
. . . . . . . . . . 11
⊢ (𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}) ↔ 𝑛 ∈ ((𝑉 ∖ {𝐾}) ∖ {𝑁})) |
25 | | eldifsn 4260 |
. . . . . . . . . . 11
⊢ (𝑛 ∈ ((𝑉 ∖ {𝐾}) ∖ {𝑁}) ↔ (𝑛 ∈ (𝑉 ∖ {𝐾}) ∧ 𝑛 ≠ 𝑁)) |
26 | 24, 25 | bitri 263 |
. . . . . . . . . 10
⊢ (𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}) ↔ (𝑛 ∈ (𝑉 ∖ {𝐾}) ∧ 𝑛 ≠ 𝑁)) |
27 | 26 | simplbi 475 |
. . . . . . . . 9
⊢ (𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}) → 𝑛 ∈ (𝑉 ∖ {𝐾})) |
28 | | eleq2 2677 |
. . . . . . . . 9
⊢ ((𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾}) → (𝑛 ∈ (𝐺 NeighbVtx 𝐾) ↔ 𝑛 ∈ (𝑉 ∖ {𝐾}))) |
29 | 27, 28 | syl5ibr 235 |
. . . . . . . 8
⊢ ((𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾}) → (𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}) → 𝑛 ∈ (𝐺 NeighbVtx 𝐾))) |
30 | 29 | adantl 481 |
. . . . . . 7
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → (𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾}) → 𝑛 ∈ (𝐺 NeighbVtx 𝐾))) |
31 | 30 | imp 444 |
. . . . . 6
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑁 ∈
𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) → 𝑛 ∈ (𝐺 NeighbVtx 𝐾)) |
32 | 8, 9, 10, 1 | nbupgrres 40592 |
. . . . . 6
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) → (𝑛 ∈ (𝐺 NeighbVtx 𝐾) → 𝑛 ∈ (𝑆 NeighbVtx 𝐾))) |
33 | 21, 31, 32 | sylc 63 |
. . . . 5
⊢
(((((𝐺 ∈
UPGraph ∧ 𝑁 ∈
𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) ∧ 𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})) → 𝑛 ∈ (𝑆 NeighbVtx 𝐾)) |
34 | 33 | ralrimiva 2949 |
. . . 4
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → ∀𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})𝑛 ∈ (𝑆 NeighbVtx 𝐾)) |
35 | | dfss3 3558 |
. . . 4
⊢ ((𝑉 ∖ {𝑁, 𝐾}) ⊆ (𝑆 NeighbVtx 𝐾) ↔ ∀𝑛 ∈ (𝑉 ∖ {𝑁, 𝐾})𝑛 ∈ (𝑆 NeighbVtx 𝐾)) |
36 | 34, 35 | sylibr 223 |
. . 3
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → (𝑉 ∖ {𝑁, 𝐾}) ⊆ (𝑆 NeighbVtx 𝐾)) |
37 | 17, 36 | eqssd 3585 |
. 2
⊢ ((((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) ∧ (𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾})) → (𝑆 NeighbVtx 𝐾) = (𝑉 ∖ {𝑁, 𝐾})) |
38 | 37 | ex 449 |
1
⊢ (((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) ∧ 𝐾 ∈ (𝑉 ∖ {𝑁})) → ((𝐺 NeighbVtx 𝐾) = (𝑉 ∖ {𝐾}) → (𝑆 NeighbVtx 𝐾) = (𝑉 ∖ {𝑁, 𝐾}))) |