| 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 6926 | . . . . . 6 ⊢ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) = (Vtx‘𝐺) | |
| 3 | 1, 2 | eqtr4i 2786 | . . . . 5 ⊢ 𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) |
| 4 | neleq2 3068 | . . . . 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 29794 | . . 3 ⊢ NeighbVtx = (𝑔 ∈ V, 𝑣 ∈ (Vtx‘𝑔) ↦ {𝑛 ∈ ((Vtx‘𝑔) ∖ {𝑣}) ∣ ∃𝑒 ∈ (Edg‘𝑔){𝑣, 𝑛} ⊆ 𝑒}) | |
| 9 | 8 | mpoxneldm 8211 | . 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 3061 ∃wrex 3086 {crab 3412 Vcvv 3450 ⦋csb 3847 ∖ cdif 3896 ⊆ wss 3899 ∅c0 4279 {csn 4584 {cpr 4586 ‘cfv 6533 (class class class)co 7414 Vtxcvtx 29454 Edgcedg 29505 NeighbVtx cnbgr 29793 |
| 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 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2732 ax-sep 5251 ax-nul 5263 ax-pr 5398 ax-un 7737 |
| 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 2100 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-nel 3062 df-ral 3077 df-rex 3087 df-rab 3413 df-v 3452 df-sbc 3740 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-iun 4953 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-iota 6489 df-fun 6535 df-fv 6541 df-ov 7417 df-oprab 7418 df-mpo 7419 df-1st 7987 df-2nd 7988 df-nbgr 29794 |
| This theorem is used by: nbuhgr 29804 nbumgr 29808 nbgr0vtx 29816 nbgr0edglem 29817 nbgr1vtx 29819 |
| Copyright terms: Public domain | W3C validator |