Unlike traditional logics, which deal with the truth of propositions, linear logic is often described as dealing with the availability of resources. A proposition, if it is true, remains true no matter how we use that fact in proving other propositions. By contrast, in using a resource to make available a resource , itself may be consumed or otherwise modified. Linear logic deals with this by restricting our ability to duplicate or discard resources freely. For example, we have
from which we can prove
which by left contraction (duplication of inputs) in classical logic yields
Linear logic would disallow the contraction step and treat as explicitly meaning that two slices of cake yield . Disallowing contraction then corresponds to the fact that we can’t turn one slice of cake into two (more’s the pity), so you can't have your cake and eat it too.
Linear logic was introduced in [1]. Although it is usually presented in terms of inference rules, it was apparently discovered by Girard while studying coherent spaces (not the topological kind).
Probably the best way to explain LL to a category theorist is to say that its models are *-autonomous categories with extra structure (see [2]).
Firstly, there is a monoidal ‘tensor’ connective . Negation is modelled by the duality involution , while linear implication corresponds to the internal hom, which can be defined as . There is a De Morgan dual of the tensor called ‘par’, with . Tensor and par are the ‘multiplicative’ connectives, which roughly speaking represent the parallel availability of resources.
The ‘additive’ connectives and , which correspond in another way to traditional conjunction and disjunction, are modelled as usual by products and coproducts. Seely notes [2] that products are sufficient, as -autonomy then guarantees the existence of coproducts; that is, they are also linked by de Morgan duality.
LL recaptures the notion of a resource that can be discarded or copied arbitrarily by the use of the modal operator : denotes an ’-factory’, a resource that can produce zero or more s on demand. It is modelled using a comonad on the underlying -autonomous category that is (symmetric) monoidal, in the sense that there is an isomorphism . Since every is canonically a symmetric -comonoid, is then a symmetric -comonoid.
An LL sequent
is interpreted as a morphism
The comonoid structure on then yields the weakening
and contraction
maps. The corresponding rules are interpreted by precomposing the interpretation of a sequent with one of these maps.
The (co)Kleisli category of is cartesian closed, and the product there coincides with the product in the base category. The exponential (unsurprisingly for a Kleisli category) is .
Girard, Jean-Yves, ‘Linear logic’. Theoretical Computer Science 50:1, 1987.
Seely, R. A. G., ‘Linear logic, -autonomous categories and cofree coalgebras’, Contemporary Mathematics 92, 1989. Available at http://www.math.mcgill.ca/rags/nets/llsac.ps.gz.
The article on the English Wikipedia has good summaries of the meanings of the logical operators and of the commonly studied fragments.