The graph metric coded by the interpolated finite-tree contour #
Between grid times, the polygonal contour is a convex combination of its two endpoint heights. A discrete lower bound and an attaining grid point therefore identify its continuous interval minimum. Applied between the first visits to two vertices, this minimum is the depth of their lowest common ancestor, so the continuous coding distance is their graph distance.
The first-visit grid indices are explicit Fin arguments. Equal indices include
the singleton tree; the upper endpoint of each interval is treated before taking
a natural floor, so every interpolation cell used has two valid endpoints.
Arbitrary grid visits have continuous interval minimum equal to their LCA depth.
Coding distance at any pair of grid visits equals the distance of their addresses.
The continuous contour minimum between first visits is the depth of the LCA.
The distance coded by the interpolated contour agrees with the vertex graph metric.