We use P for the powerset functor and HX=22X. In this section we indicate how to construct a modal logic for any functor T built according to the following context-free grammar.
We describe functors L:BA→BA or L:BA×BA→BA
by generators and relations as follows.
LKC(A) is the free BA given by generators c∈C
and satisfying c1∧c2=⊥ for all c1=c2 and ⋁c∈Cc=⊤.
L+(A1,A2) is generated by [κ1]a1,
[κ2]a2, ai∈Ai where the [κi] preserve finite
joins and binary meets and satisfy [κ1]a1∧[κ2]a2=⊥, [κ1]⊤∨[κ2]⊤=⊤,
¬[κ1]a1=[κ2]⊤∨[κ1]¬a1,
¬[κ2]a2=[κ1]⊤∨[κ2]¬a2.
L×(A1,A2) is generated by [π1]a1,
[π2]a2, ai∈Ai where [πi] preserve Boolean
operations.
LP(A) is generated by □a, a∈A, and □
preserves finite meets.
LH(A) is generated by □a, a∈A (no equations).
For the semantics, we define Boolean algebra morphisms δT
LKCΠX→ΠC by c↦{c},
L+(ΠX1,ΠX2)→Π(X1+X2) by [κi]ai↦ai,
L×(ΠX,ΠY)→Π(X1×X2) by [π1]a1↦a1×X2, [π2]a2↦X1×a2,
LPΠX→ΠPX by □a↦{b⊆X∣b⊆a},
LHΠX→ΠHX by □a↦{s∈HX∣a∈s}.
and extend them inductively to δT:LTΠ→ΠT for all
T. Items (1)-(3) are slight variations of cases appearing in
Abramsky (1991), (4) is in Abramsky (2005), and δX in (5) is given by
the identity on 222X.