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

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

Boolean Logic for Set-Coalgebras

We build on concepts and examples explained previously, but try to keep this section self-contained from a technical point of view.

We specialise the setting from Coalgebraic Logic: Introduction as follows:

We have seen previously that modal logics for TT-coalgebras can be described by giving LL and δ\delta.

Conversely, every sifted colimit preserving functor on a variety has a presentation and hence gives rise to a modal logic. Before we see how this works let us state some results needed later.

Proposition: Let LL be a sifted colimit preserving functor on BA{\sf BA}. There is a functor LL' that agrees with LL on all non-trivial algebras and preserves filtered colimits. Moreover Alg(L)Alg(L)Alg(L)\cong Alg(L').

Lemma: Let HH be a functor on BA{\sf BA} and LL a sifted colimit preserving functor on BA{\sf BA} and LFn=HFnLFn=HFn for all finitely generated free Boolean algebras FnFn. Then LA=HALA=HA for all finite non-trivial algebras AA.

Proof: Every finite non-trivial Boolean algebra is a retract of a finitely generated free one.

The logic of LL

As promised, we are going to show that every sifted colimit preserving functor on a variety has a presentation and hence gives rise to a modal logic.

Every sifted colimit preserving functor LL on a variety is a quotient

FGUAqALAFGUA\stackrel {q_A} \longrightarrow LA

where GX=nNULFn×XnGX=\coprod_{n\in\mathbb N}ULFn\times X^n. Since FF is a left adjoint, the morphism qAq_A is the adjoint transpose of a morphism

GUAULAGUA \longrightarrow ULA

which determines (and is determinedy by) the following modal logic.

In particular the (σ,v:nUA)(\sigma,v:n\to UA) are modal formulas

Δ(a1,an)\Delta(a_1,\ldots a_n)

where Δ=σ\Delta=\sigma and ai=v(i)a_i=v(i).

The set Σ\Sigma of operations and the set EE of equations constitute the presentation ΣL,EL\langle\Sigma_L,E_L\rangle of LL.

Example: The variety of Boolean algebras with operator (BAO) is presented by the operations and equations of Boolean algebra plus a unary operation \Box and two equations specifying that \Box preserves finite meets.

Moss’s coalgebraic logic

The first proposal for a logic of coalgebras parametric in the coalgebra functor TT was Moss’s coalgebraic logic. It can be obtained by defining LL via a presentation

FGUAqALAFGUA\stackrel {q_A} \longrightarrow LA

where G=TG=T. Originally, Moss’s logic did not have equations, which corresponds to taking the qFnq_{Fn} to be identities. This use of the functor TT itself as a syntax constructor for a logic yields a very interesting presentation. This presentation is equivalent in expressiveness (in case TT preserves weak pullbacks) to the ones we know from classical modal logic, but is quite different in terms of the opportunities it offers as a logical tool. For more see the section on Moss’s Coalgebraic Logic.

The logic of all predicate liftings

Pattinson introduced predicate liftings to give a parametric treatment of coalgebraic logic that includes classical modal logic as an example. The logic of all predicate liftings can be defined in our setting in a natural way.

Remark: Note that Moss’s logic is defined by applying TT directly to syntax, whereas here we want to use the duality given by S:BASetS:{\sf BA} \to Set and P:SetBAP:Set\to{\sf BA} to keep TT on the semantic side of the duality. In fact, we might have been tempted to simply define L=PTSL = PTS and while this is still the guiding idea, this direct approach is only suitable if we start from a dual equivalence of base categories such as the one given by complete atomic Boolean algebras and Set or the one given by Boolean algebras and Stone spaces. Moreover, defining L=PTSL=PTS will not, in general, result in a sifted colimit preserving functor and, thus, not, in general, allow us to find a finitary presentation of Alg(L)Alg(L) by operations and equations.

Syntax

We define L=PTSL=PTS on finitely generated free algebras:

LFn=PTSFnLFn = PTSFn

We extend LL to all algebras via sifted colimits (hence LL preserves sifted colimits by definition).

Moreover, ULFn=UPTSFnULFn=UPTSFn is the set of all nn-ary predicate liftings:

UPTSFnUPT(2n)=2T(2n)Nat((2n)X,2TX)Nat((2X)n,2TX)\begin{align} UPTSFn &\cong UPT(2^n) \\ &= 2^{T(2^n)} \\ &\cong Nat({(2^n)}^X,2^{TX}) \\ &\cong Nat({(2^X)}^n,2^{TX}) \\ \end{align}

Since LL preserves sifted colimits it has a presentation by operations and equations and this presentation presents LL by all predicates liftings as

FGUAqALAFGUA\stackrel {q_A} \longrightarrow LA

where GX=nNULFn×XnGX=\coprod_{n\in\mathbb N}ULFn\times X^n.

Semantics

The semantics δX:LPXPTX\delta_X:LPX\to PTX is given as follows. ![](https://hackmd.io/_uploads/HJHa0kb2o.png =500x)

Every PXPX is a sifted colimit ci:FnPXc_i:Fn\to PX. Let cic_i^\ast be the adjoint transpose. Since LL preserves sifted colimits and since PTciPTc_i^\ast is a cocone, δX\delta_X is well-defined.

In more detail, ci:FnPXc_i:Fn\to PX is also a valuation of variable v:nUPXv:n\to UPX or also a tuple (a1,an)(a_1,\ldots a_n) of subsets of XX. Its adjoint transpose XSFnX\to SFn combines the characteristic functions χi\chi_i of all the subsets aia_i into one function X2nX\to 2^n, xχ1,χnx\mapsto \langle\chi_1,\ldots\chi_n\rangle. Now, given a modal operator ΔUPTSFn=2T(2n)\Delta\in UPTSFn = 2^{T{(2^n)}} we have that PTci(Δ)PTc_i^\ast(\Delta) is

TXTciT(2n)Δ2TX\stackrel{Tc_i^\ast}\longrightarrow T(2^n)\stackrel\Delta\longrightarrow 2

which, as expected, coincides with the semantics of a modal operator as a predicate lifting.

Remark: Using the Lemma above (which is special to the category BA{\sf BA}), we do not need to go via the finitely generated free algebras FnFn and can define δX\delta_X for finite XX directly as the isomorphism

LPX=PTSPXPTXLPX=PTSPX\cong PTX

which, in terms of the presentation of LL by modal operators, corresponds to

δX:LPXPTXΔ(a1,an)Δ(a1,an)\begin{align} \delta_X: LPX & \to PTX\\ \Delta(a_1,\ldots a_n) &\mapsto \Delta(a_1,\ldots a_n) \end{align}

where

From Funtors to Predicate Liftings and Back

Every sifted colimit preserving functor LL with a semantics δ:LPPT\delta:LP\to PT can be represented by predicate liftings. Conversely, each set of predicate liftings presents a functor together with a semantics. We summarize this corrspondence.

Starting with a functor LL, its presentation FGULFGU\to L and its semantics LPPTLP\to PT, we obtain its presentation by predicate liftings in the last line, where Δ\Delta ranges over all elements of GnG_n. Conversely, any collection of predicate liftings Δ\Delta defines a functor LL obtained from “climbing the ladder up” and quotienting the corresponding FGUPXPTXFGUPX\to PTX.

References

Diagrams: