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

Theorem nbcplgr 27197
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 27176 . . . . . 6 (𝐺 ∈ ComplGraph → (𝐺 ∈ ComplGraph ↔ (UnivVtx‘𝐺) = 𝑉))
32ibi 269 . . . . 5 (𝐺 ∈ ComplGraph → (UnivVtx‘𝐺) = 𝑉)
43eqcomd 2826 . . . 4 (𝐺 ∈ ComplGraph → 𝑉 = (UnivVtx‘𝐺))
54eleq2d 2896 . . 3 (𝐺 ∈ ComplGraph → (𝑁𝑉𝑁 ∈ (UnivVtx‘𝐺)))
65biimpa 479 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → 𝑁 ∈ (UnivVtx‘𝐺))
71uvtxnbgrb 27164 . . 3 (𝑁𝑉 → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
87adantl 484 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
96, 8mpbid 234 1 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  cdif 3916  {csn 4548  cfv 6336  (class class class)co 7137  Vtxcvtx 26762   NeighbVtx cnbgr 27095  UnivVtxcuvtx 27148  ComplGraphccplgr 27172
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2792  ax-sep 5184  ax-nul 5191  ax-pow 5247  ax-pr 5311  ax-un 7442
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-ne 3012  df-nel 3119  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3483  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3935  df-nul 4275  df-if 4449  df-sn 4549  df-pr 4551  df-op 4555  df-uni 4820  df-iun 4902  df-br 5048  df-opab 5110  df-mpt 5128  df-id 5441  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6295  df-fun 6338  df-fv 6344  df-ov 7140  df-oprab 7141  df-mpo 7142  df-1st 7670  df-2nd 7671  df-nbgr 27096  df-uvtx 27149  df-cplgr 27174
This theorem is referenced by:  cusgrsizeindslem  27214  cusgrrusgr  27344
  Copyright terms: Public domain W3C validator