1 Introduction

A semantic study of epistemic logics, the family of modal logics concerned with what an epistemic agent believes or knows, has been mostly conducted in the framework of relational structures (Kripke frames) [13]. These are sets of possible worlds connected by (epistemic or doxastic) accessibility relations. Knowledge (K) and belief (B) are thus modal operators which are interpreted via standard possible worlds semantics.

It is claimed in [13] that the accessibility relation for knowledge must be (minimally) reflexive and transitive. On the syntactic level, this demand translates into the fact that any logic for knowledge based on these frames must contain the axioms of \(\mathsf {S4}\). This, paired with the fact, famously proven by McKinsey and Tarski [14], that \(\mathsf {S4}\) is the logic of topological spaces under the interior semantics (see [4]), lays the ground for a topological treatment of knowledge. Moreover, McKinsey and Tarski [14] proved that certain generic spaces, such as the real line, spaces which intuitively lend themselves to be models for certain situations of knowledge, have \(\mathsf {S4}\) as their logic.

The semantics outlined in [14] treats the “knowledge” modality as the interior operator, which, if one thinks of the open sets as “pieces of evidence”, adds an evidential dimension to the notion of knowledge that one could not get within Kripke frames (see [16] for lengthy discussion on this topic).

Under this interpretation, knowing a proposition amounts to having evidence for it. This can be an undesirable property, for it constitutes, arguably, an overly simplistic account of what knowledge is. As Gettier [11] argues, there is more to knowledge than ‘true and justified belief’. Depending on the properties one ascribes to knowledge, belief and the relation thereof, one can get different epistemic logics, each with their axioms and rules. For certain applications, one would want, for instance, to operate within a framework in which misleading true evidence can lead to false beliefs (see [16, 18] for more in-depth discussion).

Inspired by [18] and [6] a new topological semantics was introduced in [2] and explored in depth in [16]. This semantics allows one to talk about knowledge and belief, evidence (both “basic” and “combined”) and a notion of justification via the dense-interior operator. Also an epistemic logic complete with respect to the proposed semantics has been given in [2] and [16]. The models for this logic based on the dense-interior semantics in topological spaces are called topo-e-models.

In [1] an analogue of the McKinsey-Tarski theorem was proved for the dense-interior semantics: the logic of topological evidence models is sound and complete with respect to any individual topological space \((X,\tau )\) which is dense-in-itself, metrizable, and homeomorphic to the disjoint union \((X,\tau )\cup (X,\tau )\).

The framework defined in [2] is single-agent. In this paper, we introduce a multi-agent topological evidence semantics which generalises the single-agent case and differs substantially from prior approaches. In this sense, we provide several logics of multi-agent models and give some conceptual and theoretical contributions for a notion of group knowledge in this framework.

Outline. In Sect. 2 we present the (one-agent) notion of topological evidence models introduced in [2] together with some relevant results. In Sect. 3 we introduce and justify our multi-agent setting, we show how it generalises the single-agent case and we provide the logic for several fragments of the language. In Sect. 4, we obtain “generic models”, i.e., unique topological spaces whose logic under the semantics previously introduced is exactly the logic of all topological spaces. Section 5 discusses a notion of group knowledge in this setting, and gives a sound a complete logic of distributed knowledge. We conclude in Sect. 6.Footnote 1

2 Single-Agent Topological Evidence Models

The relation between belief and knowledge has historically been one of the main focuses of epistemology. One would want to have a formal system that accounts for knowledge and belief together, which requires careful consideration regarding the way in which they interact. Canonically, knowledge has been thought of as “true, justified belief”. However, Gettier’s counterexamples of cases of true, justified belief which do not amount to knowledge shattered this paradigm [11].

Stalnaker [18] argues that a relational semantics is insufficient to capture Gettier’s considerations in [11] and, trying to stay close to most of the intuitions of Hintikka in [13], provides an axiomatisation for a system of knowledge and belief in which knowledge is an \(\mathsf {S4.2}\) modality, belief is a \(\mathsf {KD45}\) modality and the following formulas can be proven: \( B\phi \leftrightarrow \lnot K \lnot K\phi \) and \(B\phi \leftrightarrow BK\phi \). “Believing p” is the same as “not knowing you don’t know p” and belief becomes “subjective certainty”, in the sense that the agent cannot distinguish whether she believes or knows p, and believing amounts to believing that one knows.

A topological semantics in which knowledge is simply the interior modality (i.e., evaluating formulas on a topological space and setting \(\Vert K\phi \Vert ={{\,\mathrm{Int}\,}}\Vert \phi \Vert \)) proves insufficient to capture these nuances. In [2] a new semantics is introduced, building on the idea of evidence models of [6] which exploits the notion of evidence-based knowledge allowing to account for notions as diverse as basic evidence versus combined evidence, factual, misleading and nonmisleading evidence, etc. It is a semantics whose logic maintains a Stalnakerian spirit with regards to the relation between knowledge and belief, which behaves well dynamically and which does not confine us to work with “strange” classes of spaces.

This is the dense-interior semantics, defined on topological evidence models.

2.1 The Logic of Topological Evidence Models

We briefly present here the framework introduced in [2], see also [16]. Our language is now \(\mathcal {L}_{\forall KB\square \square _0}\), which includes the modalities K (knowledge), B (belief), \([\forall ]\) (infallible knowledge), \(\square _0\) (basic evidence), \(\square \) (combined evidence).

Definition 2.1

(The dense interior semantics). We interpret sentences on topological evidence models (i.e. tuples \((X,\tau ,E_0,V)\) where \((X,\tau ,V)\) is a topological model and \(E_0\) is a subbasis of \(\tau \)) as follows: \(x\in \llbracket K\phi \rrbracket \) iff \(x\in {{\,\mathrm{Int}\,}}\llbracket \phi \rrbracket \) and \({{\,\mathrm{Int}\,}}\llbracket \phi \rrbracket \) is denseFootnote 2; \(x\in \llbracket B\phi \rrbracket \) iff \({{\,\mathrm{Int}\,}}\llbracket \phi \rrbracket \) is dense; \(x\in \llbracket [\forall ]\phi \rrbracket \) iff \(\llbracket \phi \rrbracket =X\); \(x\in \llbracket \square _0\phi \rrbracket \) iff there is \(e\in E_0\) with \(x\in e\subseteq \llbracket \phi \rrbracket \); \(x\in \llbracket \square \phi \rrbracket \) iff \(x\in {{\,\mathrm{Int}\,}}\llbracket \phi \rrbracket \). Validity is defined in the standard way.

We see that “knowing” does not equate “having evidence”in this framework, but it is rather something stronger: in order for the agent to know P, she needs to have a piece of evidence for P which is dense, i.e., which has nonempty intersection with (and thus cannot be contradicted by) any other piece of evidence.

Fragments of the Logic. The following logics are obtained by considering certain fragments of the language (i.e. certain subsets of the modalities above)Footnote 3.

figure a

We will refer to these logics respectively as \(\mathsf {S4.2}_K\), \(\mathsf {Logic}_{\forall K}\), \(\mathsf {Logic}_{\forall \square }\) and \(\mathsf {Logic}_{\forall \square \square _0}\). K and B are definable in the evidence fragmentsFootnote 4, thus we can think of the logic of \(\mathcal {L}_{\forall \square \square _0}\) as the “full logic”.

3 Going Multi-agent

There have been different approaches to a multi-agent logic derived from the framework introduced in [2]. In [17], a two-agent logic with distributed knowledge was defined. However, the semantics of this approach seems to come with some conceptual problems which were discussed in [10]. Another approach, present in [16], generalises the one-agent case and is devoid of the aforementioned conceptual issues, yet it uses the semantics of subset space logic: sentences are evaluated at a pair (xU) where x is a world and U is some neighbourhood of x.

The system introduced in the present section and expanded upon in the subsequent ones generalises the one-agent models while maintaining the underlying ideas to the single-agent case, where sentences are evaluated at worlds. We will limit ourselves to two agents for simplicity in the exposition. Extending these results to any finite number of agents is straightforward.

The Problem of Density. A first idea when attempting to incorporate a second epistemic agent would be to simply add a second topology to the single-agent framework and read things in the same way. That is, we could interpret sentences on bitopological spaces \((X,\tau _1,\tau _2)\) where \(\tau _1\) and \(\tau _2\) are topologies defined on X, and we say, for \(i=1,2\), that \(x\in K_i\phi \) if and only there is a set \(U\in \tau _i\) which is dense in \(\tau _i\) such that \(x\in U\subseteq \Vert \phi \Vert \). However, this approach is highly problematic because it requires the extra assumptions that the same set of worlds is epistemically accessible for both agents, and thus conflates infallible knowledge. This is discussed in more depth in [10]. Our proposal to eliminate these complications involves making explicit which worlds are compatible with an agent’s information at world x. This is done via the use of partitions.

3.1 Topological-Partitional Models

In order to specify which worlds an agent considers possible, we can define the topologies which encode the evidence of the agents on a common space X, but we restrict, for each agent and at each world \(x\in X\), the set of worlds epistemically accessible to the agent at x. We can still speak about density, but locally. A straightforward way to this is through the use of partitions.

Definition 3.1

A topological-partitional model is a tuple

$$\mathfrak {M}=(X,\tau _1,\tau _2,\varPi _1,\varPi _2,V)$$

where V is a valuation, \(\tau _i\) is a topology defined on X and \(\varPi _i\) is a partition of X with the property that \(\varPi _i\subseteq \tau _i\).

The worlds which are compatible with agent i’s information at \(x\in X\) are now precisely the worlds in the unique cell of the partition \(\varPi _i\) which includes x. The concept of justification comes now in the form of a local notion of density:

Definition 3.2

For \(x\in X\), let \(\varPi _i(x)\) be the unique \(\pi \in \varPi _i\) with \(x\in \pi \). For \(U\subseteq X\), let \(\varPi _i[U]=\{\pi \in \varPi _i:\pi \cap U\ne \varnothing \}=\{\varPi _i(x):x\in U\}\).

A set \(U\subseteq X\) is locally dense in \(\pi \in \varPi _i\) whenever \(\pi \subseteq {{\,\mathrm{Cl}\,}}_{\tau _i} U\) or equivalently when every nonempty open set contained in \(\pi \) has nonempty intersection with U. We will say that a nonempty set U is locally dense in \(\varPi _i\) (or simply locally dense if there is no ambiguity) if \({{\,\mathrm{Cl}\,}}_{\tau _i} U=\bigcup \varPi _i[U]\). Equivalently, U is locally dense if it is locally dense in \(\pi \) for every \(\pi \in \varPi _i[U]\).

With this we can define a semantics for two-agent knowledge:

Definition 3.3

(Two-agent locally-dense-interior semantics). Let

$$\mathfrak {M}=(X,\tau _1,\tau _2,\varPi _1,\varPi _2,V)$$

be a topological-partitional model and let \(x\in X\). As usual, we have \(\Vert p\Vert =V(p)\), \(\Vert \phi \wedge \psi \Vert =\Vert \phi \Vert \cap \Vert \psi \Vert \) and \(\Vert \lnot \phi \Vert =X{\setminus }\Vert \phi \Vert \). For \(i=1,2\) set:

$$ \begin{aligned} \mathfrak {M},x\vDash K_i\phi \text { iff }&x\in {{\,\mathrm{Int}\,}}_{\tau _i}\Vert \phi \Vert \\&\, \& \, {{\,\mathrm{Int}\,}}_{\tau _i}\Vert \phi \Vert \text {is locally dense in}\, \varPi _i(x). \end{aligned}$$

Consider a topological-partitional model \((X,\tau _1,\tau _2,\varPi _1,\varPi _2,V)\) and set

$$\tau ^*_i := \{U\in \tau _i: U \text { is} \, \varPi _i-\text {locally dense} \}\cup \{\varnothing \}. $$

It is straightforward to check that the following holds:

Lemma 3.4

\((X,\tau ^*_1,\tau ^* _2)\) is an extremally disconnected bitopological space and the locally-dense-interior semantics on \((X,\tau _1,\tau _2,\varPi _1,\varPi _2,V)\) coincides with the interior semantics on \((X,\tau ^*_1,\tau ^*_2,V)\).

In particular, given a topological-partitional model \((X,\tau _{1,2},\varPi _{1,2},V)\) in which every \(\tau _i\)-open set is \(\varPi _i\)-locally dense, the locally-dense-interior semantics and the interior semantics coincide.

One last remark before proceeding with the main results: at first glance demanding each element \(\pi \in \varPi _i\) to be open may seem as a very strong condition. For example, a connected space such as \(\mathbb {R}\) does not admit any such partition other than the trivial one \(\varPi _i=\{\mathbb {R}\}\). We could instead do the following:

  1. i.

    Define topological-partitional models to have arbitrary partitions;

  2. ii.

    Define \(U\subseteq X\) to be locally dense at \(\pi \in \varPi _i\) whenever \(U\cap \pi \) is dense in the subspace topology \(\tau _i|_\pi \);

  3. iii.

    Set \(x\in \Vert K_i\phi \Vert \) if and only if there exists \(U\in \tau _i\) locally dense in \(\varPi _i(x)\) with \(x\in U\cap \varPi _i(x)\subseteq \Vert \phi \Vert \).

As it turns out, these models can be turned in a truth-preserving manner into topological-partitional models of the kind defined above. Indeed, let \(\bar{\tau }_i\) be the topology generated by \(\{U\cap \pi :U\in \tau _i,\pi \in \varPi _i\}\). Then clearly \(\varPi _i\subseteq \bar{\tau }_i\) and it is a straightforward check that \((X,\tau _i,\varPi _i),x\vDash \phi \) under this semantics if and only if \((X,\bar{\tau }_i,\varPi _i),x\vDash \phi \) under the semantics in Definition 3.3.

For this reason, we will limit ourselves to the study of models with open partitions. Let us now look at an example:

Example 3.5

We have four possible worlds, \(X=\{x_{11},x_{01}, x_{10}, x_{00}\}\) and two agents, Alice and Bob, represented by a and b. Let us consider two propositions, p and q. Let \(V(p)=P=\{x_{11}, x_{10}\}\) and \(V(q)=\{x_{11},x_{01}\}\). The actual world is \(x_{11}\), in which p and q hold.

At q-worlds Alice only considers q-worlds possible, and at \(\lnot q\)-worlds, she only considers \(\lnot q\)-worlds possible. In addition to this, at p-worlds she has fallible evidence that p. At \(\lnot p\)-worlds she does not receive this evidence.

The only worlds consistent with Bob’s information are those in which \(q\rightarrow p\) holds. Moreover, in p-worlds he has fallible evidence for p and in \(\lnot p\)-worlds he has it for \(\lnot p\).

Fig. 1.
figure 1

The topology and partition of Alice (left) and Bob (right). The dotted areas are the proper open subsets of the cell of each partition which includes the actual world. We can see that \(x_{11}\) is in a \(\pi _1\)-locally dense open set contained in P but not in a \(\pi _3\)-locally dense one.

Let \(\pi _1=\{x_{11},x_{01}\}\), \(\pi _2=\{x_{01},x_{00} \}\), \(\pi _3=\{x_{11},x_{10},x_{00} \}\), \(\pi _4=\{x_{01}\}\). Alice’s and Bob’s partitions are respectively \(\varPi _a=\{\pi _1,\pi _2\}\) and \(\varPi _b=\{\pi _3,\pi _4\}\). Their topologies \(\tau _a\) and \(\tau _b\) are generated respectively by \(\{\pi _1,\pi _2, P\}\) and \(\{\pi _3,\pi _4,P,X{\setminus } P \}\) (see Fig. 1).

At the actual world \(x_{11}\), Alice knows p yet Bob does not: indeed, \(\{x_{11}\}\) is a \(\tau _a\)-open set, locally dense in \(\pi _1\) and contained in P, thus \(K_a p\) holds. And any \(\tau _b\)-open set contained in P is not locally dense, because it has empty intersection with the open set \(\{x_{00}\}\), thus \(\lnot K_b p\) holds at \(x_{11}\).

Certain topological spaces come equipped with open partitions, in the form of their connected components.

Definition 3.6

Let \((X,\tau )\) be a topological space. A set \(U\subseteq X\) is said to be connected if it does not contain a proper clopen subset.

A connected component of \((X,\tau )\) is a maximal connected subset of X.

The following result can be found in any topology textbook (see e.g. [15]):

Lemma 3.7

The connected components of \((X,\tau )\) coincide with the equivalence classes of the relation: \(x\sim y\) if and only if there is a connected subset of X containing x and y.

The following lemma, whose proof is straightforward, shows that the connected components of an Alexandroff space are always open:

Lemma 3.8

Let \((W,\le )\) be a preordered set. Then:

  1. i.

    The connected components on \((W,{{\,\mathrm{Up}\,}}(W))\) are open and they coincide with the equivalence classes under the reflexive, transitive and symmetric closure of \(\le \), i.e. the following equivalence relation: \(x\sim y\) if and only if there exist \(x_0,...,x_n\in X\) with \(x_0=x,x_n=y\) and \(x_k\le x_{k+1}\) or \(x_k\ge x_{k+1}\) for \(0\le k\le n-1\).

  2. ii.

    If \((W,\le )\) is an \(\mathsf {S4.2}\) frame (i.e. if \(\le \) is a weakly directed preorder) we have: \(x\sim y\) if and only if there exists some \(z\in W\) such that \(x\le z\ge y\).

  3. iii.

    If \((W,\le )\) is a forest (i.e. if \(\le \) is the reflexive and transitive closure of some relation \(\prec \) such that every element has at most one \(\prec \)-predecessor), then \(x\sim y\) if and only if there exists some \(z\in W\) such that \(x\ge z\le y\).

Proof

(i). Let us see that \([x]_\sim \) is clopen and connected. Clearly it is both upward and downward closed. Moreover, if \(\varnothing \ne U\subseteq [x]_\sim \) is a clopen set, take \(y\in U\) and \(z\in [x]_\sim \). Since there is a path of \(\le \) and \(\ge \) from y to z and U is both an upset and a downset, we have that \(z\in U\), thus \([x]_\sim \) is connected.

(ii). Take a path \((x_0=x,x_1,...,x_n=y)\) such that \(x_k\le x_{k+1}\) or \(x_{k+1}\le x_k\) for all \(0\le k\le n-1\), and note that \(x_{k-1}\ge x_k \le x_{k+1}\) implies that there exists a certain \(x'_k\) such that \(x_{k-1}\le x'_k\ge x_{k+1}\). Applying this successively we reach a chain \(x=x'_0\le ... \le x'_k\ge ...\ge x'_n=y\).

(iii). Similar to (ii.), noting that \(x_{k-1}\prec x_k \succ x_{k+1}\) implies \(x_{k-1}=x_{k+1}\).

For \(x\in W\), we shall denote \({\uparrow } x := \{z\in W: x\le z \}\). Note that item (ii) entails that each upset in a directed preorder is \(\sim \)-locally dense. Indeed, take x and y in the same equivalence class. Item (ii) gives us that \({\uparrow } x\cap {\uparrow } y\ne \varnothing \), thus every pair of nonempty upsets contained in the same connected component has nonempty intersection.

This fact plus the last item in Lemma 3.4 have an immediate consequence:

Corollary 3.9

Let \((X,\le _1,\le _2,\sim _1,\sim _2,V)\) be a model in which each \(\le _i\) is a weakly directed preorder and \(\sim _i\) is the equivalence relation given by: \(x\sim _i y\) if and only if there exists \(z\in X\) such that \(x\le _i z\ge _i y\). Then the locally-dense-interior semantics on this model coincide with the Kripke semantics on \((X,\le _1,\le _2,V)\).

As an immediate consequence of this, plus the fact that \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\) is the logic of frames \((W,\le _1,\le _2)\) where each \(\le _i\) is a weakly directed preorder, we have:

Theorem 3.10

\(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\) is the logic of topological-partitional models for two agents.

3.2 Other Fragments

Let us now consider other fragments of the logic. For this we add to our language the infallible knowledge modalities \([\forall ]_i\), the evidence modalities \(\square _i\), and the belief modalities \(B_i\), for \(i=1,2\), and their respective duals \([\exists ]_i\), \(\Diamond _i\) and \(\hat{B}_i\). We interpret these on topological-paritional models \((X,\tau _{1,2},\varPi _{1,2},V)\) as follows:

figure b

Analogously to the one-agent case, we can check that the following equalities hold: \(\Vert K_i\phi \Vert = \Vert \square _i\phi \wedge [\forall ]_i\Diamond _i\square _i\phi \Vert \); \(\Vert B_i\phi \Vert = \Vert \hat{K}_iK_i\phi \Vert \).

Much like in the one-agent framework, we are interested in looking at fragments of this logic. We will focus on the knowledge fragment \(\mathcal {L}_{K_i\forall _i}\), the knowledge-belief fragment \(\mathcal {L}_{K_iB_i}\), and the factive evidence fragment \(\mathcal {L}_{\square _i\forall _i}\).

The factive evidence fragment \(\mathcal {L}_{\square _i\forall _i}\). The logic for this fragment is \(\mathsf {Logic}_{\square _i\forall _i}\), which is the least normal modal logic which includes

  • the axioms and rules of \(\mathsf {S4}\) for \({\square _i}\);

  • the axioms and rules of \(\mathsf {S5}\) for \([\forall _i]\);

  • the axiom \([\forall _i]\phi \rightarrow \square _i\phi \) for \(i=1,2\).

Soundness for topological-partitional models is a rather simple check: the \(\mathsf {S4}\) rules for the topological interior hold, for \({{\,\mathrm{Int}\,}}P \subseteq P \cap {{\,\mathrm{Int}\,}}{{\,\mathrm{Int}\,}}P\) and so do the \(\mathsf {S5}\) rules for \([\forall ]_i\), which are defined via equivalence relations. The fact that each equivalence class is open takes care of the axiom \([\forall ]_i\phi \rightarrow \square _i\phi \).

For completeness, we can use the Sahlqvist completeness theorem (see [9]) and note that the axioms of \(\mathsf {Logic}_{\square _i\forall _i}\) are Sahlqvist formulas and thus canonical and the canonical Kripke model for this logic is of the shape \((X,\le _1,\le _2,\sim _1,\sim _2)\), where each \(\le _i\) is a preorder (due to the \(\mathsf {S4}\) axioms) and each \(\sim _i\) constitutes an equivalence relation (due to the \(\mathsf {S5}\) axioms). Moreover, the axiom \([\forall _i]\phi \rightarrow \square _i\phi \) grants us that \(x\le _i y\) implies \(x\sim _i y\) and thus that the \(\sim _i\)-equivalence classes are \(\le _i\)-open sets. In other words, this canonical model is a topological-partitional model.

Therefore if \(\phi \notin \mathsf {Logic}_{\square _i\forall _i}\), then \(\phi \) will be refuted in the canonical model, whence we have a topological-partitional model refuting it. And thus, we have completeness.    \(\square \)

The Knowledge Fragment \(\mathcal {L}_{K_i\forall _i}\). The logic of the fragment with all the knowledge modalities, \(K_1,K_2,[\forall ]_1\) and \([\forall ]_2\) is \(\mathsf {Logic}_{K_i\forall _i}\), the least logic including the axioms and rules of \(\mathsf {S4}\) for each \(K_i\), \(\mathsf {S5}\) for each \([\forall ]_i\) plus the following axioms for \(i=1,2\):

figure c

Note that the .2 axiom for \(K_i\) is derivable from (A) and (B).

Soundness is a routine check, whereas for completeness we can again resort to the Sahlqvist theorem. The canonical model is of the shape \((X,\le _1,\le _2,\sim _1,\sim _2)\) where each \(\le _i\) is a weakly directed preorder and each \(\sim _i\) is an equivalence relation. Moreover the Sahlqvist first order correspondent of axiom (A) gives us that \(x\le _i y\) implies \(x\sim _i y\) and axiom (B) tells us that, if \(x\sim _i y\), then there exists some z such that \(x\le _i z\ge _i y\). These two facts, together with item (ii) of Lemma 3.8, imply that the \(\sim _i\)-equivalence classes are exactly the \(\le _i\)-connected components. And thus the Kripke semantics on this model coincide with the locally-dense-interior semantics on the topological-partitional model \((X,\tau _1,\tau _2,\varPi _1,\varPi _2)\) where \(\tau _i={{\,\mathrm{Up}\,}}{\le _i}(X)\) and \(\varPi _i\) are the \(\le _i\)-connected components. Completeness follows.

   \(\square \)

The Knowledge-Belief Fragment \(\mathcal {L}_{K_i B_i}\). The logic of the knowledge-belief fragment is \(\mathsf {Stal}_1+\mathsf {Stal}_2\) the least normal modal logic including the \(\mathsf {S4}\) axioms and rules for \(K_i\) plus the following axioms, for \(i=1,2\):

figure d

We have that \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2} \cup \{B_i\phi \leftrightarrow \hat{K}_iK_i\phi : \phi \in \mathcal {L}_{K_iB_i}\}\subseteq \mathsf {Stal}_1+\mathsf {Stal}_2\) and thus, if a formula \(\phi \) in the language \(\mathcal {L}_{K_i B_i}\) is not provable in \(\mathsf {Stal}_1+\mathsf {Stal}_2\), we can rewrite it as per into a formula in the language \(\mathcal {L}_{K_i}\) which is not provable in \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\). By completeness of the latter, there is a topological-partitional countermodel for \(\phi \), and completeness of \(\mathsf {Stal}_1+\mathsf {Stal}_2\) follows.    \(\square \)

4 Generic Models for Two Agents

In their famous paper [14], McKinsey and Tarski prove that \(\mathsf {S4}\) is not only the logic of topological spaces when one considers the interior semantics (i.e. when one reads \(\Vert K\phi \Vert ={{\,\mathrm{Int}\,}}\Vert \phi \Vert \)), but that there are single topological spaces, such as the real line \(\mathbb {R}\) or the rationals \(\mathbb {Q}\), whose logic is precisely \(\mathsf {S4}\). In [1], the authors of this paper have been concerned with finding generic models such as these for the logic of single-agent topo-e-models. In this section we provide two examples of generic models for the multi-agent logic, i.e., two topological-partitional spaces whose logic is precisely \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\).

The Quaternary Tree \(\mathbf {\mathcal {T}_{2,2}}\). The quaternary tree \(\mathcal {T}_{2,2}\) is a full infinite tree with two relations \(R_1\) and \(R_2\) such that each node of the tree has exactly four successors, two of them being \(R_1\)-successors and the other two being \(R_2\)-successors, as it appears in Fig. 2.

By setting T to be the set of points of \(\mathcal {T}_{2,2}\) and \(\le _i\) to be the reflexive and transitive closure of \(R_i\) for \(i=1,2\), we can see \(\mathcal {T}_{2,2}=(T,\le _1,\le _2)\) as a birelational preordered frame.

Fig. 2.
figure 2

The quaternary tree \(\mathcal {T}_{2,2}\). \(R_1\) and \(R_2\) are represented respectively by the continuous and the dashed lines.

It is proven in [5] that the logic of this frame under the usual Kripke semantics is \(\mathsf {S4}+\mathsf {S4}\). This result is a corollary of the following proposition which we will use in our proof:

Proposition 4.1

([5]). Given a finite frame \(\mathfrak {F}=(W,\preceq _1,\preceq _2)\), where \(\preceq _1\) and \(\preceq _2\) are both preorders, there exists a p-morphism from \(\mathcal {T}_{2,2}\) onto \(\mathfrak {F}\), i.e., a surjective map \({{\,\mathrm{\mathsf {p}}\,}}:\mathcal {T}_{2,2}\twoheadrightarrow \mathfrak {F}\) such that, for \(i=1,2\), (i) \(x\le _i y\) implies \(({{\,\mathrm{\mathsf {p}}\,}}x) \preceq _i ({{\,\mathrm{\mathsf {p}}\,}}y)\), and (ii) \(({{\,\mathrm{\mathsf {p}}\,}}x) \preceq _i v\) implies there exists \(y\in T\) such that \(x\le _i y\) and \({{\,\mathrm{\mathsf {p}}\,}}y=v\).

Completeness of \(\mathcal {T}_{2,2}\) with respect to \(\mathsf {S4.2}_{K_1} + \mathsf {S4.2}_{K_2}\). Let us now bring this to our realm. We want to think of \(\mathcal {T}_{2,2}\) as a topological-partitional model. For this, we turn to its connected components.

As per item (iii) of Lemma 3.8, we know that the connected components are given by the equivalence relation: \(x\sim _i y\) if and only if there exists a z such that \(x\ge _i z\le _i y\). Note that for each \(x\in \mathcal {T}_{2,2}\) and \(i=1,2\), the set of \(\le _i\)-predecessors of x forms a finite chain (and in particular, there is a least predecessor \(x_0\) of x, which does not have any \(\le _i\) predecessors other than itself). These two facts give us the following characterisation:

Lemma 4.2

The \(\le _i\)-connected components of \(\mathcal {T}_{2,2}\) are exactly the upsets of the form \({\uparrow }_i x_0\), where \(x_0\) does not have any \(\le _i\)-predecessors other than itself.

Now, let \((W,\le _1,\le _2,V)\) be a finite model whose underlying frame is a rooted birelational weakly directed preorder. We can define a map \({{\,\mathrm{\mathsf {p}}\,}}:\mathcal {T}_{2,2}\twoheadrightarrow W\) and a valuation \(V^{\mathcal {T}_{2,2}}\) as above. Let \(\sigma _i\) be the topology of \(\le _i\)-upsets of W and \(\equiv _i\) be the equivalence relation determining the connected components. Recall that \(\mathfrak {W}=(W,\sigma _{1,2},\equiv _{1,2},V)\) is a topological-partitional model in which every \(\sigma _i\)-open set is \(\equiv _i\)-locally dense. Moreover, we have:

Lemma 4.3

For \(x\in \mathcal {T}_{2,2}\), \(w\in W\) and \(i=1,2\), let \([x]_{\sim _i}\) and \([w]_{\equiv _i}\) be the respective equivalence classes (i.e., the respective connected components containing x and w). Then the following holds:

  1. i.

    For any \(x\in \mathcal {T}_{2,2}\), \({{\,\mathrm{\mathsf {p}}\,}}[x]_{\sim _i}\subseteq [{{\,\mathrm{\mathsf {p}}\,}}x]_{\equiv _i}\).

  2. ii.

    Let \(x_0\in \mathcal {T}_{2,2}\) and let U be a (locally dense) \(\sigma _i\)-open set such that \({{\,\mathrm{\mathsf {p}}\,}}x_0\in U\subseteq [{{\,\mathrm{\mathsf {p}}\,}}x_0]_{\equiv _i}\). Then \( U':= \bigcup \{{\uparrow }_i x:x\sim _i x_0 \, \& \, {{\,\mathrm{\mathsf {p}}\,}}x\in U\} \) is a locally dense upset such that \(x_0\in U'\subseteq [x_0]_{\sim _i}\).

Proof

(i). Set \(y\sim _i x\). Then there is some z such that \(y\ge _i z\le _i x\) and thus, since the map \({{\,\mathrm{\mathsf {p}}\,}}\) preserves order, we have that \({{\,\mathrm{\mathsf {p}}\,}}y\ge _i {{\,\mathrm{\mathsf {p}}\,}}z\le _i {{\,\mathrm{\mathsf {p}}\,}}x\) and thus \({{\,\mathrm{\mathsf {p}}\,}}y\equiv _i{{\,\mathrm{\mathsf {p}}\,}}x\).

(ii). \(U'\) is an upset because it is a union of upsets and \(x_0\in U'\subseteq [x_0]_{\sim _i}\) by construction. Let us see that it is locally dense. Take some \(z\in \mathcal {T}_{2,2}\) such that \({\uparrow }_i z\subseteq [x_0]_{\sim _i}\). Now, \({{\,\mathrm{\mathsf {p}}\,}}({\uparrow }_i z)\) is an open set (by opennes of \({{\,\mathrm{\mathsf {p}}\,}}\)) and \({{\,\mathrm{\mathsf {p}}\,}}({\uparrow }_i z)\subseteq {{\,\mathrm{\mathsf {p}}\,}}[x_0]_{\sim _i}\subseteq [{{\,\mathrm{\mathsf {p}}\,}}x_0]_{\equiv _i}\). By local density of U there exists some \(a\in U\cap {{\,\mathrm{\mathsf {p}}\,}}({\uparrow }_i z)\). That is, for some \(z'\ge _i z\) we have \({{\,\mathrm{\mathsf {p}}\,}}z'=a\) and \({{\,\mathrm{\mathsf {p}}\,}}z'\in U\), thus by construction \(z'\in {\uparrow }_i z\cap U'\) and thus \({\uparrow }_i z \cap U'\ne \varnothing \).

As a consequence:

Proposition 4.4

For any \(x\in \mathcal {T}_{2,2}\) and any formula \(\phi \) in the language, \(\mathcal {T}_{2,2},x\vDash \phi \) if and only if \(\mathfrak {W},{{\,\mathrm{\mathsf {p}}\,}}x \vDash \phi \).

Proof

This is once again an induction on the structure of formulas in which the only involved case is the induction step corresponding to the \(K_i\) modalities.

Suppose \(x\vDash K_i\phi \). Then there exists some locally dense open set U with \(x\in U\subseteq [x]_{\sim _i}\) such that \(y\vDash \phi \) for all \(y\in U\). But then

$${{\,\mathrm{\mathsf {p}}\,}}x\in {{\,\mathrm{\mathsf {p}}\,}}U \subseteq {{\,\mathrm{\mathsf {p}}\,}}[x]_{\sim _i}\subseteq [{{\,\mathrm{\mathsf {p}}\,}}x]_{\equiv _i},$$

this last inclusion given by (i) of the previous lemma, and \({{\,\mathrm{\mathsf {p}}\,}}U\) is a locally dense open set in W: it is open because \({{\,\mathrm{\mathsf {p}}\,}}\) is an open map and it is locally dense because every open set in W is locally dense. Moreover, for every \({{\,\mathrm{\mathsf {p}}\,}}y \in {{\,\mathrm{\mathsf {p}}\,}}U\) we have by induction hypothesis that \({{\,\mathrm{\mathsf {p}}\,}}y\vDash \phi \). Thus \({{\,\mathrm{\mathsf {p}}\,}}x\vDash K_i\phi \).

Conversely, suppose \({{\,\mathrm{\mathsf {p}}\,}}x\vDash K_i\phi \). Then there exists a (locally dense) \(\sigma _i\)-open set U with \({{\,\mathrm{\mathsf {p}}\,}}x\in U \subseteq [{{\,\mathrm{\mathsf {p}}\,}}x]_{\equiv _i}\) such that \(w\vDash \phi \) for all \(w\in U\). But then by part (ii) of the previous lemma \( U':= \bigcup \{{\uparrow }_i z:z\sim _i x \, \& \, {{\,\mathrm{\mathsf {p}}\,}}z\in U\} \) is a locally dense upset such that \(x\in U'\subseteq [x]_{\sim _i}\). Now take \(y\in U'\). We have that \(y\ge _i z\) for some \(z\in [x]_{\sim _i}\) with \({{\,\mathrm{\mathsf {p}}\,}}z\in U\). But since \({{\,\mathrm{\mathsf {p}}\,}}\) is order preserving we have that \({{\,\mathrm{\mathsf {p}}\,}}y\ge _i {{\,\mathrm{\mathsf {p}}\,}}z\) and thus \({{\,\mathrm{\mathsf {p}}\,}}y\in U\), which means that \({{\,\mathrm{\mathsf {p}}\,}}y\vDash \phi \) and thus, by induction hypothesis, \(y\vDash \phi \). This means that \(U'\subseteq \Vert \phi \Vert ^{\mathcal {T}_{2,2}}\) and thus \(x\vDash K_i\phi \).

Completeness is now an immediate consequence.

Corollary 4.5

\(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\) is sound and complete with respect to the quaternary tree \((\mathcal {T}_{2,2},\le _1,\le _2,\sim _1,\sim _2)\).

The Product \(\mathbb {Q}\times \mathbb {Q}\). Let us now show that it is possible to define two topologies and two equivalence relations on the product space \(\mathbb {Q}\times \mathbb {Q}\) which make it into a generic topological-partitional space for \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\).

These topologies will be the vertical and horizontal topologies, which can be defined on a product \(X\times Y\) and, in a way, “lift” the topologies of the components.

Definition 4.6

Let \((X,\tau )\) and \((Y,\sigma )\) be two topological spaces. The horizontal and vertical topologies, \(\tau _H\) and \(\tau _V\), are the topologies on \(X\times Y\) generated, respectively, by the bases

$$\mathcal {B}_H=\{U\times \{y\}:U\in \tau ,y\in Y \} \text { and } \mathcal {B}_V=\{\{x\}\times V:x\in X,V\in \sigma \}.$$

In particular, if we take both components to be \(\mathbb {Q}\) with the natural topology, we obtain our bitopological space \((\mathbb {Q}\times \mathbb {Q},\tau _H,\tau _V)\). An important result about this space is the following:

Theorem 4.7

([5]).\(\mathsf {S4}+ \mathsf {S4}\) is the logic of \((\mathbb {Q}\times \mathbb {Q},\tau _H,\tau _V)\) under the interior semantics.

Now we shall show there exists a partition on \(\mathbb {Q}\times \mathbb {Q}\) which will give us the desired completeness result. Note that we cannot shelter ourselves in the connected components this time, for the connected components in \((\mathbb {Q}\times \mathbb {Q},\tau _H,\tau _V)\) are the singletons, which are not even open sets.

Let \((X,\tau _1,\tau _2)\) be a bitopological space and \(\mathfrak {Y}=(Y,\sigma _1,\sigma _2, \sim _1,\sim _2, V)\) be a topological partitional model. Moreover, let

$$f:(X,\tau _1,\tau _2)\twoheadrightarrow (Y,\sigma _1,\sigma _2)$$

be a surjective map which is open and continuous in both topologies. We shall call this an onto interior map. Define two equivalence relations \(\equiv _1\) and \(\equiv _2\) on X by:

$$x\equiv _i y \text { if and only if } fx\sim _i fy.$$

Define a valuation on X by \(V^f(p)=\{x\in X: fx\in V(p)\}\). The following holds:

Proposition 4.8

\(\mathfrak {X}=(X,\tau _1,\tau _2,\equiv _1,\equiv _2,V^f)\) is a topological evidence model and, for every formula \(\phi \) in the language and every \(x\in X\) we have that \(\mathfrak {X},x\vDash \phi \) if and only if \(\mathfrak {Y},fx\vDash \phi \).

Proof

Checking that \(\mathfrak {X}\) is a topological partitional model amounts to checking that each equivalence class is an open set. Let \([x]_{\equiv _i}\) be the equivalence class under \(\equiv _i\) of some \(x\in X\). Note that the image of this class coincides with the equivalence class of fx, i.e. \(f[x]_{\equiv _i}=[fx]_{\sim _i}\). Indeed, \(fy\in [fx]_{\sim _i}\) implies \(y\in [x]_{\equiv _i}\), and thus \(fy\in f[x]_{\equiv _i}\); conversely \(y\in f[x]_{\equiv _i}\) implies \(y=fx'\) for some \(x'\equiv _i x\) and thus \(y=fx'\sim _i fx\). Now, \([fx]_{\sim _i}\) is an equivalence class and thus an open set and, since f is continuous, \(f^{-1}f[x]_{\equiv _i}\) is also an open set. So it suffices to show that \(f^{-1}f[x]_{\equiv _i}=[x]_{\equiv _i}\). And indeed, if \(z\in f^{-1}f[x]_{\equiv _i}\) then \(fz\in f[x]_{\equiv _i}=[fx]_{\sim _i}\) which means that \(fz\sim _i fx\) and thus \(z\equiv _i x\).

The second result is an induction on formulas. For the propositional variables and the induction steps corresponding to the Boolean connectives the result is straightforward. Now suppose that for some \(\phi \) it is the case that, for all x, \(\mathfrak {X},x\vDash \phi \) if and only if \(\mathfrak {Y},fx\vDash \phi \), and let \(\mathfrak {X},x\vDash K_i\phi \). This means that there exists some open set \(U\in \tau _i\) such that \(x\in U \subseteq \Vert \phi \Vert ^{\mathfrak {X}}\) and U is locally dense in \([x]_{\equiv _i}\), i.e., for every nonempty open set \(V\subseteq [x]_{\equiv _i}\), it is the case that \(U\cap V\ne \varnothing \). But then we have that \(fx\in f[U]\), the set f[U] is open (by openness of f) which is contained in \(f\Vert \phi \Vert ^{\mathfrak {X}}\) (and thus, by induction hypothesis, in \(\Vert \phi \Vert ^{\mathfrak {Y}}\)) and f[U] is locally dense in \([fx]_{\sim _i}\). Indeed, suppose V is an open set contained in \([fx]_{\sim _i}\). then \(f^{-1}[V]\) is an open set contained in \(f^{-1}[fx]_{\sim _i}=[x]_{\equiv _i}\) which implies that there exists some \(z\in f^{-1}[V]\cap U\) and thus some \(fz\in V\cap f[U]\). Conversely, suppose \(\mathfrak {Y},fx\vDash K_i\phi \). There is an open set \(U\subseteq \Vert \phi \Vert ^{\mathfrak {Y}}\) which includes fx and which is locally dense on \([fx]_{\sim _i}\). Then \(f^{-1}[U]\) is an open set including x which is contained in \(f^{-1}\Vert \phi \Vert ^{\mathfrak {Y}}=\Vert \phi \Vert ^{\mathfrak {X}}\) and moreover it is locally dense on \([x]_{\equiv _i}\): indeed, if V is an open set contained in \([x]_{\equiv _i}\), then f[V] is an open set contained in \([fx]_{\sim _i}\) and thus there exists some \(y\in f[V]\cap [fx]_{\sim _i}\). But then \(y=fz\) for some \(z\in V\) and \(z\in V\cap f^{-1}[fx]_{\sim _i}= V\cap [x]_{\equiv _i}\), whence \(\mathfrak {X},x\vDash K_i\phi \).

It is proven in [5] that there exists an onto map \(f:\mathbb {Q}\times \mathbb {Q}\rightarrow \mathcal {T}_{2,2}\), open and continuous in both \(\tau _H\) and \(\tau _V\). The previous proposition plus this fact grants us the existence of a partition which makes \(\mathbb {Q}\times \mathbb {Q}\) a generic model for \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\).

Corollary 4.9

Let \(f:\mathbb {Q}\times \mathbb {Q}\rightarrow \mathcal {T}_{2,2}\) be some onto interior map. Define \((x,y)\equiv ^f_i (x',y')\) iff f(xy) and \(f(x',y')\) belong to the same \(\le _i\)-connected component for \(i=1,2\). Then \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\) is sound and complete with respect to

$$ (\mathbb {Q}\times \mathbb {Q},\tau _H,\tau _V,\equiv ^f_1,\equiv ^f_2).$$

This existence result is not in itself very satisfactory, and it leads to the immediate question: what do these partitions look like? One could easily think of suitable candidates, (such as

$$ \equiv _1 = \{\mathbb {Q}\times (\pi +k, \pi +k+1): k\in \mathbb {Z}\} \; \& \; \equiv _2 = \{ (\pi +k, \pi +k+1)\times \mathbb {Q}: k\in \mathbb {Z} \},$$

for instance) but none of the ‘obvious’ candidates seem to give us completeness (in the example above, \([\forall ]_1\phi \rightarrow \square _2\phi \) holds everywhere, while not being a theorem of the logic). This problem is open for future work.

5 Distributed and Common Knowledge

We have so far a multi-agent framework whose logic simply combines the axioms of the single-agent logic for each of the agents.

In the present section we consider the notions of distributed and common knowledge applied to this framework.

5.1 Distributed Knowledge

We can think of distributed knowledge as whatever the group knows implicitly, or whatever would become known if all the agents were to share their information. Not only does the group know \(\phi \) if one agent in the group knows it, but the group also knows things that no individual agent knows yet can be derived from the information of several agents. For example, if agent 1 knows p to be the case, and agent 2 knows \(p\rightarrow q\) to be the case, then together they know q, even if individually no one does.

In relational semantics, if \(\mathcal {A}\) is a finite group of agents and, for each \(a\in \mathcal {A}\), \(K_a\) is the Kripke modality corresponding to some relation \(R_a\), then we can think of D as the Kripke modality corresponding to the relation \(\bigcap _{a\in \mathcal {A}} R_a\).

Let us remark something here: given two preorders \(\le _1\) and \(\le _2\) defined on a set X, let \(\tau _i\) be the topology of \(\le _i\)-upwards closed sets for \(i=1,2\). The Kripke semantics on \((X,\le _1,\le _2)\) correspond with the interior semantics on \((X,\tau _1,\tau _2)\), and the collection of upwards-closed sets of the relation \(\le _1\cap \le _2\) is precisely the join topology \(\tau _1\vee \tau _2\), i.e., the least topology containing \(\tau _1\cup \tau _2\), or, equivalently, the topology generated by \(\{U_1\cap U_2:U_i\in \tau _i\}\). We will be using join topologies in our approach.

A Problematic Approach. What exactly amounts to distributed knowledge in our framework? A very direct way to translate the ideas presented so far would be this: we say that \(D\phi \) holds at w whenever agent 1 and agent 2 have each a piece of evidence which, when put together, constitute a justification for \(\phi \) (i.e., a locally dense piece of evidence).

This approach, while intuitive, has two issues. On the one hand, it might be the case that an agent has a piece of evidence for \(\phi \) which is dense in her topology (i.e., she knows \(\phi \)) yet, when the evidence of both agents is put together, the corresponding evidence is no longer locally dense in the partition of the join topology (i.e., the group does not know \(\phi \)).Footnote 5 Obviously, this is undesirable.

On the other hand, this notion reflects what the group could come to know if they put their evidence together and acted, in a way, as a collective agent. This is more an account of implicit evidence of the group rather than its implicit knowledge. According to [12],

It is also often desirable to be able to reason about the knowledge that is distributed in the group, i.e., what someone who could combine the knowledge of all of the agents in the group would know. Thus, for example, if Alice knows \(\phi \) and Bob knows \(\phi \Rightarrow \psi \), then the knowledge of \(\psi \) is distributed among them, even though it might be the case that neither of them individually knows \(\psi \). (...) [D]istributed knowledge corresponds to what a (fictitious) ‘wise man’ (one that knows exactly what each individual agent knows) would know.

The desired interpretation of ‘distributed knowledge’ here is that of a ‘wise man’ who has the information of what each agent knows, as opposed to what evidence they have. Thus, from this lens, one might want to keep misleading evidence out of the equation, and consider that this hypothetical ‘wise man’ forms his knowledge based not on what the agents have evidence for, but rather on what the agents actually know.

On this account, instead of each agent having a piece of evidence that, when combined together, constitute a justification for \(\phi \), we would want for each to have a justification which combine into a piece of evidence for \(\phi \). (For a more in-depth argument, see [10]).

There seem to be good reasons to stick to a notion of distributed knowledge which disregards the idea of ‘putting evidence together’ and which is based solely on the knowledge of the agents, whose logic would contain axioms like \(K_1\phi \rightarrow D\phi \). In the following we present a way to have such a notion.

Our Proposal: The Semantics. We again have a language with two modal operators \(K_1\) and \(K_2\) for the knowledge of each agent plus an operator D for distributed knowledge.

Definition 5.1

(Semantics for D). Let \(\mathfrak {X}=(X,\tau _{1,2},\varPi _{1,2},V)\) be a topological- partitional model. We read \(\Vert p\Vert \), \(\Vert \phi \wedge \psi \Vert \) \(\Vert \lnot \phi \Vert \) and \(\Vert K_i\phi \Vert \) as in Definition. 3.3, and:

$$\begin{aligned} x\in \Vert D\phi \Vert \text { iff }&\text {there exist}\, U_1\in \tau _1, U_2\in \tau _2 \,\text {such that} \\&U_i \,\text {is}\, \varPi _i-\,\text {locally dense and }\,x\in U_1\cap U_2\subseteq \Vert \phi \Vert . \end{aligned}$$

While the problematic semantics outlined above amounted to reading distributed knowledge as the interior in the topology \((\tau _1\vee \tau _2)^*\), what we are doing here is reading it as interior in \(\tau _1^*\vee \tau _2^*\).

The Logic of Distributed Knowledge. Let \(\mathsf {Logic}_{K_i D}\) be the least set of formulas containing:

  • The \(\mathsf {S4.2}\) axioms and rules for \(K_1\) and for \(K_2\);

  • The \(\mathsf {S4}\) axioms and rules for D;

  • The axioms \(K_i\phi \rightarrow D\phi \) for \(i=1,2\).

Theorem 5.2

\(\mathsf {Logic}_{K_i D}\) is sound and complete with respect to topological - partitional models.

We will dedicate the rest of this subsection to showing this fact.

Soundness. That every topological-partitional model satisfies the \(\mathsf {S4.2}\) axioms for \(K_i\) can be proven exactly as in Sect. 3.1. That D satisfies the \(\mathsf {S4}\) axioms is a consequence of D being read as \({{\,\mathrm{Int}\,}}_{\tau _1^*\vee \tau _2^*}\). And for the two extra axioms, if \(x\vDash K_i\phi \), then there exists \(U_i\in \tau _i^*\) with \(x\in U_i\subseteq \Vert \phi \Vert \). Let \(j\ne i\) and, by taking \(U_j=X\), which is a \(\varPi _j\)-locally dense \(\tau _j\)-open set, we get \(x\in U_i\cap U_j\subseteq \Vert \phi \Vert \) and thus \(x\vDash D\phi \).

Completeness. Let X be the set of maximal consistent sets over the language. We define \(R_i\) and \(R_D\) on X as follows: given \(T,S\in X\),

$$\begin{aligned} T R_i S&\text { iff}\,\, K_i\phi \in T\, \text {implies}\, \phi \in S\, \text {for all}\, \phi \, \text {in the language;} \\ T R_D S&\text { iff}\,\, D\phi \in T \,\text {implies} \,\phi \in S \,\text {for all} \,\phi \, \text {in the language.} \end{aligned}$$

Note that \(R_D\subseteq R_i\) for \(i=1,2\). Indeed, if \(TR_D S\) and \(K_i\phi \in T\), then \(D\phi \in T\) as per the axiom \(K_i\phi \rightarrow D\phi \) and thus \(\phi \in S\).

A labelled path over X is a path

$$\alpha =T_0\xrightarrow {i_1} T_1 \xrightarrow {i_2} ... \xrightarrow {i_n} T_n,$$

where \(T_0,...,T_n\in X\) and \(i_1,...,i_n\in \{R_1,R_2,R_D\}\). Given \(S\in X\) and a path \(\alpha =T_0\xrightarrow {i_1} T_1 \xrightarrow {i_2} ... \xrightarrow {i_n} T_n\), we define

$${{\,\mathrm{\mathsf {last}}\,}}\alpha :=T_n \text { and }\alpha \xrightarrow {i} S:= T_0\xrightarrow {i_1} T_1 \xrightarrow {i_2} ... \xrightarrow {i_n} T_n \xrightarrow {i} S.$$

Now, let \(\mathcal {T}\) be the smallest set of labelled paths over X such that: (i.) The path \(T_0\) (of length 0) belongs to \(\mathcal {T}\); (ii.) For \(i=1,2\), if \(\alpha \in \mathcal {T}\) and \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i T\), then \(\alpha \xrightarrow {R_i}T\in \mathcal {T}\); (iii.) If \(\alpha \in \mathcal {T}\) and \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D T\), then \(\alpha \xrightarrow {R_D}T\in \mathcal {T}\).

For \(i=1,2,D\) we define: \(\alpha \prec _i\beta \) if and only if \(\alpha =\beta \xrightarrow {R_i}S\) for some \(S\in X\).

We have thus given \(\mathcal {T}\) the structure of a forest. Indeed, every \(\alpha \in \mathcal {T}\) has at most one predecessor under \(\prec _1\cup \prec _2\cup \prec _D\). Now let us define three preorders on \(\mathcal {T}\): for \(i=1,2\), let \(\le _i\) be the reflexive and transitive closure of \(\prec _i\cup \prec _D\) and \(\le _D\) to be the reflexive and transitive closure of \(\prec _D\). Note that by construction \(\le _D=\le _1\cap \le _2\).

Now let us see what the \(\le _1\)- and \(\le _2\)-connected components look like. By part (iii) of Lemma 3.8, we know that the connected components of the topology of upsets of \(\le _i\) (\(i=1,2\)) are given by the equivalence relation: \(\alpha \sim _i\beta \) iff there exists \(\gamma \) such that \(\alpha \ge _i\gamma \le _i\beta \). The definition of \(\le _i\) plus the fact that \(R_D\subseteq R_i\) entail that \(({{\,\mathrm{\mathsf {last}}\,}}\gamma ) R_i ({{\,\mathrm{\mathsf {last}}\,}}\alpha )\) and \(({{\,\mathrm{\mathsf {last}}\,}}\gamma ) R_i ({{\,\mathrm{\mathsf {last}}\,}}\beta )\). Therefore we have the following result:

Lemma 5.3

If \(\alpha \) and \(\beta \) belong to the same \(\le _i\)-connected component on \(\mathcal {T}\), then \({{\,\mathrm{\mathsf {last}}\,}}\alpha \) and \({{\,\mathrm{\mathsf {last}}\,}}\beta \) belong to the same \(R_i\)-connected component in X.

Moreover, there is an alternative characterisation of the connected components, similar to that in Lemma 4.2, which we will find useful:

Lemma 5.4

The \(\le _i\)-connected components correspond to upsets of the form \({\uparrow }_i \alpha _0\), where \(\alpha _0\) has no \(\le _i\)-predecessors other than itself.

We have given \(\mathcal {T}\) the structure of a topological-partitional space and by defining \(V^{\mathcal {T}}(p)=\{\alpha \in \mathcal {T}:p\in {{\,\mathrm{\mathsf {last}}\,}}\alpha \}\) we have a topological-partitional model and we can prove the following:

Lemma 5.5

(Truth lemma). For every \(\alpha \in \mathcal {T}\) and \(\phi \) in the language, \(\alpha \vDash \phi \) if and only if \(\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \).

Proof

This is again an induction on formulas in which the base case for the propositional variables follows from the definition of \(V^{\mathcal {T}}\) and the induction steps for the Boolean connectives are routine.

Now, suppose the result holds for \(\phi \) and \(K_i\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \). We need to define a locally dense open set \(U_i\) such that \(\alpha \in U_i\subseteq [\alpha ]_{\sim _i}\) and with the property that, for every \(\beta \in U_i\), \(\phi \in {{\,\mathrm{\mathsf {last}}\,}}\beta \), which will give us, by induction hypothesis, that \(U_i\subseteq \Vert \phi \Vert \). By Lemma 5.4, we have that \([\alpha ]_{\sim _i}={\uparrow }_i \alpha _i\) for some \(\alpha _i\in \mathcal {T}\). In other words, every \(\beta \in [\alpha ]_{\sim _i}\) is of the form

$$\beta =\alpha _i\xrightarrow {R_i\, \text {or} \,R_D} T_i \xrightarrow {R_i \,\text {or}\, R_D} ... \xrightarrow {R_i\, \text {or}\, R_D} T_n.$$

Let us now partition \([\alpha ]_{\sim _i}\) in two sets:

$$ \begin{aligned} V_D^{[i]} :=&\{\beta \in [\alpha ]_{\sim _i}:\alpha _i\le _D\beta \}; \\ V_i :=&\{\beta \in [\alpha ]_{\sim _i}:\alpha _i\le _i\beta \, \& \, \alpha _i\nleq _D\beta \}. \end{aligned}$$

Note that the elements in \(V_D^{[i]}\) are of the form \( \beta = \alpha _i\xrightarrow {R_D} T_1 \xrightarrow {R_D} ... \xrightarrow {R_D} T_n\), and the elements in \(V_i\) are of the form

$$ \beta = \alpha _i\xrightarrow {r_1} T_1 \xrightarrow {r_2} ... \xrightarrow {r_n} T_n \,\text { with}\, r_k\in \{R_i,R_D\}\, \text {and at least one}\, r_k=R_i, $$

and each element in \([\alpha ]_{\sim _i}\) is in exactly one of \(V_i,V_D^{[i]}\). Let us define \(U_i\) as follows:

$$ U_i:=\{\beta \in V_D^{[i]}:({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D ({{\,\mathrm{\mathsf {last}}\,}}\beta )\}\cup \{\gamma \in V_i:({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i ({{\,\mathrm{\mathsf {last}}\,}}\gamma )\}.$$

The following holds:

  1. i.

    \(\alpha \in U_i\) by construction.

  2. ii.

    \(U_i\) is an upset. Take any \(\beta \in U_i\). If \(\beta \prec _i\gamma \) then \(\gamma =\beta \xrightarrow {R_i} S\) for some \(S\in X\) and we clearly have \(\gamma \in V_i\) and \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i ({{\,\mathrm{\mathsf {last}}\,}}\beta ) R_i S\), thus \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i S\). If \(\beta \prec _D\gamma \) then \(\beta =\gamma \xrightarrow {R_D}S\) and, if \(\beta \in V_D^{[i]}\) we then have that \(\gamma \in V_D^{[i]}\) and \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D ({{\,\mathrm{\mathsf {last}}\,}}\beta ) R_D S\) (thus \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D ({{\,\mathrm{\mathsf {last}}\,}}\gamma )\)) whereas if \(\beta \in V_i\) we have that \(\gamma \in V_i\) and similarly (given that \(R_D\subseteq R_i\)), \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i S\). In any case \(\gamma \in U_i\).

  3. iii.

    \(U_i\) is locally dense. Take any \(\beta \in [\alpha ]_{\sim _i}\). By Lemma 5.3, we have that \({{\,\mathrm{\mathsf {last}}\,}}\beta \) and \({{\,\mathrm{\mathsf {last}}\,}}\alpha \) are in the same \(R_i\)-connected component and, since \(R_i\) is an \(\mathsf {S4.2}\) relation, part (ii) of Lemma 3.8 gives us that there exists some \(S\in X\) with \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i S\) and \(({{\,\mathrm{\mathsf {last}}\,}}\beta ) R_i S\) and thus we have \(\beta \xrightarrow {R_i} S\in U_i \cap {\uparrow }_i\beta \).

  4. iv.

    \(\phi \in {{\,\mathrm{\mathsf {last}}\,}}\beta \) for every \(\beta \in U_i\) (given that \(K_i\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \) and \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_i ({{\,\mathrm{\mathsf {last}}\,}}\beta )\)).

Thus \(\alpha \vDash K_i\phi \), as we intended to prove.

Conversely, if \(\alpha \vDash K_i\phi \), there exists some locally dense open set \(U_i\) with \(\alpha \in U_i \subseteq [\alpha ]_{\sim _i}\cap \Vert \phi \Vert \). Since \(U_i\) is an upset, if \(({{\,\mathrm{\mathsf {last}}\,}}\alpha )R_i S\), we have \(\alpha \xrightarrow {R_i}S\in U_i\), which means \(\alpha \xrightarrow {R_i}S\in \Vert \phi \Vert \) and by induction hypothesis \(\phi \in S\). Every \(R_i\)-successor of \({{\,\mathrm{\mathsf {last}}\,}}\alpha \) includes \(\phi \), which gives \(K_i\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \).

Now suppose \(D\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \). Define \(U_1\) and \(U_2\) as above. They are locally dense open sets contained respectively in \([\alpha ]_{\sim _1}\) and \([\alpha ]_{\sim _2}\). Moreover, \(\alpha \in U_1\cap U_2\) by construction. We simply need to see that \(U_1\cap U_2\subseteq \Vert \phi \Vert \). First let us note the following: if \(\beta \in [\alpha ]_{\sim _1}\cap [\alpha ]_{\sim _2}={\uparrow }_1\alpha _1\cap {\uparrow }_2\alpha _2\), then \(\beta \) is simultaneously of the form

$$\beta = \alpha _1 \xrightarrow {R_1\, \text {or}\, R_D} T_1 \xrightarrow {R_1\,\text {or}\, R_D} ... \xrightarrow {R_1\,\text {or}\, R_D} T_n $$

and of the form

$$\beta = \alpha _2 \xrightarrow {R_2\,\text {or}\,R_D} S_1 \xrightarrow {R_2\,\text {or}\, R_D} ... \xrightarrow {R_2\,\text {or}\, R_D} S_m. $$

These can only be true at the same time if \(\beta \) is of the form

$$ \beta = \alpha _j \xrightarrow {R_D} S_1 ... \xrightarrow {R_D} S_m \text { with } \alpha _j= \alpha _i \xrightarrow {R_i\,\text { or}\, R_D} T_1 ... \xrightarrow {R_i\, \text {or}\, R_D} T_k $$

for \(i\ne j\in \{1,2\}\). Let us assume w.l.o.g. that \(i=1,j=2\). In particular we have that, if \(\beta \in U_1\cap U_2\), then \(\beta \in V_D^{[2]}\) and hence \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D ({{\,\mathrm{\mathsf {last}}\,}}\beta )\). Since \(D\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \), this entails that \(\phi \in {{\,\mathrm{\mathsf {last}}\,}}\beta \) and thus that \(\beta \in \Vert \phi \Vert \), whence \(\alpha \vDash D\phi \).

For the converse, if \(\alpha \vDash D\phi \) then \(\alpha \in U_1\cap U_2 \subseteq \Vert \phi \Vert \) for some \(\le _i\)-locally dense \(U_i\subseteq [\alpha ]_{\sim _i}\). But then if \(({{\,\mathrm{\mathsf {last}}\,}}\alpha ) R_D S\) we have \(\alpha \le _D \alpha \xrightarrow {R_D} S\) and since \(\le _D = \le _1\cap \le _2\) and \(U_1\) and \(U_2\) are respectively a \(\le _1\) and a \(\le _2\)-upset, we have that \(\alpha \xrightarrow {R_D} S\in U_1\cap U_2\) and thus \(\alpha \xrightarrow {R_D} S\vDash \phi \) which by induction hypothesis gives \(\phi \in S\). This entails \(D\phi \in {{\,\mathrm{\mathsf {last}}\,}}\alpha \).

Completeness follows from this: if \(\phi \notin \mathsf {Logic}_{K_i D}\), then \(\{\lnot \phi \}\) is consistent and can be extended as per Lindenbaum’s lemma to some maximal consintent set \(T_0\in X\). We then unravel the tree around \(T_0\) as discussed above and we have ourselves a topological-partitional model rooted in \(\alpha =T_0\) with \(\alpha \nvDash \phi \) as per the truth lemma.

5.2 Common Knowledge

In the context of epistemic logic, one can think of common knowledge as that which “every fool knows”. This informal definition can be formally cashed out in several intuitive ways when one is modelling an epistemic situation. [3] compares the following approaches to common knowledge:

  1. (1)

    The iterate approach. A fact \(\phi \) is common knowledge for a group of agents when \(\phi \) is true, all agents know that it is true, all agents know that all agents know that it is true, etc. If \(E\phi \) is an abbreviation of \(K_1\phi \wedge K_2\phi \), then

    $$C\phi \equiv \phi \wedge E\phi \wedge EE\phi \wedge EEE\phi \wedge ...$$
  2. (2)

    The fixed-point approach. This is an approach in which common knowledge refers back to itself. The idea here is that, if \(\phi \) is the proposition which expresses “it is common knowledge for agents a and b that p”, then \(\phi \) is equivalent to “a and b know (p and \(\phi \))”.

[3] goes on to argue that, despite the fact that early literature considered this approach equivalent to the fixed point one, (1) and (2) offer in fact distinct accounts and the fixed point approach provides “the right theoretical analysis of the pretheoretic notion of common knowledge”.

Moreover, while (1) and (2) are equivalent in relational semantics, as shown in [7] this equivalence disappears once we are working in a topological setting. If one is working topologically, one has to make a choice.

Our proposal amounts to reading the common knowledge modality C as the interior in the intersection topology \(\tau _1^*\cap \tau _2^*\). More explicitly:

Definition 5.6

(Common knowledge semantics). Let \(\mathfrak {X}=(X,\tau _{1,2},\varPi _{1,2},V)\) be a topological-partitional model. We read

figure e

This amounts to the following: there is common knowledge of \(\phi \) at x whenever there exists a common factive justification for \(\phi \).

Much like our account of distributed knowledge, this notion of common knowledge corresponds directly with the relational definition when we are dealing with a topological-partitional model stemming from two \(\mathsf {S4.2}\) relations: if \(R_1\) and \(R_2\) are \(\mathsf {S4.2}\), \(\tau _i\) is the topology of \(R_i\)-upsets and \(\varPi _i\) is the set of \(R_i\)-connected components, then \(\tau ^*_1\cap \tau ^*_2\) contains exactly the upsets of \((R_1\cup R_2)^*\).

Another observation is that, in the spirit of [3], this definition is precisely the fixed point account of common knowledge. As pointed out in [7] and expanded in [8], the fixed point approach can be expressed in the notation of mu-calculus as

$$C\phi =\nu p(\phi \wedge Ep),$$

where p is a propositional variable which does not appear in \(\phi \). We read

$$\Vert \nu p \psi \Vert =\bigcup \{U\in \mathcal {P}(X):U\subseteq \Vert \psi \Vert ^{V_p^U}\},$$

where \(V^U_p\) is the valuation assigning U to p and V(q) to \(q\ne p\).

In particular, \(\Vert C\phi \Vert = \bigcup \{U\in \mathcal {P}(X):U\subseteq \Vert \phi \wedge E p\Vert ^{V^U_p} \}.\) It is straightforward to check that this last set equals

$$ \bigcup \{U\in \mathcal {P}(X): U\in \tau ^*_1\cap \tau ^*_2 \, \& \, U\subseteq \Vert \phi \Vert \} = {{\,\mathrm{Int}\,}}_{\tau ^*_1\cap \tau ^*_2}\Vert \phi \Vert ,$$

which is precisely our account of common knowledge.

Some theorems in the logic of topological-partitional models with common knowledge are the following:

  1. i.

    The \(\mathsf {S4.2}\) axioms for \(K_i\);

  2. ii.

    the \(\mathsf {S4}\) axioms for C;

  3. iii.

    the fixed point axiom \(C\phi \rightarrow E(C\phi \wedge \phi )\);

  4. iv.

    the induction axiom \(C(\phi \rightarrow E\phi )\rightarrow (E\phi \rightarrow C\phi )\).

Proposition 5.7

(Soundness). All the theorems above are valid on topological-partitional models with the semantics of Definition 5.6.

Proof

That i., ii. and iii. hold for topological-partitional models is a straightforward check. Item iv. is more involved. It amounts to checking that, on any such model, and for any \(P\subseteq X\),

$$ C(\lnot P \vee (K_1 P \cap K_2 P )) \cap P \subseteq CP.$$

Now, let \(x\in C(\lnot P \vee (K_1 P \cap K_2 P ))\). By the semantics of 5.6 this means that there exists some \(U\in \tau _1^*\cap \tau _2^*\) such that

$$ x\in U \subseteq \lnot P \cup ({{\,\mathrm{Int}\,}}_{\tau _1^*} P \cap {{\,\mathrm{Int}\,}}_{\tau _2^*} P).$$

Call \(V:=U\cap {{\,\mathrm{Int}\,}}_{\tau _1^*}\). Now, V is a \(\tau _1^*\)-open set. Note that \(V\subseteq U\cap {{\,\mathrm{Int}\,}}_{\tau _2^*}\) and \(U\cap {{\,\mathrm{Int}\,}}_{\tau _2^*}\subseteq V\) and thus V is also a \(\tau ^*_2\)-open set. Moreover, V includes x and it is contained in P. Thus there exits some \(V\in \tau _1^*\cap \tau _2^*\) with \(x\in V\subseteq P\), hence \(x\in CP\).

Whether the preceding list of formulas constitutes a complete axiomatisation of the logic of common knowledge for topological-partitional models is a question that remains open.

6 Conclusions and Future Work

This paper presents a multi-agent generalisation for the dense interior semantics defined on topological evidence models, furthering the results in [2].

This was achieved by introducing a second epistemic agent and a partition-based semantics. We showed how this semantics generalises the single agent case and we provided a complete logic for our two-agent models. Moreover, ‘generic spaces’ were provided with respect to which the logic is sound and complete: the quaternary tree \(\mathcal {T}_{2,2}\) and the rational plane \(\mathbb {Q}\times \mathbb {Q}\). Along with this, a brief conceptual and theoretical study of notions of “group knowledge” for this group of agents was developed.

Some questions remain unanswered (and some potentially interesting results were out of the scope of this investigation). Among these are the following:

  • We have proven (Corollary 4.9) that there exist partitions \(\equiv _1\) and \(\equiv _2\) making \(\mathbb {Q}\times \mathbb {Q}\) a model for the logic \(\mathsf {S4.2}_{K_1}+\mathsf {S4.2}_{K_2}\). What would be an example of such partitions?

  • Are \(\mathcal {T}_{2,2}\) and \(\mathbb {Q}\times \mathbb {Q}\) generic models for any (all) of the fragments of the language considered in Sect. 3.2? For the distributed knowledge logic defined in the last section?

  • Can we more broadly characterize a class of topological - partitional spaces which are generic for the logic? For example it is shown in [1] that, for the one-agent case, any topological space which is dense-in-itself, metrizable and idempotent is a generic model for the logic. Is a similar result true in the multi-agent setting?

  • Does the list of theorems presented in Sect. 5.2 constitute a complete axiomatization of the logic of common knowledge?