Skip to content
Rainbow docs menu

Reference

Graph algorithms

8 modules in src/rainbow/algorithms/proofs/graph/. All folders

ModuleWhat it provesTheorems
algorithms.proofs.graph.bellman-ford-convergence-attainedBELLMAN-FORD CONVERGENCE, ATTAINMENT HALF (second half, part (R)).1
algorithms.proofs.graph.bellman-ford-convergence-upperBELLMAN-FORD CONVERGENCE, UPPER HALF (second half, part (U)).1
algorithms.proofs.graph.dijkstra-invariantDIJKSTRA'S INVARIANT (the Dijkstra step family's Level-3 half).7
algorithms.proofs.graph.floyd-warshall-convergence-attainedFLOYD-WARSHALL, ATTAINMENT HALF (second half, part (R)).1
algorithms.proofs.graph.floyd-warshall-convergence-upperFLOYD-WARSHALL INVARIANT, UPPER HALF (part (U)).1
algorithms.proofs.graph.walk-concatCONCATENATING WALKS, for the Floyd-Warshall invariant.5
algorithms.proofs.graph.walk-cycle-cutCUTTING A CYCLE OUT OF A WALK, the step of the Bellman-Ford cycle-removal lemma.5
algorithms.proofs.graph.walk-shortenCYCLE REMOVAL: without negative closed walks, every walk over n nodes can be replaced by one of FEWER THAN n arcs with the same ends that is no longer: signed/walk-shorten : no-negative-cycles n W -> forall k x, (forall t <= k, x t < n) -> exists k', k' < n /\ exists y, (forall t <= k', y t < n) /\ y 0 = x 0 /\ y k' = x k /\ walk-length (y, k') <= walk-length (x, k) Proof by strong induction on a 4