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

Theorem nbcplgr 28211
Description: In a complete graph, each vertex has all other vertices as neighbors. (Contributed by Alexander van der Vekens, 12-Oct-2017.) (Revised by AV, 3-Nov-2020.)
Hypothesis
Ref Expression
nbcplgr.v 𝑉 = (Vtx‘𝐺)
Assertion
Ref Expression
nbcplgr ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))

Proof of Theorem nbcplgr
StepHypRef Expression
1 nbcplgr.v . . . . . . 7 𝑉 = (Vtx‘𝐺)
21cplgruvtxb 28190 . . . . . 6 (𝐺 ∈ ComplGraph → (𝐺 ∈ ComplGraph ↔ (UnivVtx‘𝐺) = 𝑉))
32ibi 266 . . . . 5 (𝐺 ∈ ComplGraph → (UnivVtx‘𝐺) = 𝑉)
43eqcomd 2743 . . . 4 (𝐺 ∈ ComplGraph → 𝑉 = (UnivVtx‘𝐺))
54eleq2d 2823 . . 3 (𝐺 ∈ ComplGraph → (𝑁𝑉𝑁 ∈ (UnivVtx‘𝐺)))
65biimpa 477 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → 𝑁 ∈ (UnivVtx‘𝐺))
71uvtxnbgrb 28178 . . 3 (𝑁𝑉 → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
87adantl 482 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
96, 8mpbid 231 1 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  cdif 3905  {csn 4584  cfv 6493  (class class class)co 7351  Vtxcvtx 27776   NeighbVtx cnbgr 28109  UnivVtxcuvtx 28162  ComplGraphccplgr 28186
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2708  ax-sep 5254  ax-nul 5261  ax-pr 5382  ax-un 7664
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4281  df-if 4485  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-id 5529  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6445  df-fun 6495  df-fv 6501  df-ov 7354  df-oprab 7355  df-mpo 7356  df-1st 7913  df-2nd 7914  df-nbgr 28110  df-uvtx 28163  df-cplgr 28188
This theorem is referenced by:  cusgrsizeindslem  28228  cusgrrusgr  28358
  Copyright terms: Public domain W3C validator