Category Theoretic Modal Logic
Posted by David Corfield
I’ve mentioned before that it hasn’t been easy selling category theory to philosophers. At first glance this may be a little surprising when you consider what effects changes to the foundational language of mathematics circa 1900 had on philosophy over subsequent years via the influence of Bertrand Russell. Perhaps one of the most important factors was that predicate logic could be applied straightforwardly to natural language in a way that appeared to resolve certain metaphysical questions. Just look at the baldness of the present King of France.
Now something which is dearly beloved of analytic philosophers of the very purest kind is modal logic. So were category theory to become an indispensable tool in modal logic, we might be onto a winner. This has partially motivated a couple of posts of mine (here and here). Let me see if I can sum up the confused state of my mind at present. Even if you don’t want to think about modal logic, I’ve put in a couple of questions which I’d love to hear answers to.
First, we have the coalgebraic approach to modal logic, where we build on the duality between Stone spaces and Boolean algebras. As described in Stone coalgebras we can derive an endofunctor on the category of Boolean algebras, , from a modal operator, algebras for which are modal algebras (think Lindenbaum algebra of a propositional logic having the necessary operator applied). On the other side of the duality, we have the Vietoris functor on Stone spaces, and coalgebras for this functor are descriptive general frames. So we have modal algebras and descriptive general frames in duality. Kripke frames are a particular case of these general frames.
Now for the first-order case, we might use hyperdoctrines. In one form of these, typed classical first-order hyperdoctrines, we have a functor from to with certain properties, where is a category with finite products corresponding to the types of the theory. The extension to modal logic should then involve a modal hyperdoctrine, a functor to , the category of modal algebras. Such a modal hyperdoctrine is described in Logically Possible Worlds and Counterpart Semantics for Modal Logic in the special case where is the category of natural numbers and functions. It also crops up in the paper First-order modal logic, but I don’t have access to that at the moment.
Over on the semantics side, Dion Coumans’ slides describe duals for Boolean hyperdoctrines as indexed Stone Spaces, certain functors from to . One might imagine then that in the passage to modal semantics we would have functors , which we might call indexed descriptive general frames. Now, there exists something like this already in the literature in the particular case where is the opposite of natural numbers with functions. These are called metaframes.
In this case where is the natural numbers with mappings, on the syntax side, sitting above there is the Boolean or modal algebra of logically equivalent formulas whose free variables are contained in the set . Then on the dual semantic side, above we have a Stone space of worlds, , and above a space of individuals, . The map gives a fibring of individuals onto worlds. are similarly fibred over worlds. Particular attention has been paid to cases where a fibre of is the -fold product of the fibre of . These metaframes are called cartesian, and it is known, according to Kracht and Kutz, that
all modal predicate logics are complete with respect to cartesian metaframes.
Using different categories for would allow for typed modal logics.
The frame aspect of first-order modal logic captures ‘counterpart’ relations between individuals. This is a notion due to the philosopher David Lewis, who took possible world talk very seriously. If ‘I might have had eggs for breakfast’ is true in this world, it is made true by the existence of a close world in which my counterpart did have eggs for breakfast. The sorts of complexity one would need to capture include an individual in this world having no counterparts or many of them in an accessible world. With some homotopic nontriviality thrown in, one could imagine a loop in the space of possible worlds along which taking the counterpart relation permutes individuals.
In this ‘cartesian’ case where determines , all of the information is presumably encoded in the ‘bundle’ , where the image of the counterpart relation for individuals is the accessibility relation for worlds. This would explain interest in Kripke sheaves.
According to the Kracht and Kutz paper (p. 26), Hyperdoctrinal Semantics and General Metaframes for modal logic are treated in Hiroyuki Shirasu, Duality in Superintuitionistic and Modal Predicate Logics, Advances in Modal Logic, volume 1 (Marcus Kracht et. al., editor), CSLI Publications, Stanford, 1998, pp. 223-236. Again I don’t have access to that.
Now, what about models?
Qu. 1: Do you typically characterise the models of hyperdoctrines via maps to a special hyperdoctrine, e.g., in the case of Boolean ones to the hyperdoctrine , where is power set?
You would think that you could also address models for first-order modal logic via the syntactic category route. Mike gave me a hint as to the relation between hyperdoctrines and syntactic categories here. But I’d like to know the answer to
Qu. 2: Is there a systematic way of translating between hyperdoctrines and syntactic categories for classical first-order logic?
As far as classical first-order theories go, syntactic categories are Boolean coherent. So, then, Awodey and Forssell’s duality between the category of (-small) Boolean pretoposes and Stone topological groupoids might possibly provide the equivalent of Stone duality for the coalgebraic approach.
Somehow I feel all this ought to tie in with the other approach to the semantics of first-order modal logic, I have mentioned in earlier posts, Awodey and Kishida’s sheaf semantics. Here the modal logic is S4. Were there to be a connection to the coalgebraic approach above, we might need a notion of interior hyperdoctrine, to , the category of interior algebras.
Anyway, Awodey and Kishida explain how what they are doing can be thought to be extending from Kripke sheaves to sheaves over general topological spaces, rather than merely those generated using the Alexandroff topology from a preorder.
Noticing that they are dealing with a sort of interior endofunctor on , for some set , it struck me that there was a strong resemblance to Richard Garner’s paper on ionads, with his comonads on , although his paper doesn’t mention modal logic. [EDIT: See below.] Interestingly, one of Garner’s examples of an ionad ((5) from p. 8) deals with sets (of isomorphism classes) of models for a coherent theory.
Hmm, I see how muddled is my mind on all this, so
Qu 3: Am I glimpsing anything worthwhile here?
Re: Category Theoretic Modal Logic
I feel like the answer to questions 1 and 2 ought to be that there is an adjunction
in which the right adjoint sends a category to its hyperdoctrine of subobjects, and is probably fully faithful. Then a model of a hyperdoctrine in a category could equivalently be defined as a hyperdoctrine morphism (the powerset hyperdoctrine being ), or as a functor ; so is the “universal category containing a -model”. And if one starts with a more syntactically presented theory, one ought to be able to construct its syntactic category by first constructing its syntactic hyperdoctrine, then applying the left adjoint .
I don’t recall seeing anything quite like this written down anywhere, though. But I’m not that well up on the literature of hyperdoctrines, so it might be well known, or I suppose it might be false. I think I know one way to define the functor , though: first construct an allegory from the hyperdoctrine, then split its comonads (= coreflexives).