Relational semantics
(→Monoidal structure) |
(→Monoidal structure) |
||
Line 23: | Line 23: | ||
This monoidal category <math>(\mathbf{Rel},\tens,\one,\lambda,\rho)</math> is symmetric, meaning that it is endowed with an additional natural isomorphism <math>\sigma_{X,Y}\in\mathbf{Rel}(X\tens Y,Y\tens X)</math>, also subject to some commutations. Here, again, this isomorphism is defined in the obvious way (symmetry of the cartesian product). So, to be precise, the SMCC (symmetric monoidal closed category) <math>\mathbf{Rel}</math> is the tuple <math>(\mathbf{Rel},\tens,\one,\lambda,\rho,\alpha,\sigma)</math>, but we shall simply denote it as <math>\mathbf{Rel}</math> for simplicity. |
This monoidal category <math>(\mathbf{Rel},\tens,\one,\lambda,\rho)</math> is symmetric, meaning that it is endowed with an additional natural isomorphism <math>\sigma_{X,Y}\in\mathbf{Rel}(X\tens Y,Y\tens X)</math>, also subject to some commutations. Here, again, this isomorphism is defined in the obvious way (symmetry of the cartesian product). So, to be precise, the SMCC (symmetric monoidal closed category) <math>\mathbf{Rel}</math> is the tuple <math>(\mathbf{Rel},\tens,\one,\lambda,\rho,\alpha,\sigma)</math>, but we shall simply denote it as <math>\mathbf{Rel}</math> for simplicity. |
||
− | The SMCC <math>\mathbf{Rel}</math> is closed. This means that, given any object <math>X</math> of <math>\mathbf{Rel}</math> (a set), the functor <math>Z\mapsto Z\tens X</math> (from <math>\mathbf{Rel}</math> to <math>\mathbf{Rel}</math>) admits a right adjoint <math>Y\mapsto (X\limp Y)</math> (from <math>\mathbf{Rel}</math> to <math>\mathbf{Rel}</math>). |
+ | The SMCC <math>\mathbf{Rel}</math> is closed. This means that, given any object <math>X</math> of <math>\mathbf{Rel}</math> (a set), the functor <math>Z\mapsto Z\tens X</math> (from <math>\mathbf{Rel}</math> to <math>\mathbf{Rel}</math>) admits a right adjoint <math>Y\mapsto (X\limp Y)</math> (from <math>\mathbf{Rel}</math> to <math>\mathbf{Rel}</math>). In other words, for any objects <math>X</math> and <math>Y</math>, we are given an object <math>X\limp Y</math> and a morphism <math>\mathsf{ev}\in\mathbf{Rel}((X\limp Y)\tens X,Y)</math> with the following universal property: for any morphism <math>s\in\mathbf{Rel}(Z\tens X,Y)</math>, there is a unique morphism <math>\mathsf{fun}(f)\in\mathbf{Rel}(Z,X\limp Y)</math> such that <math>\mathsf{ev}\circ(\mathsf{fun}(s)\tens\mathsf{Id}_X)=s</math> |
Revision as of 14:16, 16 March 2009
Relational semantics
This is the simplest denotational semantics of linear logic. It consists in interpreting a formula A as a set A * and a proof π of A as a subset π * of A * .
The category of sets and relations
It is the category whose objects are sets, and such that . Composition is the ordinary composition of relations: given and , one sets
and the identity morphism is the diagonal relation .
An isomorphism in the category is a relation which is a bijection, as easily checked.
Monoidal structure
The tensor product is the usual cartesian product of sets (which is not a cartesian product in the category in the categorical sense). It is a bifunctor: given (for i = 1,2), one sets . The unit of this tensor product is where * is an arbitrary element.
For defining a monoidal category, it is not sufficient to provide the definition of the tensor product functor and its unit , one has also to provide natural isomorphisms , (left and right neutrality of for ) and (associativity of ). All these isomorphisms have to satisfy a number of commutations. In the present case, they are defined in the obvious way.
This monoidal category is symmetric, meaning that it is endowed with an additional natural isomorphism , also subject to some commutations. Here, again, this isomorphism is defined in the obvious way (symmetry of the cartesian product). So, to be precise, the SMCC (symmetric monoidal closed category) is the tuple , but we shall simply denote it as for simplicity.
The SMCC is closed. This means that, given any object X of (a set), the functor (from to ) admits a right adjoint (from to ). In other words, for any objects X and Y, we are given an object and a morphism with the following universal property: for any morphism , there is a unique morphism such that