Two-dimensional Kripke Semantics I: Presheaves

G. A. Kavvos
(February 2024)
Abstract

The study of modal logic has witnessed tremendous development following the introduction of Kripke semantics. However, recent developments in programming languages and type theory have led to a second way of studying modalities, namely through their categorical semantics. We show how the two correspond.

1 Introduction

The development of modal logic has undergone many phases [23, 15, 46, 98]. It is widely accepted that one of the most important developments was the relational semantics of Kripke [68, 69, 70] [15, �1] [46, �4.8]. Kripke semantics has proven time and again that it is intuitive and technically malleable, thereby exerting sustained influence over Computer Science.

However, over the last 30 years another way of studying modalities has evolved: looking at modal logic through the prism of the Curry-Howard-Lambek correspondence [72, 93, 99] yields new computational intuitions, often with surprising applications in both programming languages and formal proof. The tools of the trade here are type theory and category theory.

Up to now these two ways of looking at modalities have been discussed in isolation. The purpose of this paper is to establish a connection: I will show that the Kripke and categorical semantics of modal logic are part of a duality. It is well-known that dualities between Kripke and algebraic semantics exist: the Jónsson-Tarski duality is one of the cornerstones of classical modal logic [15, §5]. The main contribution of this paper is to show that such dualities can be elevated to the level of proofs. The punchline is that a profunctor R:𝒞𝗈𝗉×𝒞𝐒𝐞𝐭:𝑅superscript𝒞𝗈𝗉𝒞𝐒𝐞𝐭R:\mathcal{C}^{\mathsf{op}}\times\mathcal{C}\to\mathbf{Set}italic_R : caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT × caligraphic_C → bold_Set, considered as a proof-relevant relation on a category 𝒞𝒞\mathcal{C}caligraphic_C, uniquely corresponds to a categorical model of modal logic on the category of presheaves on 𝒞𝒞\mathcal{C}caligraphic_C.

There are two obstacles to overcome to get to that result. The first is that we must work over an intuitionistic substrate: most research on types and categories is forced to do so, for unavoidable reasons [72, §8]. We must therefore first develop a duality for intuitionistic modal logic. However, there is no consensus on what intuitionistic modal logic is! The problem is particularly acute in the presence of \lozenge [27]. I will avoid this problem by making canonical choices at each step. First, I will formulate a Kripke semantics based on bimodules, i.e. relations that are canonically compatible with a poset. Then, I will show how Kan extension uniquely determines two adjoint modalities, \blacklozenge and \Box, from any bimodule. The fact these arise automatically is evidence that they are the canonical choice of intuitionistic modalities.

The second obstacle stems from considering proofs. The jump from algebraic to categorical semantics involves adding an extra ‘dimension’ of proofs. Consequently, in order to re-establish a duality, an additional dimension must be added to Kripke semantics as well. I call the result a two-dimensional Kripke semantics. Category theorists will find it anticlimactic: it amounts to the folklore observation that a proof-relevant Kripke semantics is essentially a semantics in a presheaf category.

Indeed, a sizeable proportion of this paper consists of folklore results that are well-known to experts. However, many of them are drawn from related but distinct areas: logic, order theory, category theory, and topos theory. As a result, it does not appear that all of them are well-known by a single expert. Thus, the synthesis presented here appears to be new.

The results I present in this paper show that there are deep connections between modal logic and presheaf categories. This is important, as the latter are ubiquitous in logic and related fields: presheaf models are used in fields as disparate as categorical homotopy theory [87, 24], type theory [57], concurrency [65, 21, 22], memory allocation [81, 82], synthetic guarded domain theory [14], second-order syntax and algebraic theories [34, 53, 35, 36, 37], higher-order abstract syntax [58], and so on. As a result, the connections presented here may enable synthetic reasoning via modalities in a variety of logical settings.

In §​​ 2 I recall the Kripke and algebraic semantics of intuitionistic logic, and outline the duality between Kripke semantics and certain complete Heyting algebras, the prime algebraic lattices. Then I extend this duality to intuitionistic modal logic in §​​ 3 by showing how a relation that is compatible with the intuitionistic order—a bimodule—gives rise to modalities through Kan extension. In §​​ 4 I add proofs to intuitionistic logic, and elevate the duality to one between ‘two-dimensional frames’ and presheaf categories. I then repeat this exercise for intuitionistic modal logic in §​​ 5 by promoting bimodules to profunctors on the relational side, and adding an adjunction on the categorical side.

For general background in orders please refer to the book by Davey and Priestley [28]. Given a poset (D,D)𝐷subscriptsquare-image-of-or-equals𝐷(D,\sqsubseteq_{D})( italic_D , ⊑ start_POSTSUBSCRIPT italic_D end_POSTSUBSCRIPT ) let the opposite poset D𝗈𝗉superscript𝐷𝗈𝗉D^{\mathsf{op}}italic_D start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT be given by reversing the partial order; that is, xD𝗈𝗉ysubscriptsquare-image-of-or-equalssuperscript𝐷𝗈𝗉𝑥𝑦x\sqsubseteq_{D^{\mathsf{op}}}yitalic_x ⊑ start_POSTSUBSCRIPT italic_D start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_y iff yDxsubscriptsquare-image-of-or-equals𝐷𝑦𝑥y\sqsubseteq_{D}xitalic_y ⊑ start_POSTSUBSCRIPT italic_D end_POSTSUBSCRIPT italic_x. A lattice has all finite meets and joins. A complete lattice has arbitrary ones. A complete lattice is infinitely distributive just if the law aibi=iabi𝑎subscript𝑖subscript𝑏𝑖subscript𝑖𝑎subscript𝑏𝑖a\land\bigvee_{i}b_{i}=\bigvee_{i}a\land b_{i}italic_a ∧ ⋁ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ⋁ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_a ∧ italic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT holds. Such lattices are variously called frames, locales, or complete Heyting algebras [61, 76, 84].

2 Intuitionistic Logic I

There are many types of semantics for intuitionistic logic, including Kripke, Beth, topological, and algebraic semantics. Bezhanishvili and Holliday [11] argue that these form a strict hierarchy, with Kripke being the least general, and algebraic the most general. I will briefly review the elements of these extreme points of the spectrum.

The Kripke semantics of intuitionistic logic are given by Kripke frames, i.e. partially-ordered sets (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) [23, §2.2]. W𝑊Witalic_W is referred to as the set of possible worlds, and square-image-of-or-equals\sqsubseteq as the information order. A world wW𝑤𝑊w\in Witalic_w ∈ italic_W is a ‘state of knowledge,’ and wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v means that moving from w𝑤witalic_w to v𝑣vitalic_v potentially entails an increase in the amount of information.

Let Up(W)Up𝑊\textsf{Up}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle W$}% \mathclose{}{)}}Up ( italic_W ) be the set of upper sets of W𝑊Witalic_W, i.e. the subsets SW𝑆𝑊S\subseteq Witalic_S ⊆ italic_W such that wS𝑤𝑆w\in Sitalic_w ∈ italic_S and wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v implies vS𝑣𝑆v\in Sitalic_v ∈ italic_S. A Kripke model 𝔐=(W,,V)𝔐𝑊square-image-of-or-equals𝑉\mathfrak{M}=(W,\sqsubseteq,V)fraktur_M = ( italic_W , ⊑ , italic_V ) consists of a Kripke frame (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) as well as a function V:VarUp(W):𝑉VarUp𝑊V:\textsf{Var}\to\textsf{Up}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle W$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\scriptstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle W$}\mathclose{}{)}}italic_V : Var → Up ( italic_W ). The valuation V𝑉Vitalic_V assigns to each propositional variable pVar𝑝Varp\in\textsf{Var}italic_p ∈ Var an upper set V(p)W𝑉𝑝𝑊V(p)\subseteq Witalic_V ( italic_p ) ⊆ italic_W, which is the set of worlds in which p𝑝pitalic_p is true. The idea is that, once a proposition becomes true, it must remain true as information increases.

We are now able to inductively define a relation 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ with the meaning that φ𝜑\varphiitalic_φ is true in world w𝑤witalic_w of model 𝔐𝔐\mathfrak{M}fraktur_M. The only interesting clause is that for implication:

𝔐,wφψdefwv.𝔐,vφ implies 𝔐,vψformulae-sequence𝔐𝑤𝜑𝜓superscriptdeffor-all𝑤square-image-of-or-equals𝑣𝔐𝑣𝜑 implies 𝔐𝑣𝜓\mathfrak{M},w\vDash\varphi\to\psi\ \stackrel{{\scriptstyle\mathclap{\mbox{% \tiny def}}}}{{\equiv}}\ \forall w\sqsubseteq v.\ \mathfrak{M},v\vDash\varphi% \text{ implies }\mathfrak{M},v\vDash\psifraktur_M , italic_w ⊨ italic_φ → italic_ψ start_RELOP SUPERSCRIPTOP start_ARG ≡ end_ARG start_ARG def end_ARG end_RELOP ∀ italic_w ⊑ italic_v . fraktur_M , italic_v ⊨ italic_φ implies fraktur_M , italic_v ⊨ italic_ψ

This definition is famously monotonic: if 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ and wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v then 𝔐,vφ𝔐𝑣𝜑\mathfrak{M},v\vDash\varphifraktur_M , italic_v ⊨ italic_φ. Kripke semantics is sound and complete for intuitionistic logic [23, 15].

The algebraic semantics of intuitionistic logic consist of Heyting algebras. These are lattices such that every map x:LL-\land x:L\to L- ∧ italic_x : italic_L → italic_L has a right adjoint, i.e. for x,yL𝑥𝑦𝐿x,y\in Litalic_x , italic_y ∈ italic_L there is an element xyL𝑥𝑦𝐿x\Rightarrow y\in Litalic_x ⇒ italic_y ∈ italic_L such that cxysquare-image-of-or-equals𝑐𝑥𝑦c\land x\sqsubseteq yitalic_c ∧ italic_x ⊑ italic_y iff cxysquare-image-of-or-equals𝑐𝑥𝑦c\sqsubseteq x\Rightarrow yitalic_c ⊑ italic_x ⇒ italic_y. Such lattices are always distributive. Assuming that one has an interpretation pL\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle p$}\mathclose{}{% \rrbracket}}\in L⟦ italic_p ⟧ ∈ italic_L of each proposition p𝑝pitalic_p, each formula φ𝜑\varphiitalic_φ of intuitionistic logic is inductively mapped to an element φL\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}\in L⟦ italic_φ ⟧ ∈ italic_L using the corresponding algebraic structure. I will not expound further on Heyting algebras; see [23, §7.3] [16, §1.1] [76, §I.8]. But I note that they are sound and complete for intuitionistic logic.

2.1 Prime algebraic lattices

Let (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) be any Kripke frame, and let 𝟚=def{01}superscriptdef2square-image-of-or-equals01\mathbb{2}{}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}\{0% \sqsubseteq 1\}blackboard_2 start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { 0 ⊑ 1 }. Consider the poset [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] of monotonic functions from W𝑊Witalic_W to 𝟚2\mathbb{2}blackboard_2, ordered pointwise. This poset has a number of curious properties.

First, the monotonicity of p:W𝟚:𝑝𝑊2p:W\to\mathbb{2}italic_p : italic_W → blackboard_2 means that if p(w)=1𝑝𝑤1p(w)=1italic_p ( italic_w ) = 1 and wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v, then p(v)=1𝑝𝑣1p(v)=1italic_p ( italic_v ) = 1. Hence, the subset U=defp1(1)superscriptdef𝑈superscript𝑝11U\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}p^{-1}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle 1$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \textstyle 1$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle 1$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle 1$}\mathclose{}{)}}italic_U start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP italic_p start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ( 1 ) of W𝑊Witalic_W is an upper set. Conversely, every upper set UW𝑈𝑊U\subseteq Witalic_U ⊆ italic_W gives rise to a monotonic pU:W𝟚:subscript𝑝𝑈𝑊2p_{U}:W\to\mathbb{2}italic_p start_POSTSUBSCRIPT italic_U end_POSTSUBSCRIPT : italic_W → blackboard_2 by setting pU(w)=1subscript𝑝𝑈𝑤1p_{U}(w)=1italic_p start_POSTSUBSCRIPT italic_U end_POSTSUBSCRIPT ( italic_w ) = 1 if wU𝑤𝑈w\in Uitalic_w ∈ italic_U, and 00 otherwise. Consequently, there is an order bijection

Up(W)[W,𝟚]Up𝑊delimited-[]𝑊2\textsf{Up}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle W$}% \mathclose{}{)}}\cong\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}Up ( italic_W ) ≅ [ italic_W , blackboard_2 ]

with the order on Up(W)Up𝑊\textsf{Up}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle W$}% \mathclose{}{)}}Up ( italic_W ) being inclusion. I will liberally treat upper sets and elements of [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] as the same, but prefer the latter notation for reasons that will become clear later.

Second, given any wW𝑤𝑊w\in Witalic_w ∈ italic_W, consider its principal upper set w=def{vW|wv}[W,𝟚]superscriptdef𝑤|𝑣𝑊square-image-of-or-equals𝑤𝑣delimited-[]𝑊2\mathop{\uparrow}w\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{}{\{}\hbox{$\displaystyle v\in W$}\mathrel{{|}}\hbox{$% \displaystyle w\sqsubseteq v$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \textstyle v\in W$}\mathrel{{|}}\hbox{$\textstyle w\sqsubseteq v$}\mathclose{}% {\}}}{\mathopen{}{\{}\hbox{$\scriptstyle v\in W$}\mathrel{{|}}\hbox{$% \scriptstyle w\sqsubseteq v$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptscriptstyle v\in W$}\mathrel{{|}}\hbox{$\scriptscriptstyle w\sqsubseteq v% $}\mathclose{}{\}}}\in\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb% {2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose% {}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}↑ italic_w start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { italic_v ∈ italic_W | italic_w ⊑ italic_v } ∈ [ italic_W , blackboard_2 ]. This set consists of worlds with potentially more information than that found in world w𝑤witalic_w. A simple argument shows that wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v iff vw𝑣𝑤\mathop{\uparrow}v\subseteq\mathop{\uparrow}w↑ italic_v ⊆ ↑ italic_w.111This is an order-theoretic consequence of the Yoneda lemma. Thus, this gives an order embedding

:W𝗈𝗉[W,𝟚]:superscript𝑊𝗈𝗉delimited-[]𝑊2\mathop{\uparrow}:W^{\mathsf{op}}\to\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W% ,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}% \mathclose{}{]}}↑ : italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT → [ italic_W , blackboard_2 ]

which can be shown to preserve meets and exponentials.

Third, the poset [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] is a complete lattice: arbitrary joins and meets are given pointwise. Viewing the elements of [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] as upper sets, these joins and meets correspond to arbitrary unions and intersections of upper sets, which are also upper. Moreover, this lattice satisfies the infinite distributive law, so it is a complete Heyting algebra—synonymously a frame or locale [61, 84]. Given two upper sets X,YW𝑋𝑌𝑊X,Y\subseteq Witalic_X , italic_Y ⊆ italic_W their exponential is given by [29, §1.9]

XY=def{wW|wv.vX implies vY}𝑋𝑌superscriptdef|𝑤𝑊formulae-sequencesquare-image-of-or-equalsfor-all𝑤𝑣𝑣𝑋 implies 𝑣𝑌X\Rightarrow Y\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{}{\{}\hbox{$\displaystyle w\in W$}\mathrel{{|}}\hbox{$% \displaystyle\forall w\sqsubseteq v.\ v\in X\text{ implies }v\in Y$}\mathclose% {}{\}}}{\mathopen{}{\{}\hbox{$\textstyle w\in W$}\mathrel{{|}}\hbox{$% \textstyle\forall w\sqsubseteq v.\ v\in X\text{ implies }v\in Y$}\mathclose{}{% \}}}{\mathopen{}{\{}\hbox{$\scriptstyle w\in W$}\mathrel{{|}}\hbox{$% \scriptstyle\forall w\sqsubseteq v.\ v\in X\text{ implies }v\in Y$}\mathclose{% }{\}}}{\mathopen{}{\{}\hbox{$\scriptscriptstyle w\in W$}\mathrel{{|}}\hbox{$% \scriptscriptstyle\forall w\sqsubseteq v.\ v\in X\text{ implies }v\in Y$}% \mathclose{}{\}}}italic_X ⇒ italic_Y start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { italic_w ∈ italic_W | ∀ italic_w ⊑ italic_v . italic_v ∈ italic_X implies italic_v ∈ italic_Y }

Fourth, the principal upper sets w𝑤\mathop{\uparrow}w↑ italic_w are special, in that they are prime.222Such elements are variously called completely join-irreducible [86], supercompact [8] [84, §VII.8], completely (join-)prime [100], or simply join-prime [41, §1.3]. An element d𝑑ditalic_d of a complete lattice L𝐿Litalic_L is prime just if

dX implies xX.dxformulae-sequencesquare-image-of-or-equals𝑑square-union𝑋 implies 𝑥𝑋square-image-of-or-equals𝑑𝑥d\sqsubseteq\mathop{\bigsqcup}X\ \text{ implies }\ \exists x\in X.\ d\sqsubseteq xitalic_d ⊑ ⨆ italic_X implies ∃ italic_x ∈ italic_X . italic_d ⊑ italic_x

This says that d𝑑ditalic_d contains a tiny, indivisible fragment of information: as soon as it approximates a supremum, it must approximate something in the set that is being upper-bounded. The prime elements of [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] are exactly the principal upper sets w𝑤\mathop{\uparrow}w↑ italic_w for some wW𝑤𝑊w\in Witalic_w ∈ italic_W.

Fifth, the complete lattice [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] is prime algebraic. This means that all its elements can be reconstructed by ‘multiplying’ or ‘sticking together’ prime elements. In symbols, a complete lattice L𝐿Litalic_L is prime algebraic whenever for every element dL𝑑𝐿d\in Litalic_d ∈ italic_L we have

d={pL|pd,p prime }𝑑square-union|𝑝𝐿square-image-of-or-equals𝑝𝑑𝑝 prime d=\mathop{\bigsqcup}\mathchoice{\mathopen{}{\{}\hbox{$\displaystyle p\in L$}% \mathrel{{|}}\hbox{$\displaystyle p\sqsubseteq d,p\text{ prime }$}\mathclose{}% {\}}}{\mathopen{}{\{}\hbox{$\textstyle p\in L$}\mathrel{{|}}\hbox{$\textstyle p% \sqsubseteq d,p\text{ prime }$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptstyle p\in L$}\mathrel{{|}}\hbox{$\scriptstyle p\sqsubseteq d,p\text{ % prime }$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$\scriptscriptstyle p\in L$}% \mathrel{{|}}\hbox{$\scriptscriptstyle p\sqsubseteq d,p\text{ prime }$}% \mathclose{}{\}}}italic_d = ⨆ { italic_p ∈ italic_L | italic_p ⊑ italic_d , italic_p prime }

Such lattices are variously called completely distributive, algebraic lattices [28, §10.29] or superalgebraic lattices [84, §VII.8]. In fact, it can be shown that any such lattice is essentially of the form [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ], i.e. a lattice of upper sets; this was shown by Raney in the 1950s [86], and independently by Nielsen, Plotkin and Winskel in the 1980s [80]. See the paper by Winskel for the use of prime algebraic lattices in semantics [100].

Finally, the fact every element can be reconstructed as a supremum of primes means that it is possible to canonically extend any monotonic f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT to a monotonic [W𝗈𝗉,𝟚]Wdelimited-[]superscript𝑊𝗈𝗉2superscript𝑊\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\mathsf{op}},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\mathsf{op}},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\mathsf{op}},\mathbb{2}$% }\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\mathsf{op}},% \mathbb{2}$}\mathclose{}{]}}\to W^{\prime}[ italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , blackboard_2 ] → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, as long as Wsuperscript𝑊W^{\prime}italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is a complete lattice. Diagrammatically, in the situation

W𝑊Witalic_W[W𝗈𝗉,𝟚]delimited-[]superscript𝑊𝗈𝗉2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\mathsf{op}},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\mathsf{op}},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\mathsf{op}},\mathbb{2}$% }\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\mathsf{op}},% \mathbb{2}$}\mathclose{}{]}}[ italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , blackboard_2 ]Wsuperscript𝑊W^{\prime}italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT\mathop{\uparrow}f𝑓fitalic_ff!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPTdoes-not-prove\dashvfsuperscript𝑓{f}^{{\star}}italic_f start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT (1)

there exists a unique f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT which preserves all joins and satisfies f!(w)=f(w)subscript𝑓𝑤𝑓𝑤f_{{!}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle\mathop{\uparrow}w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle\mathop{\uparrow}w$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\mathop{\uparrow}w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle\mathop{\uparrow}w$}\mathclose{}{)}}=f(w)italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ( ↑ italic_w ) = italic_f ( italic_w ). It is given by

f!(S)=def{f(w)|wS}superscriptdefsubscript𝑓𝑆square-union|𝑓𝑤𝑤𝑆f_{{!}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle S$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle S$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle S$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle S$}% \mathclose{}{)}}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathop{\bigsqcup}\mathchoice{\mathopen{}{\{}\hbox{$\displaystyle f(w)$}% \mathrel{{|}}\hbox{$\displaystyle w\in S$}\mathclose{}{\}}}{\mathopen{}{\{}% \hbox{$\textstyle f(w)$}\mathrel{{|}}\hbox{$\textstyle w\in S$}\mathclose{}{\}% }}{\mathopen{}{\{}\hbox{$\scriptstyle f(w)$}\mathrel{{|}}\hbox{$\scriptstyle w% \in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$\scriptscriptstyle f(w)$}% \mathrel{{|}}\hbox{$\scriptscriptstyle w\in S$}\mathclose{}{\}}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ( italic_S ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ⨆ { italic_f ( italic_w ) | italic_w ∈ italic_S }

f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT is called the (left) Kan extension of f𝑓fitalic_f along \mathop{\uparrow}. As f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT preserves all joins and [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] is complete it has a right adjoint fsuperscript𝑓{f}^{{\star}}italic_f start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT, by the adjoint functor theorem [28, §7.34] [61, §I.4.2]. For any complete lattice Wsuperscript𝑊W^{\prime}italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT this situation amounts to a bijection

HomPos(W,W)HomCSLatt([W𝗈𝗉,𝟚],W)subscriptHomPos𝑊superscript𝑊subscriptHomCSLattdelimited-[]superscript𝑊𝗈𝗉2superscript𝑊\mathrm{Hom}_{\textbf{Pos}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W,W^% {\prime}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle W,W^{\prime}$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle W,W^{\prime}$}\mathclose{}{% )}}{\mathopen{}{(}\hbox{$\scriptscriptstyle W,W^{\prime}$}\mathclose{}{)}}% \cong\mathrm{Hom}_{\textbf{CSLatt}}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\mathsf{op}},% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\mathsf{op}},% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\mathsf{op}}% ,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{% \mathsf{op}},\mathbb{2}$}\mathclose{}{]}},W^{\prime}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W% ^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^% {\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W% ^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}},W^{\prime}$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\mathchoice{\mathopen{}{[}% \hbox{$\displaystyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{% [}\hbox{$\textstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[% }\hbox{$\scriptstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{% [}\hbox{$\scriptscriptstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}},W^{% \prime}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}% }{\mathopen{}{[}\hbox{$\textstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}% {\mathopen{}{[}\hbox{$\scriptstyle W^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}% }{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\mathsf{op}},\mathbb{2}$}% \mathclose{}{]}},W^{\prime}$}\mathclose{}{)}}roman_Hom start_POSTSUBSCRIPT Pos end_POSTSUBSCRIPT ( italic_W , italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ≅ roman_Hom start_POSTSUBSCRIPT CSLatt end_POSTSUBSCRIPT ( [ italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , blackboard_2 ] , italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT )

where CSLatt is the category of complete lattices and join-preserving maps.

Suppose then that we have a Kripke model (W,,V)𝑊square-image-of-or-equals𝑉(W,\sqsubseteq,V)( italic_W , ⊑ , italic_V ). The construction given above induces a Heyting algebra [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ]. Defining p=defV(p)\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle p$}\mathclose{}{% \rrbracket}}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}V(p)⟦ italic_p ⟧ start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP italic_V ( italic_p ) we obtain an algebraic model of intuitionistic logic, which interprets every formula φ𝜑\varphiitalic_φ as an upper set φ[W,𝟚]\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}\in\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{% ]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}⟦ italic_φ ⟧ ∈ [ italic_W , blackboard_2 ]. This is the upper set of worlds in which a formula is true [23, Theorem 7.20]:

Theorem 2.1.

wφ𝑤𝜑w\vDash\varphiitalic_w ⊨ italic_φ if and only if wφw\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}italic_w ∈ ⟦ italic_φ ⟧.

Thus, every Kripke semantics corresponds to a prime algebraic lattice.

Remark 2.2.

This shows that a Kripke semantics is a particular kind of algebraic semantics. Thus, we can deduce the completeness of the latter from the completeness of the former: if a formula is valid in all Heyting algebras, it must be valid in all prime algebraic lattices, and hence valid in all Kripke semantics. If the Kripke semantics is complete, then the formula must be provable. Therefore, the algebraic semantics is then complete as well.

The opposite direction—viz. proving the completeness of Kripke semantics from completeness of the algebraic semantics—cannot be shown constructively. The reason is that it requires the construction of prime filters, which is a weak form of choice. I will investigate the details of this mismatch in a sequel paper.

2.2 Morphisms

The simplest kind of morphism between Kripke frames is a monotonic map f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. Frames and monotonic maps form the category Pos of posets. Given a monotonic f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT we can define a monotonic f:[W,𝟚][W,𝟚]:superscript𝑓delimited-[]superscript𝑊2delimited-[]𝑊2f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}\to\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ] → [ italic_W , blackboard_2 ] by taking p:W𝟚:𝑝superscript𝑊2p:W^{\prime}\to\mathbb{2}italic_p : italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT → blackboard_2 to pf:W𝟚:𝑝𝑓𝑊2p\circ f:W\to\mathbb{2}italic_p ∘ italic_f : italic_W → blackboard_2. Viewing the elements of [W,𝟚]delimited-[]superscript𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}[ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ] as upper sets, fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT maps the upper set SW𝑆superscript𝑊S\subseteq W^{\prime}italic_S ⊆ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT to the set {vW|f(v)S}W|𝑣superscript𝑊𝑓𝑣𝑆𝑊\mathchoice{\mathopen{}{\{}\hbox{$\displaystyle v\in W^{\prime}$}\mathrel{{|}}% \hbox{$\displaystyle f(v)\in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \textstyle v\in W^{\prime}$}\mathrel{{|}}\hbox{$\textstyle f(v)\in S$}% \mathclose{}{\}}}{\mathopen{}{\{}\hbox{$\scriptstyle v\in W^{\prime}$}\mathrel% {{|}}\hbox{$\scriptstyle f(v)\in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptscriptstyle v\in W^{\prime}$}\mathrel{{|}}\hbox{$\scriptscriptstyle f(v% )\in S$}\mathclose{}{\}}}\subseteq W{ italic_v ∈ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT | italic_f ( italic_v ) ∈ italic_S } ⊆ italic_W, which is upper by the monotonicity of f𝑓fitalic_f. fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT preserves arbitrary joins and meets. It is thus the morphism part of a functor [,𝟚]:Pos𝗈𝗉PrAlgLatt:delimited-[]2superscriptPos𝗈𝗉PrAlgLatt\mathchoice{\mathopen{}{[}\hbox{$\displaystyle-,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle-,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle-,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle-,\mathbb{2}$}\mathclose{}{]}}:\textbf{Pos}^{\mathsf{op}}% \longrightarrow\textbf{PrAlgLatt}[ - , blackboard_2 ] : Pos start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ⟶ PrAlgLatt to the category PrAlgLatt of prime algebraic lattices and complete lattice homomorphisms.

Moreover, the functor [,𝟚]delimited-[]2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle-,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle-,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle-,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle-,\mathbb{2}$}\mathclose{}{]}}[ - , blackboard_2 ] is an equivalence! By the adjoint functor theorem any complete lattice homomorphism f:LL:superscript𝑓superscript𝐿𝐿f^{*}:L^{\prime}\to Litalic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : italic_L start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT → italic_L has a left and right adjoint:

L𝐿Litalic_LLsuperscript𝐿L^{\prime}italic_L start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPTfsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPTfsubscript𝑓f_{{*}}italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPTf!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT

does-not-prove\dashv

does-not-prove\dashv

(2)

Given a prime algebraic lattice L𝐿Litalic_L, let Prm(L)LPrm𝐿𝐿\textsf{Prm}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle L$}\mathclose{}{)}}% {\mathopen{}{(}\hbox{$\textstyle L$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle L$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle L$}% \mathclose{}{)}}\subseteq LPrm ( italic_L ) ⊆ italic_L be the sub-poset of prime elements. It can be shown that the left adjoint f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT maps primes to primes [41, Lemma 1.23]. We can thus restrict it to a function Prm(L)Prm(L)Prm𝐿Prmsuperscript𝐿\textsf{Prm}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle L$}\mathclose{}{)}}% {\mathopen{}{(}\hbox{$\textstyle L$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle L$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle L$}% \mathclose{}{)}}\to\textsf{Prm}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle L% ^{\prime}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle L^{\prime}$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle L^{\prime}$}\mathclose{}{)}% }{\mathopen{}{(}\hbox{$\scriptscriptstyle L^{\prime}$}\mathclose{}{)}}Prm ( italic_L ) → Prm ( italic_L start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ). This defines a functor Prm():PrAlgLattPos𝗈𝗉:PrmPrAlgLattsuperscriptPos𝗈𝗉\textsf{Prm}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle-$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle-$}% \mathclose{}{)}}:\textbf{PrAlgLatt}\longrightarrow\textbf{Pos}^{\mathsf{op}}Prm ( - ) : PrAlgLatt ⟶ Pos start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT with the property that Prm([W,𝟚])WPrmdelimited-[]𝑊2𝑊\textsf{Prm}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{% [}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}$}\mathclose{}{)}}{\mathopen{% }{(}\hbox{$\textstyle\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\mathchoice{\mathopen{}{[}% \hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb% {2}$}\mathclose{}{]}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$% }\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]% }}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{% }{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}$}\mathclose{}{)}}\cong WPrm ( [ italic_W , blackboard_2 ] ) ≅ italic_W. All in all, this amounts to a duality

Pos𝗈𝗉PrAlgLattsimilar-to-or-equalssuperscriptPos𝗈𝗉PrAlgLatt\textbf{Pos}^{\mathsf{op}}\simeq\textbf{PrAlgLatt}Pos start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ≃ PrAlgLatt (3)

However, monotonic maps are not particularly well-behaved from the perspective of logic, as they do not preserve nor reflect ‘local’ truth. This is the privilege of open maps.

Definition 2.3.

Let i0:𝟙𝟚:subscript𝑖012i_{0}:\mathbb{1}\to\mathbb{2}italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : blackboard_1 → blackboard_2 map the unique point of 𝟙=def{}superscriptdef1\mathbb{1}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}\{\ast\}blackboard_1 start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { ∗ } to 0𝟚020\in\mathbb{2}0 ∈ blackboard_2. A monotonic map f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT of Kripke frames is open just when it has the right lifting property with respect to i0:𝟙𝟚:subscript𝑖012i_{0}:\mathbb{1}\to\mathbb{2}italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : blackboard_1 → blackboard_2, i.e. when every commuting diagram of the form

𝟙1\mathbb{1}blackboard_1𝟚2\mathbb{2}blackboard_2i0subscript𝑖0i_{0}italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPTW𝑊Witalic_WWsuperscript𝑊W^{\prime}italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPTf𝑓fitalic_f

in Pos has a diagonal filler (dashed) that makes it commute.

In other words, f𝑓fitalic_f is open if whenever f(w)vsquare-image-of-or-equals𝑓𝑤superscript𝑣f(w)\sqsubseteq v^{\prime}italic_f ( italic_w ) ⊑ italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT there exists a wWsuperscript𝑤𝑊w^{\prime}\in Witalic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ italic_W with wwsquare-image-of-or-equals𝑤superscript𝑤w\sqsubseteq w^{\prime}italic_w ⊑ italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT and f(w)=v𝑓superscript𝑤superscript𝑣f(w^{\prime})=v^{\prime}italic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) = italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT.333Such morphisms are often called p-morphisms [23, §2.3] or bounded morphisms [15, §2.1]. According to Goldblatt [46] open maps were introduced by de Jongh and Troelstra [29] in intuitionistic logic, and by Segerberg [91] in modal logic. More rarely they are called functional simulations, and led us to bisimulations [90, §3.2]. The name is chosen because such maps are open with respect to the Alexandrov topology on a poset, whose open sets are the upper sets [61, §1.8]. Open maps send upper sets to upper sets [23, Prop. 2.13]. Thus

Lemma 2.4.

Let 𝔐=(W,,V)𝔐𝑊square-image-of-or-equals𝑉\mathfrak{M}=(W,\sqsubseteq,V)fraktur_M = ( italic_W , ⊑ , italic_V ) and 𝔑=(W,,V)𝔑superscript𝑊square-image-of-or-equalssuperscript𝑉\mathfrak{N}=(W^{\prime},\sqsubseteq,V^{\prime})fraktur_N = ( italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , ⊑ , italic_V start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) be Kripke models, and f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT be open. Suppose V=f1V𝑉superscript𝑓1superscript𝑉V=f^{-1}\circ V^{\prime}italic_V = italic_f start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ∘ italic_V start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, i.e. wV(p)𝑤𝑉𝑝w\in V(p)italic_w ∈ italic_V ( italic_p ) iff f(w)V(p)𝑓𝑤superscript𝑉𝑝f(w)\in V^{\prime}(p)italic_f ( italic_w ) ∈ italic_V start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ( italic_p ). Then 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ iff 𝔑,f(w)φ𝔑𝑓𝑤𝜑\mathfrak{N},f(w)\vDash\varphifraktur_N , italic_f ( italic_w ) ⊨ italic_φ.

Write Wφ𝑊𝜑W\vDash\varphiitalic_W ⊨ italic_φ to mean that (W,,V),wφ𝑊square-image-of-or-equals𝑉𝑤𝜑(W,\sqsubseteq,V),w\vDash\varphi( italic_W , ⊑ , italic_V ) , italic_w ⊨ italic_φ for any valuation V𝑉Vitalic_V and wW𝑤𝑊w\in Witalic_w ∈ italic_W. Then

Lemma 2.5.

If f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is open and surjective, then Wφ𝑊𝜑W\vDash\varphiitalic_W ⊨ italic_φ implies Wφsuperscript𝑊𝜑W^{\prime}\vDash\varphiitalic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⊨ italic_φ.

Recall now the induced map f:[W,𝟚][W,𝟚]:superscript𝑓delimited-[]superscript𝑊2delimited-[]𝑊2f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}\to\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ] → [ italic_W , blackboard_2 ] for a monotonic f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. The following lemma allows us to characterise the openness and surjectivity of f𝑓fitalic_f in terms of fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.

Lemma 2.6.
  1. 1.

    f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is open iff f:[W,𝟚][W,𝟚]:superscript𝑓delimited-[]superscript𝑊2delimited-[]𝑊2f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}\to\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ] → [ italic_W , blackboard_2 ] preserves exponentials.

  2. 2.

    f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is surjective iff f:[W,𝟚][W,𝟚]:superscript𝑓delimited-[]superscript𝑊2delimited-[]𝑊2f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}\to\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{% 2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{% }{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ] → [ italic_W , blackboard_2 ] is injective.

Consequently, the duality (3) may be restricted to two wide subcategories:

Posopen𝗈𝗉PrAlgLattsimilar-to-or-equalssubscriptsuperscriptPos𝗈𝗉opensubscriptPrAlgLatt\displaystyle\textbf{Pos}^{\mathsf{op}}_{\text{open}}\simeq\textbf{PrAlgLatt}_% {\Rightarrow}Pos start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT open end_POSTSUBSCRIPT ≃ PrAlgLatt start_POSTSUBSCRIPT ⇒ end_POSTSUBSCRIPT Posopen,surj𝗈𝗉PrAlgLatt,injsimilar-to-or-equalssubscriptsuperscriptPos𝗈𝗉open,surjsubscriptPrAlgLattinj\displaystyle\textbf{Pos}^{\mathsf{op}}_{\text{open,surj}}\simeq\textbf{% PrAlgLatt}_{\Rightarrow,\text{inj}}Pos start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT open,surj end_POSTSUBSCRIPT ≃ PrAlgLatt start_POSTSUBSCRIPT ⇒ , inj end_POSTSUBSCRIPT (4)

The morphisms of the categories to the left of similar-to-or-equals\simeq are open (resp. and surjective) maps, and the morphisms of the categories to its right are complete Heyting homomorphisms, i.e. complete lattice homomorphisms that preserve exponentials (resp. and are injective).

Finally, let us consider the classical case—as a sanity-check. This amounts to restricting Pos to its subcategory of discrete orders, i.e. 𝐒𝐞𝐭𝐒𝐞𝐭\mathbf{Set}bold_Set. In this case every map is open. The corresponding restriction on the other side is to the category CABA of complete atomic Boolean algebras, yielding the usual Tarski duality 𝐒𝐞𝐭𝗈𝗉CABAsimilar-to-or-equalssuperscript𝐒𝐞𝐭𝗈𝗉CABA\mathbf{Set}^{\mathsf{op}}\simeq\textbf{CABA}bold_Set start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ≃ CABA [67].

2.3 Related work

The origins of the construction of a Heyting algebra from a Kripke frame seems to be lost in the mists of time. The earliest occurrence I have located is in the book by Fitting [39, §1.6], where it is attributed to an exercise in the book by Beth [10].

The duality (3) appears to be folklore—folklore enough to be included as an exercise in new textbooks [41, Ex. 1.3.10]; see also Erné [31]. However, I have not been able to find any mention of the dualities of (4) in the literature.

Both the dualities (3) and (4) involve just prime algebraic lattices, which is a far cry from encompassing all Heyting algebras. It is possible to do so, by enlarging the category Pos to a class of ordered topological spaces called descriptive frames [23, §8.4]. The resulting duality is called Esakia duality [32] [41, §4.6] [12, §2.3].

A survey on dualities for classical modal logic is given by Kishida [67].

3 Modal Logic I

The task now is to extend the results of §​​ 2 to intuitionistic modal logic.

There is disagreement on what a minimal intuitionistic modal logic is. This arises no matter the methodology we choose—be it relational, algebraic, or proof-theoretic. The situation becomes even more complex if we include a diamond modality (\lozenge): see Das and Marin [27] and Wolter and Zakharyaschev [103] for a discussion.

In this paper I will adopt the intuitionistic propositional logic with Galois connections of Dzik, Järvinen, and Kondo [30], for reasons that will become clear in a moment. This extends intuitionistic logic with modalities \blacklozenge and \Box, and the two inference rules

  φψ   φψ   φψ   φψ \displaystyle\displaystyle{\hbox{\hskip 15.13885pt\vbox{\hbox{\hskip-15.13885% pt\hbox{\hbox{$\displaystyle\displaystyle\blacklozenge\varphi\to\psi$}}}\vbox{% }}}\over\hbox{\hskip 15.69441pt\vbox{\vbox{}\hbox{\hskip-15.69441pt\hbox{\hbox% {$\displaystyle\displaystyle\varphi\to\Box\psi$}}}}}}divide start_ARG ◆φ→ψ end_ARG start_ARG φ→□ψ end_ARG      and        φψ   φψ   φψ   φψ \displaystyle\displaystyle{\hbox{\hskip 15.69441pt\vbox{\hbox{\hskip-15.69441% pt\hbox{\hbox{$\displaystyle\displaystyle\varphi\to\Box\psi$}}}\vbox{}}}\over% \hbox{\hskip 15.13885pt\vbox{\vbox{}\hbox{\hskip-15.13885pt\hbox{\hbox{$% \displaystyle\displaystyle\blacklozenge\varphi\to\psi$}}}}}}divide start_ARG φ→□ψ end_ARG start_ARG ◆φ→ψ end_ARG

These rules correspond to a Galois connection [28, §7.23], i.e. an adjunction does-not-prove\blacklozenge\dashv\Box◆ ⊣ □ between posets. They imply the derivability of the following rules, amongst others [30, Prop. 2.1].

  φψ   φψ   φψ   φψ \displaystyle\displaystyle{\hbox{\hskip 11.80551pt\vbox{\hbox{\hskip-11.80551% pt\hbox{\hbox{$\displaystyle\displaystyle\varphi\to\psi$}}}\vbox{}}}\over\hbox% {\hskip 19.58331pt\vbox{\vbox{}\hbox{\hskip-19.58331pt\hbox{\hbox{$% \displaystyle\displaystyle\Box\varphi\to\Box\psi$}}}}}}divide start_ARG φ→ψ end_ARG start_ARG □φ→□ψ end_ARG        φ   φ   φ   φ \displaystyle\displaystyle{\hbox{\hskip 3.27084pt\vbox{\hbox{\hskip-3.27083pt% \hbox{\hbox{$\displaystyle\displaystyle\varphi$}}}\vbox{}}}\over\hbox{\hskip 7% .15974pt\vbox{\vbox{}\hbox{\hskip-7.15973pt\hbox{\hbox{$\displaystyle% \displaystyle\Box\varphi$}}}}}}divide start_ARG roman_φ end_ARG start_ARG □φ end_ARG          \displaystyle\displaystyle{\hbox{}\over\hbox{\hskip 8.88889pt\vbox{\vbox{}% \hbox{\hskip-8.88889pt\hbox{\hbox{$\displaystyle\displaystyle\Box\top$}}}}}}divide start_ARG end_ARG start_ARG □⊤ end_ARG              \displaystyle\displaystyle{\hbox{\hskip 8.33333pt\vbox{\hbox{\hskip-8.33333pt% \hbox{\hbox{$\displaystyle\displaystyle\blacklozenge\bot$}}}\vbox{}}}\over% \hbox{\hskip 4.99998pt\vbox{\vbox{}\hbox{\hskip-4.99998pt\hbox{\hbox{$% \displaystyle\displaystyle\bot$}}}}}}divide start_ARG ◆⊥ end_ARG start_ARG ⊥ end_ARG        φψ   φψ   φψ   φψ \displaystyle\displaystyle{\hbox{\hskip 11.80551pt\vbox{\hbox{\hskip-11.80551% pt\hbox{\hbox{$\displaystyle\displaystyle\varphi\to\psi$}}}\vbox{}}}\over\hbox% {\hskip 18.4722pt\vbox{\vbox{}\hbox{\hskip-18.4722pt\hbox{\hbox{$\displaystyle% \displaystyle\blacklozenge\varphi\to\blacklozenge\psi$}}}}}}divide start_ARG φ→ψ end_ARG start_ARG ◆φ→◆ψ end_ARG        (φψ)φψ   (φψ)φψ \displaystyle\displaystyle{\hbox{}\over\hbox{\hskip 45.83327pt\vbox{\vbox{}% \hbox{\hskip-45.83325pt\hbox{\hbox{$\displaystyle\displaystyle\blacklozenge(% \varphi\lor\psi)\leftrightarrow\blacklozenge\varphi\lor\blacklozenge\psi$}}}}}}divide start_ARG end_ARG start_ARG ◆(φ∨ψ)↔◆φ∨◆ψ end_ARG        (φψ)φψ   (φψ)φψ \displaystyle\displaystyle{\hbox{}\over\hbox{\hskip 47.49994pt\vbox{\vbox{}% \hbox{\hskip-47.49992pt\hbox{\hbox{$\displaystyle\displaystyle\Box(\varphi% \land\psi)\leftrightarrow\Box\varphi\land\Box\psi$}}}}}}divide start_ARG end_ARG start_ARG □(φ∧ψ)↔□φ∧□ψ end_ARG

The notation of the ‘black diamond’ modality \blacklozenge may appear unusual. However, I will argue that this logic is, in a way, the canonical intuitionistic modal logic.

The Kripke semantics of classical modal logic is given by a modal frame (W,R)𝑊𝑅(W,R)( italic_W , italic_R ), which consists of a set W𝑊Witalic_W and an arbitrary accessibility relation RW×W𝑅𝑊𝑊R\subseteq W\times Witalic_R ⊆ italic_W × italic_W [15, §1]. If the same set of worlds W𝑊Witalic_W is already part of an intuitionistic Kripke frame (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) we must take care to ensure that square-image-of-or-equals\sqsubseteq and R𝑅Ritalic_R are compatible. There are many compatibility conditions that one can consider [85] [92, §3.3]. However, I will take a hint from the category theory literature, and seek a canonical definition of what it means for a relation to be compatible with a poset.

Recall that relations can be presented as functions R:W×W𝟚:𝑅𝑊𝑊2R:W\times W\to\mathbb{2}italic_R : italic_W × italic_W → blackboard_2 which map a pair of worlds (w,v)𝑤𝑣(w,v)( italic_w , italic_v ) to 1111 iff w𝑅v𝑅𝑤𝑣w\mathbin{R}vitalic_w italic_R italic_v. I will ask that R𝑅Ritalic_R is such function, but with a twist:

Definition 3.1.

A bimodule R:W1-↦→W2:𝑅-↦→subscript𝑊1subscript𝑊2R:W_{1}\relbar\joinrel\mapstochar\joinrel\rightarrow W_{2}italic_R : italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT -↦→ italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT is a monotonic map R:W1𝗈𝗉×W2𝟚:𝑅superscriptsubscript𝑊1𝗈𝗉subscript𝑊22R:W_{1}^{\mathsf{op}}\times W_{2}\to\mathbb{2}italic_R : italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT × italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT → blackboard_2.

Thus, a relation RW1×W2𝑅subscript𝑊1subscript𝑊2R\subseteq W_{1}\times W_{2}italic_R ⊆ italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT is a bimodule just if ww𝑅vvsquare-image-of-or-equalssuperscript𝑤𝑅𝑤𝑣square-image-of-or-equalssuperscript𝑣w^{\prime}\sqsubseteq w\mathbin{R}v\sqsubseteq v^{\prime}italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⊑ italic_w italic_R italic_v ⊑ italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT implies w𝑅v𝑅superscript𝑤superscript𝑣w^{\prime}\mathbin{R}v^{\prime}italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_R italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. This means that R𝑅Ritalic_R can absorb changes in information on either side: contravariantly on the first component, and covariantly on the second. This is a standard, minimal way to define what it means to be ‘a relation in Pos.’ It is strongly reminiscent of bimodules in abstract algebra.

We can then define a modal Kripke frame (W,,R)𝑊square-image-of-or-equals𝑅(W,\sqsubseteq,R)( italic_W , ⊑ , italic_R ) to be a Kripke frame (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) equipped with a bimodule R:W-↦→W:𝑅-↦→𝑊𝑊R:W\relbar\joinrel\mapstochar\joinrel\rightarrow Witalic_R : italic_W -↦→ italic_W. A modal Kripke model 𝔐=(W,,R,V)𝔐𝑊square-image-of-or-equals𝑅𝑉\mathfrak{M}=(W,\sqsubseteq,R,V)fraktur_M = ( italic_W , ⊑ , italic_R , italic_V ) adds to this a function V:VarUp(W):𝑉VarUp𝑊V:\textsf{Var}\to\textsf{Up}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle W$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle W$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\scriptstyle W$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle W$}\mathclose{}{)}}italic_V : Var → Up ( italic_W ). We extend 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ to modal formulae:

𝔐,wφ𝔐𝑤𝜑\displaystyle\mathfrak{M},w\vDash\blacklozenge\varphi\ fraktur_M , italic_w ⊨ ◆ italic_φ defv.v𝑅w and 𝔐,vφformulae-sequencesuperscriptdefabsent𝑣𝑅𝑣𝑤 and 𝔐𝑣𝜑\displaystyle\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{\equiv}}\ % \exists v.\ v\mathbin{R}w\text{ and }\mathfrak{M},v\vDash\varphistart_RELOP SUPERSCRIPTOP start_ARG ≡ end_ARG start_ARG def end_ARG end_RELOP ∃ italic_v . italic_v italic_R italic_w and fraktur_M , italic_v ⊨ italic_φ
𝔐,wφ𝔐𝑤𝜑\displaystyle\mathfrak{M},w\vDash\Box\varphi\ fraktur_M , italic_w ⊨ □ italic_φ defv.w𝑅v implies 𝔐,vφformulae-sequencesuperscriptdefabsentfor-all𝑣𝑅𝑤𝑣 implies 𝔐𝑣𝜑\displaystyle\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{\equiv}}\ % \forall v.\ w\mathbin{R}v\text{ implies }\mathfrak{M},v\vDash\varphistart_RELOP SUPERSCRIPTOP start_ARG ≡ end_ARG start_ARG def end_ARG end_RELOP ∀ italic_v . italic_w italic_R italic_v implies fraktur_M , italic_v ⊨ italic_φ

There are a number of things to note about this definition. First, there is a deep duality between the clauses: not only do we exchange for-all\forall for \exists, but we also flip the variance of R𝑅Ritalic_R. As a result, \blacklozenge uses the relation in the opposite variance to the more traditional \lozenge modality (hence the change in notation). Second, the clause for the \Box modality is the traditional one; some streams of work on intuitionistic modal logic adopt a slightly different one [85, 92], which is equivalent to this in the presence of the bimodule condition. Finally, this definition is monotonic: the bimodule conditions on R𝑅Ritalic_R suffice to show that if 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ and wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v then 𝔐,vφ𝔐𝑣𝜑\mathfrak{M},v\vDash\varphifraktur_M , italic_v ⊨ italic_φ. Dzik et al. [30, §5] prove that this semantics is sound and complete.

The algebraic semantics of this logic is given by a Heyting algebra H𝐻Hitalic_H equipped with two monotonic maps ,:HH:𝐻𝐻\blacklozenge,\Box:H\to H◆ , □ : italic_H → italic_H which form an adjunction does-not-prove\blacklozenge\dashv\Box◆ ⊣ □, i.e. a Galois connection. Dzik et al. [30, §4] prove that this semantics is also sound and complete.

We are now in a position to relate the Kripke and algebraic semantics of this intuitionistic modal logic. Let (W,,R)𝑊square-image-of-or-equals𝑅(W,\sqsubseteq,R)( italic_W , ⊑ , italic_R ) be a modal Kripke frame, and consider the map λR:W𝗈𝗉[W,𝟚]:𝜆𝑅superscript𝑊𝗈𝗉delimited-[]𝑊2\lambda R:W^{\mathsf{op}}\to\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{% ]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}italic_λ italic_R : italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT → [ italic_W , blackboard_2 ] obtained by cartesian closure of Pos. This map takes wW𝑤𝑊w\in Witalic_w ∈ italic_W to the upper set {vW|w𝑅v}|𝑣𝑊𝑅𝑤𝑣\mathchoice{\mathopen{}{\{}\hbox{$\displaystyle v\in W$}\mathrel{{|}}\hbox{$% \displaystyle w\mathbin{R}v$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \textstyle v\in W$}\mathrel{{|}}\hbox{$\textstyle w\mathbin{R}v$}\mathclose{}{% \}}}{\mathopen{}{\{}\hbox{$\scriptstyle v\in W$}\mathrel{{|}}\hbox{$% \scriptstyle w\mathbin{R}v$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptscriptstyle v\in W$}\mathrel{{|}}\hbox{$\scriptscriptstyle w\mathbin{R}% v$}\mathclose{}{\}}}{ italic_v ∈ italic_W | italic_w italic_R italic_v } of worlds accessible from w𝑤witalic_w. Putting λR𝜆𝑅\lambda Ritalic_λ italic_R in (1) we obtain through Kan extension the diagram

W𝗈𝗉superscript𝑊𝗈𝗉W^{\mathsf{op}}italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT[W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ][W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ]\mathop{\uparrow}λR𝜆𝑅\lambda Ritalic_λ italic_RRsubscript𝑅\blacklozenge_{R}◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPTdoes-not-prove\dashvRsubscript𝑅\Box_{R}□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT (5)

where we write Rsubscript𝑅\blacklozenge_{R}◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT for λR!𝜆subscript𝑅\lambda R_{{!}}italic_λ italic_R start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT and Rsubscript𝑅\Box_{R}□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT for λR𝜆superscript𝑅{\lambda R}^{{\star}}italic_λ italic_R start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT. It can be shown that these maps are given by

R(S)subscript𝑅𝑆\displaystyle\blacklozenge_{R}(S)◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ( italic_S ) =def{wW|v.v𝑅w and vS}superscriptdefabsent|𝑤𝑊formulae-sequence𝑣𝑅𝑣𝑤 and 𝑣𝑆\displaystyle\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{}{\{}\hbox{$\displaystyle w\in W$}\mathrel{{|}}\hbox{$% \displaystyle\exists v.\ v\mathbin{R}w\text{ and }v\in S$}\mathclose{}{\}}}{% \mathopen{}{\{}\hbox{$\textstyle w\in W$}\mathrel{{|}}\hbox{$\textstyle\exists v% .\ v\mathbin{R}w\text{ and }v\in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptstyle w\in W$}\mathrel{{|}}\hbox{$\scriptstyle\exists v.\ v\mathbin{R}w% \text{ and }v\in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$\scriptscriptstyle w% \in W$}\mathrel{{|}}\hbox{$\scriptscriptstyle\exists v.\ v\mathbin{R}w\text{ % and }v\in S$}\mathclose{}{\}}}start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { italic_w ∈ italic_W | ∃ italic_v . italic_v italic_R italic_w and italic_v ∈ italic_S }
R(S)subscript𝑅𝑆\displaystyle\Box_{R}(S)□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ( italic_S ) =def{wW|v.w𝑅v implies vS}superscriptdefabsent|𝑤𝑊formulae-sequencefor-all𝑣𝑅𝑤𝑣 implies 𝑣𝑆\displaystyle\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{}{\{}\hbox{$\displaystyle w\in W$}\mathrel{{|}}\hbox{$% \displaystyle\forall v.\ w\mathbin{R}v\text{ implies }v\in S$}\mathclose{}{\}}% }{\mathopen{}{\{}\hbox{$\textstyle w\in W$}\mathrel{{|}}\hbox{$\textstyle% \forall v.\ w\mathbin{R}v\text{ implies }v\in S$}\mathclose{}{\}}}{\mathopen{}% {\{}\hbox{$\scriptstyle w\in W$}\mathrel{{|}}\hbox{$\scriptstyle\forall v.\ w% \mathbin{R}v\text{ implies }v\in S$}\mathclose{}{\}}}{\mathopen{}{\{}\hbox{$% \scriptscriptstyle w\in W$}\mathrel{{|}}\hbox{$\scriptscriptstyle\forall v.\ w% \mathbin{R}v\text{ implies }v\in S$}\mathclose{}{\}}}start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { italic_w ∈ italic_W | ∀ italic_v . italic_w italic_R italic_v implies italic_v ∈ italic_S }

Thus, any bimodule R𝑅Ritalic_R defines an adjunction RRdoes-not-provesubscript𝑅subscript𝑅\blacklozenge_{R}\dashv\Box_{R}◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⊣ □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT on [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ]. Correspondingly, any adjunction does-not-prove\blacklozenge\dashv\Box◆ ⊣ □ on [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] yields a monotonic map ():W𝗈𝗉[W,𝟚]:superscript𝑊𝗈𝗉delimited-[]𝑊2\blacklozenge\circ\mathop{\uparrow}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle-$}\mathclose{% }{)}}{\mathopen{}{(}\hbox{$\scriptstyle-$}\mathclose{}{)}}{\mathopen{}{(}\hbox% {$\scriptscriptstyle-$}\mathclose{}{)}}:W^{\mathsf{op}}\to\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{% [}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}◆ ∘ ↑ ( - ) : italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT → [ italic_W , blackboard_2 ], which uniquely corresponds to a bimodule W𝗈𝗉×W𝟚superscript𝑊𝗈𝗉𝑊2W^{\mathsf{op}}\times W\to\mathbb{2}italic_W start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT × italic_W → blackboard_2 by the cartesian closure of Pos.

Thus, starting from a bimodule, i.e. a relation that is compatible with the information order, we have canonically obtained a model of intuitionistic modal logic on [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] through Kan extension: [W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ] is a complete Heyting algebra, and we define φ=Rφ\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\blacklozenge\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\blacklozenge\varphi$}\mathclose{}{% \rrbracket}}=\blacklozenge_{R}\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}⟦ ◆ italic_φ ⟧ = ◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⟦ italic_φ ⟧ and φ=Rφ\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\Box\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\Box\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\Box% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\Box\varphi$}\mathclose{}{\rrbracket}}=\Box_{R}\mathchoice{% \mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{% \rrbracket}}⟦ □ italic_φ ⟧ = □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⟦ italic_φ ⟧. We immediately obtain a modal analogue to Theorem 2.1:

Theorem 3.2.

For any modal formula φ𝜑\varphiitalic_φ, wφ𝑤𝜑w\vDash\varphiitalic_w ⊨ italic_φ if and only if wφw\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}italic_w ∈ ⟦ italic_φ ⟧.

3.1 Morphisms

We define a category Bimod with bimodules R:W1-↦→W2:𝑅-↦→subscript𝑊1subscript𝑊2R:W_{1}\relbar\joinrel\mapstochar\joinrel\rightarrow W_{2}italic_R : italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT -↦→ italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT as objects. A bimodule morphism from R:W1-↦→W2:𝑅-↦→subscript𝑊1subscript𝑊2R:W_{1}\relbar\joinrel\mapstochar\joinrel\rightarrow W_{2}italic_R : italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT -↦→ italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT to R:W1-↦→W2:superscript𝑅-↦→subscriptsuperscript𝑊1subscriptsuperscript𝑊2R^{\prime}:W^{\prime}_{1}\relbar\joinrel\mapstochar\joinrel\rightarrow W^{% \prime}_{2}italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT : italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT -↦→ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT is a pair (f,g)𝑓𝑔(f,g)( italic_f , italic_g ) of monotonic maps f:W1W1:𝑓subscript𝑊1subscriptsuperscript𝑊1f:W_{1}\to W^{\prime}_{1}italic_f : italic_W start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and g:W2W2:𝑔subscript𝑊2subscriptsuperscript𝑊2g:W_{2}\to W^{\prime}_{2}italic_g : italic_W start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT such that R(w,v)R(f(w),g(v))square-image-of-or-equals𝑅𝑤𝑣superscript𝑅𝑓𝑤𝑔𝑣R(w,v)\sqsubseteq R^{\prime}(f(w),g(v))italic_R ( italic_w , italic_v ) ⊑ italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ( italic_f ( italic_w ) , italic_g ( italic_v ) ). Stated in terms of relations, it must be that w𝑅v𝑅𝑤𝑣w\mathbin{R}vitalic_w italic_R italic_v implies f(w)Rg(v)superscript𝑅𝑓𝑤𝑔𝑣f(w)\mathbin{R^{\prime}}g(v)italic_f ( italic_w ) start_BINOP italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_BINOP italic_g ( italic_v ).

We define the subcategory EBimod to consist of (endo)bimodules R:W-↦→W:𝑅-↦→𝑊𝑊R:W\relbar\joinrel\mapstochar\joinrel\rightarrow Witalic_R : italic_W -↦→ italic_W and pairs of maps (f,f)𝑓𝑓(f,f)( italic_f , italic_f ). Thus, objects are bimodules on a single poset W𝑊Witalic_W, and morphisms are monotonic maps f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT that preserve the relation, i.e. w𝑅v𝑅𝑤𝑣w\mathbin{R}vitalic_w italic_R italic_v implies f(w)𝑅f(v)𝑅𝑓𝑤𝑓𝑣f(w)\mathbin{R}f(v)italic_f ( italic_w ) italic_R italic_f ( italic_v ). In other words, the objects of EBimod are modal Kripke frames, and the morphisms are monotonic, relation-preserving maps.

Recall the adjunctions and modalities induced by a monotonic f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT:

[W,𝟚]delimited-[]𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W,\mathbb{2}$}\mathclose{}{]}}{% \mathopen{}{[}\hbox{$\textstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle W,\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle W,\mathbb{2}$}\mathclose{}{]}}[ italic_W , blackboard_2 ][W,𝟚]delimited-[]superscript𝑊2\mathchoice{\mathopen{}{[}\hbox{$\displaystyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle W^{\prime},\mathbb{2}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle W^{\prime},\mathbb{2}% $}\mathclose{}{]}}[ italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , blackboard_2 ]fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPTfsubscript𝑓f_{{*}}italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPTf!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT

does-not-prove\dashv

does-not-prove\dashv

Rsubscript𝑅\Box_{R}□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPTRsubscriptsuperscript𝑅\Box_{R^{\prime}}□ start_POSTSUBSCRIPT italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT
(6)
Lemma 3.3.

f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is a morphism of bimodules f:RR:𝑓𝑅superscript𝑅f:R\to R^{\prime}italic_f : italic_R → italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT iff fRRfsuperscript𝑓subscriptsuperscript𝑅subscript𝑅superscript𝑓f^{*}\Box_{R^{\prime}}\subseteq\Box_{R}f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ start_POSTSUBSCRIPT italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⊆ □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.

This constitutes a duality

EBimod𝗈𝗉PrAlgLattOsimilar-to-or-equalssuperscriptEBimod𝗈𝗉PrAlgLattO\textbf{EBimod}^{\mathsf{op}}\simeq\textbf{PrAlgLattO}EBimod start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ≃ PrAlgLattO (7)

where PrAlgLattO is the category with objects (L,L)𝐿subscript𝐿(L,\Box_{L})( italic_L , □ start_POSTSUBSCRIPT italic_L end_POSTSUBSCRIPT ), where L𝐿Litalic_L is a prime algebraic lattice and L:LL:subscript𝐿𝐿𝐿\Box_{L}:L\to L□ start_POSTSUBSCRIPT italic_L end_POSTSUBSCRIPT : italic_L → italic_L is an operator that preserves all meets. By the adjoint functor theorem, such operators always have a left adjoint L:LL:subscript𝐿𝐿𝐿\blacklozenge_{L}:L\to L◆ start_POSTSUBSCRIPT italic_L end_POSTSUBSCRIPT : italic_L → italic_L. Thus, this category contains algebraic models of intuitionistic modal logic (but not all of them). By the preceding section each such adjunction corresponds uniquely to a bimodule. The morphisms of PrAlgLattO are complete lattice homomorphisms h:LL:𝐿superscript𝐿h:L\to L^{\prime}italic_h : italic_L → italic_L start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT such that hLLhsquare-image-of-or-equalssubscript𝐿subscriptsuperscript𝐿h\Box_{L}\sqsubseteq\Box_{L^{\prime}}hitalic_h □ start_POSTSUBSCRIPT italic_L end_POSTSUBSCRIPT ⊑ □ start_POSTSUBSCRIPT italic_L start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_h. By the preceding lemma they correspond precisely to morphisms of bimodules.

However, as with monotone maps, morphisms of bimodules do not preserve local truth; for that we need a notion of modally open maps.

Definition 3.4.

Let (W,,R)𝑊square-image-of-or-equals𝑅(W,\sqsubseteq,R)( italic_W , ⊑ , italic_R ) and (W,,R)superscript𝑊square-image-of-or-equalssuperscript𝑅(W^{\prime},\sqsubseteq,R^{\prime})( italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , ⊑ , italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) be modal Kripke frames. A bimodule morphism f:RR:𝑓𝑅superscript𝑅f:R\to R^{\prime}italic_f : italic_R → italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is modally open just if whenever f(w)Rvsuperscript𝑅𝑓𝑤𝑣f(w)\mathbin{R^{\prime}}vitalic_f ( italic_w ) start_BINOP italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_BINOP italic_v then there exists a wWsuperscript𝑤𝑊w^{\prime}\in Witalic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ italic_W with w𝑅w𝑅𝑤superscript𝑤w\mathbin{R}w^{\prime}italic_w italic_R italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT and f(w)vsquare-image-of-or-equals𝑓superscript𝑤𝑣f(w^{\prime})\sqsubseteq vitalic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ⊑ italic_v.

This is similar to Definition 2.3, but ever so slightly weaker: instead of requiring f(w)=v𝑓superscript𝑤superscript𝑣f(w^{\prime})=v^{\prime}italic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) = italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, it requires that the information in f(w)𝑓superscript𝑤f(w^{\prime})italic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) can be increased to vsuperscript𝑣v^{\prime}italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. Like Definition 2.3, it can also be written homotopy-theoretically, but that requires some ideas from double categories that are beyond the scope of this paper. We have the analogous result about preservation of truth:

Lemma 3.5.

Let 𝔐=(W,,R,V)𝔐𝑊square-image-of-or-equals𝑅𝑉\mathfrak{M}=(W,\sqsubseteq,R,V)fraktur_M = ( italic_W , ⊑ , italic_R , italic_V ) and 𝔑=(W,,R,V)𝔑superscript𝑊square-image-of-or-equalssuperscript𝑅superscript𝑉\mathfrak{N}=(W^{\prime},\sqsubseteq,R^{\prime},V^{\prime})fraktur_N = ( italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , ⊑ , italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_V start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) be modal Kripke models, f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT be open and modally open, and V=f1V𝑉superscript𝑓1superscript𝑉V=f^{-1}\circ V^{\prime}italic_V = italic_f start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ∘ italic_V start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. Then 𝔐,wφ𝔐𝑤𝜑\mathfrak{M},w\vDash\varphifraktur_M , italic_w ⊨ italic_φ iff 𝔑,f(w)φ𝔑𝑓𝑤𝜑\mathfrak{N},f(w)\vDash\varphifraktur_N , italic_f ( italic_w ) ⊨ italic_φ.

Lemma 3.6.

Let f:WW:𝑓𝑊superscript𝑊f:W\to W^{\prime}italic_f : italic_W → italic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT be open, modally open, and surjective. If Wφ𝑊𝜑W\vDash\varphiitalic_W ⊨ italic_φ then Wφsuperscript𝑊𝜑W^{\prime}\vDash\varphiitalic_W start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⊨ italic_φ.

The following result relates the modal openness of f𝑓fitalic_f to fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.

Lemma 3.7.

f:RR:𝑓𝑅superscript𝑅f:R\to R^{\prime}italic_f : italic_R → italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is modally open iff Rf=fRsubscript𝑅superscript𝑓superscript𝑓subscriptsuperscript𝑅\Box_{R}f^{*}=f^{*}\Box_{R^{\prime}}□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ start_POSTSUBSCRIPT italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT iff f!R=Rf!subscript𝑓subscript𝑅subscriptsuperscript𝑅subscript𝑓f_{{!}}\blacklozenge_{R}=\blacklozenge_{R^{\prime}}f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT = ◆ start_POSTSUBSCRIPT italic_R start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT.

Thus, the duality (7) may be restricted to dualities between wide subcategories:

EBimodmooopPrAlgLattOosimilar-to-or-equalssubscriptsuperscriptEBimodopmoosubscriptPrAlgLattOabsent𝑜\displaystyle\textbf{EBimod}^{\text{op}}_{\text{moo}}\simeq\textbf{PrAlgLattO}% _{\Rightarrow{}o}EBimod start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT moo end_POSTSUBSCRIPT ≃ PrAlgLattO start_POSTSUBSCRIPT ⇒ italic_o end_POSTSUBSCRIPT EBimodmoo, surjopPrAlgLattOo,injsimilar-to-or-equalssubscriptsuperscriptEBimodopmoo, surjsubscriptPrAlgLattOabsent𝑜inj\displaystyle\textbf{EBimod}^{\text{op}}_{\text{moo, surj}}\simeq\textbf{% PrAlgLattO}_{\Rightarrow{}o,\text{inj}}EBimod start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT moo, surj end_POSTSUBSCRIPT ≃ PrAlgLattO start_POSTSUBSCRIPT ⇒ italic_o , inj end_POSTSUBSCRIPT (8)

The morphisms to the left of similar-to-or-equals\simeq are open and modally open (resp. and surjective); and the to the right of it preserve exponentials and commute with operators (resp. and are injective).

Let us consider the restriction of this duality to the classical setting—as a sanity check. A bimodule on a discrete poset is just a relation on a set. The corresponding restriction on the right is to CABAs with operators, and complete homomorphisms which commute with operators. We thus obtain the Thomason duality MFrmopenopCABAOsimilar-to-or-equalssubscriptsuperscriptMFrmopopenCABAO\textbf{MFrm}^{\text{op}}_{\text{open}}\simeq\textbf{CABAO}MFrm start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT open end_POSTSUBSCRIPT ≃ CABAO between Kripke frames and modally open maps on the left, and CABAs with operators to the right [96, 67].

3.2 Related work

Many works have presented a Kripke semantics for intuitionistic modal logic. All such semantics assume two accessibility relations: a preorder for the intuitionistic dimension, and a second relation for the modal dimension. What varies is their compatibility conditions.

The first work to present such a semantics appears to be that of Fischer Servi [38]. One of the required compatibility conditions is ()RR()square-image-of-or-equals𝑅𝑅square-image-of-or-equals(\sqsubseteq)\circ R\subseteq R\circ(\sqsubseteq)( ⊑ ) ∘ italic_R ⊆ italic_R ∘ ( ⊑ ). This is weaker than having a bimodule, but sufficient to prove soundness.

The first work to recognise the importance of bimodules was Sotirov’s 1979 thesis. His results are summarised in a conference abstract [94, §4]: they include the completeness of a minimal intuitionistic modal logic with a \Box, the K axiom, and the necessitation rule. Božić and Došen [19] repeat the study for the same logic, but for a semantics based on the Fischer Servi compatibility conditions. However, they note that their completeness proof actually constructs half a bimodule (a ‘condensed’ relation). They also point out that bimodules, which they call ‘strictly condensed’ relations, are sound and complete for their logic. Wolter and Zakharyaschev [101, §2] argue that bimodule and Fischer Servi semantics are equi-expressive.

Plotkin and Stirling [85] attempt to systematise the Kripke semantics of intuitionistic modal logic. Their frame conditions allow ‘transporting a modal relation upwards’ along any potential increases of information on either side. This paper and all its descendants—notably the thesis of Simpson [92, §3.3]—adopt a different satisfaction clause for \Box which uses both square-image-of-or-equals\sqsubseteq and R𝑅Ritalic_R. In the presence of the bimodule conditions this satisfaction clause is equivalent to the classical one, which I use here.

The bimodule condition and the complex algebra construction (or fragments thereof) have made scattered appearances in the literature: in the early work of Sotirov [94] and Božić and Došen [19]; in the work of Wolter and Zakharyaschev [102, 101, 103], Hasimoto [54, §4], and Orłowska and Rewitzky [83]; and of course in Dzik et al. [30, §7]. With the exception of the last one, none of these references discuss the \blacklozenge modality. Moreover, in none of these references are the categorical aspects of this construction discussed.

As mentioned before, dualities between frames and algebras have played a significant role in modal logic. Thomason [96] and Goldblatt [45] also considered morphisms of frames, respectively obtaining Thomason duality and (categorical) Jónsson-Tarski duality between descriptive frames and Boolean Algebras with Operators (BAOs) [46, §6.5]. Kishida [67] surveys a number of dualities for classical modal logic.

The duality (7) is stated by Gehrke [40, Thm. 2.5] who attributes it to Jónnson [64], even though no such theorem appears in that paper.

The dualities of (8) are the direct intuitionistic analogues to that of Thomason. I have not been able to find them anywhere in the literature.

According to the extensive survey of Menni and Smith [78], the idea that the commonly-used modalities \Box and \lozenge are often part of adjunctions does-not-prove\blacklozenge\dashv\Box◆ ⊣ □ and does-not-prove\lozenge\dashv\blacksquare◆ ⊣ ■ is implicitly present throughout the development of modal logic. However, these were not made explicit in a logic until the 2010s, when they appeared in the work of Dzik et al. [30] and Sadrzadeh and Dyckhoff [89]. The same perspective plays a central rôle in the exposition of Kishida [67].

The \blacklozenge modality has appeared before in tense logics as a ‘past’ modality [33, 47].

4 Intuitionistic Logic II

In the rest of this paper we will categorify [7] the notion of Kripke semantics. The main idea is to replace posets by categories, so that the order wvsquare-image-of-or-equals𝑤𝑣w\sqsubseteq vitalic_w ⊑ italic_v is replaced by a morphism wv𝑤𝑣w\to vitalic_w → italic_v. As there might be multiple morphisms wv𝑤𝑣w\to vitalic_w → italic_v, this allows the recording of not just the fact v𝑣vitalic_v may signify more information than w𝑤witalic_w, but also the manner in which it does so. The reflexivity and transitivity of the poset are then replaced by the identity and composition laws of the category. This adds a dimension of proof-relevance to Kripke semantics.

A corresponding change in our algebraic viewpoint will be that of replacing the set 𝟚2\mathbb{2}blackboard_2 of truth values with the category 𝐒𝐞𝐭𝐒𝐞𝐭\mathbf{Set}bold_Set. This is a classic Lawverean move [73]. Notice that this is lopsided, as is usual in intuitionistic logic: while the falsity 00 is only represented by one value, viz. the empty set, the truth 1111 can be represented by any non-empty set X𝑋Xitalic_X. The elements of X𝑋Xitalic_X can be thought of as a proofs of a true statement.

Let us then trade the frame (W,)𝑊square-image-of-or-equals(W,\sqsubseteq)( italic_W , ⊑ ) for an arbitrary category 𝒞𝒞\mathcal{C}caligraphic_C. It remains to define what it means to have a proof that the formula φ𝜑\varphiitalic_φ holds at a world w𝒞𝑤𝒞w\in\mathcal{C}italic_w ∈ caligraphic_C. We denote the set of all such proofs by φw\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{w}⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT. Assuming we are given a set pw\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle p$}\mathclose{}{% \rrbracket}}_{w}⟦ italic_p ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT for each proposition p𝑝pitalic_p and world w𝑤witalic_w, here is a first attempt:

w=defw=def{}φψw=defφw×ψwφψw=defφw+ψw\displaystyle\begin{aligned} \mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\bot$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\bot$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\bot$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\bot$}\mathclose{}{\rrbracket}}_{w}&\stackrel{{\scriptstyle% \mathclap{\mbox{\tiny def}}}}{{=}}\emptyset&\mathchoice{\mathopen{}{\llbracket% }\hbox{$\displaystyle\top$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\top$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{% $\scriptstyle\top$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\top$}\mathclose{}{\rrbracket}}_{w}&\stackrel{{\scriptstyle% \mathclap{\mbox{\tiny def}}}}{{=}}\{\ast\}&\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi\land\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi\land\psi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi\land\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi\land\psi$% }\mathclose{}{\rrbracket}}_{w}&\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def% }}}}{{=}}\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}_{w}\times\mathchoice{\mathopen{}{\llbracket% }\hbox{$\displaystyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{% $\scriptstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\psi$}\mathclose{}{\rrbracket}}_{w}&\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi\lor\psi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\textstyle\varphi\lor\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi\lor\psi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi\lor\psi$}\mathclose{}{\rrbracket}}_{w}&\stackrel{{\scriptstyle% \mathclap{\mbox{\tiny def}}}}{{=}}\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}_{w}+\mathchoice{\mathopen% {}{\llbracket}\hbox{$\displaystyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\psi$}\mathclose{}{\rrbracket}}_{w}\end{aligned}start_ROW start_CELL ⟦ ⊥ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ∅ end_CELL start_CELL ⟦ ⊤ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP { ∗ } end_CELL start_CELL ⟦ italic_φ ∧ italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT × ⟦ italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL start_CELL ⟦ italic_φ ∨ italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT + ⟦ italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT end_CELL end_ROW
φψw=def(v:𝒞)Hom𝒞(w,v)φvψv\displaystyle\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi\to% \psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \varphi\to\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi\to\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi\to\psi$}\mathclose{}{\rrbracket}}_{w}% \stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}\mathchoice{\mathopen% {}{(}\hbox{$\displaystyle v:\mathcal{C}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{% $\textstyle v:\mathcal{C}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle v% :\mathcal{C}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle v:% \mathcal{C}$}\mathclose{}{)}}\to\mathrm{Hom}_{\mathcal{C}}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle w,v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \textstyle w,v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w,v$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w,v$}\mathclose{}{)}}% \to\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{% }{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{v}\to\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\psi$}\mathclose{}{\rrbracket}}_{v}⟦ italic_φ → italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ( italic_v : caligraphic_C ) → roman_Hom start_POSTSUBSCRIPT caligraphic_C end_POSTSUBSCRIPT ( italic_w , italic_v ) → ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT → ⟦ italic_ψ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT

where for a family of sets (Ba)aAsubscriptsubscript𝐵𝑎𝑎𝐴\mathchoice{\mathopen{}{(}\hbox{$\displaystyle B_{a}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle B_{a}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle B_{a}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle B% _{a}$}\mathclose{}{)}}_{a\in A}( italic_B start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_a ∈ italic_A end_POSTSUBSCRIPT we let

(a:A)Ba=defmissing{f:AaABa|aA.f(a)Bamissing}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle a:A$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\textstyle a:A$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle a% :A$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle a:A$}\mathclose{}% {)}}\to B_{a}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{{\mathchoice{\bigg{missing}}{\bigg{missing}}{\big{% missing}}{missing}}}{\{}\hbox{$\displaystyle f:A\to\bigcup_{a\in A}B_{a}$}% \mathrel{{\mathchoice{\bigg{|}}{\bigg{|}}{\big{|}}{|}}}\hbox{$\displaystyle% \forall a\in A.f(a)\in B_{a}$}\mathclose{{\mathchoice{\bigg{missing}}{\bigg{% missing}}{\big{missing}}{missing}}}{\}}}{\mathopen{{\mathchoice{\bigg{missing}% }{\bigg{missing}}{\big{missing}}{missing}}}{\{}\hbox{$\textstyle f:A\to\bigcup% _{a\in A}B_{a}$}\mathrel{{\mathchoice{\bigg{|}}{\bigg{|}}{\big{|}}{|}}}\hbox{$% \textstyle\forall a\in A.f(a)\in B_{a}$}\mathclose{{\mathchoice{\bigg{missing}% }{\bigg{missing}}{\big{missing}}{missing}}}{\}}}{\mathopen{{\mathchoice{\bigg{% missing}}{\bigg{missing}}{\big{missing}}{missing}}}{\{}\hbox{$\scriptstyle f:A% \to\bigcup_{a\in A}B_{a}$}\mathrel{{\mathchoice{\bigg{|}}{\bigg{|}}{\big{|}}{|% }}}\hbox{$\scriptstyle\forall a\in A.f(a)\in B_{a}$}\mathclose{{\mathchoice{% \bigg{missing}}{\bigg{missing}}{\big{missing}}{missing}}}{\}}}{\mathopen{{% \mathchoice{\bigg{missing}}{\bigg{missing}}{\big{missing}}{missing}}}{\{}\hbox% {$\scriptscriptstyle f:A\to\bigcup_{a\in A}B_{a}$}\mathrel{{\mathchoice{\bigg{% |}}{\bigg{|}}{\big{|}}{|}}}\hbox{$\scriptscriptstyle\forall a\in A.f(a)\in B_{% a}$}\mathclose{{\mathchoice{\bigg{missing}}{\bigg{missing}}{\big{missing}}{% missing}}}{\}}}( italic_a : italic_A ) → italic_B start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP roman_missing { italic_f : italic_A → ⋃ start_POSTSUBSCRIPT italic_a ∈ italic_A end_POSTSUBSCRIPT italic_B start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT | ∀ italic_a ∈ italic_A . italic_f ( italic_a ) ∈ italic_B start_POSTSUBSCRIPT italic_a end_POSTSUBSCRIPT roman_missing }

This closely follows the usual Kripke semantics, but adds proofs. For example, a proof in φ1φ2w\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi_{1}\land\varphi% _{2}$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \varphi_{1}\land\varphi_{2}$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi_{1}\land\varphi_{2}$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi_{1}\land\varphi_{2}$}% \mathclose{}{\rrbracket}}_{w}⟦ italic_φ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ italic_φ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT is a pair (x,y)𝑥𝑦(x,y)( italic_x , italic_y ) of a proof xφ1wx\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi_{1}$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi_{1}$% }\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi_{% 1}$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi_{1}$}\mathclose{}{\rrbracket}}_{w}italic_x ∈ ⟦ italic_φ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT and a proof yφ2wy\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi_{2}$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi_{2}$% }\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi_{% 2}$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi_{2}$}\mathclose{}{\rrbracket}}_{w}italic_y ∈ ⟦ italic_φ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT. Similarly, a proof FφψwF\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi\to\psi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi\to% \psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle% \varphi\to\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi\to\psi$}\mathclose{}{\rrbracket}}_{w}italic_F ∈ ⟦ italic_φ → italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT is a function which maps a proof of ‘increase in information’ f:wv:𝑓𝑤𝑣f:w\to vitalic_f : italic_w → italic_v to a function F(v)(f):φvψvF(v)(f):\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}_{v}\to\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{% $\scriptstyle\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\psi$}\mathclose{}{\rrbracket}}_{v}italic_F ( italic_v ) ( italic_f ) : ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT → ⟦ italic_ψ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT. In turn, this function maps proofs in φv\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{v}⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT to proofs in ψv\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\psi$}\mathclose{% }{\rrbracket}}_{v}⟦ italic_ψ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT.

To show that this definition is monotonic we have to demonstrate it on proofs: given a proof xφwx\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{w}italic_x ∈ ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT and a morphism f:wv:𝑓𝑤𝑣f:w\to vitalic_f : italic_w → italic_v we have to define a proof fxφvf\cdot x\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}_{v}italic_f ⋅ italic_x ∈ ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT. Assuming that we are given this operation for propositions, we can extend it by induction; e.g.

f(x,y)=def(fx,fy)φψvfF=def(z:𝒞)(g:Hom𝒞(v,z))(x:φz)F(z)(gf)(x)φψv\begin{array}[]{lllll}f\cdot(x,y)&\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def% }}}}{{=}}&(f\cdot x,f\cdot y)&\in\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi\land\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi\land\psi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi\land\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi\land\psi$% }\mathclose{}{\rrbracket}}_{v}\\ f\cdot F&\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}&(z:\mathcal% {C})\mapsto(g:\mathrm{Hom}_{\mathcal{C}}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle v,z$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle v,z$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle v,z$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle v,z$}\mathclose{}{)}})\mapsto(x:% \mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{z})\mapsto F(z)(g\circ f)(x)&\in\mathchoice{% \mathopen{}{\llbracket}\hbox{$\displaystyle\varphi\to\psi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi\to\psi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi\to% \psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi\to\psi$}\mathclose{}{\rrbracket}}_{v}\end{array}start_ARRAY start_ROW start_CELL italic_f ⋅ ( italic_x , italic_y ) end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP end_CELL start_CELL ( italic_f ⋅ italic_x , italic_f ⋅ italic_y ) end_CELL start_CELL ∈ ⟦ italic_φ ∧ italic_ψ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_f ⋅ italic_F end_CELL start_CELL start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP end_CELL start_CELL ( italic_z : caligraphic_C ) ↦ ( italic_g : roman_Hom start_POSTSUBSCRIPT caligraphic_C end_POSTSUBSCRIPT ( italic_v , italic_z ) ) ↦ ( italic_x : ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT ) ↦ italic_F ( italic_z ) ( italic_g ∘ italic_f ) ( italic_x ) end_CELL start_CELL ∈ ⟦ italic_φ → italic_ψ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT end_CELL start_CELL end_CELL end_ROW end_ARRAY

Moreover, this definition is compatible with 𝒞𝒞\mathcal{C}caligraphic_C, in the sense that g(fx)=(gf)x𝑔𝑓𝑥𝑔𝑓𝑥g\cdot(f\cdot x)=(g\circ f)\cdot xitalic_g ⋅ ( italic_f ⋅ italic_x ) = ( italic_g ∘ italic_f ) ⋅ italic_x and idwx=xsubscriptid𝑤𝑥𝑥\textsf{id}_{w}\cdot x=xid start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT ⋅ italic_x = italic_x. We thus obtain a (covariant) presheaf φ:𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}:\mathcal{C}\longrightarrow\mathbf{Set}⟦ italic_φ ⟧ : caligraphic_C ⟶ bold_Set for each formula φ𝜑\varphiitalic_φ.

It is well-known that the proofs of intuitionistic logic form a bicartesian closed category (biCCC), i.e. a category with finite (co)products and exponentials [71]. A biCCC can be seen as a categorification of a Heyting algebra: formulae are objects of the category, and proofs are morphisms. We will not expound on this further; see [72, 26, 4].

It should therefore be the case that the semantics described above form a biCCC. Indeed, it is a well-known fact of topos theory that the category of presheaves [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] is a biCCC. In fact, the construction of exponentials [76, §I.6] reveals that our definition above is deficient: we should restrict φψw\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi\to\psi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi\to% \psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle% \varphi\to\psi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi\to\psi$}\mathclose{}{\rrbracket}}_{w}⟦ italic_φ → italic_ψ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT to contain only those functions F𝐹Fitalic_F that satisfy a naturality condition, i.e. those which for any f:wv1:𝑓𝑤subscript𝑣1f:w\to v_{1}italic_f : italic_w → italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, g:v1v2:𝑔subscript𝑣1subscript𝑣2g:v_{1}\to v_{2}italic_g : italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT → italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT, and xφv1x\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{v_{1}}italic_x ∈ ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT satisfy

gF(v1)(f)(x)=F(v2)(gf)(gx)𝑔𝐹subscript𝑣1𝑓𝑥𝐹subscript𝑣2𝑔𝑓𝑔𝑥g\cdot F(v_{1})(f)(x)=F(v_{2})(g\circ f)(g\cdot x)italic_g ⋅ italic_F ( italic_v start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ( italic_f ) ( italic_x ) = italic_F ( italic_v start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) ( italic_g ∘ italic_f ) ( italic_g ⋅ italic_x )

From this point onwards I will identify two-dimensional Kripke semantics with categorical semantics in a category of presheaves [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ].

4.1 Presheaf categories

The category [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] of covariant presheaves is eerily similar to prime algebraic lattices. In a sense they are just the same; but, having traded 𝟚2\mathbb{2}blackboard_2 for 𝐒𝐞𝐭𝐒𝐞𝐭\mathbf{Set}bold_Set, they have become proof-relevant.

First, letting P[𝒞,𝐒𝐞𝐭]𝑃delimited-[]𝒞𝐒𝐞𝐭P\in\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}italic_P ∈ [ caligraphic_C , bold_Set ], an element xP(w)𝑥𝑃𝑤x\in P(w)italic_x ∈ italic_P ( italic_w ) is a proof that P𝑃Pitalic_P holds at a ‘world’ w𝒞𝑤𝒞w\in\mathcal{C}italic_w ∈ caligraphic_C. A morphism f:wv:𝑓𝑤𝑣f:w\to vitalic_f : italic_w → italic_v of 𝒞𝒞\mathcal{C}caligraphic_C then leads to a proof fx=defP(f)(x)P(v)superscriptdef𝑓𝑥𝑃𝑓𝑥𝑃𝑣f\cdot x\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}P(f)(x)\in P(v)italic_f ⋅ italic_x start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP italic_P ( italic_f ) ( italic_x ) ∈ italic_P ( italic_v ) that P𝑃Pitalic_P holds at v𝑣vitalic_v. Thus, the presheaf P𝑃Pitalic_P is very much like an upper set.

Second, the representable presheaves 𝐲(w)=defHom𝒞(w,):𝒞𝐒𝐞𝐭:superscriptdef𝐲𝑤subscriptHom𝒞𝑤𝒞𝐒𝐞𝐭\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}% \mathclose{}{)}}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathrm{Hom}_{\mathcal{C}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w,-$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w,-$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptstyle w,-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle w,-$}\mathclose{}{)}}:\mathcal{C}\to\mathbf{Set}bold_y ( italic_w ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP roman_Hom start_POSTSUBSCRIPT caligraphic_C end_POSTSUBSCRIPT ( italic_w , - ) : caligraphic_C → bold_Set are the proof-relevant analogues of the principal upper set. By the Yoneda lemma they constitute an embedding

𝐲:𝒞𝗈𝗉[𝒞,𝐒𝐞𝐭]:𝐲superscript𝒞𝗈𝗉delimited-[]𝒞𝐒𝐞𝐭\mathbf{y}:\mathcal{C}^{\mathsf{op}}\longrightarrow\mathchoice{\mathopen{}{[}% \hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}bold_y : caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ⟶ [ caligraphic_C , bold_Set ]

which moreover preserves limits and exponentials [4].

Third, the category [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] is both complete and cocomplete, with limits and colimits computed pointwise [76, §I]. It is also ‘distributive’ in an appropriate sense [3, §3.3], which makes it into a Grothendieck topos. It is thus a cartesian closed category, with exponential

(PQ)(w)=defHom(P×𝐲(w),Q)superscriptdef𝑃𝑄𝑤Hom𝑃𝐲𝑤𝑄(P\Rightarrow Q)(w)\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle P\times\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}},Q% $}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle P\times\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}},Q% $}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle P\times\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}},Q% $}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle P\times\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}},Q% $}\mathclose{}{)}}( italic_P ⇒ italic_Q ) ( italic_w ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP roman_Hom ( italic_P × bold_y ( italic_w ) , italic_Q )

which is essentially the two-dimensional semantics of implication I gave above.

Fourth, the representables 𝐲(w)𝐲𝑤\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}% \mathclose{}{)}}bold_y ( italic_w ) are special, in that they are tiny [104].

Definition 4.1.

An object d𝒟𝑑𝒟d\in\mathcal{D}italic_d ∈ caligraphic_D is tiny just if Hom(d,):𝒟𝐒𝐞𝐭:Hom𝑑𝒟𝐒𝐞𝐭\mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle d,-$}\mathclose{}{)% }}{\mathopen{}{(}\hbox{$\textstyle d,-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle d,-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle d,-% $}\mathclose{}{)}}:\mathcal{D}\to\mathbf{Set}roman_Hom ( italic_d , - ) : caligraphic_D → bold_Set preserves colimits.444In the literature this property is often referred to as external tininess (cf. internal tininess).

Tininess is a proof-relevant version of primality: it implies that for any f:wlimivi:𝑓𝑤subscriptinjective-limit𝑖subscript𝑣𝑖f:w\to{\varinjlim}_{i}\,v_{i}italic_f : italic_w → start_LIMITOP under→ start_ARG roman_lim end_ARG end_LIMITOP start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT there exists an i𝑖iitalic_i such that f𝑓fitalic_f is equal to the composition of a morphism wvi𝑤subscript𝑣𝑖w\to v_{i}italic_w → italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT with the injection vilimivisubscript𝑣𝑖subscriptinjective-limit𝑖subscript𝑣𝑖v_{i}\to{\varinjlim}_{i}\,v_{i}italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT → start_LIMITOP under→ start_ARG roman_lim end_ARG end_LIMITOP start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. By the Yoneda lemma it follows that all representables 𝐲(w)𝐲𝑤\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}% \mathclose{}{)}}bold_y ( italic_w ) are tiny, as they satisfy the above definition for 𝒟=def[𝒞,𝐒𝐞𝐭]superscriptdef𝒟delimited-[]𝒞𝐒𝐞𝐭\mathcal{D}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}caligraphic_D start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP [ caligraphic_C , bold_Set ] and d=def𝐲(w)superscriptdef𝑑𝐲𝑤d\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}italic_d start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP bold_y ( italic_w ).

Fifth, the so-called co-Yoneda lemma [75, §III.7] shows that every P[𝒞,𝐒𝐞𝐭]𝑃delimited-[]𝒞𝐒𝐞𝐭P\in\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}italic_P ∈ [ caligraphic_C , bold_Set ] is a colimit of representables. This means that it can be reconstructed by sticking together tiny elements:

Plim(w,x)elP𝐲(w)𝑃subscriptinjective-limit𝑤𝑥el𝑃𝐲𝑤P\cong{\varinjlim}_{(w,x)\in\mathop{\textsf{el}}P}\,\mathbf{y}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}italic_P ≅ start_LIMITOP under→ start_ARG roman_lim end_ARG end_LIMITOP start_POSTSUBSCRIPT ( italic_w , italic_x ) ∈ el italic_P end_POSTSUBSCRIPT bold_y ( italic_w )

Like with prime algebraic lattices, there is a converse to this result: every category which is generated by sticking together tiny elements is in fact a presheaf category:

Theorem 4.2 (Bunge [20]).

A category which is cocomplete and strongly generated by a small set of tiny objects is equivalent to [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] for some small category 𝒞𝒞\mathcal{C}caligraphic_C.

A textbook presentation of this result can be found in the book by Kelly [66, §5.5].

Finally, the fact every element can be reconstructed as a colimit of representables means that it is possible to uniquely extend any functor f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D to a cocontinuous functor [𝒞𝗈𝗉,𝟚]𝒟delimited-[]superscript𝒞𝗈𝗉2𝒟\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},% \mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{% \mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle% \mathcal{C}^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbb{2}$}\mathclose{}{]}}% \longrightarrow\mathcal{D}[ caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , blackboard_2 ] ⟶ caligraphic_D, as long as 𝒟𝒟\mathcal{D}caligraphic_D is cocomplete. Diagrammatically, in the situation

𝒞𝒞\mathcal{C}caligraphic_C[𝒞𝗈𝗉,𝐒𝐞𝐭]delimited-[]superscript𝒞𝗈𝗉𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{% \mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle% \mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}[ caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , bold_Set ]𝒟𝒟\mathcal{D}caligraphic_D𝐲𝐲\mathbf{y}bold_yf𝑓fitalic_ff!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPTdoes-not-prove\dashvfsuperscript𝑓{f}^{{\star}}italic_f start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT (9)

there exists an essentially unique cocontinuous f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT with f!(𝐲(w))=f(w)subscript𝑓𝐲𝑤𝑓𝑤f_{{!}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle\mathbf{y}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\textstyle\mathbf{y}\mathchoice{\mathopen{}{(}% \hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptstyle\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle\mathbf{y}\mathchoice{\mathopen{}{(}% \hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose{}{)}}=% f(w)italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ( bold_y ( italic_w ) ) = italic_f ( italic_w ). It is given by

f!missing(lim(w,x)elP𝐲(w)missing)=deflim(w,x)elPf(w)f_{{!}}\mathchoice{\mathopen{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{% missing}}{missing}}}{(}\hbox{$\displaystyle{\varinjlim}_{(w,x)\in\mathop{% \textsf{el}}P}\,\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\scriptstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose{{\mathchoice{\Big{missing}}% {\Big{missing}}{\big{missing}}{missing}}}{)}}{\mathopen{{\mathchoice{\Big{% missing}}{\Big{missing}}{\big{missing}}{missing}}}{(}\hbox{$\textstyle{% \varinjlim}_{(w,x)\in\mathop{\textsf{el}}P}\,\mathbf{y}\mathchoice{\mathopen{}% {(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle w$% }\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}\mathclose{{% \mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing}}}{)}}{% \mathopen{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing}}}% {(}\hbox{$\scriptstyle{\varinjlim}_{(w,x)\in\mathop{\textsf{el}}P}\,\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle w$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}\mathclose{}{)}}$}% \mathclose{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing}}% }{)}}{\mathopen{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{% missing}}}{(}\hbox{$\scriptscriptstyle{\varinjlim}_{(w,x)\in\mathop{\textsf{el% }}P}\,\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle w$}\mathclose{}% {)}}{\mathopen{}{(}\hbox{$\textstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle w$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle w$}% \mathclose{}{)}}$}\mathclose{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{% missing}}{missing}}}{)}}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{% =}}{\varinjlim}_{(w,x)\in\mathop{\textsf{el}}P}\,f(w)italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT roman_missing ( start_LIMITOP under→ start_ARG roman_lim end_ARG end_LIMITOP start_POSTSUBSCRIPT ( italic_w , italic_x ) ∈ el italic_P end_POSTSUBSCRIPT bold_y ( italic_w ) roman_missing ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP start_LIMITOP under→ start_ARG roman_lim end_ARG end_LIMITOP start_POSTSUBSCRIPT ( italic_w , italic_x ) ∈ el italic_P end_POSTSUBSCRIPT italic_f ( italic_w )

f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT is called the left Kan extension of f𝑓fitalic_f along 𝐲𝐲\mathbf{y}bold_y. It has a right adjoint fsuperscript𝑓{f}^{{\star}}italic_f start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT which is explicitly given by f(d)=defHom(f(),d)superscriptdefsuperscript𝑓𝑑Hom𝑓𝑑{f}^{{\star}}(d)\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle f(-),d$}\mathclose{% }{)}}{\mathopen{}{(}\hbox{$\textstyle f(-),d$}\mathclose{}{)}}{\mathopen{}{(}% \hbox{$\scriptstyle f(-),d$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle f(-),d$}\mathclose{}{)}}italic_f start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT ( italic_d ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP roman_Hom ( italic_f ( - ) , italic_d ). This amounts to an isomorphism

Hom𝐂𝐚𝐭(𝒞,𝒟)HomCocont([𝒞𝗈𝗉,𝐒𝐞𝐭],𝒟)subscriptHom𝐂𝐚𝐭𝒞𝒟subscriptHomCocontdelimited-[]superscript𝒞𝗈𝗉𝐒𝐞𝐭𝒟\mathrm{Hom}_{\mathbf{Cat}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle% \mathcal{C},\mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle% \mathcal{C},\mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle% \mathcal{C},\mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle\mathcal{C},\mathcal{D}$}\mathclose{}{)}}\cong\mathrm{Hom}_{% \textbf{Cocont}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{\mathsf{op}},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C}^{% \mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}},% \mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{\mathsf{op}},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C}^{% \mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}},% \mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\mathchoice{% \mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{\mathsf{op}},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C}^{% \mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}},% \mathcal{D}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle% \mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C}^{\mathsf{op}},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C}^{% \mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle% \mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C}^{\mathsf{op}},\mathbf{Set}$}\mathclose{}{]}},% \mathcal{D}$}\mathclose{}{)}}roman_Hom start_POSTSUBSCRIPT bold_Cat end_POSTSUBSCRIPT ( caligraphic_C , caligraphic_D ) ≅ roman_Hom start_POSTSUBSCRIPT Cocont end_POSTSUBSCRIPT ( [ caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT , bold_Set ] , caligraphic_D )

where 𝐂𝐚𝐭𝐂𝐚𝐭\mathbf{Cat}bold_Cat is the category of categories, and Cocont is the category of cocomplete categories and cocontinuous functors: see [4, Prop. 9.16] [88, Cor. 6.2.6, Rem. 6.5.9] and [75, § X.3, Cor. 2] [66, Th. 4.51].

Table 1: Categorification of Kripke semantics
poset category
monotonic map functor
upper sets presheaves
principal upper set representable presheaf
prime element tiny object
prime algebraic lattice presheaf category
bimodule profunctor

All in all, presheaf categories are the categorification of prime algebraic lattices.

4.2 Cauchy-complete and spacelike categories

Replacing posets with categories does not come for free: the extra dimension of morphisms leads to situations that have no analogues in poset. Some of these are problematic when thinking of 𝒞𝒞\mathcal{C}caligraphic_C as a two-dimensional Kripke frame. Perhaps the most bizarre is the presence of idempotents, i.e. morphisms e:ww:𝑒𝑤𝑤e:w\to witalic_e : italic_w → italic_w with the property that ee=e𝑒𝑒𝑒e\circ e=eitalic_e ∘ italic_e = italic_e. Such morphisms represent a non-trivial increase in information which confusingly leaves us in the same world.

The presence of idempotents causes issues. For example, recall that, in prime algebraic lattices, primes and principal upper sets coincide. The astute reader will have noticed we did not claim the analogous result in presheaf categories: tiny objects are not necessarily representable in [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ]. For that, we need 𝒞𝒞\mathcal{C}caligraphic_C to be Cauchy-complete [18, 17].

Definition 4.3.

A category is Cauchy-complete just if every idempotent splits, i.e. if every idempotent is equal to sr𝑠𝑟s\circ ritalic_s ∘ italic_r for a section-retraction pair s𝑠sitalic_s and r𝑟ritalic_r.

Note that every complete category is Cauchy-complete, including 𝐒𝐞𝐭𝐒𝐞𝐭\mathbf{Set}bold_Set and [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ].

This leads us to another troublesome situation, namely that of having section-retraction pairs, i.e. s:wv:𝑠𝑤𝑣s:w\to vitalic_s : italic_w → italic_v and r:vw:𝑟𝑣𝑤r:v\to witalic_r : italic_v → italic_w with rs=idw𝑟𝑠subscriptid𝑤r\circ s=\textsf{id}_{w}italic_r ∘ italic_s = id start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT. In this case w𝑤witalic_w and v𝑣vitalic_v contain no more information than each other, but are not isomorphic. We may ask that this does not arise.

Definition 4.4.

A category satisfies the Hemelaer condition [55, Prop. 5.8] just if every section-retraction pair is an isomorphism.

Combining these two conditions is equivalent to the following definition.

Definition 4.5.

A category is spacelike if every idempotent is an identity.

Lawvere has identified this condition as having particular importance in recognising petit toposes [77]. We will not use it much, as it restricts the dualities we wish to develop.

In the rest of this paper we will assume that our base categories 𝒞𝒞\mathcal{C}caligraphic_C are Cauchy-complete, so that tiny objects coincide with representables.

4.3 Morphisms

The simplest kind of morphism between categories is a functor. Given a f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D we can define a functor f:[𝒟,𝐒𝐞𝐭][𝒞,𝐒𝐞𝐭]:superscript𝑓delimited-[]𝒟𝐒𝐞𝐭delimited-[]𝒞𝐒𝐞𝐭f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{D},\mathbf{% Set}$}\mathclose{}{]}}\longrightarrow\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ caligraphic_D , bold_Set ] ⟶ [ caligraphic_C , bold_Set ] that takes P:𝒟𝐒𝐞𝐭:𝑃𝒟𝐒𝐞𝐭P:\mathcal{D}\longrightarrow\mathbf{Set}italic_P : caligraphic_D ⟶ bold_Set to Pf:𝒞𝐒𝐞𝐭:𝑃𝑓𝒞𝐒𝐞𝐭P\circ f:\mathcal{C}\longrightarrow\mathbf{Set}italic_P ∘ italic_f : caligraphic_C ⟶ bold_Set. This functor has left and right adjoints, which are given by Kan extension [62, A4.1.4]:

[𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ][𝒟,𝐒𝐞𝐭]delimited-[]𝒟𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{D},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_D , bold_Set ]fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPTfsubscript𝑓f_{{*}}italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPTf!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT

does-not-prove\dashv

does-not-prove\dashv

(10)

Therefore fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT preserves all limits and colimits, i.e. it is (co)continuous. In short, the presheaf construction gives a functor [,𝐒𝐞𝐭]:Catcc𝗈𝗉PshCat:delimited-[]𝐒𝐞𝐭superscriptsubscriptCatcc𝗈𝗉PshCat\mathchoice{\mathopen{}{[}\hbox{$\displaystyle-,\mathbf{Set}$}\mathclose{}{]}}% {\mathopen{}{[}\hbox{$\textstyle-,\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[% }\hbox{$\scriptstyle-,\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle-,\mathbf{Set}$}\mathclose{}{]}}:\textbf{Cat}_{\text{cc}}^{% \mathsf{op}}\longrightarrow\textbf{PshCat}[ - , bold_Set ] : Cat start_POSTSUBSCRIPT cc end_POSTSUBSCRIPT start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT ⟶ PshCat, where CatccsubscriptCatcc\textbf{Cat}_{\text{cc}}Cat start_POSTSUBSCRIPT cc end_POSTSUBSCRIPT is the category of small Cauchy-complete categories and functors; and PshCat is the category of presheaf categories (over Cauchy-complete base categories) and (co)continuous functors.

Moreover, this functor is an equivalence. Given a presheaf category we can obtain its base as the subcategory of tiny objects [62, A1.1.10]. But how can we extract f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D from any (co)continuous functor f:[𝒟,𝐒𝐞𝐭][𝒞,𝐒𝐞𝐭]:superscript𝑓delimited-[]𝒟𝐒𝐞𝐭delimited-[]𝒞𝐒𝐞𝐭f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{D},\mathbf{% Set}$}\mathclose{}{]}}\longrightarrow\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ caligraphic_D , bold_Set ] ⟶ [ caligraphic_C , bold_Set ]? First, as presheaf categories are locally presentable, the adjoint functor theorem implies that fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT has left and right adjoints, as in (10) [1, §1.66]. This gives what topos theorists call an essential geometric morphism. Johnstone [62, §A4.1.5] shows that every such morphism is induced by a f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D, as f!subscript𝑓f_{{!}}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT preserves representables (when 𝒟𝒟\mathcal{D}caligraphic_D is Cauchy-complete). We thus obtain a duality

CatccopPshCatsimilar-to-or-equalssubscriptsuperscriptCatopccPshCat\textbf{Cat}^{\text{op}}_{\text{cc}}\simeq\textbf{PshCat}Cat start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc end_POSTSUBSCRIPT ≃ PshCat (11)

As with posets, functors here fail to preserve truth; for that we need a notion of openness.

Definition 4.6.

f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D is open just if f:[𝒟,𝐒𝐞𝐭][𝒞,𝐒𝐞𝐭]:superscript𝑓delimited-[]𝒟𝐒𝐞𝐭delimited-[]𝒞𝐒𝐞𝐭f^{*}:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{D},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{D},\mathbf{% Set}$}\mathclose{}{]}}\longrightarrow\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT : [ caligraphic_D , bold_Set ] ⟶ [ caligraphic_C , bold_Set ] preserves exponentials.

Lemma 4.7.

If f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D is open then there is a natural isomorphism θw:φwφf(w)\theta_{w}:\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}_{w}\cong\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}_{f(w)}italic_θ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT : ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT ≅ ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_f ( italic_w ) end_POSTSUBSCRIPT.

Definition 4.6 is somewhat underwhelming, as it does not give explicit conditions that one can check—unlike Definition 2.3. However, obtaining such a description appears difficult.

Some information may be gleaned by considering (f,f):[𝒞,𝐒𝐞𝐭][𝒟,𝐒𝐞𝐭]:superscript𝑓subscript𝑓delimited-[]𝒞𝐒𝐞𝐭delimited-[]𝒟𝐒𝐞𝐭(f^{*},f_{{*}}):\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal% {C},\mathbf{Set}$}\mathclose{}{]}}\longrightarrow\mathchoice{\mathopen{}{[}% \hbox{$\displaystyle\mathcal{D},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\textstyle\mathcal{D},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptstyle\mathcal{D},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}% \hbox{$\scriptscriptstyle\mathcal{D},\mathbf{Set}$}\mathclose{}{]}}( italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ) : [ caligraphic_C , bold_Set ] ⟶ [ caligraphic_D , bold_Set ] as a geometric morphism. Such a morphism is open [60] [63, C3.1] just if both the canonical maps f(cd)f(c)f(d)superscript𝑓𝑐𝑑superscript𝑓𝑐superscript𝑓𝑑f^{*}(c\Rightarrow d)\to f^{*}(c)\Rightarrow f^{*}(d)italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( italic_c ⇒ italic_d ) → italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( italic_c ) ⇒ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( italic_d ) and f(Ω)Ωsuperscript𝑓ΩΩf^{*}(\Omega)\to\Omegaitalic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( roman_Ω ) → roman_Ω are monic. Johnstone [63, C3.1] proves that (f,f)superscript𝑓subscript𝑓(f^{*},f_{{*}})( italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ) is open iff for any β:f(w)v:𝛽𝑓𝑤superscript𝑣\beta:f(w)\to v^{\prime}italic_β : italic_f ( italic_w ) → italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT in 𝒟𝒟\mathcal{D}caligraphic_D there exists an α:ww:𝛼𝑤superscript𝑤\alpha:w\to w^{\prime}italic_α : italic_w → italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT in 𝒞𝒞\mathcal{C}caligraphic_C and a section-retraction pair s:vf(w):𝑠superscript𝑣𝑓superscript𝑤s:v^{\prime}\to f(w^{\prime})italic_s : italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT → italic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) and r:f(w)v:𝑟𝑓superscript𝑤superscript𝑣r:f(w^{\prime})\to v^{\prime}italic_r : italic_f ( italic_w start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) → italic_v start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT with sβ=f(α)𝑠𝛽𝑓𝛼s\circ\beta=f(\alpha)italic_s ∘ italic_β = italic_f ( italic_α ). This superficially seems like a categorification of Definition 2.3. However, it only guarantees that fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is sub-cartesian-closed, whereas we need an isomorphism for Lemma 4.7 to hold.

A stronger condition is to ask that (f,f)superscript𝑓subscript𝑓(f^{*},f_{{*}})( italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ) be locally connected, i.e. that fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT commute with dependent products [63, C3.3]. All such morphisms are open geometric morphisms. This is stronger than what we need, but sufficient conditions on f𝑓fitalic_f can be given [63, C3.3.8].

Finally, an even stronger condition is to ask that (f,f)superscript𝑓subscript𝑓(f^{*},f_{{*}})( italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ) be atomic, i.e. that fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is a logical functor. This means it preserves exponentials and the subobject classifier [63, A2.1, C3.5]. All atomic geometric morphisms are locally connected. This is again stronger than what we need, and a characterisation in terms of f𝑓fitalic_f is elusive: see MathOverflow [95].

It is easier to characterise when (f,f)superscript𝑓subscript𝑓(f^{*},f_{{*}})( italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , italic_f start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ) is a surjective geometric morphism, i.e. when fsuperscript𝑓f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is faithful [62, A2.4.6]. This happens exactly when f𝑓fitalic_f is retractionally surjective, i.e. whenever every d𝒟𝑑𝒟d\in\mathcal{D}italic_d ∈ caligraphic_D is the retract of f(c)𝑓𝑐f(c)italic_f ( italic_c ) for some c𝒞𝑐𝒞c\in\mathcal{C}italic_c ∈ caligraphic_C [62, A2.4.7]. If 𝒟𝒟\mathcal{D}caligraphic_D satisfies the Hemelaer condition this reduces to f𝑓fitalic_f being essentially surjective.

Write 𝒞φ𝒞𝜑\mathcal{C}\vDash\varphicaligraphic_C ⊨ italic_φ to mean that φw\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}_{w}⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT is non-empty for any w𝒞𝑤𝒞w\in\mathcal{C}italic_w ∈ caligraphic_C and any interpretation of pdelimited-⟦⟧𝑝\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle p$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle p$}\mathclose{}{% \rrbracket}}⟦ italic_p ⟧.

Lemma 4.8.

Let f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\to\mathcal{D}italic_f : caligraphic_C → caligraphic_D be open and retractionally surjective. If 𝒞φ𝒞𝜑\mathcal{C}\vDash\varphicaligraphic_C ⊨ italic_φ then 𝒟φ𝒟𝜑\mathcal{D}\vDash\varphicaligraphic_D ⊨ italic_φ.

We may thus restrict the duality (11) to dualities

Catcc, openopPshCatsimilar-to-or-equalssubscriptsuperscriptCatopcc, opensubscriptPshCat\displaystyle\textbf{Cat}^{\text{op}}_{\text{cc, open}}\simeq\textbf{PshCat}_{\Rightarrow}Cat start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc, open end_POSTSUBSCRIPT ≃ PshCat start_POSTSUBSCRIPT ⇒ end_POSTSUBSCRIPT Catcc, open, rsopPshCat,fsimilar-to-or-equalssubscriptsuperscriptCatopcc, open, rssubscriptPshCatf\displaystyle\textbf{Cat}^{\text{op}}_{\text{cc, open, rs}}\simeq\textbf{% PshCat}_{\Rightarrow,\text{f}}Cat start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc, open, rs end_POSTSUBSCRIPT ≃ PshCat start_POSTSUBSCRIPT ⇒ , f end_POSTSUBSCRIPT (12)

In the first instance the category to the left of similar-to-or-equals\simeq is that of small Cauchy-complete categories and open functors; and to the right of similar-to-or-equals\simeq it is presheaf categories and (co)complete, cartesian closed functors. In the second instance the category to the left of similar-to-or-equals\simeq is that of small Cauchy-complete categories and open, retractionally surjective functors; and to the right of similar-to-or-equals\simeq it is presheaf categories and (co)complete, faithful, cartesian closed functors.

5 Modal Logic II

To make a two-dimensional Kripke semantics for modal logic we have to categorify relations. We took the first step by considering bimodules, i.e. information-order-respecting relations. The second step can be taken by replacing 𝟚2\mathbb{2}blackboard_2 with 𝐒𝐞𝐭𝐒𝐞𝐭\mathbf{Set}bold_Set; this leads us to the notion of a relation between categories, also known as a profunctor or distributor [9] [17, §7].

Definition 5.1.

A profunctor R:𝒞-↦→𝒟:𝑅-↦→𝒞𝒟R:\mathcal{C}\relbar\joinrel\mapstochar\joinrel\rightarrow\mathcal{D}italic_R : caligraphic_C -↦→ caligraphic_D is a functor R:𝒞𝗈𝗉×𝒟𝐒𝐞𝐭:𝑅superscript𝒞𝗈𝗉𝒟𝐒𝐞𝐭R:\mathcal{C}^{\mathsf{op}}\times\mathcal{D}\to\mathbf{Set}italic_R : caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT × caligraphic_D → bold_Set.

To formulate a two-dimensional Kripke semantics for modal logic we replace modal Kripke frames with a small Cauchy-complete category 𝒞𝒞\mathcal{C}caligraphic_C with an (endo)profunctor R:𝒞𝗈𝗉×𝒞𝐒𝐞𝐭:𝑅superscript𝒞𝗈𝗉𝒞𝐒𝐞𝐭R:\mathcal{C}^{\mathsf{op}}\times\mathcal{C}\to\mathbf{Set}italic_R : caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT × caligraphic_C → bold_Set. To obtain the modalities we can now play the same trick: putting λR:𝒞𝗈𝗉[𝒞,𝐒𝐞𝐭]:𝜆𝑅superscript𝒞𝗈𝗉delimited-[]𝒞𝐒𝐞𝐭\lambda R:\mathcal{C}^{\mathsf{op}}\to\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}italic_λ italic_R : caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT → [ caligraphic_C , bold_Set ] into (9) we canonically obtain the following diagram by Kan extension:

𝒞𝗈𝗉superscript𝒞𝗈𝗉\mathcal{C}^{\mathsf{op}}caligraphic_C start_POSTSUPERSCRIPT sansserif_op end_POSTSUPERSCRIPT[𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ][𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ]𝐲𝐲\mathbf{y}bold_yλR𝜆𝑅\lambda Ritalic_λ italic_RRsubscript𝑅\blacklozenge_{R}◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPTdoes-not-prove\dashvRsubscript𝑅\Box_{R}□ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT (13)

Conversely, any adjunction does-not-prove\blacklozenge\dashv\Box◆ ⊣ □ on [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] corresponds to the (endo)profunctor on 𝒞𝒞\mathcal{C}caligraphic_C given by (c1,c2)Hom𝒞(c1,c2)maps-tosubscript𝑐1subscript𝑐2subscriptHom𝒞subscript𝑐1subscript𝑐2(c_{1},c_{2})\mapsto\mathrm{Hom}_{\mathcal{C}}\mathchoice{\mathopen{}{(}\hbox{% $\displaystyle c_{1},\blacklozenge c_{2}$}\mathclose{}{)}}{\mathopen{}{(}\hbox% {$\textstyle c_{1},\blacklozenge c_{2}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle c_{1},\blacklozenge c_{2}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle c_{1},\blacklozenge c_{2}$}\mathclose{}{)}}( italic_c start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_c start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) ↦ roman_Hom start_POSTSUBSCRIPT caligraphic_C end_POSTSUBSCRIPT ( italic_c start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ◆ italic_c start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ).

We may then define φ=defRφ:𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\blacklozenge\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\blacklozenge\varphi$}\mathclose{}{% \rrbracket}}\stackrel{{\scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}% \blacklozenge_{R}\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}:\mathcal{C}% \longrightarrow\mathbf{Set}⟦ ◆ italic_φ ⟧ start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP ◆ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⟦ italic_φ ⟧ : caligraphic_C ⟶ bold_Set and φ=defRφ:𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\Box\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\Box\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\Box% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\Box\varphi$}\mathclose{}{\rrbracket}}\stackrel{{% \scriptstyle\mathclap{\mbox{\tiny def}}}}{{=}}\Box_{R}\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}:% \mathcal{C}\longrightarrow\mathbf{Set}⟦ □ italic_φ ⟧ start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⟦ italic_φ ⟧ : caligraphic_C ⟶ bold_Set. It is worth unfolding what a proof of φ𝜑\Box\varphi□ italic_φ at a world w𝑤witalic_w is to obtain an explicit description:

φw=(Rφ)(w)=Hom[𝒞,𝐒𝐞𝐭](λR(w),φ)=Hom[𝒞,𝐒𝐞𝐭](R(w,),φ)\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\Box\varphi$}\mathclose% {}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\Box\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\Box% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\Box\varphi$}\mathclose{}{\rrbracket}}_{w}=\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle\Box_{R}\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle\Box_{R}\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptstyle\Box_{R}\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle\Box_{R}\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}% \mathclose{}{)}}(w)=\mathrm{Hom}_{\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle\lambda R(w),\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle\lambda R(w),\mathchoice{% \mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{% \rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\lambda R(w),% \mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle\lambda R(w),\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}=\mathrm% {Hom}_{\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$% }\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle R(w,-),% \mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle R(% w,-),\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle R(w,-),\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle% \varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle R(w,-),\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}% \mathclose{}{)}}⟦ □ italic_φ ⟧ start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT = ( □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT ⟦ italic_φ ⟧ ) ( italic_w ) = roman_Hom start_POSTSUBSCRIPT [ caligraphic_C , bold_Set ] end_POSTSUBSCRIPT ( italic_λ italic_R ( italic_w ) , ⟦ italic_φ ⟧ ) = roman_Hom start_POSTSUBSCRIPT [ caligraphic_C , bold_Set ] end_POSTSUBSCRIPT ( italic_R ( italic_w , - ) , ⟦ italic_φ ⟧ ) (14)

Thus, a proof that φ𝜑\varphiitalic_φ holds at w𝑤witalic_w is a natural transformation α:R(w,)φ\alpha:R(w,-)\Rightarrow\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}italic_α : italic_R ( italic_w , - ) ⇒ ⟦ italic_φ ⟧. This has the expected shape of Kripke semantics for \Box: for each v𝒞𝑣𝒞v\in\mathcal{C}italic_v ∈ caligraphic_C and proof xR(w,v)𝑥𝑅𝑤𝑣x\in R(w,v)italic_x ∈ italic_R ( italic_w , italic_v ) that v𝑣vitalic_v is accessible from w𝑤witalic_w it gives us a proof αv(x)φv\alpha_{v}(x)\in\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi% $}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle% \varphi$}\mathclose{}{\rrbracket}}_{v}italic_α start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT ( italic_x ) ∈ ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT that φ𝜑\varphiitalic_φ holds at v𝑣vitalic_v.

It is a little harder to see what a proof of φ𝜑\blacklozenge\varphi◆ italic_φ at a world w𝑤witalic_w is. It becomes more perspicuous if we use the coend formula for the left Kan extension [74, §2.3]:

φ=λR!φv𝒞Hom[𝒞,𝐒𝐞𝐭](𝐲(v),φ)×λR(v)v𝒞φv×R(v,)\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\blacklozenge\varphi$}% \mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle% \blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\blacklozenge\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\blacklozenge\varphi$}\mathclose{}{% \rrbracket}}=\lambda R_{{!}}\mathchoice{\mathopen{}{\llbracket}\hbox{$% \displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}\hbox{$% \scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}\cong\int^{v\in\mathcal{C}% }\mathrm{Hom}_{\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},% \mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal% {C},\mathbf{Set}$}\mathclose{}{]}}}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle v$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle v$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\scriptstyle v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle v$}\mathclose{}{)}},\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\textstyle\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$% \displaystyle v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle v$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle v$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptscriptstyle v$}\mathclose{}{)}},\mathchoice{% \mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{% \mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{% \rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle\mathbf{y}% \mathchoice{\mathopen{}{(}\hbox{$\displaystyle v$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\textstyle v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle v$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle v$}\mathclose{}{)}},% \mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle\mathbf{y}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle v$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle v$}\mathclose{}{)}}{\mathopen% {}{(}\hbox{$\scriptstyle v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptscriptstyle v$}\mathclose{}{)}},\mathchoice{\mathopen{}{\llbracket}% \hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{\llbracket}% \hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}$}\mathclose{}{)}}% \times\lambda R(v)\cong\int^{v\in\mathcal{C}}\mathchoice{\mathopen{}{% \llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{\rrbracket}}{\mathopen{}{% \llbracket}\hbox{$\scriptscriptstyle\varphi$}\mathclose{}{\rrbracket}}_{v}% \times R(v,-)⟦ ◆ italic_φ ⟧ = italic_λ italic_R start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ⟦ italic_φ ⟧ ≅ ∫ start_POSTSUPERSCRIPT italic_v ∈ caligraphic_C end_POSTSUPERSCRIPT roman_Hom start_POSTSUBSCRIPT [ caligraphic_C , bold_Set ] end_POSTSUBSCRIPT ( bold_y ( italic_v ) , ⟦ italic_φ ⟧ ) × italic_λ italic_R ( italic_v ) ≅ ∫ start_POSTSUPERSCRIPT italic_v ∈ caligraphic_C end_POSTSUPERSCRIPT ⟦ italic_φ ⟧ start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT × italic_R ( italic_v , - ) (15)

Hence, a proof that φ𝜑\blacklozenge\varphi◆ italic_φ holds at w𝑤witalic_w consists of a world v𝒞𝑣𝒞v\in\mathcal{C}italic_v ∈ caligraphic_C, a proof that R(v,w)𝑅𝑣𝑤R(v,w)italic_R ( italic_v , italic_w ), and a proof that φ𝜑\varphiitalic_φ holds at v𝑣vitalic_v—which is exactly what one would expect. The difference is that the coend quotients some of these pairs according to the action of 𝒞𝒞\mathcal{C}caligraphic_C. See Mac Lane and Moerdijk [76, §VII.2] for a textbook exposition on why this is a tensor product of φdelimited-⟦⟧𝜑\mathchoice{\mathopen{}{\llbracket}\hbox{$\displaystyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\textstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptstyle\varphi$}\mathclose{}{% \rrbracket}}{\mathopen{}{\llbracket}\hbox{$\scriptscriptstyle\varphi$}% \mathclose{}{\rrbracket}}⟦ italic_φ ⟧ and λR𝜆𝑅\lambda Ritalic_λ italic_R.

How well does this fit the categorical semantics of modal logic? As with intuitionistic modal logic, there is also a number of proposals of what that might be. A fairly recent idea is to define it as the semantics of a Fitch-style calculus, as studied by Clouston [25]. This is exactly a bicartesian closed category 𝒞𝒞\mathcal{C}caligraphic_C equipped with an adjunction:

𝒞𝒞\mathcal{C}caligraphic_C𝒞𝒞\mathcal{C}caligraphic_C\Box\blacklozenge

does-not-prove\dashv

(16)

The left adjoint \blacklozenge is often written as lock. It does not commonly appear as a modality, but as an operator on contexts that corresponds to ‘opening a box’ in Fitch-style natural deduction [59, §5.4]. The modality \Box is a right adjoint, so that it automatically preserves all limits, including products. This idea has proven remarkably robust: variations on it have worked well for modal dependent type theories [13, 51, 52, 50, 49]. The fact that an adjunction on a presheaf category corresponds precisely to a two-dimensional Kripke semantics is further evidence that this is the correct notion of categorical model of modal logic.

Finally, note that (14) and (15) look suspiciously similar to the modal structure of Normalization-by-Evaluation models for modal type theories. This is explicitly visible in the paper by Valliappan et al. [97, §2], and also implicitly present in the paper by Gratzer [48].

5.1 Morphisms

Define the category Prof to have as objects profunctors. A morphism (f,g,α):RS:𝑓𝑔𝛼𝑅𝑆(f,g,\alpha):R\to S( italic_f , italic_g , italic_α ) : italic_R → italic_S from R:𝒞-↦→𝒟:𝑅-↦→𝒞𝒟R:\mathcal{C}\relbar\joinrel\mapstochar\joinrel\rightarrow\mathcal{D}italic_R : caligraphic_C -↦→ caligraphic_D to S:𝒞-↦→𝒟:𝑆-↦→superscript𝒞superscript𝒟S:\mathcal{C}^{\prime}\relbar\joinrel\mapstochar\joinrel\rightarrow\mathcal{D}% ^{\prime}italic_S : caligraphic_C start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT -↦→ caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT consists of functors f:𝒞𝒞:𝑓𝒞superscript𝒞f:\mathcal{C}\longrightarrow\mathcal{C}^{\prime}italic_f : caligraphic_C ⟶ caligraphic_C start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT and g:𝒟𝒟:𝑔𝒟superscript𝒟g:\mathcal{D}\longrightarrow\mathcal{D}^{\prime}italic_g : caligraphic_D ⟶ caligraphic_D start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, and a natural transformation α:R(,)S(f(),g()):𝛼𝑅𝑆𝑓𝑔\alpha:R(-,-)\Rightarrow S\mathchoice{\mathopen{}{(}\hbox{$\displaystyle f(-),% g(-)$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle f(-),g(-)$}\mathclose{}% {)}}{\mathopen{}{(}\hbox{$\scriptstyle f(-),g(-)$}\mathclose{}{)}}{\mathopen{}% {(}\hbox{$\scriptscriptstyle f(-),g(-)$}\mathclose{}{)}}italic_α : italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , italic_g ( - ) ). The subcategory EProf consists of endoprofunctors R:𝒞-↦→𝒞:𝑅-↦→𝒞𝒞R:\mathcal{C}\relbar\joinrel\mapstochar\joinrel\rightarrow\mathcal{C}italic_R : caligraphic_C -↦→ caligraphic_C, and triples of the form (f,f,α)𝑓𝑓𝛼(f,f,\alpha)( italic_f , italic_f , italic_α ). I will synecdochically refer to α:R(,)S(f(),f()):𝛼𝑅𝑆𝑓𝑓\alpha:R(-,-)\Rightarrow S(f(-),f(-))italic_α : italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , italic_f ( - ) ) as a morphism of EProf. Thus, objects are two-dimensional Kripke frames, and morphisms are functors that proof-relevantly preserve the relation.

Lemma 5.2.

Morphisms of endoprofunctors α:R(,)S(f(),f()):𝛼𝑅𝑆𝑓𝑓\alpha:R(-,-)\Rightarrow S(f(-),f(-))italic_α : italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , italic_f ( - ) ) are in bijection with natural transformations γ:fSRf:𝛾superscript𝑓subscript𝑆subscript𝑅superscript𝑓\gamma:f^{*}\Box_{S}\Rightarrow\Box_{R}f^{*}italic_γ : italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ start_POSTSUBSCRIPT italic_S end_POSTSUBSCRIPT ⇒ □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.

Proof 5.3.

Unfolding the definitions, γ:Hom(S(f(),),)Hom(R(,),f()):𝛾Hom𝑆𝑓Hom𝑅superscript𝑓\gamma:\mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle S(f(-),-),-$% }\mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle S(f(-),-),-$}\mathclose{}{)}% }{\mathopen{}{(}\hbox{$\scriptstyle S(f(-),-),-$}\mathclose{}{)}}{\mathopen{}{% (}\hbox{$\scriptscriptstyle S(f(-),-),-$}\mathclose{}{)}}\Rightarrow\mathrm{% Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle R(-,-),f^{*}(-)$}\mathclose% {}{)}}{\mathopen{}{(}\hbox{$\textstyle R(-,-),f^{*}(-)$}\mathclose{}{)}}{% \mathopen{}{(}\hbox{$\scriptstyle R(-,-),f^{*}(-)$}\mathclose{}{)}}{\mathopen{% }{(}\hbox{$\scriptscriptstyle R(-,-),f^{*}(-)$}\mathclose{}{)}}italic_γ : roman_Hom ( italic_S ( italic_f ( - ) , - ) , - ) ⇒ roman_Hom ( italic_R ( - , - ) , italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( - ) ). As f!fdoes-not-provesubscript𝑓superscript𝑓f_{{!}}\dashv f^{*}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ⊣ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT this is exactly a transformation Hom(S(f(),),)Hommissing(f!R(,),missing)\mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle S(f(-),-),-$}% \mathclose{}{)}}{\mathopen{}{(}\hbox{$\textstyle S(f(-),-),-$}\mathclose{}{)}}% {\mathopen{}{(}\hbox{$\scriptstyle S(f(-),-),-$}\mathclose{}{)}}{\mathopen{}{(% }\hbox{$\scriptscriptstyle S(f(-),-),-$}\mathclose{}{)}}\Rightarrow\mathrm{Hom% }\mathchoice{\mathopen{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing% }}{missing}}}{(}\hbox{$\displaystyle f_{{!}}R(-,-),-$}\mathclose{{\mathchoice{% \Big{missing}}{\Big{missing}}{\big{missing}}{missing}}}{)}}{\mathopen{{% \mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing}}}{(}\hbox{$% \textstyle f_{{!}}R(-,-),-$}\mathclose{{\mathchoice{\Big{missing}}{\Big{% missing}}{\big{missing}}{missing}}}{)}}{\mathopen{{\mathchoice{\Big{missing}}{% \Big{missing}}{\big{missing}}{missing}}}{(}\hbox{$\scriptstyle f_{{!}}R(-,-),-% $}\mathclose{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing% }}}{)}}{\mathopen{{\mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{% missing}}}{(}\hbox{$\scriptscriptstyle f_{{!}}R(-,-),-$}\mathclose{{% \mathchoice{\Big{missing}}{\Big{missing}}{\big{missing}}{missing}}}{)}}roman_Hom ( italic_S ( italic_f ( - ) , - ) , - ) ⇒ roman_Hom roman_missing ( italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT italic_R ( - , - ) , - roman_missing ). By the Yoneda lemma, any such transformation arises by precomposition with a unique transformation f!R(,)S(f(),)subscript𝑓𝑅𝑆𝑓f_{{!}}R(-,-)\Rightarrow S(f(-),-)italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , - ). By f!fdoes-not-provesubscript𝑓superscript𝑓f_{{!}}\dashv f^{*}italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT ⊣ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT again, this uniquely corresponds to a transformation α:R(,)fS(f(),)=S(f(),f()):𝛼𝑅superscript𝑓𝑆𝑓𝑆𝑓𝑓\alpha:R(-,-)\Rightarrow f^{*}S(f(-),-)=S(f(-),f(-))italic_α : italic_R ( - , - ) ⇒ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_S ( italic_f ( - ) , - ) = italic_S ( italic_f ( - ) , italic_f ( - ) ).

We thus obtain a duality

EProfccopPshCatOsimilar-to-or-equalssubscriptsuperscriptEProfopccPshCatO\textbf{EProf}^{\text{op}}_{\text{cc}}\simeq\textbf{PshCatO}EProf start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc end_POSTSUBSCRIPT ≃ PshCatO (17)

where PshCatO is the category of presheaf categories [𝒞,𝐒𝐞𝐭]delimited-[]𝒞𝐒𝐞𝐭\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}[ caligraphic_C , bold_Set ] equipped with a continuous :[𝒞,𝐒𝐞𝐭][𝒞,𝐒𝐞𝐭]:delimited-[]𝒞𝐒𝐞𝐭delimited-[]𝒞𝐒𝐞𝐭\Box:\mathchoice{\mathopen{}{[}\hbox{$\displaystyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\textstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptstyle\mathcal{C},\mathbf{Set}$}% \mathclose{}{]}}{\mathopen{}{[}\hbox{$\scriptscriptstyle\mathcal{C},\mathbf{% Set}$}\mathclose{}{]}}\longrightarrow\mathchoice{\mathopen{}{[}\hbox{$% \displaystyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \textstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}{\mathopen{}{[}\hbox{$% \scriptscriptstyle\mathcal{C},\mathbf{Set}$}\mathclose{}{]}}□ : [ caligraphic_C , bold_Set ] ⟶ [ caligraphic_C , bold_Set ]. Note that, as presheaf categories are locally finitely presentable, \Box always has a left adjoint \blacklozenge. Thus, the objects are categorical models of modal logic. Morphisms are pairs (f,γ)𝑓𝛾(f,\gamma)( italic_f , italic_γ ) of a (co)continuous f:𝒞𝒟:𝑓𝒞𝒟f:\mathcal{C}\longrightarrow\mathcal{D}italic_f : caligraphic_C ⟶ caligraphic_D and a natural transformation γ:ff:𝛾superscript𝑓superscript𝑓\gamma:f^{*}\Box\Rightarrow\Box f^{*}italic_γ : italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ ⇒ □ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.

As before, open functors do not preserve truth; for that we need a notion of modal openness. Let α:R(,)S(f(),f()):𝛼𝑅𝑆𝑓𝑓\alpha:R(-,-)\Rightarrow S(f(-),f(-))italic_α : italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , italic_f ( - ) ). As pointed out in the proof of Lemma 5.2 such an α𝛼\alphaitalic_α uniquely corresponds to a transformation tα:f!R(,)S(f(),):subscript𝑡𝛼subscript𝑓𝑅𝑆𝑓t_{\alpha}:f_{{!}}R(-,-)\Rightarrow S(f(-),-)italic_t start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT : italic_f start_POSTSUBSCRIPT ! end_POSTSUBSCRIPT italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , - ). Its components

tα,c,v:wVR(c,w)×Hom𝒟(f(w),v)S(f(c),v):subscript𝑡𝛼𝑐𝑣superscript𝑤𝑉𝑅𝑐𝑤subscriptHom𝒟𝑓𝑤𝑣𝑆𝑓𝑐𝑣t_{\alpha,c,v}:\int^{w\in V}R(c,w)\times\mathrm{Hom}_{\mathcal{D}}\mathchoice{% \mathopen{}{(}\hbox{$\displaystyle f(w),v$}\mathclose{}{)}}{\mathopen{}{(}% \hbox{$\textstyle f(w),v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptstyle f% (w),v$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle f(w),v$}% \mathclose{}{)}}\to S(f(c),v)italic_t start_POSTSUBSCRIPT italic_α , italic_c , italic_v end_POSTSUBSCRIPT : ∫ start_POSTSUPERSCRIPT italic_w ∈ italic_V end_POSTSUPERSCRIPT italic_R ( italic_c , italic_w ) × roman_Hom start_POSTSUBSCRIPT caligraphic_D end_POSTSUBSCRIPT ( italic_f ( italic_w ) , italic_v ) → italic_S ( italic_f ( italic_c ) , italic_v )

map xR(c,w)𝑥𝑅𝑐𝑤x\in R(c,w)italic_x ∈ italic_R ( italic_c , italic_w ) and k:f(w)v:𝑘𝑓𝑤𝑣k:f(w)\to vitalic_k : italic_f ( italic_w ) → italic_v to S(idf(c),k)(αc,v(x))𝑆subscriptid𝑓𝑐𝑘subscript𝛼𝑐𝑣𝑥S(\textsf{id}_{f(c)},k)(\alpha_{c,v}(x))italic_S ( id start_POSTSUBSCRIPT italic_f ( italic_c ) end_POSTSUBSCRIPT , italic_k ) ( italic_α start_POSTSUBSCRIPT italic_c , italic_v end_POSTSUBSCRIPT ( italic_x ) ). We can then say that

Definition 5.4.

α:R(,)S(f(),f()):𝛼𝑅𝑆𝑓𝑓\alpha:R(-,-)\Rightarrow S(f(-),f(-))italic_α : italic_R ( - , - ) ⇒ italic_S ( italic_f ( - ) , italic_f ( - ) ) is modally open just if tαsubscript𝑡𝛼t_{\alpha}italic_t start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT is an isomorphism.

This asks that for every proof yS(f(c),v)𝑦𝑆𝑓𝑐𝑣y\in S(f(c),v)italic_y ∈ italic_S ( italic_f ( italic_c ) , italic_v ) we should be able to find an object w𝒞𝑤𝒞w\in\mathcal{C}italic_w ∈ caligraphic_C, a proof xR(c,w)𝑥𝑅𝑐𝑤x\in R(c,w)italic_x ∈ italic_R ( italic_c , italic_w ), and a morphism k:f(w)v:𝑘𝑓𝑤𝑣k:f(w)\to vitalic_k : italic_f ( italic_w ) → italic_v, so that y=S(idf(c),k)(αc,v(x))𝑦𝑆subscriptid𝑓𝑐𝑘subscript𝛼𝑐𝑣𝑥y=S(\textsf{id}_{f(c)},k)(\alpha_{c,v}(x))italic_y = italic_S ( id start_POSTSUBSCRIPT italic_f ( italic_c ) end_POSTSUBSCRIPT , italic_k ) ( italic_α start_POSTSUBSCRIPT italic_c , italic_v end_POSTSUBSCRIPT ( italic_x ) ). This is clearly a categorification of Definition 3.4, and leads to the following lemma:

Lemma 5.5.

α𝛼\alphaitalic_α is modally open iff the corresponding fSRfsuperscript𝑓subscript𝑆subscript𝑅superscript𝑓f^{*}\Box_{S}\Rightarrow\Box_{R}f^{*}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ start_POSTSUBSCRIPT italic_S end_POSTSUBSCRIPT ⇒ □ start_POSTSUBSCRIPT italic_R end_POSTSUBSCRIPT italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is an isomorphism.

Proof 5.6.

The proof of Lemma 5.2 precomposes with tαsubscript𝑡𝛼t_{\alpha}italic_t start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT to get γ𝛾\gammaitalic_γ. Thus γ𝛾\gammaitalic_γ is iso iff tαsubscript𝑡𝛼t_{\alpha}italic_t start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT is.

Thus, the duality (17) may be restricted to dualities between the wide subcategories

EProfcc, mooopPshCatOosimilar-to-or-equalssubscriptsuperscriptEProfopcc, moosubscriptPshCatOabsent𝑜\displaystyle\textbf{EProf}^{\text{op}}_{\text{cc, moo}}\simeq\textbf{PshCatO}% _{\Rightarrow o}EProf start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc, moo end_POSTSUBSCRIPT ≃ PshCatO start_POSTSUBSCRIPT ⇒ italic_o end_POSTSUBSCRIPT EProfcc, moo, rsopPshCatOofsimilar-to-or-equalssubscriptsuperscriptEProfopcc, moo, rssubscriptPshCatOabsent𝑜𝑓\displaystyle\textbf{EProf}^{\text{op}}_{\text{cc, moo, rs}}\simeq\textbf{% PshCatO}_{\Rightarrow of}EProf start_POSTSUPERSCRIPT op end_POSTSUPERSCRIPT start_POSTSUBSCRIPT cc, moo, rs end_POSTSUBSCRIPT ≃ PshCatO start_POSTSUBSCRIPT ⇒ italic_o italic_f end_POSTSUBSCRIPT (18)

The morphisms to the left of similar-to-or-equals\simeq are modally open, open maps (resp. and retractionally surjective); and the morphisms to the right of similar-to-or-equals\simeq are (f,γ)𝑓𝛾(f,\gamma)( italic_f , italic_γ ) where f𝑓fitalic_f is cartesian closed (resp. and faithful) and γ:ff:𝛾superscript𝑓superscript𝑓\gamma:f^{*}\Box\cong\Box f^{*}italic_γ : italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT □ ≅ □ italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is a natural isomorphism.

6 Other related work

Perhaps the work most closely related to this paper is that on Kripke-style lambda models by Mitchell and Moggi [79]. These amount to elaborating the first-order definitions of applicative structure and λ𝜆\lambdaitalic_λ-model in the internal language of a presheaf category, with the base category being a partial order. In practice this means that the interpretation of function types is only a subfunctor of the exponential of presheaves [79, §8]. However, Mitchell and Moggi prove that these models are sound and complete for the (×)(\times\rightarrow)( × → ) fragment, even in the presence of empty types. They also use some general theorems about open geometric morphisms to prove that any cartesian closed category can be presented as such a model.

Another piece of work that bears kinship with the present one is Hermida’s fibrational account of relational modalities [56]. Hermida shows that both the relational modalities \lozenge and \Box can be obtained canonically as extensions of predicate logic to relations, with the modalities arising as compositions of adjoints. The black diamond \blacklozenge makes a brief cameo as the induced left adjoint to \Box, as does the dual black box [56, §3.3]. While the decompositions obtained by Hermida seem more refined than the results here, Kan extension does not make an explicit appearance. As such, the relationship to the present work is yet to be determined.

Awodey and Rabe [6] give a Kripke semantics for extensional Martin-Löf type theory (MLTT), in which contexts are posets and types are presheaves over them. They use topos-theoretic machinery to prove that every locally cartesian closed category can be embedded in a presheaf category over a poset; this result seems similar to one of Mitchell and Moggi, but the proof appears entirely different. As a consequence, they show that presheaf categories over posets form a complete class of models for extensional MLTT, in fact a subclass of locally cartesian closed categories.

Alechina et al. [2] present dualities between Kripke and algebraic semantics for constructive S4 and propositional lax logic. Their interpretation of \Box follows that of Plotkin, Stirling and Simpson [85, 92].

Ghilardi and Meloni [42] explore a presheaf-like interpretation of (predicate) modal logic, which is similar to ours, albeit non-proof-relevant. They work over the identity profunctor Hom(,)Hom\mathrm{Hom}\mathchoice{\mathopen{}{(}\hbox{$\displaystyle-,-$}\mathclose{}{)}% }{\mathopen{}{(}\hbox{$\textstyle-,-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$% \scriptstyle-,-$}\mathclose{}{)}}{\mathopen{}{(}\hbox{$\scriptscriptstyle-,-$}% \mathclose{}{)}}roman_Hom ( - , - ). They are hence forced to weaken the definition of presheaf. See also [43, 44].

Awodey, Kishida and Kotzsch [5] give a topos-theoretic semantics for a higher-order version of intuitionistic S4 modal logic. They also briefly survey much previous work on presheaf-based and topos-theoretic semantics for first-order modal logic. Their work is not proof-relevant.

Finally, there is clear methodological similarity between the results obtained here and the results of Winskel and collaborators on open maps and bisimulation [65, 22]. One central difference is that Winskel et al. are mainly concerned with open maps between presheaves themselves, whereas I only consider open maps between (two-dimensional) frames.

Acknowledgements

I have benefitted significantly from conversations with Dan Licata, Nachiappan Valliappan, Fabian Ruch, Amar Hadzihasanovic, Kohei Kishida, Sean Moss, Sam Staton, Daniel Gratzer, Lars Birkedal, Jonathan Sterling, Philip Saville, and Gordon Plotkin.

This work was supported by the UKRI Engineering and Physical Sciences Research Council grants EP/Y000242/1, EP/Y033418/1, the UKRI International Science Partnerships Fund (ISPF), and a Royal Society Research Grant.

References

  • [1] Jiří Adámek and Jiří Rosický. Locally Presentable and Accessible Categories. Cambridge University Press, 1994. doi:10.1017/CBO9780511600579.
  • [2] Natasha Alechina, Michael Mendler, Valeria de Paiva, and Eike Ritter. Categorical and Kripke semantics for constructive S4 modal logic. Computer Science Logic, pages 292–307, 2001. doi:10.1007/3-540-44802-0_21.
  • [3] Mathieu Anel and André Joyal. Topo-logie. In Mathieu Anel and Gabriel Catren, editors, New Spaces in Mathematics, pages 155–257. Cambridge University Press, 2021. doi:10.1017/9781108854429.007.
  • [4] Steve Awodey. Category Theory. Oxford Logic Guides. Oxford University Press, 2010.
  • [5] Steve Awodey, Kohei Kishida, and Hans-Christoph Kotzsch. Topos Semantics for Higher-Order Modal Logic. Logique et Analyse, 228:591–636, 2014. doi:10.2143/LEA.228.0.3078176.
  • [6] Steve Awodey and Florian Rabe. Kripke Semantics for Martin-Löf’s Extensional Type Theory. Logical Methods in Computer Science, 7(3):1–34, 2011. doi:10.2168/LMCS-7(3:18)2011.
  • [7] John C. Baez and James Dolan. Categorification. In Ezra Getzler and Mikhail Kapranov, editors, Higher Category Theory, number 230 in Contemporary Mathematics. American Mathematical Society, 1998. eprint: math/9802029. doi:10.48550/arXiv.math/9802029.
  • [8] B. Banaschewski and G. Bruns. The fundamental duality of partially ordered sets. Order, 5(1), 1988. doi:10.1007/BF00143898.
  • [9] J. Bénabou. Distributors at work, 2000. Notes of Thomas Streicher based on lectures of Jean Bénabou. URL: https://www2.mathematik.tu-darmstadt.de/~streicher/FIBR/DiWo.pdf.
  • [10] Evert Willem Beth. The Foundations of Mathematics. North-Holland Pub. Co., 1959.
  • [11] Guram Bezhanishvili and Wesley H. Holliday. A semantic hierarchy for intuitionistic logic. Indagationes Mathematicae, 30(3):403–469, 2019. doi:10.1016/j.indag.2019.01.001.
  • [12] Nick Bezhanishvili. Lattices of intermediate and cylindric modal logics. PhD thesis, University of Amsterdam, 2006. Report number DS-2006-02. URL: https://eprints.illc.uva.nl/id/eprint/2049/.
  • [13] Lars Birkedal, Ranald Clouston, Bassel Mannaa, Rasmus Ejlers Møgelberg, Andrew M. Pitts, and Bas Spitters. Modal dependent type theory and dependent right adjoints. Mathematical Structures in Computer Science, 30(2):118–138, 2020. doi:10.1017/S0960129519000197.
  • [14] Lars Birkedal, Rasmus Møgelberg, Jan Schwinghammer, and Kristian Støvring. First steps in synthetic guarded domain theory: step-indexing in the topos of trees. Logical Methods in Computer Science, 8(4), 2012. doi:10.2168/LMCS-8(4:1)2012.
  • [15] Patrick Blackburn, Maarten de Rijke, and Yde Venema. Modal Logic. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 2001. doi:10.1017/CBO9781107050884.
  • [16] Francis Borceux. Handbook of Categorical Algebra, volume 3 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, 1994.
  • [17] Francis Borceux. Handbook of Categorical Algebra, volume 1 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, 1994.
  • [18] Francis Borceux and Dominique Dejean. Cauchy completion in category theory. Cahiers de Topologie et Géométrie Différentielle Catégoriques, 27(2):133–146, 1986. URL: http://www.numdam.org/item/?id=CTGDC_1986__27_2_133_0.
  • [19] Milan Božić and Kosta Došen. Models for normal intuitionistic modal logics. Studia Logica, 43(3):217–245, 1984. doi:10.1007/BF02429840.
  • [20] Marta Bunge. Categories of Set-Valued Functors. PhD thesis, University of Pennsylvania, 1966.
  • [21] Gian Luca Cattani and Glynn Winskel. Presheaf models for concurrency. In Dirk Dalen and Marc Bezem, editors, Computer Science Logic, volume 1258 of Lecture Notes in Computer Science, pages 58–75, Berlin, Heidelberg, 1997. Springer Berlin Heidelberg. doi:10.1007/3-540-63172-0_32.
  • [22] Gian Luca Cattani and Glynn Winskel. Profunctors, open maps and bisimulation. Mathematical Structures in Computer Science, 15(3):553–614, 2005. doi:10.1017/S0960129505004718.
  • [23] Alexander Chagrov and Michael Zakharyaschev. Modal Logic. Number 35 in Oxford Logic Guides. Oxford University Press, 1996. doi:10.1093/oso/9780198537793.001.0001.
  • [24] Denis-Charles Cisinski. Higher Categories and Homotopical Algebra. Cambridge University Press, 2019. doi:10.1017/9781108588737.
  • [25] Ranald Clouston. Fitch-Style Modal Lambda Calculi. In Christel Baier and Ugo Dal Lago, editors, Foundations of Software Science and Computation Structures, volume 10803 of Lecture Notes in Computer Science, pages 258–275, Cham, 2018. Springer International Publishing. doi:10.1007/978-3-319-89366-2_14.
  • [26] Roy L. Crole. Categories for Types. Cambridge University Press, 1993. doi:10.1017/CBO9781139172707.
  • [27] Anupam Das and Sonia Marin. On intuitionistic diamonds (and lack thereof). In Revantha Ramanayake and Josef Urban, editors, Automated Reasoning with Analytic Tableaux and Related Methods, volume 14278 of Lecture Notes in Computer Science, pages 283–301. Springer Nature Switzerland, 2023. doi:10.1007/978-3-031-43513-3_16.
  • [28] B. A. Davey and H. A. Priestley. Introduction to Lattices and Order. Cambridge University Press, 2nd edition, 2002. doi:10.1017/CBO9780511809088.
  • [29] D.H.J. De Jongh and A.S. Troelstra. On the connection of partially ordered sets with some pseudo-boolean algebras. Indagationes Mathematicae (Proceedings), 69:317–329, 1966. doi:10.1016/S1385-7258(66)50036-1.
  • [30] Wojciech Dzik, Jouni Järvinen, and Michiro Kondo. Intuitionistic propositional logic with Galois connections. Logic Journal of IGPL, 18(6):837–858, 2010. doi:10.1093/jigpal/jzp057.
  • [31] M. Erné. The ABC of order and topology. In H. Herrlich and H. E. Porst, editors, Category Theory at Work, Research and Exposition in Mathematics, pages 57–83. Heldermann Verlag, 1991. URL: https://www.heldermann.de/R&E/RAE18/ctw05.pdf.
  • [32] Leo Esakia. Heyting Algebras: Duality Theory, volume 50 of Trends in Logic. Springer International Publishing, 2019. doi:10.1007/978-3-030-12096-2.
  • [33] W. B. Ewald. Intuitionistic Tense and Modal Logic. The Journal of Symbolic Logic, 51(1):166–179, 1986. doi:10.2307/2273953.
  • [34] M. Fiore, G. Plotkin, and D. Turi. Abstract syntax and variable binding. In Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158), pages 193–202, Trento, Italy, 1999. IEEE Computer Society Press. doi:10.1109/LICS.1999.782615.
  • [35] Marcelo Fiore. Second-Order and Dependently-Sorted Abstract Syntax. In 2008 23rd Annual IEEE Symposium on Logic in Computer Science, pages 57–68. IEEE, 2008. doi:10.1109/LICS.2008.38.
  • [36] Marcelo Fiore and Chung-Kil Hur. Second-Order Equational Logic (Extended Abstract). In Anuj Dawar and Helmut Veith, editors, Computer Science Logic, volume 6247 of Lecture Notes in Computer Science, pages 320–335. Springer Berlin Heidelberg, 2010. doi:10.1007/978-3-642-15205-4_26.
  • [37] Marcelo Fiore and Ola Mahmoud. Second-Order Algebraic Theories: (Extended Abstract). In Petr Hliněnỳ and Antonín Kučera, editors, Mathematical Foundations of Computer Science 2010, volume 6281 of Lecture Notes in Computer Science, pages 368–380. Springer Berlin Heidelberg, 2010. doi:10.1007/978-3-642-15155-2_33.
  • [38] Gisèle Fischer Servi. Semantics for a class of intuitionistic modal calculi. In Italian Studies in the Philosophy of Science, volume 47 of Boston Studies in the Philosophy of Science, pages 59–72. Springer Netherlands, 1980. doi:10.1007/978-94-009-8937-5_5.
  • [39] Melvin Fitting. Intuitionistic Logic, Model Theory and Forcing. Studies in Logic and the Foundation of Mathematics. North-Holland, 1969.
  • [40] Mai Gehrke. Stone duality, topological algebra, and recognition. Journal of Pure and Applied Algebra, 220(7):2711–2747, 2016. doi:10.1016/j.jpaa.2015.12.007.
  • [41] Mai Gehrke and Sam van Gool. Topological Duality for Distributive Lattices: Theory and Applications. Number 61 in Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 2024. URL: http://arxiv.org/abs/2203.03286.
  • [42] S. Ghilardi and G. C. Meloni. Modal and tense predicate logic: Models in presheaves and categorical conceptualization. In Francis Borceux, editor, Categorical Algebra and its Applications, volume 1348 of Lecture Notes in Mathematics, pages 130–142. Springer Berlin Heidelberg, 1988. doi:10.1007/BFb0081355.
  • [43] Silvio Ghilardi. Presheaf semantics and independence results for some non-classical first-order logics. Archive for Mathematical Logic, 29(2):125–136, 1989. doi:10.1007/BF01620621.
  • [44] Silvio Ghilardi. Incompleteness Results in Kripke Semantics. The Journal of Symbolic Logic, 56(2):517–538, 1991. doi:10.2307/2274697.
  • [45] Robert Goldblatt. Metamathematics of Modal Logic. PhD Thesis, Victoria University, Wellington, 1974.
  • [46] Robert Goldblatt. Mathematical modal logic: A view of its evolution. In Dov M. Gabbay, editor, Handbook of the History of Logic, volume 7. Elsevier, 2006. doi:10.1016/S1570-8683(03)00008-9.
  • [47] Valentin Goranko and Antje Rumberg. Temporal Logic. In Edward N. Zalta and Uri Nodelman, editors, The Stanford Encyclopedia of Philosophy. Metaphysics Research Lab, Stanford University, Fall 2023 edition, 2023.
  • [48] Daniel Gratzer. Normalization for Multimodal Type Theory. In Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 1–13. Association for Computing Machinery, 2022. doi:10.1145/3531130.3532398.
  • [49] Daniel Gratzer. Syntax and semantics of modal type theory. PhD thesis, Aarhus University, 2023.
  • [50] Daniel Gratzer, Evan Cavallo, G. A. Kavvos, Adrien Guatto, and Lars Birkedal. Modalities and Parametric Adjoints. ACM Transactions on Computational Logic, 23(3):1–29, 2022. doi:10.1145/3514241.
  • [51] Daniel Gratzer, G. A. Kavvos, Andreas Nuyts, and Lars Birkedal. Multimodal Dependent Type Theory. In Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 492–506. Association for Computing Machinery, 2020. doi:10.1145/3373718.3394736.
  • [52] Daniel Gratzer, G. A. Kavvos, Andreas Nuyts, and Lars Birkedal. Multimodal Dependent Type Theory. Logical Methods in Computer Science, 17(3), 2021. doi:10.46298/lmcs-17(3:11)2021.
  • [53] Makoto Hamana. Free ΣΣ\Sigmaroman_Σ-Monoids: A Higher-Order Syntax with Metavariables. In Wei-Ngan Chin, editor, Programming Languages and Systems, volume 3302 of Lecture Notes in Computer Science, pages 348–363. Springer Berlin Heidelberg, 2004. doi:10.1007/978-3-540-30477-7_23.
  • [54] Yasusi Hasimoto. Heyting Algebras with Operators. Mathematical Logic Quarterly, 47(2):187–196, 2001. doi:10.1002/1521-3870(200105)47:2<187::AID-MALQ187>3.0.CO;2-J.
  • [55] Jens Hemelaer. Toposes over which essential implies locally connected. Cahiers de Topologie et Géométrie Différentielle Catégoriques, LXIII(4):425–451, 2022. arXiv:2204.02749.
  • [56] Claudio Hermida. A categorical outlook on relational modalities and simulations. Information and Computation, 209(12):1505–1517, 2011. doi:10.1016/j.ic.2010.09.009.
  • [57] Martin Hofmann. Syntax and Semantics of Dependent Types. In Andrew M. Pitts and P. Dybjer, editors, Semantics and Logics of Computation, pages 79–130. Cambridge University Press, 1997. URL: https://www.tcs.ifi.lmu.de/mitarbeiter/martin-hofmann/pdfs/syntaxandsemanticsof-dependenttypes.pdf, doi:10.1017/CBO9780511526619.004.
  • [58] Martin Hofmann. Semantical analysis of higher-order abstract syntax. In Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158), pages 204–213. IEEE Computer Society Press, 1999. doi:10.1109/LICS.1999.782616.
  • [59] Michael Huth and Mark Ryan. Logic in Computer Science: Modelling and Reasoning about Systems. Cambridge University Press, 2nd edition, 2004.
  • [60] Peter T. Johnstone. Open maps of toposes. Manuscripta Mathematica, 31(1):217–247, 1980. doi:10.1007/BF01303275.
  • [61] Peter T. Johnstone. Stone Spaces. Number 3 in Cambridge Studies in Advanced Mathematics. Cambridge University Press, 1982.
  • [62] Peter T. Johnstone. Sketches of an Elephant: A Topos Theory Compendium, volume 1. Oxford University Press, 2002.
  • [63] Peter T. Johnstone. Sketches of an Elephant: A Topos Theory Compendium, volume 2. Oxford University Press, 2002.
  • [64] Bjarni Jonnson and Alfred Tarski. Boolean algebras with operators. part II. American Journal of Mathematics, 74(1):127, 1952. doi:10.2307/2372074.
  • [65] André Joyal, Mogens Nielsen, and Glynn Winskel. Bisimulation from Open Maps. Information and Computation, 127(2):164–185, 1996. doi:10.1006/inco.1996.0057.
  • [66] G. Max Kelly. Basic concepts of enriched category theory. Reprints in Theory and Applications of Categories, (10):1–136, 2005. Originally published as: Cambridge University Press, Lecture Notes in Mathematics 64, 1982. URL: http://www.tac.mta.ca/tac/reprints/articles/10/tr10abs.html.
  • [67] Kohei Kishida. Categories and modalities. In Elaine Landry, editor, Categories for the Working Philosopher. Oxford University Press, 2018. doi:10.1093/oso/9780198748991.003.0009.
  • [68] Saul Kripke. Semantical Considerations on Modal Logic. Acta Philosophica Fennica, 16:83–94, 1963. doi:10.1002/malq.19630090502.
  • [69] Saul A. Kripke. Semantical Analysis of Modal Logic I. Normal Modal Propositional Calculi. Zeitschrift für Mathematische Logik und Grundlagen der Mathematik, 9(5-6):67–96, 1963. doi:10.1002/malq.19630090502.
  • [70] Saul A. Kripke. Semantical Analysis of Modal Logic II. Non-Normal Modal Propositional Calculi. In Alfred Tarski, Leon Henkin, and J. W. Addison, editors, The theory of models, Proceedings of the 1963 International Symposium at Berkeley, pages 206–220. North-Holland, 1965.
  • [71] Joachim Lambek. From lambda calculus to cartesian closed categories. In Jonathan P. Seldin and J. Roger Hindley, editors, To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus, and Formalism, pages 376–402. Academic Press, 1980.
  • [72] Joachim Lambek and Philip J. Scott. Introduction to Higher-Order Categorical Logic. Number 7 in Cambridge Studies in Advanced Mathematics. Cambridge University Press, 1988.
  • [73] F. William Lawvere. Metric spaces, generalized logic, and closed categories. Rendiconti del Seminario Matematico e Fisico di Milano, 43(1):135–166, 1973. doi:10.1007/BF02924844.
  • [74] Fosco Loregian. (Co)end Calculus. Cambridge University Press, 2021. doi:10.1017/9781108778657.
  • [75] Saunders Mac Lane. Categories for the Working Mathematician, volume 5 of Graduate Texts in Mathematics. Springer New York, 2 edition, 1978. doi:10.1007/978-1-4757-4721-8.
  • [76] Saunders Mac Lane and Ieke Moerdijk. Sheaves in Geometry and Logic: A First Introduction to Topos Theory. Universitext. Springer New York, 1994. doi:10.1007/978-1-4612-0927-0.
  • [77] Colin McLarty. Every Grothendieck topos has a one-way site. Theory and Applications of Categories, 16(5):123–126, 2006. URL: http://www.tac.mta.ca/tac/volumes/16/5/16-05abs.html.
  • [78] M. Menni and C. Smith. Modes of adjointness. Journal of Philosophical Logic, 43(2):365–391, 2014. doi:10.1007/s10992-012-9266-y.
  • [79] John C. Mitchell and Eugenio Moggi. Kripke-style models for typed lambda calculus. Annals of Pure and Applied Logic, 51(1-2):99–124, 1991. doi:10.1016/0168-0072(91)90067-V.
  • [80] Mogens Nielsen, Gordon Plotkin, and Glynn Winskel. Petri nets, event structures and domains, Part I. Theoretical Computer Science, 13(1):85–108, 1981. doi:10.1016/0304-3975(81)90112-2.
  • [81] F. J. Oles. Type Algebras, Functor Categories, and Block Structure. In Maurice Nivat and John C. Reynolds, editors, Algebraic Methods in Semantics, pages 543–573. Cambridge University Press, 1985.
  • [82] Frank J. Oles. Functor Categories and Store Shapes. In Peter W. O’Hearn and Robert D. Tennent, editors, Algol-like Languages, volume 2, pages 3–12. Birkhäuser Boston, Boston, MA, 1997. doi:10.1007/978-1-4757-3851-3_1.
  • [83] Ewa Orłowska and Ingrid Rewitzky. Discrete Dualities for Heyting algebras with Operators. Fundamenta Informaticae, 81(1):275–295, 2007.
  • [84] Jorge Picado and Aleš Pultr. Frames and Locales: Topology without points. Frontiers in Mathematics. Springer Basel, 2012. doi:10.1007/978-3-0348-0154-6.
  • [85] Gordon D. Plotkin and Colin Stirling. A framework for intuitionistic modal logics. In Joseph Y. Halpern, editor, Proceedings of the 1st Conference on Theoretical Aspects of Reasoning about Knowledge, Monterey, CA, USA, March 1986. Morgan Kaufmann, 1986.
  • [86] George N. Raney. Completely distributive complete lattices. Proceedings of the American Mathematical Society, 3(5):677–680, 1952. doi:10.1090/S0002-9939-1952-0052392-3.
  • [87] Emily Riehl. Categorical homotopy theory, volume 24 of New Mathematical Monographs. Cambridge University Press, 2014. doi:10.1017/CBO9781107261457.
  • [88] Emily Riehl. Category Theory in Context. Dover Publications, 2016. URL: http://www.math.jhu.edu/~eriehl/context.pdf.
  • [89] Mehrnoosh Sadrzadeh and Roy Dyckhoff. Positive logic with adjoint modalities: proof theory, semantics, and reasoning about information. The Review of Symbolic Logic, 3(3):351–373, 2010. doi:10.1017/S1755020310000134.
  • [90] Davide Sangiorgi. On the origins of bisimulation and coinduction. ACM Transactions on Programming Languages and Systems, 31(4):1–41, 2009. doi:10.1145/1516507.1516510.
  • [91] Krister Segerberg. Decidability of S4.1. Theoria, 34(1):7–20, 1968. doi:10.1111/j.1755-2567.1968.tb00335.x.
  • [92] Alex K. Simpson. The Proof Theory and Semantics of Intuitionistic Modal Logic. PhD thesis, The University of Edinburgh, 1994. URL: http://hdl.handle.net/1842/407.
  • [93] Morten Heine Sørensen and Pawel Urzyczyn. Lectures on the Curry-Howard Isomorphism. Elsevier, 2006.
  • [94] V. H. Sotirov. Modal theories with intuitionistic logic. In Mathematical Logic: Proceedings of the Conference on Mathematical Logic, Dedicated to the Memory of A.A. Markov (1903-1979): Sofia, September 22-23, 1980. Bulgarian Academy of Sciences, 1984.
  • [95] David Spivak. Conditions for a functor to induce a logical functor between presheaf toposes? MathOverflow, 2016. URL: https://mathoverflow.net/q/253878, arXiv:https://mathoverflow.net/q/253878.
  • [96] S. K. Thomason. Categories of frames for modal logic. The Journal of Symbolic Logic, 40(3):439–442, 1975. doi:10.2307/2272167.
  • [97] Nachiappan Valliappan, Fabian Ruch, and Carlos Tomé Cortiñas. Normalization for Fitch-style Modal Calculi. Proceedings of the ACM on Programming Languages, 6(ICFP):772–798, 2022. doi:10.1145/3547649.
  • [98] Johan van Benthem. Modal logic for open minds. Number 199 in CSLI lecture notes. Center for the Study of Language and Information, Stanford, California, 2010.
  • [99] Philip Wadler. Propositions as types. Communications of the ACM, 58(12):75–84, 2015. URL: http://homepages.inf.ed.ac.uk/wadler/papers/propositions-as-types/propositions-as-types.pdf, doi:10.1145/2699407.
  • [100] Glynn Winskel. Prime algebraicity. Theoretical Computer Science, 410(41):4160–4168, 2009. doi:10.1016/j.tcs.2009.06.015.
  • [101] F. Wolter and M. Zakharyaschev. The relation between intuitionistic and classical modal logics. Algebra and Logic, 36(2):73–92, 1997. doi:10.1007/BF02672476.
  • [102] Frank Wolter and Michael Zakharyaschev. Intuitionistic Modal Logic. In Andrea Cantini, Ettore Casari, and Pierluigi Minari, editors, Logic and Foundations of Mathematics: Selected Contributed Papers of the Tenth International Congress of Logic, Methodology and Philosophy of Science, Florence, August 1995, pages 227–238. Springer Netherlands, Dordrecht, 1999. doi:10.1007/978-94-017-2109-7_17.
  • [103] Frank Wolter and Michael Zakharyaschev. Intuitionistic Modal Logics as Fragments of Classical Bimodal Logics. In Ewa Orłowska, editor, Logic at Work: Essays Dedicated to the Memory of Helena Rasiowa, Studies in Fuzziness and Soft Computing, pages 168–186. Physica Heidelberg, 1999.
  • [104] David Yetter. On right adjoints to exponential functors. Journal of Pure and Applied Algebra, 45(3):287–304, 1987. doi:10.1016/0022-4049(87)90077-6.