theorem Th9:
for
G being
Graph for
p,
q being
oriented Chain of
G for
W being
Function for
V being
set for
v1,
v2 being
Vertex of
G st
p is_shortestpath_of v1,
v2,
V,
W &
q is_shortestpath_of v1,
v2,
V,
W holds
cost (
p,
W)
= cost (
q,
W)