Redirected from "Differential linear logic".
Contents
Contents
(work in progress)
Idea
Differential linear logic is an extension of linear logic. New inference rules are added which allow to differentiate proofs. Proofs must be understood as morphisms and the new inference rules are here to differentiate them. It was realised than in some denotational models of linear logic, the morphisms of the co-Kleisli category are differentiable, and it was then reflected in the syntax by these new inference rules. Thus, one really needs to take the point of view of computational trinitarianism in order to understand the transition from linear logic to differential linear logic. It is more difficult to understand naively the proofs of differential linear logic than the ones of linear logic.
Differential linear logic can be presented in different guises whether we include the additives or not, and whether we include the promotion or not. We start by presenting the version without additives and with promotion. We will refer to this logic as DiLL.
Syntax
There are two ways to present the syntax in sequent calculus. With bilateral sequents or monolateral sequents. The first one is closer to the language of category theory but the second one allows to make the links with the syntax in proof nets and to divide by two the number of inference rules. Using the monolateral version (or proof nets) require to quotient the formulas by some equalities related to negation and De Morgan duality.
There are no novelties concerning formulas compared to linear logic. We will work with the formulas of Multiplicative Exponential Linear Logic (MELL). In the next subsection, the difference between MELL and DiLL will appear as additional inference rules.
Formulas are given by induction starting from atoms and applying connectives. In accordance with the tradition, formulas and atoms are denoted in the same way by upper case letters:
- Atoms are denoted by upper case letter .
- If we have two formulas , we can form .
- If we have two formulas , we can form .
- If we have a formula , we can form .
- If we have a formula , we can form .
- If we have a formula , we can form .
- We have the formula .
- We have the formula .
If we want to use the monolateral sequent calculus (or proof nets), formulas must be quotiented by the following equalities:
- If we have a formula , we put .
- If we have two formulas , we put .
- If we have two formulas , we put .
- If we have a formula , we put .
- If we have a formula , we put .
- We have .
- We have .
Notice that some equalities are implied by other ones and thus we could give a shorter list. We have preferred writting directly all the equalities of pratical use.
Inference rules - Bilateral syntax
Inference rules will allow us to build proofs. Notice that compared to MELL, we need the ability to sum proofs. We give an explicit rule for this summation of proofs. We give also a rule for null proofs. Finally, the new inference rules are: coderiliction, cocontraction, coweakening, sum of proofs, null proof.
- Axiom:
- Left exchange:
- Right exchange:
- Left :
- Right :
- Right :
- Left :
- Left :
- Right :
- Right :
- Left :
- Left negation:
- Right negation:
- Left dereliction:
- Right dereliction:
- Left weakening:
- Right weakening:
- Left contraction:
- Right contraction:
- Right Promotion:
- Left promotion:
- Right codereliction:
- Left codereliction:
- Right coweakening:
- Left coweakening:
- Right cocontraction:
- Left cocontraction:
- Nul proof:
- Sum of proofs:
- Cut:
Inference rules - Monolateral syntax
Isomorphisms in bilateral syntax
Cut elimination
There is a rewriting system which, given an instance of the cut rule in a proof, reduces the proof by making the cut go higher in the proof. There is the key cases which induce important commuting diagrams in the categorical semantics and the commuting cases which are less important. The idea is that when a cut arrives at the beginning of the proof, ie. at the level of the leafs which are axioms, we can finally eliminate it by a last rewriting step. This is when the cut is made against an axiom rule, that we can eliminate it. We know that this rewriting system is strongly normalizing and that the normal forms are the cut-free proofs. It means that by using rewriting rules in the order you want, at the end you obtain a proof without cut, thus the name cut-elimination. It is important to know actually this rewriting system and not only that we can eleminate the cuts in a proof because this cut-elimination prodecure creates the commuting diagrams of the categorical semantics when we quotient the proofs by these cut-elimination steps.
Cut elimination steps
What is an isomorphism?
Semantics
Categorical semantics
We need a *-autonomous category in order to interpret the connectors and rules related to these connectors: .
This category must be enriched over commutative monoids in order to be able to interpret sum of proofs and null proofs.
Definition
We say that a *-autonomous category is enriched over commutative monoids if it is enriched over commutative monoids as a symmetric monoidal category ie. every hom-set is a commutative monoid and as well as are bilinear over morphisms ie. preserve addition and zero in every variable.
The tricky part is to interpret the exponentials . We just need to add enough to interpret , the interpretation of will follow by the -autonomous structure. We need:
- A natural transformation to interpret the cocontraction.
- A natural transformation to interpret the contraction.
- A natural transformation to interpret the coweakening.
- A natural transformation to interpret the weakening.
- A natural transformation to interpret the codereliction.
- A natural transformation to interpret the dereliction.
Thus, for every object , we will have that is a bimonoid. will be a comonad. The codereliction is added on top of this structure.
(…)
Concrete models
(…)
The logic at work
The co-Kleisli category
Differentiating a proof
We start from a proof of and by using as only exponential rules cocontraction and codereliction, we obtain a proof of . In the co-Kleisli category we thus go from a morphism , which must be interpreted as a smooth function, to a morphism . It is the differential of which associates to every point of the linear approximation of around this point.
Categorical semantics of differential linear logic and differential categories
(…)
Additives and Seely isomorphisms
References
Original articles:
Review:
Recent work on categorical semantics:
Relation to monoidal bicategories and analytic functors: