Discrete Convex Analysis XV: Conjugacy of Quadratic Forms and Symmetric M-MatricesTextbook
Motivation
Quadratic minimization problems with a combinatorial sign pattern in their Hessian arise throughout applied mathematics: discretizations of elliptic boundary-value problems such as the Poisson equation, resistor-network energy functionals, and the Dirichlet forms of Markov-process potential theory all produce a symmetric matrix whose off-diagonal entries are nonpositive and whose rows are diagonally dominant (Fukushima, Oshima, and Takeda, Dirichlet Forms and Symmetric Markov Processes, De Gruyter, 1994). Such matrices are exactly the diagonally dominant symmetric M-matrices of classical numerical linear algebra (Berman and Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM, 1994). Murota's Discrete Convex Analysis (SIAM, 2003) identifies the combinatorial content of this sign pattern with a discrete convexity property — submodularity, and its strengthening translation submodularity — of the associated quadratic form, and shows that passing to the Legendre-Fenchel conjugate of such a quadratic form (i.e., inverting the matrix) transports this property to a dual combinatorial property, an exchange axiom, on the conjugate side. This mission formalizes that correspondence for the special, matrix-algebraic case of quadratic forms — the case in which Murota's book gives a self-contained proof using only the classical Farkas lemma, before generalizing the same conjugacy to a much broader class of functions in Chapter 8.
Setting
Let be a finite ground set (identified with in the book) and let be a symmetric real matrix. has off-diagonal nonpositivity if for all , and diagonal dominance if for every row . The associated quadratic form is for . For write , for the componentwise maximum and minimum. A function is submodular if for all , and has translation submodularity if the stronger inequality holds for every , where is the all-ones vector (ordinary submodularity is the case ).
On the conjugate side, for write , , and let denote the -th unit vector ( denotes the zero vector). A function has the exchange property if for all and there exist and such that for every . The Legendre-Fenchel conjugate of is ; two functions are conjugate to each other when and . For positive-definite symmetric , the quadratic forms and are conjugate to each other exactly when and are matrix inverses of one another.
Formalization targets
Goal (Theorem 2.11). For conjugate strictly convex quadratic forms and as above,
This is the mission's capstone: the statement leaves the correspondence at the level of the two named combinatorial properties, without hard-coding which of the two properties is verified in a given application, so it survives exactly as strongly as the underlying conjugacy fact does.
Supporting milestones, in the order the book develops them: Proposition 2.4 (off-diagonal nonpositivity plus diagonal dominance implies positive semidefiniteness); Proposition 2.6 (off-diagonal nonpositivity is equivalent to plain submodularity of ); Theorem 2.7 (the full sign pattern is equivalent to translation submodularity of ); Proposition 2.9 (conjugate quadratic forms correspond exactly to inverse matrix pairs); Theorem 2.12 (a nine-way equivalence, for a nonsingular symmetric , among membership in the matrix class , two sign-consistency inequalities on the columns of together with their strict forms, two directional-derivative reformulations of the exchange property together with their strict forms, and the exchange property itself together with its strict form); Proposition 2.13 (the Farkas lemma in equality form, together with the strict variant valid for a nonsingular coefficient matrix); and Proposition 2.14 (the class is closed under taking principal submatrices).
Significance
The M-natural exchange property is the function-level analogue of the base-exchange axiom for matroids, and translation submodularity is the analogue, on the "primal" side, of ordinary submodularity for set functions; Chapter 2's quadratic-form case is the historical and pedagogical entry point for the general conjugacy Chapter 8 proves for the full M-convex/ L-convex function classes. Establishing it here, in the self-contained matrix-algebraic setting, isolates exactly which properties of a quadratic form are combinatorial (tied to the coordinate axes) rather than purely convex-analytic (rotation-invariant): submodularity and the exchange property are not preserved by an orthogonal change of variables, in contrast to ordinary convexity, which Proposition 2.4 shows the same sign pattern also implies.
Formalizing this mission produces the first Lean statement, in this project's namespace, of a genuine conjugacy theorem between a primal-side and a dual-side combinatorial convexity property for a concrete function class; nothing of this kind is yet proved (or, so far as the platform's own search shows, formalized at all) elsewhere on the platform. The nine-way equivalence of Theorem 2.12 is a substantial independent contribution beyond the goal itself, since it is what makes the goal's proof possible via elementary linear algebra rather than the general convex-analytic machinery Chapter 8 needs.
Difficulty
The naive approach to Theorem 2.11 tries to derive the exchange property for directly from the defining supremum in the conjugate relation , differentiating under the sup; this fails because the exchange property compares along a specific combinatorial direction tied to two coordinates, not along an arbitrary direction, and no naive first-order argument isolates the right pair without already knowing the sign pattern of . The book's actual route is Theorem 2.12: it reduces the exchange property to a column-wise sign-consistency statement on itself (conditions (b)/(c)) via the identity , and closes the loop back to membership in using the Farkas lemma applied to the linear system — a genuinely matrix-algebraic argument that does not generalize verbatim to non-quadratic M-/L-convex functions, which is exactly why Chapter 8 needs a different (convex-analytic) proof for the general case.
Formalization scope
Vectors and matrices are indexed by a general finite type V ([Fintype V] [DecidableEq V])
rather than a fixed Fin n, matching this project's convention elsewhere and letting
Proposition 2.14's principal-submatrix statement reuse the class predicate at the restricted
index type directly. Quadratic forms are real-valued ((V → ℝ) → ℝ, using Matrix.mulVec and
dotProduct) since this chapter's functions are always finite everywhere; the Legendre-Fenchel
conjugate is EReal-valued via sSup, since a supremum over an infinite domain need not be
finite in general even though it is finite here. Every min(0, \dots)-based condition in
Theorem 2.12 and the exchange axioms is unfolded as the logically equivalent disjunction over the
finitely many terms achieving the minimum, rather than reified via Finset.inf/WithTop
machinery — a faithful, checked-equivalent simplification, not a narrowing (see
MODERATION_NOTES.md). "Nonsingular" is Matrix.det ≠ 0. No numeric constant needs
instantiation anywhere in this mission. The formalization does not trivialize: the goal's
exchange property is stated for the specific combinatorial direction with , — not an arbitrary
direction, which would reduce the exchange property to a restatement of ordinary convexity and
discard the entire combinatorial content the mission is about.
Infrastructure needed: Matrix.PosDef/Matrix.PosSemidef/Matrix.IsSymm (present in Mathlib);
everything else (submodularity, translation submodularity, the exchange axioms, the
sign-consistency conditions) is defined fresh in DiscreteConvex.CombinatorialB. A solution to
the goal will likely want Proposition 2.9, Theorem 2.12, and the Farkas lemma (Proposition 2.13)
as lemmas; contributions completing any of the seven milestones independently, or supplying the
Schur-complement induction behind Proposition 2.4, are welcome.
Selected references
- K. Murota, Discrete Convex Analysis, SIAM, 2003, DOI 10.1137/1.9780898718508, Chapter 2.
- A. Berman, R. J. Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM, 1994.
- M. Fukushima, Y. Oshima, M. Takeda, Dirichlet Forms and Symmetric Markov Processes, De Gruyter, 1994.
- J. Farkas, Theorie der einfachen Ungleichungen, J. Reine Angew. Math. 124 (1902), 1–27.