| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nbcplgr | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| nbcplgr.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| nbcplgr | ⊢ ((𝐺 ∈ ComplGraph ∧ 𝑁 ∈ 𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nbcplgr.v | . . . . . . 7 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | 1 | cplgruvtxb 29704 | . . . . . 6 ⊢ (𝐺 ∈ ComplGraph → (𝐺 ∈ ComplGraph ↔ (UnivVtx‘𝐺) = 𝑉)) |
| 3 | 2 | ibi 270 | . . . . 5 ⊢ (𝐺 ∈ ComplGraph → (UnivVtx‘𝐺) = 𝑉) |
| 4 | 3 | eqcomd 2775 | . . . 4 ⊢ (𝐺 ∈ ComplGraph → 𝑉 = (UnivVtx‘𝐺)) |
| 5 | 4 | eleq2d 2855 | . . 3 ⊢ (𝐺 ∈ ComplGraph → (𝑁 ∈ 𝑉 ↔ 𝑁 ∈ (UnivVtx‘𝐺))) |
| 6 | 5 | biimpa 481 | . 2 ⊢ ((𝐺 ∈ ComplGraph ∧ 𝑁 ∈ 𝑉) → 𝑁 ∈ (UnivVtx‘𝐺)) |
| 7 | 1 | uvtxnbgrb 29692 | . . 3 ⊢ (𝑁 ∈ 𝑉 → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))) |
| 8 | 7 | adantl 486 | . 2 ⊢ ((𝐺 ∈ ComplGraph ∧ 𝑁 ∈ 𝑉) → (𝑁 ∈ (UnivVtx‘𝐺) ↔ (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁}))) |
| 9 | 6, 8 | mpbid 235 | 1 ⊢ ((𝐺 ∈ ComplGraph ∧ 𝑁 ∈ 𝑉) → (𝐺 NeighbVtx 𝑁) = (𝑉 ∖ {𝑁})) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 209 ∧ wa 400 = wceq 1567 ∈ wcel 2149 ∖ cdif 3910 {csn 4594 ‘cfv 6537 (class class class)co 7411 Vtxcvtx 29287 NeighbVtx cnbgr 29623 UnivVtxcuvtx 29676 ComplGraphccplgr 29700 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1822 ax-4 1836 ax-5 1937 ax-6 1994 ax-7 2035 ax-8 2151 ax-9 2159 ax-10 2182 ax-11 2198 ax-12 2219 ax-ext 2741 ax-sep 5261 ax-nul 5271 ax-pr 5405 ax-un 7733 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1570 df-fal 1580 df-ex 1807 df-nf 1811 df-sb 2098 df-mo 2573 df-eu 2603 df-clab 2748 df-cleq 2761 df-clel 2844 df-nfc 2918 df-ne 2965 df-nel 3071 df-ral 3086 df-rex 3096 df-rab 3424 df-v 3465 df-sbc 3754 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4877 df-iun 4962 df-br 5114 df-opab 5178 df-mpt 5197 df-id 5557 df-xp 5668 df-rel 5669 df-cnv 5670 df-co 5671 df-dm 5672 df-rn 5673 df-res 5674 df-ima 5675 df-iota 6493 df-fun 6539 df-fv 6545 df-ov 7414 df-oprab 7415 df-mpo 7416 df-1st 7986 df-2nd 7987 df-nbgr 29624 df-uvtx 29677 df-cplgr 29702 |
| This theorem is referenced by: cusgrsizeindslem 29742 cusgrrusgr 29872 |
| Copyright terms: Public domain | W3C validator |