| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > dfnbgr3 | Structured version Visualization version GIF version | ||
| Description: Alternate definition of the neighbors of a vertex using the edge function instead of the edges themselves (see also nbgrval 29423). (Contributed by Alexander van der Vekens, 17-Dec-2017.) (Revised by AV, 25-Oct-2020.) (Revised by AV, 21-Mar-2021.) |
| Ref | Expression |
|---|---|
| dfnbgr3.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| dfnbgr3.i | ⊢ 𝐼 = (iEdg‘𝐺) |
| Ref | Expression |
|---|---|
| dfnbgr3 | ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | dfnbgr3.v | . . . 4 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | eqid 2739 | . . . 4 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
| 3 | 1, 2 | nbgrval 29423 | . . 3 ⊢ (𝑁 ∈ 𝑉 → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 4 | 3 | adantr 481 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 5 | edgval 29136 | . . . . . 6 ⊢ (Edg‘𝐺) = ran (iEdg‘𝐺) | |
| 6 | dfnbgr3.i | . . . . . . . 8 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 7 | 6 | eqcomi 2748 | . . . . . . 7 ⊢ (iEdg‘𝐺) = 𝐼 |
| 8 | 7 | rneqi 5879 | . . . . . 6 ⊢ ran (iEdg‘𝐺) = ran 𝐼 |
| 9 | 5, 8 | eqtri 2762 | . . . . 5 ⊢ (Edg‘𝐺) = ran 𝐼 |
| 10 | 9 | rexeqi 3296 | . . . 4 ⊢ (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒) |
| 11 | funfn 6515 | . . . . . 6 ⊢ (Fun 𝐼 ↔ 𝐼 Fn dom 𝐼) | |
| 12 | 11 | bilani 505 | . . . . 5 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → 𝐼 Fn dom 𝐼) |
| 13 | sseq2 3941 | . . . . . 6 ⊢ (𝑒 = (𝐼‘𝑖) → ({𝑁, 𝑛} ⊆ 𝑒 ↔ {𝑁, 𝑛} ⊆ (𝐼‘𝑖))) | |
| 14 | 13 | rexrn 7028 | . . . . 5 ⊢ (𝐼 Fn dom 𝐼 → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 15 | 12, 14 | syl 17 | . . . 4 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 16 | 10, 15 | bitrid 284 | . . 3 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 17 | 16 | rabbidv 3398 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| 18 | 4, 17 | eqtrd 2774 | 1 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 207 ∧ wa 396 = wceq 1547 ∈ wcel 2119 ∃wrex 3063 {crab 3391 ∖ cdif 3880 ⊆ wss 3883 {csn 4555 {cpr 4557 dom cdm 5618 ran crn 5619 Fun wfun 6479 Fn wfn 6480 ‘cfv 6485 (class class class)co 7356 Vtxcvtx 29083 iEdgciedg 29084 Edgcedg 29134 NeighbVtx cnbgr 29419 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2711 ax-sep 5218 ax-nul 5228 ax-pr 5362 ax-un 7678 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-nfc 2888 df-ne 2935 df-ral 3054 df-rex 3064 df-rab 3392 df-v 3433 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4262 df-if 4455 df-pw 4531 df-sn 4556 df-pr 4558 df-op 4562 df-uni 4839 df-br 5073 df-opab 5135 df-mpt 5154 df-id 5513 df-xp 5624 df-rel 5625 df-cnv 5626 df-co 5627 df-dm 5628 df-rn 5629 df-iota 6441 df-fun 6487 df-fn 6488 df-fv 6493 df-ov 7359 df-oprab 7360 df-mpo 7361 df-edg 29135 df-nbgr 29420 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |