
theorem
  for G being real-weighted WGraph, W being Walk of G holds W.cost() = W
  .reverse().cost()
proof
  let G be real-weighted WGraph, W be Walk of G;
  thus W.cost() = Sum (Rev (W.weightSeq())) by POLYNOM3:3
    .= W.reverse().cost() by Th15;
end;
