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

Theorem nbcplgr 29636
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 29615 . . . . . 6 (𝐺 ∈ ComplGraph → (𝐺 ∈ ComplGraph ↔ (UnivVtx‘𝐺) = 𝑉))
32ibi 269 . . . . 5 (𝐺 ∈ ComplGraph → (UnivVtx‘𝐺) = 𝑉)
43eqcomd 2769 . . . 4 (𝐺 ∈ ComplGraph → 𝑉 = (UnivVtx‘𝐺))
54eleq2d 2849 . . 3 (𝐺 ∈ ComplGraph → (𝑁𝑉𝑁 ∈ (UnivVtx‘𝐺)))
65biimpa 480 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → 𝑁 ∈ (UnivVtx‘𝐺))
71uvtxnbgrb 29603 . . 3 (𝑁𝑉 → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
87adantl 485 . 2 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})))
96, 8mpbid 234 1 ((𝐺 ∈ ComplGraph ∧ 𝑁𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 399   = wceq 1561  wcel 2143  cdif 3902  {csn 4583  cfv 6522  (class class class)co 7397  Vtxcvtx 29198   NeighbVtx cnbgr 29534  UnivVtxcuvtx 29587  ComplGraphccplgr 29611
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1816  ax-4 1830  ax-5 1931  ax-6 1988  ax-7 2029  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-sep 5247  ax-nul 5257  ax-pr 5391  ax-un 7719
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1564  df-fal 1574  df-ex 1801  df-nf 1805  df-sb 2092  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3063  df-ral 3078  df-rex 3088  df-rab 3416  df-v 3457  df-sbc 3746  df-csb 3854  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-nul 4287  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5102  df-opab 5164  df-mpt 5183  df-id 5543  df-xp 5654  df-rel 5655  df-cnv 5656  df-co 5657  df-dm 5658  df-rn 5659  df-res 5660  df-ima 5661  df-iota 6478  df-fun 6524  df-fv 6530  df-ov 7400  df-oprab 7401  df-mpo 7402  df-1st 7971  df-2nd 7972  df-nbgr 29535  df-uvtx 29588  df-cplgr 29613
This theorem is referenced by:  cusgrsizeindslem  29653  cusgrrusgr  29783
  Copyright terms: Public domain W3C validator