| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > clnbgr0edg | Structured version Visualization version GIF version | ||
| Description: In an empty graph (with no edges), all closed neighborhoods consists of a single vertex. (Contributed by AV, 10-May-2025.) |
| Ref | Expression |
|---|---|
| clnbgr0edg | ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → (𝐺 ClNeighbVtx 𝐾) = {𝐾}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqid 2760 | . . . 4 ⊢ (Vtx‘𝐺) = (Vtx‘𝐺) | |
| 2 | 1 | dfclnbgr4 49058 | . . 3 ⊢ (𝐾 ∈ (Vtx‘𝐺) → (𝐺 ClNeighbVtx 𝐾) = ({𝐾} ∪ (𝐺 NeighbVtx 𝐾))) |
| 3 | 2 | adantl 487 | . 2 ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → (𝐺 ClNeighbVtx 𝐾) = ({𝐾} ∪ (𝐺 NeighbVtx 𝐾))) |
| 4 | nbgr0edg 29947 | . . . 4 ⊢ ((Edg‘𝐺) = ∅ → (𝐺 NeighbVtx 𝐾) = ∅) | |
| 5 | 4 | adantr 486 | . . 3 ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → (𝐺 NeighbVtx 𝐾) = ∅) |
| 6 | 5 | uneq2d 4166 | . 2 ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → ({𝐾} ∪ (𝐺 NeighbVtx 𝐾)) = ({𝐾} ∪ ∅)) |
| 7 | un0 4343 | . . 3 ⊢ ({𝐾} ∪ ∅) = {𝐾} | |
| 8 | 7 | a1i 11 | . 2 ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → ({𝐾} ∪ ∅) = {𝐾}) |
| 9 | 3, 6, 8 | 3eqtrd 2799 | 1 ⊢ (((Edg‘𝐺) = ∅ ∧ 𝐾 ∈ (Vtx‘𝐺)) → (𝐺 ClNeighbVtx 𝐾) = {𝐾}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1569 ∈ wcel 2144 ∪ cun 4148 ∅c0 4277 {csn 4584 ‘cfv 6543 (class class class)co 7424 Vtxcvtx 29583 Edgcedg 29634 NeighbVtx cnbgr 29922 ClNeighbVtx cclnbgr 49052 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-sep 5248 ax-nul 5259 ax-pr 5391 ax-un 7755 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-nel 3062 df-ral 3077 df-rex 3087 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3848 df-ss 3897 df-dif 4046 df-in 4090 df-un 4150 df-nul 4278 df-if 4482 df-pw 4558 df-sn 4585 df-pr 4587 df-op 4835 df-uni 4867 df-iun 4952 df-br 5103 df-opab 5167 df-mpt 5186 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 6497 df-fun 6545 df-fv 6551 df-ov 7427 df-oprab 7428 df-mpo 7429 df-1st 8005 df-2nd 8006 df-nbgr 29923 df-clnbgr 49053 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |