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

Theorem nbgrnvtx0 29929
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 6937 . . . . . 6 ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) = (Vtx‘𝐺)
31, 2eqtr4i 2786 . . . . 5 𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)
4 neleq2 3068 . . . . 5 (𝑉 = ⦋𝐺 / 𝑔⦌(Vtx‘𝑔) → (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)))
53, 4ax-mp 5 . . . 4 (𝑋 ∉ 𝑉 ↔ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))
65biimpi 219 . . 3 (𝑋 ∉ 𝑉 → 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔))
76olcd 888 . 2 (𝑋 ∉ 𝑉 → (𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)))
8 df-nbgr 29923 . . 3 NeighbVtx = (𝑔 ∈ V, 𝑣 ∈ (Vtx‘𝑔) ↦ {𝑛 ∈ ((Vtx‘𝑔) ∖ {𝑣}) ∣ ∃𝑒 ∈ (Edg‘𝑔){𝑣, 𝑛} ⊆ 𝑒})
98mpoxneldm 8237 . 2 ((𝐺 ∉ V ∨ 𝑋 ∉ ⦋𝐺 / 𝑔⦌(Vtx‘𝑔)) → (𝐺 NeighbVtx 𝑋) = ∅)
107, 9syl 18 1 (𝑋 ∉ 𝑉 → (𝐺 NeighbVtx 𝑋) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∨ wo 861   = wceq 1569   ∉ wnel 3061  ∃wrex 3086  {crab 3412  Vcvv 3450  ⦋csb 3847   ⊆ wss 3896   ∖ cdif 4044  ∅c0 4277  {csn 4584  {cpr 4586  ‘cfv 6543  (class class class)co 7424  Vtxcvtx 29583  Edgcedg 29634   NeighbVtx cnbgr 29922
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  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 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-1st 8005  df-2nd 8006  df-nbgr 29923
This theorem is used by:  nbuhgr  29933  nbumgr  29937  nbgr0vtx  29945  nbgr0edglem  29946  nbgr1vtx  29948
  Copyright terms: Public domain W3C validator