3.5 Summary
4.1.2 Abstraction
The following definition formalises the relation between two Extended AC-MAS models and enables us to reason about preservation of epistemic µ-calculus formulas [GJ02].
Definition 13 (Simulation). Let P = hS, I, Act, τmτM, Λi and P0 = hS0,I0, Act0τm0 τ 0 M, Λ
0
i be Extended AC-MAS over the same set A of agents and sets AP0 ⊆ AP of propositions. A simulation relation between P and P0 is a relation '⊆ S × S0 such that:
1. s0 ∈ I0 iff there exists s∈ I, such that s ' s0; and whenever s' s0 then:
2. if s−→ t then there exists smay 0 ∈ S0, such that s0 −→may 0 t0 and t' t0; 3. if s0 must
−→0 t0 then there exists t∈ S, such that s must
−→ t and t ' t0;
4. if smay∼i t then there exists s0 ∈ S0, such that s0
may ∼i 0 t0 and t' t0; 5. if s0 must ∼i 0
t0 then there exists t∈ S, such that s must
∼i t and t' t0;
4.1 3-valued abstraction for ac-mas| 51
If there is a simulation relation between P and P0, we say that P0 simulates P, or P P0. The logic we consider here is the epistemic µ-calculus [BDE13]. Recall from Section 2.2.4 that the modal µ-calculus is a powerful formalism for expressing properties of transition systems using fix-point operators. Let AP be a finite set of atomic propositions and V a set of propositional variables. We define the syntax of epistemic µ-calculus languageL in BNF notation as follows:
ϕ ::=> | p | Z | ¬ϕ | ϕ ∧ ϕ | 2ϕ | Kiϕ| µZ.ϕ | νZ.ϕ
where p ∈ AP and Z ∈ V. The syntactic combinations µZ and νZ are called the least and greatest fix-point operators respectively. An environment ρ : V → 2S interprets the free
propositional variable Z as a set of states. Any occurrence of Z in ϕ falls within an even number of negations in order for the formulas µZ.ϕ and νZ.ϕ to be monotonic in Z. Furthermore, we assume that formulas are closed and well-named, i.e., all propositional variables are bound exactly once in any formula. In addition to satisfaction (tt) and refutation (ff), we write ⊥ to express that the truth value is unknown. We define the 3-valued semantics for L in line with [SG08] and extend it by the epistemic operator Ki as follows:
Definition 14 (3-Valued Semantics). Let P be Extended AC-MAS. The 3-valued semantics of ϕ∈ L in P for an environment ρ, denoted JϕKM,ρ3 , is defined by a mapping S → {tt,ff, ⊥} such that: JϕK P,ρ 3 (s) = tt, if s∈JϕKP,ρtt ff, if s∈JϕKP,ρff ⊥, otherwise
The tt-set JϕKP,ρtt ⊆ S for ϕ ∈ L over Extended AC-MAS P = hS, I, Act, τmτM, Λi is defined
as follows (the ff-set JϕKP,ρff is defined dually):
J>K P,ρ tt = S J>K P,ρ ff =∅ JpK P,ρ tt ={s ∈ S : p ∈ Λ(s)} JpK P,ρ ff ={s ∈ S : ¬p ∈ Λ(s)} JZ K P,ρ tt = ρ(Z) JZ K P,ρ ff = ρ(Z) J¬ϕK P,ρ tt =JϕK P,ρ ff J¬ϕK P,ρ ff =JϕK P,ρ tt Jϕ1∧ ϕ2K P,ρ tt =Jϕ1K P,ρ tt ∩Jϕ2K P,ρ tt Jϕ1∧ ϕ2K P,ρ ff =Jϕ1K P,ρ ff ∪Jϕ2K P,ρ ff J2ϕK P,ρ tt = ax(JϕK P,ρ tt ) J2ϕK P,ρ ff = ex(JϕK P,ρ ff ) JµZ.ϕK P,ρ tt = lfp(λg.JϕK P,ρ[Z7→g] tt ) JµZ.ϕK P,ρ ff = gfp(λg.JϕK P,ρ[Z7→g] ff ) Jν Z.ϕK P,ρ tt = gfp(λg.JϕK P,ρ[Z7→g] tt ) Jν Z.ϕK P,ρ ff = lfp(λg.JϕK P,ρ[Z7→g] ff ) JKiϕK P,ρ tt = axi(JϕK P,ρ tt ) JKiϕK P,ρ ff = exi(JϕK P,ρ ff )∪JϕK P,ρ ff
where for X ⊆ S: ax(X) = {s | ∀s0 : s −→ smay 0 ⇒ X(s0)}, ex(X) = {s | ∃s0 : s −→ smust 0 ∧ X(s0)}, axi(X) = {s | ∀s0 : s
may
∼i s0 ⇒ X(s0)}, and exi(X) = {s | ∃s0 : s
must
ax returns states whose may successors are all in X, which means that more may successors (over-approximation) lead to a smaller tt set. In contrast, ex computes all states for which at
least one must transition exists, which means that less must successors (under-approximation) lead to a smaller ff set. axi and exi are the corresponding operators for the epistemic relations.
Note that we can add states JϕKP,ρff without the loss of soundness since agent i does definitely not know ϕ in states where ϕ is false.
The model P satisfies formula ϕ, or [P |= ϕ] = tt, if all its initial states are in3 JϕKP,ρtt . The model P refutes ϕ, or [P |= ϕ] = ff, if at least one initial state is in3 JϕKP,ρff . Otherwise we say [P |= ϕ] =3 ⊥.
The following lemma guarantees the preservation of truth and falsity of L formulas from the simulating system P0 to the system P being simulated:
Lemma 1. Assume P P0. Then for every ϕ ∈ L if [P0 |= ϕ] = tt then [3 P |= ϕ] = tt and if3 [P0 |= ϕ] = ff then [3 P |= ϕ] = ff.3
Proof. Assume P P0. We show that
if s' s0, s0 ∈JϕKttP0,ρ then s ∈JϕKP,ρtt ; (4.1) if s' s0, s0 ∈JϕKffP0,ρ then s ∈JϕKP,ρff (4.2) by induction over ϕ. The base step, ϕ is p∈ AP0, follows from the simulation requirement 6. The induction step for the µ-calculus operators follows from the simulation requirement 2. for tt and 3. for ff. The induction step for the epistemic modality follows from the simulation requirement 4. for tt and 5. for ff. The Lemma follows from (4.1), (4.2), and the simulation requirement 1., where the biconditional guarantees to preserve both tt and ff.
Definition 15 (Abstraction). Let P = hS, I, Act, τmτM, Λi and P0 = hS0,I0, Act0τm0 τ 0 M, Λ
0
i be Extended AC-MAS over the same setA of agents and sets AP0 ⊆ AP of propositions. We say that P0 is an abstraction of P if:
1. s0 ∈ I0 iff there exists s∈ I, such that s ∈ γ(s0);
2. s0 −→may0 t0 iff there exist s∈ γ(s0) and t∈ γ(t0), such that s−→ t;may 3. s0 must
−→0 t0 iff for each s∈ γ(s0) there exists t∈ γ(t0), such that s must
−→ t; 4. s0 may∼i
0
t0 iff there exist s ∈ γ(s0), t ∈ γ(t0) such that s may∼i t or there exists u0 such that
s0 may∼i u0 and u0
may
∼i t0 (this recursively defines a chain of any length);
5. s0 must
∼i 0
t0 iff for each s∈ γ(s0) there exists t ∈ γ(t0), such that smust
∼i t, and for each t∈ γ(t0)
there exists s∈ γ(s0), such that tmust
∼i s;
4.1 3-valued abstraction for ac-mas| 53
where γ : S0 7→ 2S is the concretisation function that maps each abstract state s0
∈ S0 to the
non-empty set of concrete states Ss0 ⊆ S it represents; may
−→0 and −→ are the may transitionmay relations in P0 and P respectively; must
−→0 and must
−→ are the must transition relations; may∼i 0
and may∼i
are the may epistemic possibility relations; and must∼i 0
and must∼i are the must epistemic possibility
relations.
May transition relations in the abstract model P0 over-approximate may transition relations in the concrete model P; they represent every concrete may transition relation between two states in P. Conversely, must transition relations in the abstract model P0 under-approximate must transition relations in the concrete model P; they correspond to concrete transition relations that are common to all of the states of P represented by the source abstract state.
We define may and must epistemic possibility relations in the abstract system similarly to the temporal case; however, there are additional constraints due to the nature of the relations. Specifically, we require both to be equivalence relations. This is achieved by building the transitive closure formay∼i, while relations in
must
∼i that are not symmetric are removed. By insisting
on equivalence relations, we ensure that the usual KT45 axioms for knowledge are satisfied in the abstract model.
Note that if the abstract may epistemic possibility relation were defined analogously to abstract may transition relations, it would not necessarily be transitive. Therefore, we define the abstract may epistemic possibility relation as the transitive closure of this relation. Similarly, if the abstract must epistemic possibility relation were defined analogously to abstract must transition relations, it would not be necessarily symmetric. Therefore, we remove the abstract must epistemic possibility relations that are not symmetric.
The labelling of an abstract state is defined so that it is consistent with the labelling of all the concrete states it represents. The biconditional ensures that the abstract labelling function is exact. Note that all Extended AC-MAS models P abstracted in such a way are consistent, i.e., JϕKtt∩JϕKff =∅ for any ϕ ∈ L, since
must
−→⊆may
−→ and must
∼i⊆
may
∼i. Therefore the set JϕK
P,ρ ⊥ can
be computed as S\(JϕKP,ρtt ∪JϕKP,ρff ).
Lemma 2. If P0 is an abstraction of Extended AC-MAS P then P P0.
Proof. We show that if P0 is abstraction ofP then {(s, s0)| s ∈ γ(s0)} is the simulation relation '. The simulation requirement 1. follows from the requirement 1. in Definition 15. The simulation requirement 2. follows from the if direction of the requirement 2. in Definition 15. The simulation requirement 3. follows from the only if direction of the requirement 3. in Definition 15. The simulation requirement 4. follows from the if direction of the requirement 4. in Definition 15 for n = 1. The simulation requirement 5. follows from the only if direction of the requirement 5. in Definition 15. The simulation requirement 6. follows from the only if direction of the requirement 6. in Definition 15 for all p∈ AP0.
Theorem 2 (Preservation). Let P0 be an abstraction of Extended AC-MAS P. Then for every ϕ∈ L, if [P0 |= ϕ]3 6= ⊥ then [P |= ϕ] = [3 P0 |= ϕ].3
Proof. Theorem follows from Lemma 1 and Lemma 2, where for P we have τM = τm = τ and
may
∼i=
must
∼i=∼i