Linear Algebraic Semantics for Multi-agent Communication
Ryo Hatano, Katsuhiko Sano and Satoshi Tojo
School of Information Science, Japan Advanced Institute of Science and Technology,
1-1 Asahidai, Nomi, Ishikawa 923-1292, Japan
Keywords:
Logic of Belief, Belief Revision, Dynamic Epistemic Logic, Propositional Dynamic Logic, Linear Algebra.
Abstract:
When we study multi-agent communication system, it forces us to manage an existence of communication
channels between agents, such as phone numbers or e-mail addresses, while ordinary modal logic for multi-
agent system does not consider the notion of channel. This paper proposes a decidable and semantically
complete logic of belief with communication channels, and then expands the logic with informing action
operators to change agents’ beliefs via communication channels. Moreover, for a better formalism for handling
these semantics efficiently, we propose a linear algebraic representation of these. That is, with the help of
Fitting (2003) and van Benthem and Liu (2007), we reformulate our proposed semantics of the doxastic static
logic and its dynamic extensions in terms of boolean matrices. We also implement and publicize a calculation
system of our matrix reformulations as an open system on the web.
1 INTRODUCTION
One of the most important aspects of multi-agent
communication is changes of an agent’s knowledge or
belief (G¨ardenfors, 2003). Nowadays, such changes
are well-discussed in terms of modal logic, as dy-
namic epistemic logic (van Ditmarsch et al., 2007).
For example, public announcement logic, proposed
by Plaza (Plaza, 1989), can capture how an agent’s
knowledge change after a piece of information is pub-
licly announced to all the agents, while we do not as-
sume any structure among agents. On the other hand,
in communication of multiple agents, we can natu-
rally consider the existence of channels between them
(Barwise and Seligman, 1997), e.g., phone numbers
or e-mail addresses. Then, communicability in those
agents can be represented in a directed graph, where
a vertex is an agent and an edge a channel.
There are several studies integrating the notion of
structure among agents into dynamic epistemic logic.
(Seligman et al., 2011) proposes a two-dimensional
modal logic which can handle both agents’ knowl-
edge and a friendship relation between agents. Based
on the two-dimensional framework, (Sano and Tojo,
2013) implemented the idea of communication chan-
nel in terms of a modal operator and studies belief
changes of agents, where they raised the following re-
quirements:
(R1) An effect of an informing action is restricted to
some specified agents determined by communi-
cation channels.
(R2) An existence of communication channel be-
tween agents depends on a given situation, i.e.,
it is not constant or rigid for all situations.
One of the deficiencies of the two dimensional
framework is that it is still unknown whether the re-
sulting logics in (Seligman et al., 2011; Sano and
Tojo, 2013) are decidable, i.e., we can effectively test
if a given formula is a theorem of a given logic. One
of the purposes of this paper is to propose a decidable
multi-agent doxastic logic which satisfies the two re-
quirements above and can talk about communication
channels among agents. Instead of communication
channel as a modal operator,we implement the notion
of channel as a constant symbol c
ab
whose reading is
‘there is a channel from agent a to agent b’. More-
over, instead of public announcement operators, this
paper proposes two dynamic operators satisfying the
requirement (R1), called semi-private announcement
and introspective announcement operators.
When we study logic of multi-agent system, it
forces us to manage many indices, such as agent IDs
and names of the worlds in our syntax and its seman-
tics. What seems to be lacking is an introduction
of a better formalism or notation for handling such
many indices. Thus far, (Fitting, 2003) proposed a
linear algebraic reformulation of Kripke semantics of
174
Hatano R., Sano K. and Tojo S..
Linear Algebraic Semantics for Multi-agent Communication.
DOI: 10.5220/0005219001740181
In Proceedings of the International Conference on Agents and Artificial Intelligence (ICAART-2015), pages 174-181
ISBN: 978-989-758-073-4
Copyright
c
2015 SCITEPRESS (Science and Technology Publications, Lda.)
modal logic. (Tojo, 2013) has employed the notion
of boolean matrix and tried to integrate the notion of
communication channel with dynamic logic of mul-
tiple agents’ beliefs in term of linear algebra. In this
research, we give a more rigorous logical formalisms
to (Tojo, 2013). That is, we reformulate our proposed
doxastic logic and its dynamic extensions in terms of
boolean matrices.
To sum up, this paper first proposes a decidable
multi-agent doxastic logic and its dynamic extensions
with two informing action operators, and then refor-
mulate our Kripke semantics in terms of boolean ma-
trices.
This paper is organized as follows. Section 2 in-
troduces a static logic of agents’ belief equipped with
the notion of channel between agents and establish
that all the valid formulas on all the finite Kripke mod-
els for our syntax is completely axiomatizable (The-
orem 1). Moreover, our proposed axiomatization is
decidable (Theorem 2). In order to deal with changes
of agents’ belief via communication channel, Sec-
tion 3 provides two dynamic operators to our syntax
of static logic with sets of reduction axioms. Follow-
ing the idea by (Fitting, 2003), Section 4 reformu-
lates our Kripke semantics in terms of boolean ma-
trix. With the help of (Van Benthem and Liu, 2007),
Section 5 reveals that we can regard our two dynamic
operators as program terms in propositional dynamic
logic and also reformulates the semantics of two op-
erators in terms of boolean matrix. Section 6 use our
boolean matrix reformulation to present an algorithm
for checking agent’s belief at a given world and an al-
gorithm for rewriting a given Kripke model by one of
our dynamic operators. Finally, Section 7 concludes
this paper.
Related Works. Here we comment on linear alge-
braic approach to multi-agent belief revision. (Fitting,
2003) proposed a linear algebraic approach to Kripke
semantics, but he did not consider any dynamic oper-
ators. On the other hand, we reformulate (Van Ben-
them and Liu, 2007)’s idea of relation changer over
propositional dynamic logic in terms of matrices and
provide a linear algebraic treatment with our dynamic
operators. In this sense, this paper can be regarded as
a generalization of (Fitting, 2003) to dynamic exten-
sions. While (Liau, 2004) also used boolean matri-
ces to represent an accessibility relation of an agent
and (Fusaoka et al., 2007) used real-valued matrices
to represent qualitative belief change in multi-agent
setting, both of them did not provide any concrete ax-
iomatization of logics they study.
2 STATIC LOGIC FOR AGENTS’
BELIEF
2.1 Syntax and Semantics
This section introduces a modal epistemic language
which enables us to formalize agents’ beliefs and
communication channels.
Let G be a fixed finite set of agents. Our syntax
L consists of the following vocabulary: a finite set
Prop = { p, q, r, ... } of propositional letters; boolean
connectives¬, ; belief operators B
a
(a G); channel
constants c
ab
(a, b G). A set of formulas of L is
inductively defined as:
ϕ ::= p | c
ab
| ¬ϕ | ϕ ψ | B
a
ϕ
where p Prop, a, b G. We define
c
B
a
ϕ := ¬B
a
¬ϕ
whose reading is ‘agent a considers it possible that ϕ’.
We also introduce the boolean connectives , ,
as ordinary abbreviations. B
a
p stands for ‘agent a be-
lieves that p and c
ab
is to read ‘there is a communica-
tion channel from a to b’. Then, let us provide Kripke
semantics with our syntax. A model M is a tuple
(W, (R
a
)
aG
, (C
ab
)
a,bG
,V) where W is a non-empty
set of worlds, called domain, R
a
W × W, C
ab
W
is a channel relation such that C
aa
= W for all a G,
and V : Prop P (W) is a valuation function. Note
that we require C
aa
= W for all a G in order to cap-
ture our notion of communication channel. A frame
(denoted by F, etc.) is the result of dropping a valua-
tion function from a model.
Given any model M, any world w W, and any
formula ϕ, we define the satisfaction relation M, w |=
ϕ inductively as follows:
M, w |= p iff w V(p)
M, w |= c
ab
iff w C
ab
M, w |= ¬ϕ iff M, w 6|= ϕ
M, w |= ϕ ψ iff M, w |= ϕ or M, w |= ψ
M, w |= B
a
ϕ iff M, v |= ϕ for all v with wR
a
v.
We define the truth set JϕK
M
of ϕ in M by JϕK
M
=
{w W |M, w |= ϕ}. ϕ is valid on M if M, w |= ϕ
for all worlds w W. We say that ϕ is valid in a class
of Kripke models if ϕ is valid on M belongs to the
class. It is clear that c
aa
is always valid in any Kripke
model M. Moreover, given any Kripke model M, it
is easy to see that all the axioms in Table 1 are valid
in M and all the rules of Table 1 preserve validity on
M.
Example 1 (Running Example). Let G = {a, b}. De-
fine M (see Figure 1) by: W = { w
1
, w
2
, w
3
}, R
a
=
{(w
1
, w
1
), (w
1
, w
2
), (w
1
, w
3
), (w
2
, w
2
), (w
3
, w
3
)}, R
b
= W × W, V(p) = { w
2
}, C
ab
= { w
1
, w
2
}, C
ba
=
/
0,
LinearAlgebraicSemanticsforMulti-agentCommunication
175
Table 1: Hilbert-style Axiomatization K
c
of Static Logic.
(Taut) ϕ, ϕ is a tautology
(K
B
) B
a
(ϕ ψ) (B
a
ϕ B
a
ψ) (a G)
(Selfchn) c
aa
(a G)
(MP) From ϕ and ϕ ψ, infer ψ
(Nec
B
) From ϕ, infer B
a
ϕ (a G)
Figure 1: Accessibility relations of agents a and b.
C
aa
= C
bb
= W. Agent a believes p in w
2
and ¬p in
w
3
, but he/she is not sure of p or ¬p in w
1
. On the
other hand, agent b does not believe p nor ¬p at all
the worlds. There are channels from a to b in w
1
and
w
2
, but there is no channel between them in w
3
.
2.2 Hilbert-style Axiomatization
The following theorem implies that we can axiom-
atize all the valid formlas on the class of all nite
Kripke models. The restriction to the finite models
is important for us, since our matrix representation of
Kripke model is always in terms of finite matrix.
Theorem 1. For all formulas ϕ in L , ϕ is a theorem
in K
c
of Table 1 iff ϕ is valid on the class of all finite
Kripke models.
Proof. (Outline) Since the soundness is easy to es-
tablish, we focus on the completeness with respect to
the class of all finite Kripke models. We show that
any unprovable formula ϕ in K
c
is falsified in a fi-
nite Kripke model. Let ϕ be an unprovable formula
in K
c
. First, we define the canonical model M where
ϕ is falsified at some point of M. Second, since the
domain of the canonical model is infinite, we employ
the technique of filtration to boil the model down to
a finite model where ϕ is still falsified at some point.
For both steps, we basically follow the standard tech-
niques, e.g. found in (Blackburn et al., 2002).
We say that a set Γ of formulas is K
c
-consistent
(for short, consistent) if
V
Γ
is unprovable in K
c
, for
all finite subsets Γ
of Γ, and that Γ is maximally con-
sistent if Γ is consistent and ϕ Γ or ¬ϕ Γ for all
formulas ϕ. Note that ψ is unprovable in K
c
iff ¬ψ
is K
c
-consistent, for any formula ψ. We define the
canonical model (W, (R
a
)
aG
, (C
ab
)
a,bG
,V) by:
W is the set of all maximal consistent sets;
ΓR
a
iff (B
a
ψ Γ implies ψ ) for all ψ;
C
ab
:= {Γ W |c
ab
Γ};
Γ V(p) iff p Γ.
Then, we can show the following equivalence (Truth
Lemma (Blackburn et al., 2002, Lemma 4.21)):
M, Γ |= ψ iff ψ Γ for all formulas ψ and Γ W,
where we note that we need to use the axiom (K
B
)
and the rule (Nec
B
) for the case where ψ is of the
form of B
a
γ.) Given any unprovable formula ϕ in
K
c
, we can find a maximal consistent set such that
¬ϕ Γ (where we need to use (Taut) and (MP)).
Then, by the equivalence above, ϕ is falsified at of
the canonical model M, where we can assure that C
aa
= W for all a G by the axiom (Selfch). This finishes
the first step of our proof.
Let us move to the second step. Let N =
(W, (R
a
)
aG
, (C
ab
)
a,bG
,V) be a Kripke model and Γ
a finite set of formulas that is closed under taking sub-
formulas. Without loss of generality, we can assume
that Γ contains c
aa
for all agents a occurring in Γ (oth-
erwise, we can just add c
aa
s to Γ for all as occurring
in Γ where note that the number of such as is finite).
Let us define an equivalence relation
Γ
by w
Γ
w
iff (N, w |= ψ iff N, w
|= ψ) for all ψ Γ. Then, we
define a finite model N
Γ
as follows:
W
Γ
:= { [w]|w W }, where [w] is the equivalence
class of w with respect to
Γ
.
[w]R
Γ
a
[w
] iff vR
a
v
for some v [w] and v
[w
].
C
Γ
ab
:= {[w] |w C
ab
} for c
ab
Γ.
[w] V
Γ
(p) iff w V(p) for p Γ.
Remark that C
Γ
aa
always holds, since we assumed that
c
aa
Γ for all as occurring in Γ. Remark also that
the size of W
Γ
is less than or equal to 2
#Γ
, hence
finite. By induction on ψ Γ, we can show that
N, w |= ψ iff N, [w] |= ψ for all w W (the proof can
be found in (Blackburn et al., 2002, Theorem 2.39)).
Recall that any unprovable formula ϕ in K
c
is falsi-
fied at Γ of the canonical model M. Now we can
apply the filtration technique to obtain a finite model
M
Γ
where ϕ is falsified at [] and Γ is the union of
{c
aa
| a occurs in ϕ} and the finite set Sub(ϕ) of all
subformulas of ϕ and this finishes the second (and
last) step of our proof.
Theorem 2. K
c
is decidable.
Proof. When ϕ is unprovable in K
c
, Theorem 2 tells
us that ϕ has a finite countermodel. Since we can re-
cursively check if a given finite model satisfies the
condition C
aa
= W for all agents a G (note G is
finite), we can construct an effective procedure gen-
erating all the finite Kripke models and checking if
ϕ is falsified at some point of a finite model. To-
gether with an effective procedure of enumerating all
ICAART2015-InternationalConferenceonAgentsandArtificialIntelligence
176
the theorems of K
c
, we obtain the decision procedure
of Theoremhood of K
c
.
3 DYNAMIC OPERATORS FOR
CHANNEL COMMUNICATION
This section introduces two dynamic operators which
allows us to talk about agents’ belief changes in
terms of informing action. The first dynamic oper-
ator (semi-private announcement) specifies both the
sender and the receiver, but the second operator (in-
trospective announcement via channel) just specified
the sender agents and we need to calculate the re-
ceivers of the information via communication chan-
nels.
3.1 Semi-private Announcement
One of the most well-known dynamic operators is
public announcement operator (Plaza, 1989), but our
operator of this section differs from it by the follow-
ing requirement:
(R3) Our introducing operators are semi-private or
non-public announcements to some specific
agents. We assume that an agent a can send a mes-
sage to an agent b only when there is a channel
from a to b.
When an agent informs one of the other agents of
something, our basic assumption is that we need a
(context-dependent) channel between those agents.
The notion of channel was formalized as channel
propositions c
ab
.
Let us denote our intended dynamic operator by
[ϕ
a
b
], whose reading is ‘after the agent a informs the
agent b of the message ϕ via channel’. Our intended
reading of [ϕ
a
b
]ψ is ‘after the agent a informs the
agent b to ϕ, ψ. We provide the semantic clause for
[ϕ
a
b
]ψ on a model M = (W, (R
a
)
aG
, (C
ab
)
a,bG
,V) is
given as follows:
M, w |= [ϕ
a
b
]ψ iff M
ϕ
a
b
, w |= ψ
where M
ϕ
a
b
= (W, (R
a
)
aG
, (C
ab
)
a,bG
,V) and
(R
c
)
cG
is defined as: if c = b, for all x W, we set
R
b
(x) :=
(
R
b
(x) JϕK
M
if M,x |= B
a
ϕ c
ab
R
b
(x) otherwise.
If c 6= b, R
c
:= R
c
. Semantically speaking, [ϕ
a
b
] re-
stricts bs attention to the ϕs worlds if there is a chan-
nel from the agent a to b and agent a believes ϕ. Oth-
erwise, the action [ϕ
a
b
] will not change bs belief.
Table 2: Hilbert-style Axiomatization K
c[ ·↓
a
b
]
.
In addition to all the axioms and rules of K
c
, we add:
[ϕ
a
b
]p p,
[ϕ
a
b
]c
cd
c
cd
,
[ϕ
a
b
]
¬
ψ
¬
[ϕ
a
b
]ψ,
[ϕ
a
b
](ψ χ) [ϕ
a
b
]ψ [ϕ
a
b
]χ,
[ϕ
a
b
]B
c
ψ B
c
[ϕ
a
b
]ψ (c 6= b)
[ϕ
a
b
]B
b
ψ ((c
ab
B
a
ϕ) B
b
(ϕ [ϕ
a
b
]ψ))
(¬(c
ab
B
a
ϕ) B
b
[ϕ
a
b
]ψ)
(Nec
[ϕ
a
b
]
) From ψ, infer [ϕ
a
b
]ψ
Theorem 3. For all formulas ϕ in the expanded syn-
tax L with [ψ
a
b
], ϕ is a theorem in K
c[ ·↓
a
b
]
of Table 2
iff ϕ is valid on the class of all finite Kripke models.
Proof. By ψ (or
+
ψ), we mean that ψ is a theorem
of the axiomatization K
c
(or, K
c[ ·↓
a
b
]
, respectively.)
The soundness of the axioms is easy. One can also
check that the necessitation rule (Nec
[ϕ
a
b
]
) preserves
the validity on the class of all finite models. As for the
completeness part, we can reduce the completeness of
our dynamic extension to the static counterpart (i.e.,
Theorem 1) as follows. With the help of the axioms
of Table 2, we can define a mapping t sending a for-
mula ψ of the expanded syntax (we denote this by L
+
below) with the dynamic operators [ϕ
a
b
] to a formula
t(ψ) of the original syntax L , where we start rewrit-
ing the innermost occurrences of [ϕ
a
b
]. For example,
t([ϕ
a
b
]B
c
(p c
ac
)) := B
c
(p c
ac
). For this mapping
t, we can show that ψ t(ψ) is valid on all finite
models and
+
ψ t(ψ). Then, we can proceed as
follows. Fix any formula ψ of L
+
such that ψ is valid
on all finite models. By the validity of ψ t(ψ) on
all finite models, we obtain that t(ψ) is valid on all
finite models. By Theorem 1, t(ψ), which implies
+
t(ψ). Finally, it follows from
+
ψ t(ψ) that
+
ψ, as desired.
Example 2. In Example 1, we obtain the truth of
[p
a
b
]B
b
p at w
2
, i.e., ‘after agent a informs agent b
of the message ϕ via channel, agent b comes to be-
lieve p’ in w
2
. Figure 2 is the updated model of M by
[p
a
b
]. On the other hand, agent a does not have any
channel to b in w
3
, and so, the accessible worlds from
w
3
will be unchanged even after the update of M by
[p
a
b
]. Therefore, [p
a
b
]B
b
p is false at w
3
. Similarly,
agent a does not believe ¬p in w
1
, i.e., B
a
¬p fails in
w
1
, and so, the informing action [p
a
b
] will not change
the accessible worlds from w
1
.
LinearAlgebraicSemanticsforMulti-agentCommunication
177
Figure 2: Updated accessibility relation of agent b.
Table 3: Hilbert-style Axiomatization K
c[·
H
]
.
In addition to all the axioms and rules of K
c
, we add:
[ϕ
H
]p p,
[ϕ
H
]c
ab
c
ab
,
[ϕ
H
]
¬
ψ
¬
[ϕ
H
]ψ,
[ϕ
H
](ψ χ) [ϕ
H
]ψ [ϕ
H
]χ,
[ϕ
H
]B
a
ψ (
W
bH
(c
ba
B
b
ϕ) B
b
(ϕ [ϕ
H
]ψ))
(¬(
W
bH
(c
ba
B
b
ϕ)) B
b
[ϕ
H
]ψ)
(Nec
[ϕ
H
]
) From ψ, infer [ϕ
H
]ψ
3.2 Introspective Announcement Via
Communication Channels
In the dynamic operator [ψ
a
b
], we specified a and b
as the sender and the receiver of the information ϕ,
respectively. Even so, we may consider the situa-
tion where more than one agents, say a and b, send
a piece of information to the other agents, and who
will receive the information may change, depending
on communication channels between agents. In this
sense, we do not specify the receivers in advance here.
Rather, we calculate the receivers of the information
from the senders and the communication channels.
We may expand our static syntax L with a dynamic
operator [ϕ
H
] (H G) whose reading is ‘after a
group H of agents sends a piece ϕ of information via
communication channels’. Given a Kripke model M
= (W, (R
a
)
aG
, (C
ab
)
a,bG
,V) and a world w W, we
define the semantics of [ϕ
H
]ψ by:
M, w |= [ϕ
H
]ψ iff M
ϕ
H
, w |= ψ,
where M
ϕ
H
= (W, (R
a
)
aG
, (C
ab
)
a,bG
,V) and R
a
is
defined as follows: for all w W, if there is some
b H such that w C
ba
and M, w |= B
b
ϕ, we put
R
a
(w) := R
a
(w) JϕK
M
.
Otherwise, we put R
a
(w) := R
a
(w).
By the similar argument to Theorem 3, we can
prove the completeness theorem for K
c[ ·↓
a
b
]
over the
class of all the finite Kripke models.
Theorem 4. For all formulas ϕ in the expanded syn-
tax L with [ψ
H
], ϕ is a theorem in K
c[ ·↓
H
]
of Table 3
iff ϕ is valid on the class of all finite Kripke models.
Example 3. In Example 1, let H = { a} be a group
of senders. Then, when we focus on the world w
2
, we
can calculate the receivers by the calculation just be-
fore this example and specify the receivers as {a, b},
since there is a channel from a to b in w
2
and a be-
lieves p in w
2
. So, we obtain the truth of [p
H
]B
b
p
at w
2
, i.e., after the group of agent H sends a piece
p of information via communication channel, agent
b comes to believe p in w
2
. Moreover, the updated
model of M by [p
H
] is the same as Figure 2.
However, when we change the group of senders
to H
= { b}, agent b does not believe p in w
2
(i.e.,
B
b
p is false in w
2
), and so, the accessible worlds from
w
2
will be unchanged even after the update of M by
[p
H
]. Therefore, [p
H
]B
b
p is still false at w
2
.
4 MATRIX REPRESENTATION
OF KRIPKE SEMANTICS
A usual Kripke frame (W, R) (for a single agent) can
be regarded as a directed graph, i.e., a set W of possi-
ble worlds corresponds to a set of nodes, and a set R
of accessibility relation corresponds to a set of edges.
Generally speaking, such set of edges can be written
as a boolean matrix. Therefore, the accessibility rela-
tion (= a belief state of an agent) can be represented in
a matrix. In this case, the accessibility from possible
world i to j can be mapped to the (i, j)-element of the
matrix. In what follows, we use M(m × n) to mean
the set of all m× n-boolean matrix.
Let us provide a matrix representation of our no-
tions of frame and model. First, we start with frames.
Given any Kripke frame F = (W, (R
a
)
aG
, (C
ab
)
a,bG
)
with #W = n, we write W = { w
1
, w
2
, . . . , w
n
} and de-
fine matrix representations of C
ab
and R
a
as follows.
In accordance with C
ab
W (a, b G), C
M
ab
is a
matrix in M(n × 1), i.e., a column vector where the
ks component is 1 if w
k
C
ab
, otherwise 0. In gen-
eral, given any relation R W ×W, R
M
is a matrix in
M(n× n) such that
R
M
(i, j) =
(
1 if (w
i
, w
j
) R
0 otherwise
Now we move to define a matrix representation of
a model M = (W, (R
a
)
aG
, (C
ab
)
a,bG
,V). Here we
assume that the number #Prop of propositional letters
is m and #W of possible worlds is n. Our matrix repre-
sentation of V(p) is similar to a channel relation C
ab
.
That is, V(p)
M
is a matrix in M(n × 1) (= a column
vector) where the ks component is 1 if w
k
V(p),
otherwise 0.
Now we can rewrite Kripke semantics to our syn-
tax in terms of matrix. We inductively associate
ICAART2015-InternationalConferenceonAgentsandArtificialIntelligence
178
each formula ϕ of L with a column vector kϕk
M
M(n× 1) as follows:
1
kpk
M
:= V(p)
M
kc
ab
k
M
:= C
M
ab
ϕk
M
:=
kϕk
M
kB
a
ϕk
M
:= R
M
a
kϕk
M
.
kϕ ψk
M
:= kϕk
M
+ kψk
M
where, for X M(n × n),
X means the boolean com-
plementation of X. For the dual
c
B
a
of B
a
, it is easy
to see that k
c
B
a
ϕk
M
= R
M
a
kϕk
M
. If the underlying
model is clear from the context, we drop the subscript
M from kϕk
M
. We use kϕk
w
i
to means the i-th
component kϕk(i) of the column vector kϕk
M
, i.e.,
the truth value of the formula ϕ at w
i
of M.
Example 4. kB
a
pk
M
in Example 1 is calculated as:
R
M
a
kpk
M
=
1 1 1
0 1 0
0 0 1
1
0
1
=
1
0
1
=
0
1
0
.
This result coincides with our explanation in Exam-
ple 1 (recall also Figure 1).
This match up can be captured by the following
proposition.
Proposition 5. Given any finite model M and any
formula ϕ of L, we can show that (JϕK
M
)
M
= kϕk
M
.
5 MATRIX REPRESENTATION
OF DYNAMIC OPERATORS
Given a Kripke model M with a domain W
= { w
1
, . . . , w
n
}, we may easily rewrite semantic
clauses of [ϕ
a
b
] and [H
ϕ
] in terms of matrix such
as: k[ϕ
a
b
]ψk
M
:= kψk
M
ϕ
a
b
and k[H
ϕ
]ψk
M
:=
kψk
M
ϕ
H
where k[ϕ
a
b
]ψk
M
and k[H
ϕ
]ψk
M
are ma-
trices in M(n×1). However, it is not so clear if we can
capture processes of updating M to M
ϕ
a
b
and M
ϕ
H
in terms of operations over matrices. (Van Benthem
and Liu, 2007) propose a general framework of up-
dating agents’ accessibility relations in terms of pro-
gram term of propositional dynamic logic. With the
help of their ideas, this section provides matrix rep-
resentations of our two dynamic operators [ϕ
a
b
] and
[H
ϕ
]. First, we expand our syntax of static logic of
agents’ belief with terms of (iteration free) proposi-
tional dynamic logic, and then we explain the main
idea of (Van Benthem and Liu, 2007) in Section 5.1.
Finally, we rewrite their semantic idea in terms of ma-
trix in Section 5.2.
1
In order to handle multiple agents G, (Fitting, 2003)
employed the notion of P (G)-valued matrix. However, we
keep ourselves to the boolean matrices in this paper.
5.1 Propositional Dynamic Logic of
Relation Changers
The syntax of PDL-extension of L is defined by si-
multaneous induction on a program term π and a for-
mula ϕ:
π ::= R
a
|(π π)| (π;π)|ϕ? (a G)
ϕ ::= p|c
ab
|¬ϕ|ϕ ϕ|[π]ϕ (p Prop, a, b G)
Here we regard R
a
as an atomic program (for agent
a). [R
a
] corresponds to the previous belief operator
B
a
. So, in what follows, we also write B
a
for [R
a
], if
no confusion arises from the context. Then, we may
read the program terms as follows: (π π
) is to read
‘do π or π
, non-deterministically”; (π;π
) is to read
“do π followed by π
”; ϕ? is to read “proceed if ϕ true,
else fail”. As is well-known, we can introduce some
standard programming constructs by definitional ab-
breviation. For example,
if ϕ then π else π
:= (ϕ?;π) ((¬ϕ)?;π
).
Given a model M = (W, (R
a
)
aG
, (C
ab
)
a,bG
,V), we
define the semantics of our PDL-extension by:
JR
a
K
M
:= R
a
Jπ π
K
M
:= JπK
M
Jπ
K
M
Jπ;π
K
M
:= JπK
M
Jπ
K
M
Jϕ?K
M
:= {(w, v)| w = v and w JϕK
M
}
JpK
M
:= V(p)
Jc
ab
K
M
:= C
ab
J¬ϕK
M
:= W \ JϕK
M
Jϕ ψK
M
:= JϕK
M
JψK
M
J[π]ϕK
M
:= {w W |JπK
M
(w) JϕK
M
},
where R S is the relational composition of R with S,
i.e., (w, v) R S iff (w, u) R and (u,v) S for some
u W, and JπK
M
(w) := {v W |(w, v) JπK
M
}.
Note that J[R
a
]ϕK
M
is the same meaning as the truth
set { w W |M, w |= ϕ} of the previous Kripke se-
mantics.
Recall that, in the semantics of [ϕ
a
b
] and [ϕ
H
]
(H G), we keep the domain of a model, channel re-
lations, and a valuation for proposition letters but re-
define the accessibility relation (R
a
)
aG
. In this sense,
we may say that those operations are relation chang-
ers. (Van Benthem and Liu, 2007) observed that, if
relation changing operations are written in terms of
program terms generated from atomic programs by
the composition ;, the union and the test ϕ?, then
we can automatically generate the set of reduction ax-
ioms (as in Tables 2 and 3) to assure semantic com-
pleteness of propositional dynamic logic with relation
changing operations. Let us suppose that our relation
changer for a relation R
a
= JR
a
K
M
is written in terms
of a program term π
a
(a G). Then, we may de-
note by [(R
a
:= π
a
)
aG
] our dynamic operator which
LinearAlgebraicSemanticsforMulti-agentCommunication
179
changes an original relation R
a
into a new relation R
a
via π
a
for all agents a G. Then, our key equivalence
for generating the reduction axioms takes the follow-
ing form:
[(R
a
:= π
a
)
aG
][R
b
]ϕ [π
b
][(R
a
:= π
a
)
aG
]ϕ.
where we generalize van Benthem and Liu’s equiva-
lence for a single agent to multi-agents.
Example 6. 1. Semi-private Announcement: In the
semantics of [ϕ
a
b
], we have rewritten the ac-
cessibility relations (R
a
)
aG
into the new ones
(R
a
)
aG
. We may reformulate the semantics in
terms of binary relations.
Let c = b. Then, R
c
:= (R
c
(Jc
ac
B
a
ϕK ×
JϕK)) (R
c
(J¬(c
ac
B
a
ϕ)K ×W)).
Let c 6= b. Then, R
c
:= R
c
.
Then, the corresponding relation changer agent b
to [ϕ
a
b
] is the following. When c = b,
π
b
:= ((c
ab
B
a
ϕ)?;R
b
;ϕ?)(¬(c
ab
B
a
ϕ)?;R
b
).
If we employ the previous definitional abbrevia-
tion, we may write π
b
as:
π
b
:= if c
ab
B
a
ϕ then R
b
;ϕ? else R
b
.
When c 6= b, the relation changer for agent c for
[ϕ
a
b
] is: π
c
:= R
c
. Then, we may regard [ϕ
a
b
] as
[(R
a
:= π
a
)
aG
].
2. Introspective Announcement via Communication
Channel: Let a be any agent. The correspond-
ing relation changer to [ϕ
H
] is the following pro-
gram term π
b
:= (ψ?;R
b
;ϕ?) (¬ψ?;R
b
), where
ψ :=
W
aH
(c
ab
B
a
ϕ). By the previous defini-
tional abbreviation, we may write π
b
as:
π
b
:= if
_
aH
(c
ab
B
a
ϕ)
then R
b
;ϕ? else R
b
.
Then, we may regard [ϕ
H
] as [(R
a
:= π
a
)
aG
].
5.2 Relation Changers in Matrix Form
Given two relations R
1
, R
2
W × W. Relational
union and composition fit well with matrix addition
and multiplication as follows:
(R
1
R
2
)
M
= R
M
1
+ R
M
2
, (R
1
R
2
)
M
= R
M
1
R
M
2
Let ϕ be a formula of static logic of agents’ belief.
Since Jϕ?K
M
= {(w, v)|w = v and M, w |= ϕ} is also
a relation on W, we may provide a matrix representa-
tion Jϕ?K
M
. By definition of R
M
, we obtain:
Jϕ?K
M
M
(i, j) =
(
1 if i = j and M, w
i
|= ϕ,
0 otherwise.
Therefore, Jϕ?K
M
M
is the matrix from which diagonal
components we may read off the information of truth
set of JϕK
M
of the formula ϕ. For test program, we
note the following proposition.
Proposition 7. Let ϕ and ψ be formulas. Then,
J(ϕ ψ)?K = Jϕ?K Jψ?K. Therefore, J(ϕ ψ)?K
M
=
Jϕ?K
M
Jψ?K
M
.
Example 8. Let us see whether our matrix repre-
sentation of model update for semi-private announce-
ment works on our running example (Example 1). As
is the same as in Example 2, we consider the update
by [p
a
b
]. There are channel between agent a and b,
and agent a believes that p at w
2
. By Proposition 7,
the first part of a matrix calculation of R
b
becomes:
J(c
ab
B
a
p)?K
M
R
M
b
Jp?K
M
= Jc
ab
?K
M
JB
a
p?K
M
R
M
b
Jp?K
M
=
1 0 0
0 1 0
0 0 0
0 0 0
0 1 0
0 0 0
1 1 1
1 1 1
1 1 1
0 0 0
0 1 0
0 0 0
=
0 0 0
0 1 0
0 0 0
Then calculate also the remaining part of R
b
,
i.e.,J¬(c
ab
B
a
p)?K
M
R
M
b
, we combine both results to
obtain updated relation R
b
of agent b as:
R
b
= J(c
ab
B
a
p)?K
M
R
M
b
Jp?K
M
+ J¬(c
ab
B
a
p)?K
M
R
M
b
=
0 0 0
0 1 0
0 0 0
+
1 1 1
0 0 0
1 1 1
=
1 1 1
0 1 0
1 1 1
This coincides with the result of Example 2 (see Fig-
ure 2)
6 IMPLEMENTATION
This section introduces two algorithms. One of them
calculates the truth value of a formula B
a
p and the
other one calculates the relation updates by [p
a
b
]. For
both algorithms, we assume that an input model M =
(W, (R
a
)
aG
, (C
ab
)
a,bG
,V) is represented in terms of
boolean matrix.
Algorithm 1: Calculation of kB
a
pk
w
.
procedure BELIEF-OF
input M, w
i
W, a G, p Prop
kB
a
pk :=
R
M
a
V(p)
M
return True if kB
a
pk(i) > 0; False otherwise
end procedure
Here we comment just on Algorithm 2. In order
to update an accessibility relation of agent b, the al-
gorithm loops to find agent b. If the algorithm finds
agent b, a model updating procedure (for a single
agent) will be started, otherwise it just put R
c
= R
c
.
At the beginning of the updating procedure, the algo-
rithm generates test matrices through
Test
function
where an input of this function is a column vector,
and it enumerates the elements of the input vector
ICAART2015-InternationalConferenceonAgentsandArtificialIntelligence
180
Algorithm 2: Calculation of [p
a
b
].
procedure SEMI-PRIVATE-ANNOUNCEMENT
input M, a, b G, p Prop
for c G do
if c = b then
X := Test(C
ab
M
)
Y := Test(kB
a
pk)
Z :=Test(V(p)
M
)
R
b
M
:= XYR
M
b
Z +
XYR
M
b
else
R
c
M
:= R
c
M
end if
end for
return M
= (W, (R
a
)
aG
, (C)
a,bG
,V)
end procedure
in the diagonal components of an output matrix, and
fills 0 in the non-diagonal components of the matrix.
Then, it calculates the updated accessibility relation
of agent b in terms of boolean matrix. Note that
ϕ?k can be calculated as
kϕ?k. Finally, the algo-
rithm returns the updated model M
.
Implemented Program. We have implemented the
preceding algorithms in a single calculator with GUI
by Java
TM
7. It is now available on our web site
2
.
The main features of the calculator are summarized
as follows. First, we may edit the numbers of both
agents and worlds, and also accessibility relations for
agents in terms of boolean matrix. Second, it also
implemented an algorithm checking if a given acces-
sibility relation satisfies frame properties such as re-
flexivity, transitivity, etc. Third, the calculator can vi-
sualize both an accessibility relation of an agent and a
channel relation (communication channels) between
agents at a world, with the help of Graphviz.
3
7 CONCLUSION
The main contribution of this paper can be summa-
rized as follows. First, we introduced the static doxas-
tic logic with communication channels (where we al-
ways assume self-channel on all agents) with the com-
plete axiomatization K
c
that is also decidable (Theo-
rems 1 and 2). We also extended such static logic with
two dynamic operators [ϕ
a
b
] (semi-private announce-
ment) and [ϕ
H
] (introspective announcement) with
reduction axioms (so extensions of both of them en-
joy completeness results, Theorems 3 and 4). A key
feature of our dynamic operators are non-public, i.e.,
effects of announcements are restricted to some spec-
ified agents determined by communication channels.
2
http://cirrus.jaist.ac.jp:8080/soft/bc
3
http://www.graphviz.org/
Second, we followed the idea by (Fitting, 2003) to re-
formulate Kripke semantics to our doxastic logic in
linear algebraic form, and employ the idea of PDL-
format by (Van Benthem and Liu, 2007) to provide
matrix representations to our two dynamic operators.
Finally, based on this linear algebraic reformulation,
we implemented the calculation system of agents’ be-
liefs and updates of Kripke models by [ϕ
a
b
]. An im-
plementation of [ϕ
H
] is a direction of further work.
ACKNOWLEDGEMENTS
We would like to thank anonymous reviewers for their
helpful comments. The works of the second and third
authors were partially supported by JSPS KAKENHI
Grant-in-Aid for Young Scientists (B) No. 24700146
and Scientific Research (C) No. 25330434, respec-
tively.
REFERENCES
Barwise, J. and Seligman, J. (1997). Information flow.
Cambridge University Press.
Blackburn, P., De Rijke, M., and Venema, Y. (2002). Modal
Logic. Cambridge University Press.
Fitting, M. (2003). Bisimulations and boolean vectors. In
Advances in Modal Logic, pages 97–126. King’s Col-
lege Publications.
Fusaoka, A., Nakamura, K., and Sato, M. (2007). On a
linear framework for belief dynamics in multi-agent
environments. LNCS, pp. 41–59. Springer.
G¨ardenfors, P. (2003). Belief revision. Cambridge Univer-
sity Press.
Liau, C.-J. (2004). Matrix representation of belief states.
International Journal of Uncertainty, Fuzziness and
Knowledge-based Systems, 12(05):613–633.
Plaza, J. A. (1989). Logics of public communications. In
Emrich, M. L., et.al, Proceedings of the 4th Inter-
national Symposium on Methodologies for Intelligent
Systems, pp. 201–216.
Sano, K. and Tojo, S. (2013). Dynamic epistemic logic
for channel-based agent communication. LNCS, vol.
7750, pp. 109–120. Springer.
Seligman, J., Liu, F., and Girard, P. (2011). Logic in the
community. LNCS, vol. 6521, pp. 178–188.
Tojo, S. (2013). Collective belief revision in linear algebra.
In Computer Science and Information Systems, 2013
Federated Conference on, pp. 175–178. IEEE.
Van Benthem, J. and Liu, F. (2007). Dynamic logic of
preference upgrade. Journal of Applied Non-Classical
Logics, 17(2):157–182.
Van Ditmarsch, H., van der Hoek, W., and Kooi, B. P.
(2007). Dynamic epistemic logic. Springer.
LinearAlgebraicSemanticsforMulti-agentCommunication
181