Lemma 11.19.12. (Coefficient-compatible convex boundary extension). Let be a positive-dimensional compact polytope defined by rational-slope, -constant affine inequalities. Suppose is continuous on its relative boundary, and on each facet is the maximum of finitely many ambient affine functions with those coefficients. Then extends to a function on which is itself a finite maximum of such affine functions. If an affine real function satisfies on the boundary, then for every one can arrange
Argument in the manuscript
Proof. For each facet , choose a rational-slope, value-group-constant affine function on whose zero set on is exactly . Take one affine branch of . We claim that on the whole boundary for some nonnegative rational . Refine the boundary into finitely many compact polytopes on which is affine. At a vertex with , we already have . At all other vertices impose There are only finitely many bounds, so a nonnegative rational exists. Vertex inequalities imply the inequalities on every boundary cell. The modified branch still restricts to on and retains rational slopes and constants in . Take the maximum of all modified branches, over all facets and all their branches. It agrees with on each facet and is convex on .
If , every modified affine branch is at most at all vertices of , hence at most throughout . To obtain the lower bound, choose a rational-slope, -constant affine function with Such a choice follows by approximating the slope and constant of , using compactness and the density of . On the boundary, . Adding to the finite maximum therefore preserves the boundary values and gives (11.19.12). ◻