| 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 29686). (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 2763 | . . . 4 ⊢ (Edg‘𝐺) = (Edg‘𝐺) | |
| 3 | 1, 2 | nbgrval 29686 | . . 3 ⊢ (𝑁 ∈ 𝑉 → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 4 | 3 | adantr 485 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒}) |
| 5 | edgval 29399 | . . . . . 6 ⊢ (Edg‘𝐺) = ran (iEdg‘𝐺) | |
| 6 | dfnbgr3.i | . . . . . . . 8 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 7 | 6 | eqcomi 2772 | . . . . . . 7 ⊢ (iEdg‘𝐺) = 𝐼 |
| 8 | 7 | rneqi 5927 | . . . . . 6 ⊢ ran (iEdg‘𝐺) = ran 𝐼 |
| 9 | 5, 8 | eqtri 2786 | . . . . 5 ⊢ (Edg‘𝐺) = ran 𝐼 |
| 10 | 9 | rexeqi 3322 | . . . 4 ⊢ (∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒 ∈ ran 𝐼{𝑁, 𝑛} ⊆ 𝑒) |
| 11 | funfn 6566 | . . . . . 6 ⊢ (Fun 𝐼 ↔ 𝐼 Fn dom 𝐼) | |
| 12 | 11 | bilani 509 | . . . . 5 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → 𝐼 Fn dom 𝐼) |
| 13 | sseq2 3963 | . . . . . 6 ⊢ (𝑒 = (𝐼‘𝑖) → ({𝑁, 𝑛} ⊆ 𝑒 ↔ {𝑁, 𝑛} ⊆ (𝐼‘𝑖))) | |
| 14 | 13 | rexrn 7082 | . . . . 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 3423 | . 2 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| 18 | 4, 17 | eqtrd 2798 | 1 ⊢ ((𝑁 ∈ 𝑉 ∧ Fun 𝐼) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ (𝑉 ∖ {𝑁}) ∣ ∃𝑖 ∈ dom 𝐼{𝑁, 𝑛} ⊆ (𝐼‘𝑖)}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 209 ∧ wa 400 = wceq 1570 ∈ wcel 2143 ∃wrex 3089 {crab 3416 ∖ cdif 3902 ⊆ wss 3905 {csn 4589 {cpr 4591 dom cdm 5661 ran crn 5662 Fun wfun 6530 Fn wfn 6531 ‘cfv 6536 (class class class)co 7410 Vtxcvtx 29346 iEdgciedg 29347 Edgcedg 29397 NeighbVtx cnbgr 29682 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5257 ax-nul 5269 ax-pr 5404 ax-un 7732 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-ral 3080 df-rex 3090 df-rab 3417 df-v 3457 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-nul 4287 df-if 4488 df-pw 4564 df-sn 4590 df-pr 4592 df-op 4596 df-uni 4873 df-br 5110 df-opab 5174 df-mpt 5193 df-id 5556 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-iota 6492 df-fun 6538 df-fn 6539 df-fv 6544 df-ov 7413 df-oprab 7414 df-mpo 7415 df-edg 29398 df-nbgr 29683 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |