Try   HackMD

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:

  • a functor
    T:SetSet
  • a functor
    L:BABA
  • FU:BASet
  • P:SetBA
    given by
    PX=2X
  • S:BASet
    given by
    SA=BA(A,2)
  • δX:LPXPTX

We have seen previously that modal logics for

T-coalgebras can be described by giving
L
and
δ
.

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

L be a sifted colimit preserving functor on
BA
. There is a functor
L
that agrees with
L
on all non-trivial algebras and preserves filtered colimits. Moreover
Alg(L)Alg(L)
.

Lemma: Let

H be a functor on
BA
and
L
a sifted colimit preserving functor on
BA
and
LFn=HFn
for all finitely generated free Boolean algebras
Fn
. Then
LA=HA
for all finite non-trivial algebras
A
.

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

The logic of
L

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

L on a variety is a quotient
FGUAqALA

where

GX=nNULFn×Xn. Since
F
is a left adjoint, the morphism
qA
is the adjoint transpose of a morphism
GUAULA

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

  • The
    n
    -ary modal operators
    σ
    are the elements of
    ULFn
    .
  • qA
    maps
    (σ,v:nUA)
    to
    L(v)(σ)
    where
    v
    is the adjoint transpose of
    v
    .
  • The equations in
    n
    variables are the kernel of
    qFn
    .

In particular the

(σ,v:nUA) are modal formulas
Δ(a1,an)

where

Δ=σ and
ai=v(i)
.

The set

Σ of operations and the set
E
of equations constitute the presentation
ΣL,EL
of
L
.

Example: The variety of Boolean algebras with operator (BAO) is presented by the operations and equations of Boolean algebra plus a unary operation

and two equations specifying that
preserves finite meets.

Moss's coalgebraic logic

The first proposal for a logic of coalgebras parametric in the coalgebra functor

T was Moss's coalgebraic logic. It can be obtained by defining
L
via a presentation
FGUAqALA

where

G=T. Originally, Moss's logic did not have equations, which corresponds to taking the
qFn
to be identities. This use of the functor
T
itself as a syntax constructor for a logic yields a very interesting presentation. This presentation is equivalent in expressiveness (in case
T
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

T directly to syntax, whereas here we want to use the duality given by
S:BASet
and
P:SetBA
to keep
T
on the semantic side of the duality. In fact, we might have been tempted to simply define
L=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=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)
by operations and equations.

Syntax

We define

L=PTS on finitely generated free algebras:
LFn=PTSFn

We extend

L to all algebras via sifted colimits (hence
L
preserves sifted colimits by definition).

Moreover,

ULFn=UPTSFn is the set of all
n
-ary predicate liftings:

UPTSFnUPT(2n)=2T(2n)Nat((2n)X,2TX)Nat((2X)n,2TX)

Since

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

where

GX=nNULFn×Xn.

Semantics

The semantics

δX:LPXPTX is given as follows.
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Every

PX is a sifted colimit
ci:FnPX
. Let
ci
be the adjoint transpose. Since
L
preserves sifted colimits and since
PTci
is a cocone,
δX
is well-defined.

In more detail,

ci:FnPX is also a valuation of variable
v:nUPX
or also a tuple
(a1,an)
of subsets of
X
. Its adjoint transpose
XSFn
combines the characteristic functions
χi
of all the subsets
ai
into one function
X2n
,
xχ1,χn
. Now, given a modal operator
ΔUPTSFn=2T(2n)
we have that
PTci(Δ)
is
TXTciT(2n)Δ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), we do not need to go via the finitely generated free algebras
Fn
and can define
δX
for finite
X
directly as the isomorphism
LPX=PTSPXPTX

which, in terms of the presentation of

L by modal operators, corresponds to

δX:LPXPTXΔ(a1,an)Δ(a1,an)

where

  • on the left
    Δ(a1,an)
    is understood as syntax, that is,
    ΔUPTSFn
    and
    (a1,an)(UPX)n
    and
  • on the right
    Δ(a1,an)
    is evaluated by taking the predicate lifting
    Δ
    as a function
    (2X)n2TX
    , that is, as a function
    (UPX)nUPTX
    .

From Funtors to Predicate Liftings and Back

Every sifted colimit preserving functor

L with a semantics
δ:LPPT
can be represented by predicate liftings. Conversely, each set of predicate liftings presents a functor together with a semantics. We summarize this corrspondence.

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Starting with a functor

L, its presentation
FGUL
and its semantics
LPPT
, we obtain its presentation by predicate liftings in the last line, where
Δ
ranges over all elements of
Gn
. Conversely, any collection of predicate liftings
Δ
defines a functor
L
obtained from "climbing the ladder up" and quotienting the corresponding
FGUPXPTX
.

References

Diagrams: