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

Theorem nbgrssovtx 28138
Description: The neighbors of a vertex 𝑋 form a subset of all vertices except the vertex 𝑋 itself. Stronger version of nbgrssvtx 28119. (Contributed by Alexander van der Vekens, 13-Jul-2018.) (Revised by AV, 3-Nov-2020.) (Revised by AV, 12-Feb-2022.)
Hypothesis
Ref Expression
nbgrssovtx.v 𝑉 = (Vtx‘𝐺)
Assertion
Ref Expression
nbgrssovtx (𝐺 NeighbVtx 𝑋) ⊆ (𝑉 ∖ {𝑋})

Proof of Theorem nbgrssovtx
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 nbgrssovtx.v . . . 4 𝑉 = (Vtx‘𝐺)
21nbgrisvtx 28118 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣𝑉)
3 nbgrnself2 28137 . . . . 5 𝑋 ∉ (𝐺 NeighbVtx 𝑋)
4 df-nel 3049 . . . . . 6 (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
5 neleq1 3053 . . . . . 6 (𝑣 = 𝑋 → (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
64, 5bitr3id 285 . . . . 5 (𝑣 = 𝑋 → (¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
73, 6mpbiri 258 . . . 4 (𝑣 = 𝑋 → ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
87necon2ai 2972 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣𝑋)
9 eldifsn 4746 . . 3 (𝑣 ∈ (𝑉 ∖ {𝑋}) ↔ (𝑣𝑉𝑣𝑋))
102, 8, 9sylanbrc 584 . 2 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ∈ (𝑉 ∖ {𝑋}))
1110ssriv 3947 1 (𝐺 NeighbVtx 𝑋) ⊆ (𝑉 ∖ {𝑋})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1542  wcel 2107  wne 2942  wnel 3048  cdif 3906  wss 3909  {csn 4585  cfv 6494  (class class class)co 7352  Vtxcvtx 27776   NeighbVtx cnbgr 28109
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2709  ax-sep 5255  ax-nul 5262  ax-pr 5383  ax-un 7665
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3064  df-rex 3073  df-rab 3407  df-v 3446  df-sbc 3739  df-csb 3855  df-dif 3912  df-un 3914  df-in 3916  df-ss 3926  df-nul 4282  df-if 4486  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4865  df-iun 4955  df-br 5105  df-opab 5167  df-mpt 5188  df-id 5530  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6446  df-fun 6496  df-fv 6502  df-ov 7355  df-oprab 7356  df-mpo 7357  df-1st 7914  df-2nd 7915  df-nbgr 28110
This theorem is referenced by:  nbgrssvwo2  28139  nbfusgrlevtxm1  28154  uvtxnbgr  28177  nbusgrvtxm1uvtx  28182  nbupgruvtxres  28184
  Copyright terms: Public domain W3C validator