| 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 29537). (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 2762 | . . . 4 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
| 3 | 1, 2 | nbgrval 29537 | . . 3 ⊢ (𝑁 ∈ 𝑉 → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 4 | 3 | adantr 484 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 5 | edgval 29250 | . . . . . 6 ⊢ (Edg‘𝐺) = ran (iEdg‘𝐺) | |
| 6 | dfnbgr3.i | . . . . . . . 8 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 7 | 6 | eqcomi 2771 | . . . . . . 7 ⊢ (iEdg‘𝐺) = 𝐼 |
| 8 | 7 | rneqi 5913 | . . . . . 6 ⊢ ran (iEdg‘𝐺) = ran 𝐼 |
| 9 | 5, 8 | eqtri 2785 | . . . . 5 ⊢ (Edg‘𝐺) = ran 𝐼 |
| 10 | 9 | rexeqi 3319 | . . . 4 ⊢ (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒) |
| 11 | funfn 6551 | . . . . . 6 ⊢ (Fun 𝐼 ↔ 𝐼 Fn dom 𝐼) | |
| 12 | 11 | bilani 508 | . . . . 5 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → 𝐼 Fn dom 𝐼) |
| 13 | sseq2 3962 | . . . . . 6 ⊢ (𝑒 = (𝐼‘𝑖) → ({𝑁, 𝑛} ⊆ 𝑒 ↔ {𝑁, 𝑛} ⊆ (𝐼‘𝑖))) | |
| 14 | 13 | rexrn 7068 | . . . . 5 ⊢ (𝐼 Fn dom 𝐼 → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 15 | 12, 14 | syl 17 | . . . 4 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 16 | 10, 15 | bitrid 285 | . . 3 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 17 | 16 | rabbidv 3421 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| 18 | 4, 17 | eqtrd 2797 | 1 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∧ wa 399 = wceq 1560 ∈ wcel 2142 ∃wrex 3086 {crab 3414 ∖ cdif 3901 ⊆ wss 3904 {csn 4582 {cpr 4584 dom cdm 5647 ran crn 5648 Fun wfun 6515 Fn wfn 6516 ‘cfv 6521 (class class class)co 7396 Vtxcvtx 29197 iEdgciedg 29198 Edgcedg 29248 NeighbVtx cnbgr 29533 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-sep 5246 ax-nul 5256 ax-pr 5390 ax-un 7718 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1100 df-tru 1563 df-fal 1573 df-ex 1800 df-nf 1804 df-sb 2091 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-ral 3077 df-rex 3087 df-rab 3415 df-v 3456 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4481 df-pw 4557 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5542 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-iota 6477 df-fun 6523 df-fn 6524 df-fv 6529 df-ov 7399 df-oprab 7400 df-mpo 7401 df-edg 29249 df-nbgr 29534 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |