nLab
ternary frame

Ternary frames

Warning

The term ‘frame’ is used in a different sense here than in geometric logic; see frame. The usage here is analogous to Kripke frames in modal logic.

Idea

A ternary frame is a way of presenting a model for a substructural logic (such as linear logic and relevant logic?) in terms of a set of “worlds” or “states of information” and a ternary relation.

Definition

A ternary frame is a set A together with a ternary relation R on A; we write Rxyz when R holds of three elements x,y,zA.

We may additionally ask that A have a partial ordering; in this case we demand the compatibility condition that if Rxyz and xx, yy, and zz, then also Rxyz.

Modeling substructural logic

We can model logic using a ternary frame with a “forcing” or “satisfaction” relation between points of A and formulas. We begin by assigning to each atomic formula? a set of points of A which satisfy it. If A has a partial order, as above, then we ask each of these sets to be up-closed.

The logical connectives? can then be defined inductively by clauses such as the following:

  • xP&Q (the negative conjunction) if and only if xP and xQ.
  • xPQ (the positive disjunction) if and only if xP or xQ.
  • x0 (the positive falsity) never.
  • x (the negative truth) always.
  • xPQ (the one-sided linear implication) if and only if for all x,y,z, if Rxyz and yP, then zQ.
  • xPQ (the positive conjunction) if and only if there exist y,z such that Ryzx and yP and zQ.

The logic obtained thereby will generally be substructural: it need not satisfy the structural rules like weakening, contraction, or even exchange. On this page, we have used the notation for substructural connectives from linear logic.

Additional structure

We can impose properties or structure on the ternary frame to affect the logic. For instance, if Rxyz implies Ryxz, then the logic we obtain will satisfy the exchange rule.

We also need additional structure in order to model positive truth, negative falsity, negative disjunction, and negation.

Truth sets

A truth set in an ordered ternary frame is a subset TA such that xy if and only if there exists a tT with Rtxy. Alternatively, given an unordered ternary frame A and a subset T, we could define xy in this way, and then require as a property of T that the resulting relation is a partial order.

If T is a truth set, then it makes sense to define

  • x1 (the positive truth) if and only if xT.

Compatibility relations

One way to model negation (and thereby obtain negative falsity and negative disjunction by duality from positive truth 1 and positive conjunction ) is with a compatibility relation, which is just a binary relation C. If A has a partial order, we demand additionally that if xCy and xx and yy, then xCy.

Given such a C, we define

  • x¬P if and only if for all y, if xCy then not yP.

Falsity sets

Negation can alternatively be modeled using a false set. Suppose given a subset FA, to be the interpretation of the negative falsity :

  • x if and only if xF.

We can then, if we wish, interpret negation and negative disjunction by defining ¬P(P) and PQ¬(¬P¬Q).

The latter is most sensible if negation is involutive, which it need not be in general — that is, if x¬¬P we need not have xP. One solution to this (if we want negation to be involutive) is to close up under double-negation. This entails replacing the clauses defining the interpretation of the positive connectives , , 1, and 0 with their double-negation closure. This is commonly done in the phase space semantics for linear logic (see below).

From ternary frames to quantales

Since the models above associate to formulas subsets of A, it seems natural to describe them in a purely algebraic way using structure on the powerset of A. In the case when A is a poset, instead of the powerset of A we must use the set of up-closed subsets of A. Since this subsumes the unordered case (use the discrete ordering), we henceforth assume A to be a poset, with R having the assumed compatibility relation.

In fact, this axiom (which we repeat here for the reader’s convenience):

  • if Rxyz and xx, yy, and zz, then also Rxyz.

says precisely that R is a 2-enriched profunctor A op×A opA op. (Here we are identifying posets with 2-enriched categories, where 2 is the interval category.)

Therefore, by Day convolution, R induces a binary tensor product on the 2-enriched presheaf category 2 A, which is precisely the poset of up-closed sets in A. This tensor product is precisely the above interpretation of . By the usual Day convolution arguments, this tensor product functor has both left and right adjoints, which are precisely the interpretation of and its dual.

Of course, the interpretations of & and are just the categorical product and coproduct in 2 A. Similarly, that of 0 and are the initial and terminal objects.

A truth set T corresponds to a profunctor 1A op which is a unit for the pro-multiplication R. Therefore, in this case the tensor product on 2 A has a unit object, which is precisely T, the interpretation of the positive truth 1.

If we were to additionally add the assumption that R is associative, in the sense that

  • there exists a z with Rxyz and Rzuv if and only if there exists a w with Rxwv and Ryuw

then A op would become a promonoidal poset, and hence 2 A would be a complete and cocomplete closed monoidal poset, i.e. a quantale.

… compatibility relations, satisfying some axioms, should make 2 A *-autonomous

Examples

Phase spaces

If A is a magma with multiplication , then we can make it a ternary frame by defining Rxyz to mean xy=z. More generally, if A is a poset equipped with a binary multiplication , we can make it an ordered ternary frame by defining Rxyz to mean xyz.

If has a unit object t, then T={t} (in the unordered case) or T={xtx} (in the ordered case) is a truth set.

Categorically, this corresponds to the usual way of regarding a monoidal category as a promonoidal category.

In the special case when A is a commutative monoid equipped with a “false set” F as above (usually written ) in this context, this semantics for linear logic is called phase space semantics. It is usually expressed in terms of the quantale 2 A obtained by Day convolution, but after passing to fixed points of the double-negation monad (in order to obtain an involutive negation). In this context, fixed points of ¬¬ are referred to as facts.

It is also possible to interpret the exponential modalities ! and ? of linear logic using phase space semantics. For instance, we can define

  • x!P if and only if x belongs to the ¬¬-closure of the set of all idempotents y such that yP&1.

and obtain ?P by duality.

Phase space semantics is complete for linear logic, in the sense that a formula is provable if and only if in any phase space semantics we have 1P, where 1 is the unit element of the monoid A.

Created on May 15, 2012 10:28:56 by Mike Shulman (71.136.228.203)