Discrete Convex Analysis XVII: Fenchel Duality and Linear-Programming IntegralityTextbook
Motivation
Duality is the organizing principle of convex optimization: a minimization problem's optimal value equals a maximization problem's optimal value, and this coincidence, rather than being a lucky accident, follows from a separating-hyperplane argument that applies whenever the two problems' feasible regions are shaped compatibly enough. Werner Fenchel formalized this in the 1950s for pairs of convex and concave functions related by the Legendre-Fenchel transform, and the resulting Fenchel duality theorem specializes, for linear objectives over polyhedral feasible regions, to linear programming duality — the fact, central to the entire theory of combinatorial optimization, that a linear program's optimal value can always be certified from above and below by a pair of primal and dual feasible solutions. Murota's Discrete Convex Analysis (SIAM, 2003) collects this classical machinery, together with the integrality theory that lets it produce combinatorial (integer-valued) certificates rather than merely real ones, as the technical foundation the rest of the book builds its discrete theory on top of.
Setting
For , the epigraph is , and is convex iff is a convex set; is proper if additionally its effective domain is nonempty, and closed if is topologically closed. A function is concave, proper, closed analogously via its hypograph. The convex conjugate is , and the concave conjugate . The relative interior of a set is the interior of relative to its affine hull. A function is polyhedral if its epigraph (or hypograph) is a finite intersection of half-spaces. Given an matrix , , , the primal and dual linear programs are and , with feasible regions , . A matrix is totally unimodular if every square submatrix has determinant , , or . A discrete set is hole free if , where is the convex hull of 's real embedding; the discrete Minkowski sum is .
Formalization targets
Goal (Theorem 3.6, Fenchel duality). For proper convex and proper concave satisfying at least one of four alternative conditions — a relative-interior condition on , a polyhedrality condition on the same, or the analogous pair of conditions on together with closedness of , —
with the extremum on the appropriate side attained whenever the common value is finite. This is the mission's capstone: the four alternative hypotheses make it the most broadly applicable statement of the four convex-duality results in this mission, each of the other three being either a special case in substance (Theorem 3.5, separation, which 3.6 is proved from) or a literal specialization to linear data (Theorem 3.10, LP duality).
Supporting milestones. Theorem 3.2 (biconjugation: is always closed proper convex, and for closed proper convex ); Theorem 3.5 (the separation theorem for convex/concave functions, under two of Theorem 3.6's four hypotheses); Theorem 3.9 (the Farkas lemma, equality form); Theorem 3.10 (LP duality: weak duality, strong duality with attainment, and complementary slackness); Theorem 3.13 (total unimodularity of the constraint matrix guarantees an integral optimal solution whenever an optimal solution exists); Proposition 3.14 (an explicit potential function certifying a minimum-weight bipartite perfect matching, via the totally unimodular incidence-matrix LP); and Proposition 3.16 (for a translation-invariant family of hole-free discrete sets, the property that discrete disjointness implies closure disjointness is equivalent to the discrete Minkowski sum matching the integer points of the closures' Minkowski sum).
Significance
Fenchel duality is the single result from which the separation theorem, LP duality, and (via the
totally-unimodular incidence matrix of a bipartite graph) the combinatorial duality underlying
weighted bipartite matching all descend, in one unbroken chain of specialization; formalizing
this chain in one mission exhibits that structure directly, rather than treating each result as
an independent fact. Proposition 3.16 plays a different role: it is the chapter's warning that
naive discrete analogues of convexity (hole-freeness) do not automatically inherit convexity's
good closure properties under Minkowski sums, which is exactly the gap the book's later
M-convexity and L-convexity machinery is built to close — this mission's Proposition 3.16 is
therefore the motivating negative result for the rest of the book's positive theory, not a loose
end. So far as a platform search shows, no existing formalization matches this chunk's specific
combination of extended-valued (possibly ) functions, the four-alternative Fenchel
duality hypothesis, or the bipartite-matching-via-total-unimodularity argument; the one related
platform result (VectorSpaceOpt.fenchel_duality, from Luenberger) is for real-valued functions
on general normed spaces under a single relative-interior-and-solidness hypothesis, a different
generality from the extended-valued, four-hypothesis statement here.
Difficulty
The naive approach to Theorem 3.6 tries to prove the duality gap is zero directly from the definitions of the two conjugates, which only gives the easy inequality (a one-line computation, shown in the book's own proof in three lines); the substantive content is the reverse inequality, and it genuinely fails without a constraint-qualification hypothesis like (a1)-(b2) — Example 3.8 in the book exhibits a convex/concave pair with when none of the four conditions hold. The book's actual route reduces Theorem 3.6 to the separation theorem (Theorem 3.5) applied to shifted down by the (assumed finite) infimum, which produces the separating affine function directly; this is why Theorem 3.5, although logically a special case in spirit, earns its own milestone rather than being subsumed silently.
Formalization scope
All convex and concave functions are represented uniformly as (V → ℝ) → EReal-valued
(Fintype V), rather than mixing WithTop ℝ for convex and WithBot ℝ for concave functions,
so that Theorem 3.2's biconjugate — whose properness is a conclusion, not an assumption — has a
well-defined codomain without extra casts. Convexity is defined via the epigraph being a convex
subset of the ordinary real vector space (Mathlib's Convex ℝ),
following the book's own equivalent characterization, rather than unfolding the direct
inequality definition, which would require a extended-arithmetic scalar-multiplication
convention (0\cdot(+\infty)=0) that Mathlib does not provide for EReal. The relative interior
is defined directly from the book's own metric-ball-intersected-with-affine-hull description,
since Mathlib has no relative-interior primitive at the pinned revision. Polyhedra are finite
intersections of explicit half-spaces. A bipartite perfect matching is represented as a bijection
between the two vertex sides restricted to the edge set — a faithful, not narrower,
representation since every perfect matching between equal-size parts arises this way. The
formalization does not trivialize: Theorem 3.6's four hypotheses are carried in full (not reduced
to the easiest single case), and no result is stated only for finite-valued (never )
functions, which would discard the entire point of the extended-value convex-analysis framework
this chapter sets up for the rest of the book. Infrastructure needed beyond Mathlib's Convex,
Matrix, and EReal API: all epigraph/hypograph, conjugate, relative-interior, and polyhedral
apparatus is defined fresh in DiscreteConvex.IntegralConvexityB; a contribution proving any of
the seven milestones independently, or supplying Mathlib-quality relative-interior lemmas, would
be a natural entry point.
Selected references
- K. Murota, Discrete Convex Analysis, SIAM, 2003, DOI 10.1137/1.9780898718508, Chapter 3.
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970.
- A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986.