Convex Analysis Meets Linear Logic (7/6): The Categorical View
A bonus post in the series summarizing discussions between Dr. Thu-Le Tran and Opus Low.
Posts 5 and 6 used the words “tensor” and “linear map” informally. Here we fix the structure precisely, in categorical language, and re-derive the main identities from it. The picture is simple: for each space, the closed convex functions form a poset, conjugation is an order-reversing involution on it, and every linear map moves functions between the posets of two spaces, in two directions that are adjoint to each other.
1. The ingredients
The base category
Let be the category whose objects are the Euclidean spaces and whose morphisms are all linear maps. Each space is identified with its dual through the inner product, so the transpose of is a linear map , and .
A poset over each space
For each space let be the set of closed convex functions on defined in post 2: the proper, convex, lower semicontinuous functions, together with the two constants and . Ordered pointwise, is a complete lattice.
A single function is just an element of the poset . It is not a functor and not a morphism. What varies from space to space is the poset itself.
Conjugation
On each , the conjugate is an order-reversing involution: implies , and . Equivalently, it is an order isomorphism from to the opposite poset .
2. A linear map moves functions in two directions
Let be linear.
Definition: pullback and pushforward
-
The pullback is .
-
The pushforward is , where with , and denotes the closed convex hull .
Both land in the right place: is convex and lower semicontinuous (and is a constant when is, or when the range of misses the domain of ), and is in by construction. Both are monotone.
Proposition 1 (Galois connection)
For and ,
Proof. First, if and only if for all . For the forward direction, . For the converse, for each every with satisfies , so the infimum does too. Second, is the largest element of below , and , so if and only if .
So is the left adjoint of .
Proposition 2 (compatibility with composition)
For linear maps and , we have and .
Proof. The first identity is . For the second, right adjoints of composable left adjoints compose, and adjoints are unique: is right adjoint to , as is .
Proposition 2 is the precise content of the word “functoriality” in post 6. In the language of categories, with is a functor , and is the corresponding covariant family of right adjoints.
3. Conjugation exchanges the two directions
Proposition 3
For every and every linear ,
No closure and no condition is needed.
Proof. Since for any , it suffices to compute :
Corollary
Because and belong to , we can conjugate once more and obtain, for all and ,
The second identity follows from the first applied to and : .
In words: conjugation turns pullback into pushforward along the transpose. The closure that appears in the textbook form is not an extra hypothesis here; it is built into the definition of .
Corollary (transposed morphisms)
Combining Proposition 1 with order reversal of conjugation,
Both sides say the same thing about the pair : if does not increase cost from to , then does not increase cost from to .
Numerical check
The script code/category_checks.py tests these identities on grids. For non-separable convex on and the projection , we have , with maximum error on the window . For on , the conjugate of viewed on equals on the line with error , and is at least on (a stand-in for ). For and , the two inequalities and agree in all six “true” and all six “false” random trials. These are grid checks, not proofs; the proofs are those above.
4. Sum and infimal convolution as base change
The tensor
For and , define by . On proper functions, , because the supremum separates.
Caution about the constants. For the two improper constants the sum of and must be given a value. Take the upper addition for on . Then self-duality holds only if the right-hand side uses the lower addition, with . For example and give , while the upper sum of and is . So the tensor and the par coincide on proper functions and differ only on pairs that involve the two constants.
Sum and infimal convolution
Let be the diagonal and the addition map. Directly from the definitions,
De Morgan from the corollary
For proper ,
The second equality is the corollary of Section 3, the third is self-duality. No qualification condition appears, because the closure is part of . The classical qualification condition is a sufficient condition (Rockafellar, Convex Analysis, Theorem 16.4 as we recall it; please check the numbering) under which the closure is unnecessary and the infimum is attained, so that coincides with the naive image . In this reading, “qualification” means “pushforward equals plain image”.
5. Where linear distributivity fails, in this language
Linear distributivity would require to be comparable with . In the categorical language, these are two different base changes of the same function on , followed by two different maps. The first uses a map that identifies the variable of with the output, the second uses a map that identifies it with the inner variable. The tensor is associative on the nose, so nothing is wrong at the level of the tensor. The failure of post 4 is entirely a feature of the maps and , which merge variables.
6. A reading, and its limits
The table below translates the structure into logical language. It is a reading, not a theorem.
| Convex structure | Logical reading |
|–|--|
| poset with | formulas over a context , ordered by entailment |
| conjugation | linear negation |
| tensor on | multiplicative conjunction over independent contexts |
| pullback | substitution along |
| pushforward , right adjoint of | a quantifier-like operation (it takes an infimum) |
The last row echoes Lawvere’s idea that quantifiers are adjoints to substitution. With our order, is a right adjoint and takes infima, so it resembles a universal quantifier; reversing the order would make it existential. We have not checked the Beck–Chevalley condition that a hyperdoctrine requires, so we do not claim that this structure is one.
7. Honest status
Every identity in this post is classical: Proposition 3 is a restatement of the conjugation rules in Rockafellar’s Section 16, and the Galois connection is elementary. What the post adds is packaging: poset over each space, order-reversing involution, and the adjoint pair , which together yield De Morgan and the marginal-function rules in two lines each. Whether this packaging already appears in the literature, for instance in Rockafellar’s treatment of bifunctions, in Willerton’s enriched-category account of the Legendre–Fenchel transform, or in work on tropical modules, we have not checked.
Several questions remain open.
-
Internal hom. We have not tested whether, for any two objects, there is an object representing “maps from one to the other” in a way that makes the tensor part of a closed monoidal structure. Without it, no claim of a -autonomous structure can be made.
-
Beck–Chevalley. For pullback squares of linear maps, does hold, with the appropriate closures? If so, the quantifier reading becomes precise.
-
A single category. Gluing the posets into one category of pairs needs a condition on morphisms. The natural choice, , is an instance of the Grothendieck construction applied to , and the corollary of Section 3 says that transposition respects it. We have not studied this category further.
Closing Thoughts
The whole series now has one skeleton: a poset of closed convex functions over each space, an order-reversing involution on it, a self-dual tensor between spaces, and an adjoint pair of maps for each linear map. Everything else, sum, infimal convolution, De Morgan, marginal functions and the failure of linear distributivity, is read off from these four pieces.