MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nbgrnvtx0 Structured version   Visualization version   GIF version

Theorem nbgrnvtx0 27399
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.)
Hypothesis
Ref Expression
nbgrel.v 𝑉 = (Vtx‘𝐺)
Assertion
Ref Expression
nbgrnvtx0 (𝑋𝑉 → (𝐺 NeighbVtx 𝑋) = ∅)

Proof of Theorem nbgrnvtx0
Dummy variables 𝑒 𝑔 𝑛 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nbgrel.v . . . . . 6 𝑉 = (Vtx‘𝐺)
2 csbfv 6751 . . . . . 6 𝐺 / 𝑔(Vtx‘𝑔) = (Vtx‘𝐺)
31, 2eqtr4i 2765 . . . . 5 𝑉 = 𝐺 / 𝑔(Vtx‘𝑔)
4 neleq2 3045 . . . . 5 (𝑉 = 𝐺 / 𝑔(Vtx‘𝑔) → (𝑋𝑉𝑋𝐺 / 𝑔(Vtx‘𝑔)))
53, 4ax-mp 5 . . . 4 (𝑋𝑉𝑋𝐺 / 𝑔(Vtx‘𝑔))
65biimpi 219 . . 3 (𝑋𝑉𝑋𝐺 / 𝑔(Vtx‘𝑔))
76olcd 874 . 2 (𝑋𝑉 → (𝐺 ∉ V ∨ 𝑋𝐺 / 𝑔(Vtx‘𝑔)))
8 df-nbgr 27393 . . 3 NeighbVtx = (𝑔 ∈ V, 𝑣 ∈ (Vtx‘𝑔) ↦ {𝑛 ∈ ((Vtx‘𝑔) ∖ {𝑣}) ∣ ∃𝑒 ∈ (Edg‘𝑔){𝑣, 𝑛} ⊆ 𝑒})
98mpoxneldm 7943 . 2 ((𝐺 ∉ V ∨ 𝑋𝐺 / 𝑔(Vtx‘𝑔)) → (𝐺 NeighbVtx 𝑋) = ∅)
107, 9syl 17 1 (𝑋𝑉 → (𝐺 NeighbVtx 𝑋) = ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wo 847   = wceq 1543  wnel 3039  wrex 3055  {crab 3058  Vcvv 3401  csb 3802  cdif 3854  wss 3857  c0 4227  {csn 4531  {cpr 4533  cfv 6369  (class class class)co 7202  Vtxcvtx 27059  Edgcedg 27110   NeighbVtx cnbgr 27392
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-sep 5181  ax-nul 5188  ax-pr 5311  ax-un 7512
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-nul 4228  df-if 4430  df-sn 4532  df-pr 4534  df-op 4538  df-uni 4810  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-id 5444  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-iota 6327  df-fun 6371  df-fv 6377  df-ov 7205  df-oprab 7206  df-mpo 7207  df-1st 7750  df-2nd 7751  df-nbgr 27393
This theorem is referenced by:  nbuhgr  27403  nbumgr  27407  nbgr0vtxlem  27415  nbgr1vtx  27418
  Copyright terms: Public domain W3C validator