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

Theorem nbgrssovtx 29942
Description: The neighbors of a vertex 𝑋 form a subset of all vertices except the vertex 𝑋 itself. Stronger version of nbgrssvtx 29923. (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 29922 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ∈ 𝑉)
3 nbgrnself2 29941 . . . . 5 𝑋 ∉ (𝐺 NeighbVtx 𝑋)
4 df-nel 3063 . . . . . 6 (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
5 neleq1 3068 . . . . . 6 (𝑣 = 𝑋 → (𝑣 ∉ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
64, 5bitr3id 288 . . . . 5 (𝑣 = 𝑋 → (¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋) ↔ 𝑋 ∉ (𝐺 NeighbVtx 𝑋)))
73, 6mpbiri 261 . . . 4 (𝑣 = 𝑋 → ¬ 𝑣 ∈ (𝐺 NeighbVtx 𝑋))
87necon2ai 2985 . . 3 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ≠ 𝑋)
9 eldifsn 4748 . . 3 (𝑣 ∈ (𝑉 ∖ {𝑋}) ↔ (𝑣 ∈ 𝑉 ∧ 𝑣 ≠ 𝑋))
102, 8, 9sylanbrc 595 . 2 (𝑣 ∈ (𝐺 NeighbVtx 𝑋) → 𝑣 ∈ (𝑉 ∖ {𝑋}))
1110ssriv 3935 1 (𝐺 NeighbVtx 𝑋) ⊆ (𝑉 ∖ {𝑋})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2145   ≠ wne 2956   ∉ wnel 3062   ∖ cdif 3896   ⊆ wss 3899  {csn 4584  ‘cfv 6538  (class class class)co 7420  Vtxcvtx 29574   NeighbVtx cnbgr 29913
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  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 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-nbgr 29914
This theorem is used by:  nbgrssvwo2  29943  nbfusgrlevtxm1  29958  uvtxnbgr  29981  nbusgrvtxm1uvtx  29986  nbupgruvtxres  29988
  Copyright terms: Public domain W3C validator