| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > df-trls | Structured version Visualization version Unicode version | ||
| Description: Define the set of all
Trails (in an undirected graph).
According to Wikipedia ("Path (graph theory)", https://en.wikipedia.org/wiki/Path_(graph_theory), 3-Oct-2017): "A trail is a walk in which all edges are distinct. According to Bollobas: "... walk is called a trail if all its edges are distinct.", see Definition of [Bollobas] p. 5. Therefore, a trail can be represented by an injective mapping f from { 1 , ... , n } and a mapping p from { 0 , ... , n }, where f enumerates the (indices of the) different edges, and p enumerates the vertices. So the trail is also represented by the following sequence: p(0) e(f(1)) p(1) e(f(2)) ... p(n-1) e(f(n)) p(n). (Contributed by Alexander van der Vekens and Mario Carneiro, 4-Oct-2017.) (Revised by AV, 28-Dec-2020.) |
| Ref | Expression |
|---|---|
| df-trls |
|
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ctrls 26587 |
. 2
| |
| 2 | vg |
. . 3
| |
| 3 | cvv 3200 |
. . 3
| |
| 4 | vf |
. . . . . . 7
| |
| 5 | 4 | cv 1482 |
. . . . . 6
|
| 6 | vp |
. . . . . . 7
| |
| 7 | 6 | cv 1482 |
. . . . . 6
|
| 8 | 2 | cv 1482 |
. . . . . . 7
|
| 9 | cwlks 26492 |
. . . . . . 7
| |
| 10 | 8, 9 | cfv 5888 |
. . . . . 6
|
| 11 | 5, 7, 10 | wbr 4653 |
. . . . 5
|
| 12 | 5 | ccnv 5113 |
. . . . . 6
|
| 13 | 12 | wfun 5882 |
. . . . 5
|
| 14 | 11, 13 | wa 384 |
. . . 4
|
| 15 | 14, 4, 6 | copab 4712 |
. . 3
|
| 16 | 2, 3, 15 | cmpt 4729 |
. 2
|
| 17 | 1, 16 | wceq 1483 |
1
|
| Colors of variables: wff setvar class |
| This definition is referenced by: reltrls 26591 trlsfval 26592 |
| Copyright terms: Public domain | W3C validator |