| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > dfclnbgr4 | Structured version Visualization version GIF version | ||
| Description: Alternate definition of the closed neighborhood of a vertex as union of the vertex with its open neighborhood. (Contributed by AV, 8-May-2025.) |
| Ref | Expression |
|---|---|
| dfclnbgr4.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| dfclnbgr4 | ⊢ (𝑁 ∈ 𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ (𝐺 NeighbVtx 𝑁))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | dfclnbgr4.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | eqid 2764 | . . 3 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
| 3 | 1, 2 | dfclnbgr2 48450 | . 2 ⊢ (𝑁 ∈ 𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)})) |
| 4 | undif2 4433 | . . . 4 ⊢ ({𝑁} ∪ ({𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)} ∖ {𝑁})) = ({𝑁} ∪ {𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) | |
| 5 | rabdif 4275 | . . . . 5 ⊢ ({𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)} ∖ {𝑁}) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)} | |
| 6 | 5 | uneq2i 4120 | . . . 4 ⊢ ({𝑁} ∪ ({𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)} ∖ {𝑁})) = ({𝑁} ∪ {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) |
| 7 | 4, 6 | eqtr3i 2789 | . . 3 ⊢ ({𝑁} ∪ {𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) = ({𝑁} ∪ {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) |
| 8 | 1, 2 | dfnbgr2 29540 | . . . . 5 ⊢ (𝑁 ∈ 𝑉 → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) |
| 9 | 8 | eqcomd 2770 | . . . 4 ⊢ (𝑁 ∈ 𝑉 → {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)} = (𝐺 NeighbVtx 𝑁)) |
| 10 | 9 | uneq2d 4123 | . . 3 ⊢ (𝑁 ∈ 𝑉 → ({𝑁} ∪ {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) = ({𝑁} ∪ (𝐺 NeighbVtx 𝑁))) |
| 11 | 7, 10 | eqtrid 2811 | . 2 ⊢ (𝑁 ∈ 𝑉 → ({𝑁} ∪ {𝑛 ∈ 𝑉 ∣ ∃𝑒 ∈ (Edg‘𝐺)(𝑁 ∈ 𝑒 ∧ 𝑛 ∈ 𝑒)}) = ({𝑁} ∪ (𝐺 NeighbVtx 𝑁))) |
| 12 | 3, 11 | eqtrd 2799 | 1 ⊢ (𝑁 ∈ 𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ (𝐺 NeighbVtx 𝑁))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 399 = wceq 1562 ∈ wcel 2144 ∃wrex 3088 {crab 3416 ∖ cdif 3903 ∪ cun 3904 {csn 4584 ‘cfv 6523 (class class class)co 7398 Vtxcvtx 29199 Edgcedg 29250 NeighbVtx cnbgr 29535 ClNeighbVtx cclnbgr 48445 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1817 ax-4 1831 ax-5 1932 ax-6 1989 ax-7 2030 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2214 ax-ext 2736 ax-sep 5248 ax-nul 5258 ax-pr 5392 ax-un 7720 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1101 df-tru 1565 df-fal 1575 df-ex 1802 df-nf 1806 df-sb 2093 df-mo 2568 df-eu 2598 df-clab 2743 df-cleq 2756 df-clel 2839 df-nfc 2913 df-ne 2960 df-ral 3079 df-rex 3089 df-rab 3417 df-v 3458 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5103 df-opab 5165 df-id 5544 df-xp 5655 df-rel 5656 df-cnv 5657 df-co 5658 df-dm 5659 df-iota 6479 df-fun 6525 df-fv 6531 df-ov 7401 df-oprab 7402 df-mpo 7403 df-nbgr 29536 df-clnbgr 48446 |
| This theorem is referenced by: elclnbgrelnbgr 48452 clnbupgr 48460 clnbgr0edg 48464 edgusgrclnbfin 48469 stgrclnbgr0 48592 isubgr3stgrlem1 48593 |
| Copyright terms: Public domain | W3C validator |