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

Theorem nbgrnself2 27420
Description: A class 𝑋 is not a neighbor of itself (whether it is a vertex or not). (Contributed by Alexander van der Vekens, 12-Oct-2017.) (Revised by AV, 3-Nov-2020.) (Revised by AV, 12-Feb-2022.)
Assertion
Ref Expression
nbgrnself2 𝑋 ∉ (𝐺 NeighbVtx 𝑋)

Proof of Theorem nbgrnself2
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 id 22 . . . 4 (𝑣 = 𝑋𝑣 = 𝑋)
2 oveq2 7210 . . . 4 (𝑣 = 𝑋 → (𝐺 NeighbVtx 𝑣) = (𝐺 NeighbVtx 𝑋))
31, 2neleq12d 3043 . . 3 (𝑣 = 𝑋 → (𝑣 ∉ (𝐺 NeighbVtx 𝑣) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
4 eqid 2734 . . . 4 (Vtx‘𝐺) = (Vtx‘𝐺)
54nbgrnself 27419 . . 3 𝑣 ∈ (Vtx‘𝐺)𝑣 ∉ (𝐺 NeighbVtx 𝑣)
63, 5vtoclri 3494 . 2 (𝑋 ∈ (Vtx‘𝐺) → 𝑋 ∉ (𝐺 NeighbVtx 𝑋))
74nbgrisvtx 27401 . . . 4 (𝑋 ∈ (𝐺 NeighbVtx 𝑋) → 𝑋 ∈ (Vtx‘𝐺))
87con3i 157 . . 3 𝑋 ∈ (Vtx‘𝐺) → ¬ 𝑋 ∈ (𝐺 NeighbVtx 𝑋))
9 df-nel 3040 . . 3 (𝑋 ∉ (𝐺 NeighbVtx 𝑋) ↔ ¬ 𝑋 ∈ (𝐺 NeighbVtx 𝑋))
108, 9sylibr 237 . 2 𝑋 ∈ (Vtx‘𝐺) → 𝑋 ∉ (𝐺 NeighbVtx 𝑋))
116, 10pm2.61i 185 1 𝑋 ∉ (𝐺 NeighbVtx 𝑋)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1543  wcel 2110  wnel 3039  cfv 6369  (class class class)co 7202  Vtxcvtx 27059   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:  nbgrssovtx  27421  nb3grprlem2  27441
  Copyright terms: Public domain W3C validator