Lemma. ★ Flow value preservation [00S1]
- November 11, 2026
f^{\mathrm {out}}(s) = f^{\mathrm {in}}(t), that is, “what leaves s must eventually arrive at t”.
Proof.
- November 11, 2026
Note first that \sum _{v \in V} f^{\mathrm {out}}(v) = \sum _{e \in E} f(e) = \sum _{v \in V} f^{\mathrm {in}}(v). The middle sum is just the sum of the flows along every edge. But since every edge has exactly one start vertex, the flow along any given edge gets included exactly once in the left-hand sum (as part of f^{\mathrm {out}}(v) for its start vertex). Likewise, each edge is included exactly once in the right-hand sum, with its end vertex.
Since the left- and right-hand sums are equal, we have 0 = \left (\sum _{v \in V} f^{\mathrm {out}}(v)\right ) - \left (\sum _{v \in V} f^{\mathrm {in}}(v)\right ) = \sum _{v \in V} (f^{\mathrm {out}}(v) - f^{\mathrm {in}}(v)). But by definition of a flow (property 2), f^{\mathrm {out}}(v) - f^{\mathrm {in}}(v) = 0 for every vertex v other than s or t. Note also that f^{\mathrm {in}}(s) = 0 and f^{\mathrm {out}}(t) = 0. Hence everything in this sum cancels except f^{\mathrm {out}}(s) - f^{\mathrm {in}}(t). Thus we have shown f^{\mathrm {out}}(s) - f^{\mathrm {in}}(t) = 0, that is, f^{\mathrm {out}}(s) = f^{\mathrm {in}}(t).