Vertex-chain subdivision of a weighted layered graph #
A vertex of weight w is replaced by a chain of w edges, followed by the original
outgoing edges. Slots beyond its weight are isolated. This prepares weighted paths for
the unweighted scans in #6747. The subdivision is an ordinary digraph: weighted routes
need not have equal lengths. This vertex-chain variant is an original construction.
pathEquiv identifies original paths with subdivided paths ending at any valid auxiliary
offset. Expansion charges each departure vertex's weight plus one per original edge. For
fixed endpoints the original layer difference fixes that edge count, so minimizing expanded
length is equivalent to minimizing internal vertex weight. Original empty paths are handled
separately: they expand only along the final partial source chain.
Main results #
pathEquiv: exact path correspondence, including auxiliary targets.existsUnique_shortest_of_isMinIsolating: unique unweighted shortest paths from each root.card_vertex: exactlyNat.card V * (bound + 1)slots, giving polynomial size when the original size and weight bound are polynomial.
The consumer CslibFrontier.Algorithms.Reachability.MinIsolation.Subdivision transfers this
to the existing scan transcript contract. Native adjacency certificates are in
CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.LogSpace.Subdivision.
A vertex and a bounded position in its subdivision chain.
- vertex : V
The original vertex whose chain contains this position.
The chain position; positions above the vertex weight are unused.
Instances For
The entry of an original vertex's chain.
Chain steps precede each original outgoing edge. Unused offsets are isolated.
One arrow for every adjacent pair in the subdivision.
Paths in the subdivision's ordinary directed graph.
The deterministic prefix of a vertex chain, ending at position i.
Every subdivided path is an expanded original path followed by a final chain prefix. The statement includes auxiliary endpoints, not only the original graph's vertices.
Original paths correspond bijectively to subdivided paths ending at any valid offset.
Reachability between subdivision roots is exactly reachability between the original vertices, for every weight assignment within the subdivision bound.
Expansion replaces departure weight by literal unweighted edges, with one extra edge per original edge. The formula includes the empty path.
The path bijection preserves length as departure cost plus the final partial chain.
For a fixed pair of endpoints and final offset, expansion orders paths by internal weight.
Min-isolation of the original vertex weights gives a unique shortest unweighted path from each original source to every reachable subdivision vertex, including auxiliary slots. Zero weights are allowed: the original outgoing edge still contributes one positive step.