Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Basic Coalgebraic Logic

(draft ... references to be added)

Idea

We continue from the introduction.

Let

Then there is a functor

where BAOs is the category of Boolean algebras with operators, the standard algebraic semantics of classical modal logic.

In particular,

Moreover,

=(ab)=ab\begin{align} \Box\top &= \top \\ \Box(a\wedge b) & = \Box a\wedge \Box b \end{align}

The category theoretic approach

(should this section go into the intro?)

Here are some simplifications that the category theoretic approach offers:

In both situations, the move from the special case to the general case can then be performed by appealing to generic categorical techniques.

The category theoretic approach has also the advantage that the duality of TT and LL yields, once established, a range of results such as

We need to emphasise that the best results of the coalgebraic approach to modal logic generalise the results from basic modal logic from Kripke frames to other functors TT on a category of “spaces” X\mathcal X. Thus, when we talk about completeness, decidability, complexity, etc this refers to the logics of the functors, not to more general logics that are obtained by adding additional axioms to these logics.

(We need to elaborate on the last point above somewhere!)

Finding the logic of a functor

Starting from a functor T:SetSetT:Set\to Set, what is the modal logic of TT-coalgebras?

According to the discussion above, the task is to find a functor L:BABAL:BA\to BA such that, restricted to finite sets and finite Boolean algebras, LL is the dual of TT. More precisely, we have to find LL and δ\delta such that

δ:LPPT\delta:LP\to PT

is an isomorphism. [3]

We do this in two steps. The first step is to describe

δ:LPPT\delta':L'P\to PT

for LPL'P being freely generated by enough modal operators so that δ\delta' is injective. This means that the logical one-step language LL' is expressive enough to describe all elements of PTXPTX uniquely.

The second step is then to quotient

LPLPL'P\to LP

in such a way that

PTLPLPPT\to L'P\to LP

becomes an isomorphism. This quotient then describes the axioms of the modal logic. Completeness, as well as other nice properties of the modal logic LL then follow for free from the category theoretic approach hinted at in the previous subsection.

How general is this methodology?

In order to find a nice presentation of LL by generators (modal operators) and relations (modal axioms) one, of course, needs to understand the particular functor TT and this can require a lot of work. But there are general theorems that for all functors TT there exists a functor LL. And, conversely, all functors preserving so-called sifted colimits describe a modal logic given by operations and equations.

Finding the logic of the powerset functor

Let T=PT=\mathcal P be the powerset functor. TT-coalgebras are precisely Kripke frames.

Step 1: The Language and Modal Operations

For now we side-step the question of how to find the language. We start from the language we know and love, namely the one given by one modal operation \Box. We also know the standard Kripke semantics of the \Box via sets of successors. The aim is to show a methodology of how to find the axioms.

The functor LL' is represented by the language without the axioms. It is defined as

L:BABAAF{aaA}\begin{align} L':BA& \to BA\\ A & \mapsto F\{\Box a \mid a\in A\} \end{align}

where FXFX denotes the free Boolean algebra over XX. Categorically FF is the left adjoint of the forgetful functor U:BASetU:BA\to Set.

The semantics of the language is given by

δX:LPXPTXa{SPTXSa}\begin{align} \delta'_X:L'PX & \to PTX\\ \Box a & \mapsto \{S\in PTX \mid S\subseteq a\} \end{align}

This definition expresses that a set of successors SS satisfies a\Box a if the SS is contained in aa.

To regain the usual semantics with respect to Kripke frames (ie TT-coalgebras) consider a coalgebra ξ:XTX\xi:X\to TX. Note the following, where PξP\xi denotes the inverse image of ξ\xi:

[ ⁣[] ⁣]:ΦPX\sem{-}:\Phi\to PX

interpreting formulas as subsets of XX.

Spelling this out in detail, gives us back the usual definition of the semantics of modal logic:

[ ⁣[] ⁣]=X[ ⁣[ϕψ] ⁣]=[ ⁣[ϕ] ⁣][ ⁣[ψ] ⁣][ ⁣[¬ϕ] ⁣]=X[ ⁣[ϕ] ⁣][ ⁣[ϕ] ⁣]={xXξ(x)[ ⁣[ϕ] ⁣]}\begin{align} \sem{\top} & = X\\ \sem{\phi\wedge \psi} & = \sem{\phi}\wedge\sem{\psi}\\ \sem{\neg\phi} & = X\setminus \sem{\phi}\\ \sem{\Box\phi} & = \{x\in X\mid \xi(x)\in \sem{\phi}\}\\ \end{align}

The first three lines come from [ ⁣[] ⁣]\sem{-} being a Boolean algebra morphism and the fourth one from being an LL-algebra morphism.

Step 2: Finding the Normal Form of Operations

We now turn to the task of finding the axioms via normal forms. This involves finding a map

nf:PTXLPXnf: PTX\to L'PX

such that δnf=id\delta'\circ nf = id. Since PTXPTX is a Boolean algebra, it is enough to define nfnf on generators and since we can assume XX to be finite, it is enough to give nfnf on singletons {t}\{t\} with tTXt\in TX. Since T=PT=\mathcal P, tt is a subset of XX.

Thus, the task is to find a formula in LPXL'PX that expresses tTXt\in TX. This formula is well-known in modal logic

(what are the historical references?)

[ ⁣[...] ⁣]\sem{...}
Footnotes
  1. More precisely, the initial LL-algebra will be the Lindenbaum-Tarski algebra of classical modal logic with no atomic propositions. To account for a set of atomic proposisions, one takes the free LL-algebra over the Boolean algebra freely generated by the set of atomic propositions.

  2. More precisely, LPXLPX has formulas in which every generator aPXa\in PX is under the scope of exactly one modal operation. For example (ab)\Box(a\wedge b) is of rank 1 but neither are aaa\to \Box a nor aa\Box\Box a\to \Box a. Intuitively, aaa\to \Box a expresses a relationship between states in XX and TXTX and aa\Box\Box a\to \Box a between states in TTXTTX and TXTX, whereas formulas in LPXLPX express only relationships between states in TXTX.

  3. PTPT and LPLP are functors SetBASet\to BA. Hence δ\delta should be an arrow in the category of functors SetBASet\to BA, that is, we require δ\delta to be a natural transformation such that all components δX:PTXLPX\delta_X:PTX\to LPX are isomorphisms.