| 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 6963 | . . . . . 6 ⊢ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) = (Vtx‘𝐺) | |
| 3 | 1, 2 | eqtr4i 2789 | . . . . 5 ⊢ 𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) |
| 4 | neleq2 3072 | . . . . 5 ⊢ (𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) → (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))) | |
| 5 | 3, 4 | ax-mp 5 | . . . 4 ⊢ (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) |
| 6 | 5 | biimpi 219 | . . 3 ⊢ (𝑋 ∉ 𝑉 → 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) |
| 7 | 6 | olcd 888 | . 2 ⊢ (𝑋 ∉ 𝑉 → (𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))) |
| 8 | df-nbgr 29971 | . . 3 ⊢ NeighbVtx = (𝑔 ∈ V, 𝑣 ∈ (Vtx‘𝑔) ↦ {𝑛 ∈ ((Vtx‘𝑔) ∖ {𝑣}) ∣ ∃𝑒 ∈ (Edg‘𝑔){𝑣, 𝑛} ⊆ 𝑒}) | |
| 9 | 8 | mpoxneldm 8267 | . 2 ⊢ ((𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) → (𝐺 NeighbVtx 𝑋) = ∅) |
| 10 | 7, 9 | syl 18 | 1 ⊢ (𝑋 ∉ 𝑉 → (𝐺 NeighbVtx 𝑋) = ∅) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∨ wo 861 = wceq 1570 ∉ wnel 3065 ∃wrex 3090 {crab 3416 Vcvv 3454 ⦋csb 3851 ⊆ wss 3900 ∖ cdif 4048 ∅c0 4281 {csn 4588 {cpr 4590 ‘cfv 6566 (class class class)co 7451 Vtxcvtx 29631 Edgcedg 29682 NeighbVtx cnbgr 29970 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-sep 5255 ax-nul 5266 ax-pr 5398 ax-un 7783 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-nel 3066 df-ral 3081 df-rex 3091 df-rab 3417 df-v 3456 df-sbc 3743 df-csb 3852 df-ss 3901 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-sn 4589 df-pr 4591 df-op 4841 df-uni 4873 df-iun 4958 df-br 5109 df-opab 5174 df-mpt 5193 df-id 5553 df-xp 5664 df-rel 5665 df-cnv 5666 df-co 5667 df-dm 5668 df-rn 5669 df-res 5670 df-ima 5671 df-iota 6520 df-fun 6568 df-fv 6574 df-ov 7454 df-oprab 7455 df-mpo 7456 df-1st 8035 df-2nd 8036 df-nbgr 29971 |
| This theorem is used by: nbuhgr 29981 nbumgr 29985 nbgr0vtx 29993 nbgr0edglem 29994 nbgr1vtx 29996 |
| Copyright terms: Public domain | W3C validator |