How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Shortest-path distance is a metric on every connected component
Statement
Let be the vertex set of a connected component of a graph . The function satisfies, for all ,
- , with if and only if ;
- ;
- .
These are the metric axioms, so shortest-path distance is a metric on .
Facts & Assumptions
Given: Vertices in one connected component of .
is the least length of an to path, and the length is a natural number (Graph distance within a component, eccentricity, diameter and girth, including the acyclic convention).
Every walk contains a path between the same endpoints whose length is no greater (Every walk between two vertices contains a path between the same endpoints).
Reversing a path preserves its length, and concatenating an to path of length with a to path of length gives an to walk of length .
Proof
Every path length is a natural number, hence . The length- path gives . Conversely a path of length has one vertex, so forces .
Reversing a shortest to path gives a to path of the same length, so ; reversing the roles gives the opposite inequality, hence equality.
Concatenate shortest paths from to and from to . This is a to walk of length , and [L1] supplies a to path of no greater length. Minimality in [F1] gives .
Steps 1.1, 1.2 and 1.3 establish separation, symmetry and the triangle inequality directly on , so is a metric there.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 16 results over 12 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- R. Diestel, Graph Theory, Chapter 1 preview (standard reference, not scraped)