This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Determining Existence of Logical Obstructions to the Distributed Task Solvability thanks: This article is a revised version of aurthor’s Master’s thesis [Hoshino:Msc22].

Sou Hoshino Dept. of Mathematics, Kyoto University, Japan; E-mail: [email protected]
Abstract

To study the distributed task solvability, Goubault, Ledent, and Rajsbaum devised a model of dynamic epistemic logic that is equivalent to the topological model for distributed computing. In the logical model, the unsolvability of a particular distributed task can be proven by finding a formula, called logical obstruction. This logical method is very appealing because the concrete formulas that prevent to solve task would have implications of intuitive factors for the unsolvability. However, it has not been well studied when a logical obstruction exists and how to systematically construct a concrete logical obstruction formula, if any. In addition, it is proved that there are some tasks that are solvable but do not admit logical obstructions.

In this paper, we propose a method to prove the non-existence of logical obstructions to the solvability of distributed tasks, based on the technique of simulation. Moreover, we give a method to determine whether a logical obstruction exists or not for a finite protocol and a finite task, and if it exists, construct a concrete obstruction. Using this method, we demonstrate that the language of the standard epistemic logic, without distributed knowledge, does not admit logical obstruction to the solvability of kk-set agreement tasks. We also show that there is no logical obstruction for multi-round immediate snapshot even in the language of epistemic logic with distributed knowledge. In addition, for the know-all model, we provide a concrete obstruction formula that shows the unsolvability of the kk-set agreement task.

1 Introduction

For decades, topological models have been used to study the solvability of tasks in distributed computing [DBLP:books/mk/Herlihy2013]. In topological models, the possible configurations in distributed computation are represented by a Π\Pi-colored chromatic simplicial complex, where each vertex is colored by an element taken from Π\Pi, the set of processes. This allows the unsolvability of the kk-set agreement to be proven by examining the connectivity of the simplicial complex that models the protocol [DBLP:books/mk/Herlihy2013, DBLP:conf/podc/HerlihyR94].

Recently, Goubault, Ledent, and Rajsbaum proposed a model of dynamic epistemic logic (DEL), called simplicial model, as a substitute for the conventional topological model [DBLP:journals/iandc/GoubaultLR21]. In the logical model, the unsolvability of a task TT by a protocol PP is shown as follows: 1. Find a formula φ\varphi that expresses some property that does not hold in [P]\mathcal{I}[P], a simplicial model for the protocol, but holds in [T]\mathcal{I}[T], a simplicial model for the task. 2. Show that φ\varphi is true in [T]\mathcal{I}[T] but is false in [P]\mathcal{I}[P]. 3. Apply the knowledge gain theorem to conclude that the task cannot be solved by the protocol. Thus, to prove the unsolvability, we only need to find an appropriate formula φ\varphi. We call such a formula logical obstruction. This logical method is very attractive because it provides a concrete formula that prevents to solve a task, which would contribute to better understanding of unsolvability. In addition, the above procedures 1-3 could be completed without resorting to sophisticated topological tools, such as homotopy group, Nerve lemma, and so on. However, there is no concrete way to obtain logical obstructions, and furthermore, there may be no logical obstruction. Goubault et al. [DBLP:conf/tap/GoubaultLLR19] showed that a certain unsolvable distributed task has no logical obstruction, applying the technique of bisimulation.

So far, concrete instances of logical obstruction have been devised for a limited variations of distributed tasks. Goubault et al. provided instances of logical obstructions for simple tasks such as consensus (or 1-set agreement) and approximate agreement tasks but they left logical obstruction to general kk-set agreement task as open problem [DBLP:journals/iandc/GoubaultLR21]. Nishida devised a logical obstruction to general kk-set agreement by extending the logic with modality of distributed knowledge [Nishida:Msc20]. Yagi and Nishimura [DBLP:journals/corr/abs-2011-13630] applied Nishida’s obstruction to show the unsolvability of kk-set agreement tasks in the superset closed adversary model. However, their logical obstructions to the solvability of kk-set agreement tasks work for only single-round protocols but not for multiple-round protocols. This is in contrast to the topological method, which can handle multi-round protocols [DBLP:conf/podc/HerlihyR10, DBLP:journals/jacm/HerlihyS99]. The concrete instances mentioned above seem to indicate that the epistemic logic is so weak that the unsolvability is in general hard to be expressed as an obstruction. Indeed there exists an unsolvable task that has no logical obstruction [DBLP:conf/tap/GoubaultLLR19].

In this study, we are concerned with the ability of epistemic logic in expressing the unsolvability. Particularly, we study two languages of epistemic logic, K\mathcal{L}_{K} and D\mathcal{L}_{D}, and how the additional expressibility of the latter differentiates the ability. The language K\mathcal{L}_{K} is the epistemic logic with the standard epistemic modality Ka\mathrm{K}_{a}, a.k.a. knowledge operator; The language D\mathcal{L}_{D} extends K\mathcal{L}_{K} with additional modality DA\mathrm{D}_{A}, called distributed knowledge. The logical obstructions given in [Nishida:Msc20, DBLP:journals/corr/abs-2011-13630] suggest that the distributed knowledge provides more logical obstructions to unsolvable tasks, but it does not preclude that K\mathcal{L}_{K} and D\mathcal{L}_{D} are equally able to define logical obstructions for unsolvable tasks.

In order to answer this question and find a systematic way for constructing logical obstructions, we apply the technique of simulation over simplicial models to argue the existence of logical obstructions. Simulation is a weaker notion of bisimulation between simplicial models. As we will show in a proceeding section, the knowledge gain theorem can be extended for simulations. Moreover, simulation gives a method to determine whether a logical obstruction exists or not for a finite protocol and a finite task, and if it exists, we provide a procedure for constructing a logical obstruction.

The contributions of this paper are the followings.

  • Simulation between simplicial models is introduced as a means to show that the usual epistemic language K\mathcal{L}_{K} admits no logical obstruction.

  • Simulation is extended to incorporate distributed knowledge and provides us a method for proving the non-existence of logical obstruction in the epistemic language D\mathcal{L}_{D} with distributed knowledge operator.

  • There exists a procedure that determines the existence of logical obstruction for a given pair of a finite protocol and a finite task. Moreover, in case such a logical obstruction exists, the procedure further constructs a concrete obstruction formula systematically.

We will show the following facts to demonstrate the merit of our approach.

  • The language K\mathcal{L}_{K}, without distributed knowledge, admits no logical obstruction for kk-set agreement tasks and immediate snapshot protocol, where k2k\geq 2. Therefore, D\mathcal{L}_{D} admits properly larger class of logical obstructions than K\mathcal{L}_{K}.

  • The language D\mathcal{L}_{D}, with distributed knowledge, admits no logical obstruction for 22-set agreement task and multi-round immediate snapshot protocol, where |Π|=3|\Pi|=3. Therefore, although D\mathcal{L}_{D} admits more logical obstructions than K\mathcal{L}_{K}, it still fails to establish the unsolvability, which can be topologically proven.

  • We generate a concrete logical obstruction for kk-set agreement tasks and a protocol in the know-all model [DBLP:journals/tcs/CastanedaFPRRT21].

Table 1: Existence of logical obstructions for varying tasks, protocols and languages of epistemic logic
Task Protocol Existence of logical obstruction
Consensus Immediate snapshot exist in CK\mathcal{L}_{CK} [DBLP:journals/iandc/GoubaultLR21]
Approximate agreement Immediate snapshot exist in K\mathcal{L}_{K} unless solvable [DBLP:journals/iandc/GoubaultLR21]
kk-set agreement where 2k<|Π|2\leq k<|\Pi| Single-round immediate snapshot exist in D\mathcal{L}_{D} [Nishida:Msc20], but not exist in K\mathcal{L}_{K} [This paper]
Multi-round immediate snapshot not exist in K\mathcal{L}_{K} and not exist when |Π|=3|\Pi|=3 in D\mathcal{L}_{D} [This paper]
Instance of know-all model exist in D\mathcal{L}_{D} unless solvable [This paper]
Equality negation with two agents and three input values Layered message passing not exist in CK\mathcal{L}_{CK} [DBLP:conf/tap/GoubaultLLR19]
K\mathcal{L}_{K}: the language of epistemic logic with modality of knowledge but without distributed knowledge
D\mathcal{L}_{D}: the language of epistemic logic with distributed knowledge
CK\mathcal{L}_{CK}: the language of epistemic logic with modality of knowledge and common knowledge

The Table 1 summarizes the results of prior works and the present paper.

We notice that the present paper concerns epistemic logic whose atomic propositions can mention solely input values. Epistemic logic with an augmentedset of atomic proposition such as the one proposed in [DBLP:journals/jlap/DitmarschGLLR21] which is more expressive in defining logical obstruction, is out of the scope of the paper.

The rest of the paper is organized as follows. Section 2 defines distributed tasks, protocols, and its solvability with simplicial models of DEL. In Section 3, we introduce the notion of simulation and show that there is no logical obstruction for kk-set agreement tasks and immediate snapshot protocol in K\mathcal{L}_{K}. In Section 4, we reinforce the simulation with distributed knowledge and show that there is no logical obstruction for 22-set agreement task and multi- round immediate snapshot protocol in D\mathcal{L}_{D} when |Π|=3|\Pi|=3. In Section LABEL:sec_lo_construction, we give a procedure that determines whether a simulation exists or not and further, in case there is no simulation, produce a logical obstruction. Section LABEL:sec_conclusion concludes the paper.

2 Preliminaries

Throughout the paper, we fix a non empty finite set Π\Pi for colors, or agents. We write \mathbb{N} to denote the set of non-negative integers.

2.1 Simplicial models

In the topological theory of distributed computing, distributed systems are modeled by simplicial complexes. In [DBLP:journals/iandc/GoubaultLR21], it is shown that simplicial complexes provide Kripke models that is suitable for analysis by epistemic logic.

Definition 2.1 (Chromatic simplicial complex).

A chromatic simplicial complex 𝒞=(V,S,χ)\mathcal{C}=(V,S,\chi) is a triple consisting of a set VV of vertices, a set SS of non-empty finite subsets of VV and a coloring map χ:VΠ\chi\colon V\to\Pi such that SS and χ\chi satisfy the following conditions:

  • SS is closed under inclusion, i.e. XSX\in S and YXYS\emptyset\subsetneq Y\subseteq X\implies Y\in S.

  • For any vertex vVv\in V, {v}S\{v\}\in S.

  • For any simplex XSX\in S, χ|X:XΠ\chi|_{X}\colon X\to\Pi is injective.

Each element of SS is called a simplex. We write X𝒞X\in\mathcal{C} to mean XX is a simplex of CC, i.e. XSX\in S. The dimension of a simplex XSX\in S is defined by |X|1|X|-1. A simplex that is maximal with respect to inclusion is called a facet. The set of facets is denoted by (𝒞)\mathcal{F}({\mathcal{C}}). A complex is called pure if all its facets have the same dimension.

In the following, Let 𝖠𝗍={𝚒𝚗𝚙𝚞𝚝avaΠvVin}\mathsf{At}=\{\mathtt{input}_{a}^{v}\mid\text{$a\in\Pi$, $v\in V^{in}$}\} be a set of atomic propositions, where VinV^{in} is an arbitrary set of input values. For each aΠa\in\Pi, 𝖠𝗍a={𝚒𝚗𝚙𝚞𝚝av𝖠𝗍vVin}\mathsf{At}_{a}=\{\mathtt{input}_{a}^{v}\in\mathsf{At}\mid v\in V^{in}\}.

Definition 2.2 (Simplicial model).

A simplicial model M=(V,S,χ,l)M=(V,S,\chi,l) is a pure (|Π|1|\Pi|-1)-dimensional chromatic simplicial complex 𝒞=(V,S,χ)\mathcal{C}=(V,S,\chi) equipped with a labeling map l:V𝒫(𝖠𝗍)l\colon V\to\mathcal{P}(\mathsf{At}) such that l(v)𝖠𝗍χ(v)l(v)\subseteq\mathsf{At}_{\chi(v)}.

For each aΠa\in\Pi, we define an equivalence relation a\sim_{a} over (𝒞)\mathcal{F}({\mathcal{C}}), called an indistinguishability relation, by XaYX\sim_{a}Y if and only if aχ(XY)a\in\chi(X\cap Y). Then ((C),(a)aΠ,l)(\mathcal{F}({C}),(\sim_{a})_{a\in\Pi},l) gives a multi-agent Kripke model of facets being the set of possible worlds.

In abuse of notation, we may write (M)\mathcal{F}({M}) to mean a set of facets (C)\mathcal{F}({C}) in its underlying simplicial complex.

Definition 2.3 (Morphism between simplicial models).

Let M=(V,S,χ,l)M=(V,S,\chi,l), M=(V,S,χ,l)M^{\prime}=(V^{\prime},S^{\prime},\chi^{\prime},l^{\prime}) be simplicial models. A morphism f:MMf\colon M\to M^{\prime} is a map ff from VV to VV^{\prime} that satisfies the following conditions:

  • For all XSX\in S, f(X)Sf(X)\in S^{\prime},

  • ff preserves the coloring, i.e. χ(f(v))=χ(v)\chi^{\prime}(f(v))=\chi(v) for any vVv\in V and

  • ff preserves the labeling, i.e. l(f(v))=l(v)l^{\prime}(f(v))=l(v) for any vVv\in V.

Definition 2.4 (Input simplicial model).

An input simplicial model is a simplicial model =(V,S,χ,l)\mathcal{I}=(V,S,\chi,l) where

  • VΠ×VinV\subseteq\Pi\times V^{in},

  • XSX\in S if XX have at most one aa-colored vertex for each color aΠa\in\Pi,

  • χ(a,v)=a\chi(a,v)=a and

  • l(a,v)={𝚒𝚗𝚙𝚞𝚝av}l(a,v)=\{\mathtt{input}_{a}^{v}\}.

In the sequel, we assume V=Π×VinV=\Pi\times V^{in}. Figure 2 shows an example of an input simplicial model, where each color of vertex is illustrated as a color of node.

011011
Figure 1: Example of an input simplicial model for Π={,}\Pi=\{\circ,\bullet\}, Vin={0,1}V^{in}=\{0,1\}.
000\mapsto 0101\mapsto 0000\mapsto 0101\mapsto 0010\mapsto 1111\mapsto 1010\mapsto 1111\mapsto 1
Figure 2: [𝒮𝒜1]\mathcal{I}[\mathcal{SA}_{1}] for Π={,}\Pi=\{\circ,\bullet\}, Vin={0,1}V^{in}=\{0,1\}, Vout={0,1}V^{out}=\{0,1\}.

2.2 Epistemic logic for simplicial models

Definition 2.5 (Epistemic formula).

We define the language of epistemic formulas K\mathcal{L}_{K} as follows:

φ::=p¬φ(φφ)Kaφ\varphi::=p\mid\lnot\varphi\mid(\varphi\land\varphi)\mid\mathrm{K}_{a}\varphi

where p𝖠𝗍p\in\mathsf{At} is an atomic proposition and aΠa\in\Pi is an agent.

Definition 2.6.

Given a formula φK\varphi\in\mathcal{L}_{K} and a facet X(M)X\in\mathcal{F}({M}) of a simlicial model MM, we define the truth of φ\varphi at XX, written M,XφM,X\models\varphi, as below by induction on φ\varphi.

M,Xp\displaystyle M,X\models p if pl(X).\displaystyle\text{if $p\in l(X)$}.
M,X¬φ\displaystyle M,X\models\lnot\varphi if M,Xφ.\displaystyle\text{if $M,X\not\models\varphi$}.
M,Xφ1φ2\displaystyle M,X\models\varphi_{1}\land\varphi_{2} if M,Xφ1 and M,Xφ2.\displaystyle\text{if $M,X\models\varphi_{1}$ and $M,X\models\varphi_{2}$}.
M,XKaφ\displaystyle M,X\models\mathrm{K}_{a}\varphi if for all Y (M)YaXM,Yφ.\displaystyle\text{if for all Y $\in\mathcal{F}({M})$, $Y\sim_{a}X\implies M,Y\models\varphi$}.

2.3 Protocols, tasks and solvability with DEL

Protocols and tasks in distributed computing are regarded as transformation of the input configuration to the output. In simplicial models, this can be defined as product update.

Definition 2.7 (Simplicial action model and product update).

A simplicial action model, (or an action model for short) A=(V,S,χ,𝚙𝚛𝚎)A=(V,S,\chi,\mathtt{pre}) is a pure (|Π|1|\Pi|-1)-dimensional chromatic simplicial complex 𝒞=(V,S,χ)\mathcal{C}=(V,S,\chi) equipped with a map 𝚙𝚛𝚎:(𝒞)K\mathtt{pre}\colon\mathcal{F}({\mathcal{C}})\to\mathcal{L}_{K}. Each facet in (𝒞)\mathcal{F}({\mathcal{C}}) is called an action and 𝚙𝚛𝚎\mathtt{pre} assigns a precondition formula to each action. In abuse of notation, we may write (A)\mathcal{F}({A}) to mean a set of facets (C)\mathcal{F}({C}) in its underlying simplicial complex.

Let M=(VM,SM,χM,lM)M=(V_{M},S_{M},\chi_{M},l_{M}) be a simplicial model and A=(VA,SA,χA,𝚙𝚛𝚎)A=(V_{A},S_{A},\chi_{A},\mathtt{pre}) be a simplicial action model. A product update model M[A]=(V,S,χ,l)M[A]=(V,S,\chi,l) is a simplicial model defined as follows:

  • (M[A])={X×ΠTX(M)T(A)M,X𝚙𝚛𝚎(T)}\mathcal{F}({M[A]})=\{X\times_{\Pi}T\mid\text{$X\in\mathcal{F}({M})$, $T\in\mathcal{F}({A})$, $M,X\models\mathtt{pre}(T)$}\},

  • χ(m,a)=χM(m)=χA(a)\chi(m,a)=\chi_{M}(m)=\chi_{A}(a) and

  • l(m,a)=lM(m)l(m,a)=l_{M}(m),

where X×ΠT={(m,a)X×TχM(m)=χA(a)}X\times_{\Pi}T=\{(m,a)\in X\times T\mid\chi_{M}(m)=\chi_{A}(a)\} is a subset of the product X×TX\times T whose each element is a tuple of a vertex in XX and a vertex in TT with the same color.

Definition 2.8 (Task).

A simplicial action model A=(V,S,χ,𝚙𝚛𝚎)A=(V,S,\chi,\mathtt{pre}) is called a task if there exists an injection ι:(A)[Π,Vout]\iota\colon\mathcal{F}({A})\to[\Pi,V^{out}] such that TaTT\sim_{a}T^{\prime} holds if and only if ι(T)(a)=ι(T)(a)\iota(T)(a)=\iota(T^{\prime})(a) for any T,T(A)T,T^{\prime}\in\mathcal{F}({A}) and aΠa\in\Pi, where VoutV^{out} is an arbitrary set of output values, [Π,Vout][\Pi,V^{out}] is the set of functions from Π\Pi to VoutV^{out}.

Example 2.9 (kk-set agreement task).

We define a task 𝒮𝒜k\mathcal{SA}_{k}, where k=1,,|Π|k=1,\dots,|\Pi|, called kk-set agreement as follows:

  • Vout=VinV^{out}=V^{in},

  • V=Π×VoutV=\Pi\times V^{out},

  • (𝒮𝒜k)={{(a,decide(a))aΠ}decide[Π,Vout],|decide(Π)|k\mathcal{F}({\mathcal{SA}_{k}})=\{\{(a,decide(a))\mid a\in\Pi\}\mid decide\in[\Pi,V^{out}],|decide(\Pi)|\leq k},

  • χ(a,d)=a\chi(a,d)=a and

  • 𝚙𝚛𝚎({(a,decide(a))aΠ})=aΠbΠ𝚒𝚗𝚙𝚞𝚝bdecide(a)\mathtt{pre}(\{(a,decide(a))\mid a\in\Pi\})=\bigwedge_{a\in\Pi}\bigvee_{b\in\Pi}\mathtt{input}_{b}^{decide(a)}.

This is a well-defined task because there is an injection {(a,decide(a))aΠ}decide\{(a,decide(a))\mid a\in\Pi\}\mapsto decide. In what follows, we write (a,ia,da)(a,i_{a},d_{a}) to mean a vertex ((a,ia),(a,da))((a,i_{a}),(a,d_{a})) of [𝒮𝒜k]\mathcal{I}[\mathcal{SA}_{k}]. we assume the set of input values for the kk-set agreement is given by Vin=ΠV^{in}=\Pi unless otherwise stated. The product update model [𝒮𝒜1]\mathcal{I}[\mathcal{SA}_{1}] is as shown in Figure 2, where each color of vertex is illustrated as a color of node and the input ii and the decision dd is indicated as idi\mapsto d.

Using product updates, solvability of distributed tasks is defined as follows.

Definition 2.10 (Solvability).

Let \mathcal{I} be an input simplicial model. A task TT is solvable by an action model PP, if there exists a morphism f:[P][T]f\colon\mathcal{I}[P]\to\mathcal{I}[T].

3 Non-existence of logical obstructions

In this section, we consider the following language K+\mathcal{L}_{K}^{+} of positive epistemic formulas:

φ::=p¬p(φφ)(φφ)Kaφ\varphi::=p\mid\lnot p\mid(\varphi\lor\varphi)\mid(\varphi\land\varphi)\mid\mathrm{K}_{a}\varphi

where p𝖠𝗍p\in\mathsf{At} is an atomic proposition and aΠa\in\Pi is an agent.

3.1 Knowledge gain and logical obstruction

Theorem 3.1 (Knowledge gain [DBLP:journals/iandc/GoubaultLR21]).

Suppose f:MMf\colon M\to M^{\prime} be a morphism between simplicial models. Then, for any facet X(M)X\in\mathcal{F}({M}) and positive formula φK+\varphi\in\mathcal{L}_{K}^{+}, M,f(X)φM^{\prime},f(X)\models\varphi implies M,XφM,X\models\varphi.

Corollary 3.2.

If there exists a morphism f:MMf\colon M\to M^{\prime}, for any positive formula φK+\varphi\in\mathcal{L}_{K}^{+}, MφM^{\prime}\models\varphi implies MφM\models\varphi.

Corollary 3.3.

Let \mathcal{I} be an input simplicial model, TT be a task and AA be an action model. If there exists a positive formula φK+\varphi\in\mathcal{L}_{K}^{+} such that [T]φ\mathcal{I}[T]\models\varphi and [A]φ\mathcal{I}[A]\not\models\varphi, the task TT is not solvable by AA.

A positive formula φ\varphi such as the one in the above corollary is called a logical obstruction to the solvability of TT by AA. We simply call φ\varphi a logical obstruction when TT and AA are clear from the context.

3.2 Knowledge gain via simulation

Definition 3.4 (Simulation).

Suppose MM and MM^{\prime} are simplicial models. A simulation of MM by MM^{\prime} is a binary relation R(M)×(M)R\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) over the facets of simplicial models that satisfies the following properties.

(Atom)

For all X(M)X\in\mathcal{F}({M}) and X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}), XRXX\mathrel{R}X^{\prime} implies l(X)=l(X)l(X)=l^{\prime}(X^{\prime}).

(Forth)

For all aΠa\in\Pi, X,Y(M)X,Y\in\mathcal{F}({M}) and X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}), if XRXX\mathrel{R}X^{\prime} and XaYX\sim_{a}Y, there exists Y(M)Y^{\prime}\in\mathcal{F}({M^{\prime}}) such that YRYY\mathrel{R}Y^{\prime} and XaYX^{\prime}\sim_{a}Y^{\prime}.

A simulation SS is called total if for all X(M)X\in\mathcal{F}({M}), there exists X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}) such that XSXX\mathrel{S}X^{\prime}. For a facet X(M)X\in\mathcal{F}({M}), we say that SS is not total at XX if there is no X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}) such that XSXX\mathrel{S}X^{\prime}.

Proposition 3.5.

Suppose f:MMf\colon M\to M^{\prime} is a morphism between simplicial models, and define a binary relation graph(f)(M)×(M)graph(f)\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) by graph(f)={(X,f(X))X(M)}graph(f)=\{(X,f(X))\mid X\in\mathcal{F}({M})\}. Then, the graph(f)graph(f) is a total simulation.

Proof.

(Atom): By the definition of morphism, ff preserves labeling, i.e. l(X)=l(f(X))l(X)=l^{\prime}(f(X)).

(Forth): Let X,Y(M)X,Y\in\mathcal{F}({M}) be facets such that XaYX\sim_{a}Y. Then there exists aa-colored vertex vXYv\in X\cap Y. Since ff is a color-preserving map, we have f(v)f(X)f(Y)f(v)\in f(X)\cap f(Y) and χ(f(v))=χ(v)=a\chi^{\prime}(f(v))=\chi(v)=a. This implies f(X)af(Y)f(X)\sim_{a}f(Y).

It is clear that graph(f)graph(f) is total. ∎

Theorem 3.6.

Suppose S(M)×(M)S\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) be a simulation. Then, for any facets (X,X)S(X,X^{\prime})\in S and positive formula φK+\varphi\in\mathcal{L}_{K}^{+}, M,XφM^{\prime},X^{\prime}\models\varphi implies M,XφM,X\models\varphi.

Proof.

We proceed by induction on φ\varphi.

For the base case, suppose φ=p\varphi=p or ¬p\lnot p, where pp is an atomic proposition. Since SS satisfies the condition (Atom), we have M,Xppl(X)pl(X)M,XpM,X\models p\iff p\in l(X)\iff p\in l^{\prime}(X^{\prime})\iff M^{\prime},X^{\prime}\models p. This implies M,XφM,XφM^{\prime},X^{\prime}\models\varphi\implies M,X\models\varphi.

The cases of conjunction and disjunction are easily shown by induction hypothesis.

For the case of modal operator, suppose φ=Kaψ\varphi=\mathrm{K}_{a}\psi. Assuming M,XKaψM^{\prime},X^{\prime}\models\mathrm{K}_{a}\psi, we show that M,YψM,Y\models\psi holds for any Y(M)Y\in\mathcal{F}({M}) such that XaYX\sim_{a}Y. By the condition (Forth), there exists Y(M)Y^{\prime}\in\mathcal{F}({M^{\prime}}) such that YSYY\mathrel{S}Y^{\prime} and XaYX^{\prime}\sim_{a}Y^{\prime}. This implies M,YψM^{\prime},Y^{\prime}\models\psi and also M,YψM,Y\models\psi by induction hypothesis. Therefore, M,XKaψM,X\models\mathrm{K}_{a}\psi. ∎

Corollary 3.7.

If there exists a total simulation of MM by MM^{\prime}, for any positive formula φK+\varphi\in\mathcal{L}_{K}^{+}, MφM^{\prime}\models\varphi implies MφM\models\varphi.

3.3 Non-existence of logical obstructions to the solvability of 𝒮𝒜k\mathcal{SA}_{k} by 𝒮r\mathcal{IS}^{r}

The (iterated) immediate snapshot is a protocol that characterizes the wait-free asynchronous distributed computation in the read-write shared memory systems [DBLP:conf/podc/BorowskyG92, DBLP:books/mk/Herlihy2013]. The specification of this protocol is as follows. Let Π\Pi be a set of processes and suppose that processes in Π\Pi communicate with each other by iterating the immediate snapshot protocol rr times. When a process aΠa\in\Pi finishes immediate snapshot of ii-th iteration, it obtains a view Va{(p,vp)pΠ}V_{a}\subseteq\{(p,v_{p})\mid p\in\Pi\} where vpv_{p} is the view of pp’s (i1)(i-1)-th iteration, assuming the view of pp’s iteration is the initial input value to pp. The views (Vp)pΠ(V_{p})_{p\in\Pi} of each round satisfy the following properties.

(Self-inclusion)

For all aΠa\in\Pi, (a,va)Va(a,v_{a})\in V_{a}.

(Containment)

For all a,bΠa,b\in\Pi, VaVbV_{a}\subseteq V_{b} or VbVaV_{b}\subseteq V_{a}.

(Immediacy)

For all a,bΠa,b\in\Pi, (b,vb)Va(b,v_{b})\in V_{a} implies VbVaV_{b}\subseteq V_{a}.

The set of views are equally specified by means of ordered partition. The rr-iterated immediate snapshot is thus modeled by an action model whose underlying simplicial complex is determined by initial input values and a sequence of rr ordered partitions.

Definition 3.8.

An ordered partition of Π\Pi is a finite sequence γ=(C1,,Cl)\gamma=(C_{1},\dots,C_{l}) of subsets of Π\Pi such that C1C2Cl=Π\emptyset\neq C_{1}\subsetneq C_{2}\subsetneq\dots\subsetneq C_{l}=\Pi. We write OPΠ\mathrm{OP}_{\Pi} for the set of all ordered partitions of Π\Pi.

Definition 3.9.

Let \mathcal{I} be an input simplicial model. We define a set 𝖵𝗂𝖾𝗐𝗌r\mathsf{Views}^{r} of possible views obtained by communicating rr-times, by induction on rr as

  • 𝖵𝗂𝖾𝗐𝗌0=Vin\mathsf{Views}^{0}=V^{in} and

  • 𝖵𝗂𝖾𝗐𝗌r+1={{(p,vp)pP}PΠvp𝖵𝗂𝖾𝗐𝗌r}\mathsf{Views}^{r+1}=\{\{(p,v_{p})\mid p\in P\}\mid\text{$P\subseteq\Pi$, $v_{p}\in\mathsf{Views}^{r}$}\}.

Let aΠa\in\Pi be an agent. We also define a map viewra:()×OPrΠ𝖵𝗂𝖾𝗐𝗌rview^{r}_{a}\colon\mathcal{F}({\mathcal{I}})\times\mathrm{OP}^{r}_{\Pi}\to\mathsf{Views}^{r}, by induction on rr as

  • view0a({(b,ib)bΠ})=iaview^{0}_{a}(\{(b,i_{b})\mid b\in\Pi\})=i_{a} and

  • viewr+1a(I,γ1,,γr,(C1,,Cl))={(p,viewrp(I,γ1,,γr))pCmin{jaCj}}view^{r+1}_{a}(I,\gamma_{1},\dots,\gamma_{r},(C_{1},\dots,C_{l}))=\{(p,view^{r}_{p}(I,\gamma_{1},\dots,\gamma_{r}))\mid p\in C_{\min\{j\mid a\in C_{j}\}}\}.

Definition 3.10.

Let r1r\geq 1 be a natural number. We define an action model 𝒮r=(V,S,χ,𝚙𝚛𝚎)\mathcal{IS}^{r}=(V,S,\chi,\mathtt{pre}), for rr-iterated immediate snapshot protocol as follows:

  • VΠ×Vin×𝖵𝗂𝖾𝗐𝗌rV\subseteq\Pi\times V^{in}\times\mathsf{Views}^{r},

  • X(𝒮r)X\in\mathcal{F}({\mathcal{IS}^{r}}) if there exists a facet I()I\in\mathcal{F}({\mathcal{I}}) and ordered partitions γ1,,γr\gamma_{1},\dots,\gamma_{r} such that X={(a,ia,viewra(I,γ1,,γr))(a,ia)I}X=\{(a,i_{a},view^{r}_{a}(I,\gamma_{1},\dots,\gamma_{r}))\mid(a,i_{a})\in I\},

  • χ(a,i,v)=a\chi(a,i,v)=a and

  • 𝚙𝚛𝚎({(a,ia,va)aΠ})=aΠ𝚒𝚗𝚙𝚞𝚝aia\mathtt{pre}(\{(a,i_{a},v_{a})\mid a\in\Pi\})=\bigwedge_{a\in\Pi}\mathtt{input}_{a}^{i_{a}}.

γ=({,},{,,})\gamma=(\{\circ,\bullet\},\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\})γ=({,,})\gamma=(\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\})γ=({},{,},{,,})\gamma=(\{\bullet\},\{\circ,\bullet\},\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\})γ=({},{,,})\gamma=(\{\bullet\},\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\})       
Figure 3: Simplices of 𝒮1\mathcal{IS}^{1}, which is isomorphic to [𝒮1]\mathcal{I}[\mathcal{IS}^{1}], for the case Π={,,}\Pi=\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\} and all process have 0 as input.

The action model 𝒮1\mathcal{IS}^{1} is illustrated in Figure 3, for the case Π={,,}\Pi=\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\} and all process have 0 as input. For instance, let XX be a facet labeled with γ=({},{,},{,,})\gamma=(\{\bullet\},\{\circ,\bullet\},\{\circ,{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},\bullet\}). Then, the views of each processes are as follows: view1={(,0),(,0)}view^{1}_{\circ}=\{(\circ,0),(\bullet,0)\} and view1={(,0),(,0),(,0)}view^{1}_{{\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet}}=\{(\circ,0),({\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},0),(\bullet,0)\}, view1={(,0)}view^{1}_{\bullet}=\{(\bullet,0)\}. This means X={(,0,{(,0),(,0)}),{(,0,{(,0),(,0),(,0)}),{(,0,{(,0)})}X=\{(\circ,0,\{(\circ,0),(\bullet,0)\}),\{({\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},0,\{(\circ,0),({\color[rgb]{.75,.75,.75}\definecolor[named]{pgfstrokecolor}{rgb}{.75,.75,.75}\pgfsys@color@gray@stroke{.75}\pgfsys@color@gray@fill{.75}\bullet},0),(\bullet,0)\}),\{(\bullet,0,\{(\bullet,0)\})\}.

Let \mathcal{I} be an input simplicial model. The underlying simplicial complex of the product update model [𝒮r]\mathcal{I}[\mathcal{IS}^{r}] is equivalent to the one of the action model 𝒮r\mathcal{IS}^{r} up to a simplicial map ((a,ia),(a,ia,va))(a,ia,va)((a,i_{a}),(a,i_{a},v_{a}))\mapsto(a,i_{a},v_{a}).

In what follows, we write (a,ia,va)(a,i_{a},v_{a}), in abuse of notation, to mean a vertex ((a,ia),(a,ia,va))((a,i_{a}),(a,i_{a},v_{a})) of [𝒮r]\mathcal{I}[\mathcal{IS}^{r}]. We also write I[γ1,,γr]I[\gamma_{1},\dots,\gamma_{r}] for a facet {(a,ia,viewra(I,γ1,,γr))(a,ia)I}\{(a,i_{a},view^{r}_{a}(I,\gamma_{1},\dots,\gamma_{r}))\mid(a,i_{a})\in I\}.

Definition 3.11.

We define a map carrier:r1𝖵𝗂𝖾𝗐𝗌r𝖵𝗂𝖾𝗐𝗌1carrier\colon\bigcup_{r\geq 1}\mathsf{Views}^{r}\to\mathsf{Views}^{1} as

carrier(w)={w,(if w𝖵𝗂𝖾𝗐𝗌1)pPcarrier(vp),(otherwise)carrier(w)=\begin{cases}w,&\text{(if $w\in\mathsf{Views}^{1}$)}\\ \bigcup_{p\in P}carrier(v_{p}),&\text{(otherwise)}\end{cases}

where PΠP\subseteq\Pi is a set of agents and (vp)pP(v_{p})_{p\in P} is a family of views such that w={(p,vp)pP}w=\{(p,v_{p})\mid p\in P\}.

Lemma 3.12.

Let I()I\in\mathcal{F}({\mathcal{I}}) be a facet of an input simplicial model and γ1,γ2,OPΠ\gamma_{1},\gamma_{2},\ldots\in\mathrm{OP}_{\Pi} be ordered partitions of Π\Pi, where γ1=(C1,,Cl)\gamma_{1}=(C_{1},\dots,C_{l}). For any r1r\geq 1 and aΠa\in\Pi, the following holds:

{(p,ip)IpC1}carrier(viewra(I,γ1,,γr))I.\{(p,i_{p})\in I\mid p\in C_{1}\}\subseteq carrier(view^{r}_{a}(I,\gamma_{1},\dots,\gamma_{r}))\subseteq I.
Proof.

We proceed by induction on rr. Given an agent aΠa\in\Pi, let us write jaj_{a} to denote min{jaCj}\min\{j\mid a\in C_{j}\}.

For the base case r=1r=1, we have carrier(view1a(I,γ1))={(q,iq)IqCja}Icarrier(view^{1}_{a}(I,\gamma_{1}))=\{(q,i_{q})\in I\mid q\in C_{j_{a}}\}\subseteq I and {(p,ip)pC1}{(q,iq)qCja}\{(p,i_{p})\mid p\in C_{1}\}\subseteq\{(q,i_{q})\mid q\in C_{j_{a}}\} since C1CjC_{1}\subseteq C_{j} for any 1jl1\leq j\leq l.

For the case r+1r+1, we have

carrier(viewr+1a(I,γ1,,γr+1))\displaystyle carrier(view^{r+1}_{a}(I,\gamma_{1},\dots,\gamma_{r+1}))
=carrier({(q,iq,viewrq(I,γ1,,γr))qCja})\displaystyle=carrier(\{(q,i_{q},view^{r}_{q}(I,\gamma_{1},\dots,\gamma_{r}))\mid q\in C_{j_{a}}\})
=qCjacarrier(viewrq(I,γ1,,γr)).\displaystyle=\bigcup_{q\in C_{j_{a}}}carrier(view^{r}_{q}(I,\gamma_{1},\dots,\gamma_{r})).

By induction hypothesis, we obtain

{(p,ip)pC1}\displaystyle\{(p,i_{p})\mid p\in C_{1}\} =qCja{(p,ip)pC1}\displaystyle=\bigcup_{q\in C_{j_{a}}}\{(p,i_{p})\mid p\in C_{1}\}
qCjacarrier(viewrq(I,γ1,,γr))\displaystyle\subseteq\bigcup_{q\in C_{j_{a}}}carrier(view^{r}_{q}(I,\gamma_{1},\dots,\gamma_{r}))
qCjaI=I.\displaystyle\subseteq\bigcup_{q\in C_{j_{a}}}I=I.

Thus, {(p,ip)pC1}carrier(viewr+1a(I,γ1,,γr))I\{(p,i_{p})\mid p\in C_{1}\}\subseteq carrier(view^{r+1}_{a}(I,\gamma_{1},\dots,\gamma_{r}))\subseteq I holds. ∎

The topological model of (iterated) immediate snapshot is studied [DBLP:journals/jacm/HerlihyS99] and it has been shown that the kk-set agreement task is unsolvable by rr-round immediate snapshot for any r1r\geq 1 and 1k<|Π|1\leq k<|\Pi|. It is desirable to have a logical obstruction, but there is no such a formula.

The following theorem shows that K+\mathcal{L}_{K}^{+} admits no logical obstruction to kk-set agreement for any k2k\geq 2.

Theorem 3.13.

There is no logical obstruction to the solvability of 𝒮𝒜k\mathcal{SA}_{k} by 𝒮r\mathcal{IS}^{r} in K+\mathcal{L}_{K}^{+}, whenever k2k\geq 2.

Proof.

Let S([𝒮r])×([𝒮𝒜k])S\subseteq\mathcal{F}({\mathcal{I}[\mathcal{IS}^{r}]})\times\mathcal{F}({\mathcal{I}[\mathcal{SA}_{k}]}) be a binary relation defined as

{(a,ia,va)aΠ}S{(a,ia,da)aΠ}\displaystyle\{(a,i_{a},v_{a})\mid a\in\Pi\}\mathrel{S}\{(a,i^{\prime}_{a},d_{a})\mid a\in\Pi\}\iff (1) for all aΠa\in\Pi, ia=iai_{a}=i^{\prime}_{a} and
(2) for all aΠa\in\Pi, there exists aΠa^{\prime}\in\Pi
such that (a,da)carrier(va)(a^{\prime},d_{a})\in carrier(v_{a}).

By Corollary 3.7, it suffices to show that SS is a total simulation.

Let us first show SS is a simulation.

(Atom): The labeling of facets is given by l[𝒮r]({(a,ia,va)aΠ})={𝚒𝚗𝚙𝚞𝚝iaaaΠ}l_{\mathcal{I}[\mathcal{IS}^{r}]}(\{(a,i_{a},v_{a})\mid a\in\Pi\})=\{\mathtt{input}^{i_{a}}_{a}\mid a\in\Pi\} and l[𝒮𝒜k]({(a,ia,da)aΠ})={𝚒𝚗𝚙𝚞𝚝iaaaΠ}l_{\mathcal{I}[\mathcal{SA}_{k}]}(\{(a,i^{\prime}_{a},d_{a})\mid a\in\Pi\})=\{\mathtt{input}^{i^{\prime}_{a}}_{a}\mid a\in\Pi\}. Thus, (Atom) follows from the definition of SS.

(Forth): Suppose a0Πa_{0}\in\Pi is an agent, X,YX,Y are facets of [𝒮r]\mathcal{I}[\mathcal{IS}^{r}] and XX^{\prime} is a facet of [𝒮𝒜k]\mathcal{I}[\mathcal{SA}_{k}] such that XSXX\mathrel{S}X^{\prime} and Xa0YX\sim_{a_{0}}Y. Let I()I\in\mathcal{F}({\mathcal{I}}) be a facet of the input simplicial complex and γ1,,γr\gamma_{1},\dots,\gamma_{r} be ordered partitions such that Y=I[γ1,,γr]Y=I[\gamma_{1},\dots,\gamma_{r}], where γ1=(C1,,Cj)\gamma_{1}=(C_{1},\dots,C_{j}). Fix an agent a1C1a_{1}\in C_{1}.

For all aΠa\in\Pi, let us write inputX(a)input_{X}(a) for an input value and viewX(a)view_{X}(a) for a view in 𝖵𝗂𝖾𝗐𝗌r\mathsf{Views}^{r} such that (a,inputX(a),viewX(a))(a,input_{X}(a),view_{X}(a)) is an aa-colored vertex in XX. Similarly, let us write (a,inputY(a),viewY(a))(a,input_{Y}(a),view_{Y}(a)) for an aa-colored vertex in YY, and (a,inputX(a),decideX(a))(a,input_{X^{\prime}}(a),decide_{X^{\prime}}(a)) for an aa-colored vertex in XX^{\prime}.

We define a facet Y[𝒮𝒜k]Y^{\prime}\in\mathcal{I}[\mathcal{SA}_{k}] by

Y={(a0,inputY(a0),decideX(a0))}{(a,inputY(a),inputY(a1))aΠ{a0}}.Y^{\prime}=\{(a_{0},input_{Y}(a_{0}),decide_{X^{\prime}}(a_{0}))\}\cup\{(a,input_{Y}(a),input_{Y}(a_{1}))\mid a\in\Pi\setminus\{a_{0}\}\}.

Let us write (a,inputY(a),decideY(a))(a,input_{Y^{\prime}}(a),decide_{Y^{\prime}}(a)) for an aa-colored vertex in YY^{\prime} for all aΠa\in\Pi as above. Then, we have inputY(a)=inputY(a)input_{Y^{\prime}}(a)=input_{Y}(a) for all aΠa\in\Pi, decideY(a0)=decideX(a0)decide_{Y^{\prime}}(a_{0})=decide_{X^{\prime}}(a_{0}) and decideY(a)=inputY(a1)decide_{Y^{\prime}}(a)=input_{Y}(a_{1}) for all aΠ{a0}a\in\Pi\setminus\{a_{0}\}.

We prove that Y([𝒮𝒜k])Y^{\prime}\in\mathcal{F}({\mathcal{I}[\mathcal{SA}_{k}]}), Xa0YX^{\prime}\sim_{a_{0}}Y^{\prime} and YSYY\mathrel{S}Y^{\prime}.

It is clear that |decideY(Π)|2k|decide_{Y^{\prime}}(\Pi)|\leq 2\leq k by definition. Suppose YY and YY^{\prime} satisfies both (1) and (2). Then for all aΠa\in\Pi, inputY(a)=inputY(a)input_{Y}(a)=input_{Y^{\prime}}(a) and there exists aΠa^{\prime}\in\Pi such that (a,decideY(a))carrier(viewY(a))(a^{\prime},decide_{Y^{\prime}}(a))\in carrier(view_{Y}(a)). Because carrier(viewY(a))=carrier(viewar(I,γ1,,γr))Icarrier(view_{Y}(a))=carrier(view_{a}^{r}(I,\gamma_{1},\dots,\gamma_{r}))\subseteq I by Lemma 3.12, (a,decideY(a))I(a^{\prime},decide_{Y^{\prime}}(a))\in I, where I={(a,inputY(a))aΠ}={(a,inputY(a))aΠ}I=\{(a,input_{Y}(a))\mid a\in\Pi\}=\{(a,input_{Y^{\prime}}(a))\mid a\in\Pi\}. Hence, we have IaΠbΠ𝚒𝚗𝚙𝚞𝚝bdecideY(a)I\models\bigwedge_{a\in\Pi}\bigvee_{b\in\Pi}\mathtt{input}_{b}^{decide_{Y^{\prime}}(a)}. These imply Y([𝒮𝒜k])Y^{\prime}\in\mathcal{F}({\mathcal{I}[\mathcal{SA}_{k}]}) if YY and YY^{\prime} satisfies both (1) and (2). Therefore, Y([𝒮𝒜2])Y^{\prime}\in\mathcal{F}({\mathcal{I}[\mathcal{SA}_{2}]}) holds because YY and YY^{\prime} satisfies the conditions (1) and (2), as shown below.

Since XSXX\mathrel{S}X^{\prime}, Xa0YX\sim_{a_{0}}Y and inputY(a)=inputY(a)input_{Y^{\prime}}(a)=input_{Y}(a) for all aΠa\in\Pi, inputX(a0)=inputX(a0)=inputY(a0)=inputY(a0)input_{X^{\prime}}(a_{0})=input_{X}(a_{0})=input_{Y}(a_{0})=input_{Y^{\prime}}(a_{0}). Recall that decideY(a0)=decideX(a0)decide_{Y^{\prime}}(a_{0})=decide_{X^{\prime}}(a_{0}) by definition. Thus, we have (a0,inputX(a0),decideX(a0))=(a0,inputY(a0),decideY(a0))XY(a_{0},input_{X^{\prime}}(a_{0}),decide_{X^{\prime}}(a_{0}))=(a_{0},input_{Y^{\prime}}(a_{0}),decide_{Y^{\prime}}(a_{0}))\in X^{\prime}\cap Y^{\prime}. Hence, Xa0YX^{\prime}\sim_{a_{0}}Y^{\prime} holds.

Since inputY(a)=inputY(a)input_{Y^{\prime}}(a)=input_{Y}(a) for all aΠa\in\Pi by definition, YY and YY^{\prime} satisfies (1). We prove YY and YY^{\prime} satisfies (2). For the case aa0a\neq a_{0}, we have (a1,decideY(a))=(a1,inputY(a1))carrier(viewY(a))(a_{1},decide_{Y^{\prime}}(a))=(a_{1},input_{Y}(a_{1}))\in carrier(view_{Y}(a)) by Lemma 3.12. For the other case a=a0a=a_{0}, since decideY(a0)=decideX(a0)decide_{Y^{\prime}}(a_{0})=decide_{X^{\prime}}(a_{0}), XSXX\mathrel{S}X^{\prime} and Xa0YX\sim_{a_{0}}Y, there exists a0Πa^{\prime}_{0}\in\Pi such that (a0,decideY(a0))=(a0,decideX(a0))carrier(viewX(a0))=carrier(viewY(a0))(a^{\prime}_{0},decide_{Y^{\prime}}(a_{0}))=(a^{\prime}_{0},decide_{X^{\prime}}(a_{0}))\in carrier(view_{X}(a_{0}))=carrier(view_{Y}(a_{0})). Consequently, we have for all aΠa\in\Pi, there exists aΠa^{\prime}\in\Pi such that (a,decideY(a))carrier(viewY(a))(a^{\prime},decide_{Y^{\prime}}(a))\in carrier(view_{Y}(a)), i.e. YY and YY^{\prime} satisfies (2), and YSYY\mathrel{S}Y^{\prime}. Therefore, (Forth) is satisfied.

To show the totality, suppose XX is a facet of ([𝒮𝒜k])\mathcal{F}({\mathcal{I}[\mathcal{SA}_{k}]}). Let I={(a,input(a))aΠ}I=\{(a,input(a))\mid a\in\Pi\} be a facet of the input model \mathcal{I} and γ1,,γr\gamma_{1},\dots,\gamma_{r} be ordered partitions such that X=I[γ1,,γr]X=I[\gamma_{1},\dots,\gamma_{r}], where γ1=(C1,,Cj)\gamma_{1}=(C_{1},\dots,C_{j}). Fix an agent a1C1a_{1}\in C_{1}. We define a facet X[𝒮𝒜k]X^{\prime}\in\mathcal{I}[\mathcal{SA}_{k}] as X={(a,input(a),input(a1))aΠ}X^{\prime}=\{(a,input(a),input(a_{1}))\mid a\in\Pi\}. By Lemma 3.12, (a1,input(a1)){(p,input(p))pC1}carrier(viewar(I,γ1,,γr))(a_{1},input(a_{1}))\in\{(p,input(p))\mid p\in C_{1}\}\subseteq carrier(view_{a}^{r}(I,\gamma_{1},\dots,\gamma_{r})) for all aΠa\in\Pi. Thus, we have XSXX\mathrel{S}X^{\prime}. This implies that SS is a total simulation. ∎

We have shown the non-existence of logical obstruction in K+\mathcal{L}_{K}^{+} for cases where k2k\geq 2. For the case k=1k=1[DBLP:journals/iandc/GoubaultLR21] have shown that there exists a logical obstruction to the solvability in CK+\mathcal{L}_{CK}^{+}, an epistemic logic language of positive formulas that extends K+\mathcal{L}_{K}^{+} with common knowledge operator. It is not difficult to see that kk-set agreement task (k2k\geq 2) admits no logical obstruction in CK+\mathcal{L}_{CK}^{+} because the simulation technique presented in this section is compatible with common knowledge operators.

4 Non-existence of logical obstructions with distributed knowledge operator

In this section, we consider a language of epistemic logic D\mathcal{L}_{D}, which is an extension of K\mathcal{L}_{K} with distributed operator DAφ\mathrm{D}_{A}\varphi, and its sublanguage D+\mathcal{L}_{D}^{+} of positive formulas:

D:φ\displaystyle\mathcal{L}_{D}:\quad\varphi ::=p¬φ(φφ)DAφ\displaystyle::=p\mid\lnot\varphi\mid(\varphi\land\varphi)\mid\mathrm{D}_{A}\varphi
D+:φ\displaystyle\mathcal{L}_{D}^{+}:\quad\varphi ::=p¬p(φφ)(φφ)DAφ\displaystyle::=p\mid\lnot p\mid(\varphi\lor\varphi)\mid(\varphi\land\varphi)\mid\mathrm{D}_{A}\varphi

where p𝖠𝗍p\in\mathsf{At} is an atomic proposition and AΠA\subseteq\Pi is a set of agents.

Given a formula φD\varphi\in\mathcal{L}_{D} and a facet X(M)X\in\mathcal{F}({M}) of a simplicial model MM, we define the truth of φ\varphi at XX, written M,XφM,X\models\varphi, as below by induction on φ\varphi.

M,Xp\displaystyle M,X\models p if pl(X).\displaystyle\text{if $p\in l(X)$}.
M,X¬φ\displaystyle M,X\models\lnot\varphi if M,Xφ.\displaystyle\text{if $M,X\not\models\varphi$}.
M,Xφ1φ2\displaystyle M,X\models\varphi_{1}\land\varphi_{2} if M,Xφ1 and M,Xφ2.\displaystyle\text{if $M,X\models\varphi_{1}$ and $M,X\models\varphi_{2}$}.
M,XDAφ\displaystyle M,X\models\mathrm{D}_{A}\varphi if for all Y (M)Aχ(XY)M,Yφ.\displaystyle\text{if for all Y $\in\mathcal{F}({M})$, $A\subseteq\chi(X\cap Y)\implies M,Y\models\varphi$}.

Notice that Kaφ\mathrm{K}_{a}\varphi is a special case of DAφ\mathrm{D}_{A}\varphi where AA is a singleton set {a}\{a\}.

4.1 Knowledge gain and a logical obstruction to the solvability of 𝒮𝒜k\mathcal{SA}_{k} by 𝒮1\mathcal{IS}^{1} with distributed knowledge

The knowledge gain theorem holds, even the additional modality of distributed knowledge.

Theorem 4.1 (Knowledge gain with distributed knowledge operator).

Suppose f:MMf\colon M\to M^{\prime} be a morphism between simplicial models. Then, for any facet X(M)X\in\mathcal{F}({M}) and positive formula φD+\varphi\in\mathcal{L}_{D}^{+}, M,f(X)φM^{\prime},f(X)\models\varphi implies M,XφM,X\models\varphi.

Corollary 4.2.

If there exists a morphism f:MMf\colon M\to M^{\prime}, for any positive formula φD+\varphi\in\mathcal{L}_{D}^{+}, MφM^{\prime}\models\varphi implies MφM\models\varphi.

Corollary 4.3.

Let \mathcal{I} be an input simplicial model, TT be a task and AA be an action model. If there exists a positive formula φD+\varphi\in\mathcal{L}_{D}^{+} such that [T]φ\mathcal{I}[T]\models\varphi and [A]φ\mathcal{I}[A]\not\models\varphi, the task TT is not solvable by AA.

Thus, we also call a positive formula φ\varphi such as the one in the above corollary, a logical obstruction to the solvability of TT by AA, or a logical obstruction, when TT and AA are clear from the context.

The following theorem on the unsolvability of the set agreement task by a single round immediate snapshot is due to Nishida [Nishida:Msc20], where he provided a concrete logical obstruction in the language D+\mathcal{L}_{D}^{+}. It has also been shown that the same formula applies to show the unsolvability of the set agreement task by a single round atomic snapshot protocol [DBLP:journals/corr/abs-2011-13630].

Theorem 4.4.

For any k<|Π|k<|\Pi|, there exists a logical obstruction to the solvability of 𝒮𝒜k\mathcal{SA}_{k} by 𝒮1\mathcal{IS}^{1} in D+\mathcal{L}_{D}^{+}.

4.2 Knowledge gain via D-simulation

In the following, we refine the definition of simulation so that Theorem 3.6 is valid if positive formulas have distributed knowledge operator.

Definition 4.5 (D-simulation).

A binary relation over facets of simplicial models R(M)×(M)R\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) is called a D-simulation of MM by MM^{\prime}, if the following conditions hold.

(Atom)

For all X(M)X\in\mathcal{F}({M}) and X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}), XRXX\mathrel{R}X^{\prime} implies l(X)=l(X)l(X)=l^{\prime}(X^{\prime}).

(D-Forth)

For all X,Y(M)X,Y\in\mathcal{F}({M}) and X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}), if XRXX\mathrel{R}X^{\prime} holds, there exists Y(M)Y^{\prime}\in\mathcal{F}({M^{\prime}}) such that YRYY\mathrel{R}Y^{\prime} and χ(XY)χ(XY)\chi(X\cap Y)\subseteq\chi^{\prime}(X^{\prime}\cap Y^{\prime}).

A D-simulation SS is called total if for all X(M)X\in\mathcal{F}({M}), there exists X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}) such that XSXX\mathrel{S}X^{\prime}. For a facet X(M)X\in\mathcal{F}({M}), we say that SS is not total at XX if there is no X(M)X^{\prime}\in\mathcal{F}({M^{\prime}}) such that XSXX\mathrel{S}X^{\prime}. We occasionally write K-simulation to refer to the simulation defined in Definition 3.4, and as well (K-Forth) to refer to (Forth).

Proposition 4.6.

Suppose f:MMf\colon M\to M^{\prime} is a morphism between simplicial models. Then, a binary relation graph(f)={(X,f(X))X(M)}(M)×(M)graph(f)=\{(X,f(X))\mid X\in\mathcal{F}({M})\}\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) is a total D-simulation.

Proof.

(Atom): By the definition of morphism, ff preserves labeling, i.e. l(X)=l(f(X))l(X)=l^{\prime}(f(X)).

(D-Forth): Let X,Y(M)X,Y\in\mathcal{F}({M}) be facets. It suffices to show that χ(XY)χ(f(X)f(Y))\chi(X\cap Y)\subseteq\chi^{\prime}(f(X)\cap f(Y)). Suppose aχ(XY)a\in\chi(X\cap Y). Then there exists an aa-colored vertex vXYv\in X\cap Y. Since ff is a color-preserving map, we have f(v)f(X)f(Y)f(v)\in f(X)\cap f(Y) and χ(f(v))=χ(v)=a\chi^{\prime}(f(v))=\chi(v)=a. This implies aχ(f(X)f(Y))a\in\chi^{\prime}(f(X)\cap f(Y)).

It is clear that graph(f)graph(f) is total. ∎

Theorem 4.7.

Suppose S(M)×(M)S\subseteq\mathcal{F}({M})\times\mathcal{F}({M^{\prime}}) is a D-simulation. Then, for any facets (X,X)S(X,X^{\prime})\in S and positive formula φD+\varphi\in\mathcal{L}_{D}^{+}, M,XφM^{\prime},X^{\prime}\models\varphi implies M,XφM,X\models\varphi.

Proof.

This theorem is similarly proved as in Theorem 3.6 by induction on φ\varphi. Let us only show the case of distributed knowledge operator.

Supoose φ=DAψ\varphi=\mathrm{D}_{A}\psi. Assuming M,XDAψM^{\prime},X^{\prime}\models\mathrm{D}_{A}\psi, we show that M,YψM,Y\models\psi holds for any Y(M)Y\in\mathcal{F}({M}) such that Aχ(XY)A\subseteq\chi(X\cap Y). By the condition (D-Forth), there exists Y(M)Y^{\prime}\in\mathcal{F}({M^{\prime}}) such that YSYY\mathrel{S}Y^{\prime} and Aχ(XY)χ(XY)A\subseteq\chi(X\cap Y)\subseteq\chi^{\prime}(X^{\prime}\cap Y^{\prime}). This implies M,YψM^{\prime},Y^{\prime}\models\psi and also M,YψM,Y\models\psi by induction hypothesis. Therefore, M,XDAψM,X\models\mathrm{D}_{A}\psi. ∎

Corollary 4.8.

If there exists a total D-simulation of MM by MM^{\prime}, for any positive formula φD+\varphi\in\mathcal{L}_{D}^{+}, MφM^{\prime}\models\varphi implies MφM\models\varphi.

4.3 Non-existence of logical obstructions to the solvability of 𝒮2\mathcal{IS}^{2} by 𝒮𝒜2\mathcal{SA}_{2}

Using a D-simulation, let us argue the unsolvability of the set agreement task for a particular case Π={0,1,2}\Pi=\{0,1,2\}. We leave the general case as an open problem because D-simulation for higher dimensional model would be much complicated and hard to construct.

The following binary relation Rp,qR^{p,q} defines a set of pairs of two vertices that we will constrain their decision values. Although it was sufficient to constrain each vertex individually when we constructed a K-simulation in Theorem 3.13, we need to consider constraints for each tuple of vertices in order to construct D-simulation.

Definition 4.9.

Let VV be the set of vertices and SS be the set of simplices for [𝒮2]\mathcal{I}[\mathcal{IS}^{2}]. For a vertex x=(p,ip,vp)Vx=(p,i_{p},v_{p})\in V and an agent qΠq\in\Pi, in abuse of notation, we write qview(x)q\in view(x) if there exists iqVini_{q}\in V^{in} such that (q,iq)carrier(vp)(q,i_{q})\in carrier(v_{p}) and qview(x)q\notin view(x) otherwise. Given p,qΠp,q\in\Pi (p<q)(p<q), We define a binary relation Rnp,qV×VR_{n}^{p,q}\subseteq V\times V for nn\in\mathbb{N}, by induction on nn as follows.

  • xR0p,qyx\mathrel{R_{0}^{p,q}}y if {x,y}\{x,y\} is a 1-simplex of [𝒮2]\mathcal{I}[\mathcal{IS}^{2}] and it holds either pview(x)p\notin view(x) or qview(y)q\notin view(y).

  • xRn+1p,qyx\mathrel{R_{n+1}^{p,q}}y if either xRnp,qyx\mathrel{R_{n}^{p,q}}y or there exists zVz\in V such that xRnp,qzx\mathrel{R_{n}^{p,q}}z, zRnp,qyz\mathrel{R_{n}^{p,q}}y and {x,y,z}\{x,y,z\} is a 2-simplex.

We further define a binary relation Rp,qV×VR^{p,q}\subseteq V\times V as Rp,q=nRnp,qR0p.qR^{p,q}=\bigcup_{n\in\mathbb{N}}R_{n}^{p,q}\setminus R_{0}^{p.q}.