| 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 29917). (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 2761 | . . . 4 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
| 3 | 1, 2 | nbgrval 29917 | . . 3 ⊢ (𝑁 ∈ 𝑉 → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 4 | 3 | adantr 486 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 5 | edgval 29627 | . . . . . 6 ⊢ (Edg‘𝐺) = ran (iEdg‘𝐺) | |
| 6 | dfnbgr3.i | . . . . . . . 8 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 7 | 6 | eqcomi 2770 | . . . . . . 7 ⊢ (iEdg‘𝐺) = 𝐼 |
| 8 | 7 | rneqi 5919 | . . . . . 6 ⊢ ran (iEdg‘𝐺) = ran 𝐼 |
| 9 | 5, 8 | eqtri 2784 | . . . . 5 ⊢ (Edg‘𝐺) = ran 𝐼 |
| 10 | 9 | rexeqi 3319 | . . . 4 ⊢ (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒) |
| 11 | funfn 6570 | . . . . . 6 ⊢ (Fun 𝐼 ↔ 𝐼 Fn dom 𝐼) | |
| 12 | 11 | bilani 510 | . . . . 5 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → 𝐼 Fn dom 𝐼) |
| 13 | sseq2 3957 | . . . . . 6 ⊢ (𝑒 = (𝐼‘𝑖) → ({𝑁, 𝑛} ⊆ 𝑒 ↔ {𝑁, 𝑛} ⊆ (𝐼‘𝑖))) | |
| 14 | 13 | rexrn 7087 | . . . . 5 ⊢ (𝐼 Fn dom 𝐼 → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 15 | 12, 14 | syl 18 | . . . 4 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 16 | 10, 15 | bitrid 286 | . . 3 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖))) |
| 17 | 16 | rabbidv 3420 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| 18 | 4, 17 | eqtrd 2796 | 1 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1570 ∈ wcel 2145 ∃wrex 3087 {crab 3413 ∖ cdif 3896 ⊆ wss 3899 {csn 4584 {cpr 4586 dom cdm 5651 ran crn 5652 Fun wfun 6532 Fn wfn 6533 ‘cfv 6538 (class class class)co 7420 Vtxcvtx 29574 iEdgciedg 29575 Edgcedg 29625 NeighbVtx cnbgr 29913 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2733 ax-sep 5249 ax-nul 5260 ax-pr 5391 ax-un 7751 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3078 df-rex 3088 df-rab 3414 df-v 3453 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5546 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-iota 6494 df-fun 6540 df-fn 6541 df-fv 6546 df-ov 7423 df-oprab 7424 df-mpo 7425 df-edg 29626 df-nbgr 29914 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |