| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nbgrnvtx0 | Structured version Visualization version GIF version | ||
| Description: If a class 𝑋 is not a vertex of a graph 𝐺, then it has no neighbors in 𝐺. (Contributed by Alexander van der Vekens, 12-Oct-2017.) (Revised by AV, 26-Oct-2020.) |
| Ref | Expression |
|---|---|
| nbgrel.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| nbgrnvtx0 | ⊢ (𝑋 ∉ 𝑉 → (𝐺 NeighbVtx 𝑋) = ∅) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nbgrel.v | . . . . . 6 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | csbfv 6874 | . . . . . 6 ⊢ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) = (Vtx‘𝐺) | |
| 3 | 1, 2 | eqtr4i 2765 | . . . . 5 ⊢ 𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) |
| 4 | neleq2 3045 | . . . . 5 ⊢ (𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) → (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))) | |
| 5 | 3, 4 | ax-mp 5 | . . . 4 ⊢ (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) |
| 6 | 5 | biimpi 217 | . . 3 ⊢ (𝑋 ∉ 𝑉 → 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) |
| 7 | 6 | olcd 880 | . 2 ⊢ (𝑋 ∉ 𝑉 → (𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))) |
| 8 | df-nbgr 29420 | . . 3 ⊢ NeighbVtx = (𝑔 ∈ V, 𝑣 ∈ (Vtx‘𝑔) ↦ {𝑛 ∈ ((Vtx‘𝑔) ∖ {𝑣}) ∣ ∃𝑒 ∈ (Edg‘𝑔){𝑣, 𝑛} ⊆ 𝑒}) | |
| 9 | 8 | mpoxneldm 8152 | . 2 ⊢ ((𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) → (𝐺 NeighbVtx 𝑋) = ∅) |
| 10 | 7, 9 | syl 17 | 1 ⊢ (𝑋 ∉ 𝑉 → (𝐺 NeighbVtx 𝑋) = ∅) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 207 ∨ wo 853 = wceq 1547 ∉ wnel 3038 ∃wrex 3063 {crab 3391 Vcvv 3431 ⦋csb 3831 ∖ cdif 3880 ⊆ wss 3883 ∅c0 4261 {csn 4555 {cpr 4557 ‘cfv 6485 (class class class)co 7356 Vtxcvtx 29083 Edgcedg 29134 NeighbVtx cnbgr 29419 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2711 ax-sep 5218 ax-nul 5228 ax-pr 5362 ax-un 7678 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-nfc 2888 df-ne 2935 df-nel 3039 df-ral 3054 df-rex 3064 df-rab 3392 df-v 3433 df-sbc 3724 df-csb 3832 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4262 df-if 4455 df-sn 4556 df-pr 4558 df-op 4562 df-uni 4839 df-iun 4923 df-br 5073 df-opab 5135 df-mpt 5154 df-id 5513 df-xp 5624 df-rel 5625 df-cnv 5626 df-co 5627 df-dm 5628 df-rn 5629 df-res 5630 df-ima 5631 df-iota 6441 df-fun 6487 df-fv 6493 df-ov 7359 df-oprab 7360 df-mpo 7361 df-1st 7931 df-2nd 7932 df-nbgr 29420 |
| This theorem is referenced by: nbuhgr 29430 nbumgr 29434 nbgr0vtx 29442 nbgr0edglem 29443 nbgr1vtx 29445 |
| Copyright terms: Public domain | W3C validator |