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

Theorem nbgrssovtx 29972
Description: The neighbors of a vertex 𝑋 form a subset of all vertices except the vertex 𝑋 itself. Stronger version of nbgrssvtx 29953. (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 29952 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ∈ 𝑉)
3 nbgrnself2 29971 . . . . 5 𝑋 ∉ (𝐺 NeighbVtx 𝑋)
4 df-nel 3066 . . . . . 6 (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
5 neleq1 3071 . . . . . 6 (𝑣 = 𝑋 → (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
64, 5bitr3id 288 . . . . 5 (𝑣 = 𝑋 → (¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
73, 6mpbiri 261 . . . 4 (𝑣 = 𝑋 → ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
87necon2ai 2988 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ≠ 𝑋)
9 eldifsn 4748 . . 3 (𝑣 ∈ (𝑉 ∖ {𝑋}) ↔ (𝑣 ∈ 𝑉 ∧ 𝑣 ≠ 𝑋))
102, 8, 9sylanbrc 595 . 2 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ∈ (𝑉 ∖ {𝑋}))
1110ssriv 3917 1 (𝐺 NeighbVtx 𝑋) ⊆ (𝑉 ∖ {𝑋})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147   ≠ wne 2959   ∉ wnel 3065   ⊆ wss 3900   ∖ cdif 4048  {csn 4588  ‘cfv 6558  (class class class)co 7443  Vtxcvtx 29604   NeighbVtx cnbgr 29943
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  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 6512  df-fun 6560  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-nbgr 29944
This theorem is used by:  nbgrssvwo2  29973  nbfusgrlevtxm1  29988  uvtxnbgr  30011  nbusgrvtxm1uvtx  30016  nbupgruvtxres  30018
  Copyright terms: Public domain W3C validator