Directed First-Order Logic
Directed First-Order Logic
We present a first-order logic equipped with an "asymmetric" directed notion of equality, which can be thought of as transitions/rewrites between terms, allowing for types to be interpreted as preorders. We then provide a universal property to such "directed equalities" by describing introduction and elimination rules that allows them to be contracted only with certain syntactic restrictions, based on polarity, which do not allow for symmetry to be derived. We give a characterization of such directed equality as a relative left adjoint, generalizing the idea by Lawvere of equality as left adjoint. The logic is equipped with a precise syntactic system of polarities, inspired by dinaturality, that keeps track of the occurrence of variables (positive/negative/both). The semantics of this logic and its system of variances is then captured categorically using the notion of directed doctrine, which we prove sound and complete with respect to the syntax.
Andrea Laretto、Fosco Loregian、Niccolò Veltri
数学
Andrea Laretto,Fosco Loregian,Niccolò Veltri.Directed First-Order Logic[EB/OL].(2025-04-15)[2025-06-13].https://arxiv.org/abs/2504.11225.点此复制
评论