Proof that every walk contains a path
Builds on WalkPathStrong induction
Proof
We argue by strong induction on the length of the walk.
- Claim for each : let be a walk of length from a vertex to a vertex . Then there is a path from to whose vertices and edges all belong to .
- Let be a walk from to , and assume the claim for all lengths smaller than .
- If the vertices are pairwise distinct, then itself is a path, and we are done.
- Otherwise there are indices with .
- Let . If , this is .
- is a walk: consecutive vertices inside the two blocks are adjacent in , and when .
- starts at . It ends at if , and at if .
- The vertices of are vertices of . Its edges are edges of , because the only new edge equals the edge of .
- The length of is . By the induction hypothesis, contains a path from to as in the claim.
- By step 8, the vertices and edges of that path are vertices and edges of . This proves the claim for , and hence the statement.
Idea
If a walk visits some vertex twice, the part between the two visits is a detour. Cutting it out gives a shorter walk with the same ends, and this cannot go on forever.
Reading path
To understand this page from the ground up, read these 15 pages in order. The foundations come first. The path takes the proof Proof of strong induction from ordinary induction.
Show the path as a graph
- no evidence level
- Definition by recursion concept
- Graph definition
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Walk definition
- Successor function definition
- Path definition
- Addition of natural numbers definition
- The successor function is injective statement
- Zero is not a successor statement
- Order on the natural numbers definition
- Proof of strong induction from ordinary induction proof
- Strong induction statement
- Proof that every walk contains a path proof
Where this leads
7 pages build on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Path_(graph_theory), Walk, trail, and path
About this page
| Tag | RQMSNCYW06 |
|---|---|
| URI | m2://RQMSNCYW06 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 05C38 |
| Proves | Every walk contains a path |
| Uses | Walk, Path, Strong induction |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.