1 The Epistemic Quantum Computational Syntax

The structures, investigated in the first Part of this article, provide the mathematical basis for the development of our epistemic semantics.Footnote 1 The basic intuitive idea can be sketched as follows: pieces of quantum information (qumixes) can be denoted by the sentences of a formal language, whose logical connectives correspond to some quantum gates, while the two fundamental epistemic operators (to understand and to know) are interpreted as epistemic operations living in semantic models based on convenient epistemic quantum computational structures. Accordingly, sentences like “At time t Alice knows that Bob does not understand that π is irrational” turn out to denote particular examples of qumixes, representing possible states of quantum objects. Let us first introduce the epistemic language that will be used. This language, indicated by \(\mathcal{L}^{EpQC}\), contains atomic sentences (say, “the spin-value in the x-direction is up”), including two privileged sentences t and f that represent the truth-values Truth and Falsity, respectively. We will use q,r,… as metavariables for atomic sentences, and α, β,… as metavariables for sentences. The quantum computational connectives of \(\mathcal{L}^{EpQC}\) are: the negation ¬ (which corresponds to the gate Negation), the square root of the identity \(\sqrt{\mathit{id}}\) (which corresponds to Hadamard-gate), a ternary connective ⊺ (which corresponds to the Toffoli-gate), the exclusive disjunction ⨄ (which corresponds to XOR). The epistemic sub-language of \(\mathcal{L}^{EpQC}\) contains: a finite set of names for epistemic agents (ab, …); a set of names (t 1, t 2, …) for the elements of a given time-sequence; the epistemic operators \(\mathcal{U}\) (to understand) and \(\mathcal{K}\) (to know).

For any sentences α, β, γ, the expressions ¬α, \(\sqrt{\mathit{id}}\, \alpha\), ⊺(α,β,γ), αβ are sentences. For any sentence α, for any agent-name a (say, Alice), for any time-name t, the expressions \(\mathcal{U}\mathbf{a}_{t}\alpha\) (at time t agent a understands the sentence α) and \(\mathcal{K}\mathbf{a}_{t}\alpha\) (at time t agent a knows the sentence α) are sentences. Notice that nested epistemic operators are allowed: an expression like \(\mathcal{K}\mathbf{a}_{t}\lnot\mathcal{U}\mathbf{b}_{t} \alpha\) is a well-formed sentence. The connectives ¬, \(\sqrt{\mathit{id}}\), ⊺, ⨄ are called gate-connectives. Any subexpression \(\mathcal {U}\mathbf{a}_{t}\) or \(\mathcal{K}\mathbf{a}_{t}\) of an epistemic sentence will be called an epistemic connective.

We recall that, for any truth-perspective \(\mathfrak{T}\), the Toffoli-gate permits one to define a reversible conjunction \(\mathtt{AND}_{\mathfrak{T}}\) (for any \(\rho\in\mathfrak{D}(\mathcal {H}^{(m)})\) and for any \(\sigma\in\mathfrak{D}(\mathcal{H}^{(n)})\)):

$$\mathtt{AND}_{\mathfrak{T}}(\rho,\sigma):= {}^\mathfrak{D} \mathtt{T}_{\mathfrak{T}}^{(m,n,1)} \bigl(\rho\otimes\sigma \otimes {}^\mathfrak{T}P_0^{(1)}\bigr). $$

Accordingly, from a syntactical point of view, it is reasonable to define (metalinguistically) the logical conjunction ∧ as follows (for any sentences α and β):

$$\alpha\land\beta:= \intercal(\alpha, \beta, \mathbf{f}). $$

We will now introduce some syntactical notions that will be used in our semantics.

Definition 1.1

  • α is called a gate-sentence iff either α is atomic or the principal connective of α is a gate-connective.

  • α is called an epistemic sentence iff α has the form \(\mathcal{K}\mathbf{a}_{t}\beta\).

Definition 1.2

(The Atomic Complexity of a Sentence)

The atomic complexity At(α) of a sentence α is the number of occurrences of atomic sentences in α.

For instance, At(⊺(q,q,f))=3. We will also indicate by α (n) a sentence whose atomic complexity is n. The notion of atomic complexity plays an important semantic role. As we will see, the meaning of any sentence whose atomic complexity is n shall live in the domain \(\mathfrak {D}(\mathcal{H}^{(n)})\). For this reason, \(\mathcal {H}^{(At(\alpha))}\) (briefly indicated by \(\mathcal {H}^{\alpha}\)) will be also called the semantic space of α.

Any sentence α can be naturally decomposed into its parts, giving rise to a special configuration called the syntactical tree of α (indicated by STree α).

Roughly, STree α can be represented as a finite sequence of levels:

where:

  • each Level i (α) (with 1≤ik) is a sequence (β 1,…,β m ) of subformulas of α;

  • the bottom level Level 1(α) is α;

  • the top level Level k (α) is the sequence (q 1,…,q r ), where q 1,…,q r are the atomic occurrences in α;

  • for any i (with 1≤i<k), Level i+1(α) is the sequence obtained by dropping the principal gate-connective in all molecular gate-sentences occurring at Level i (α), by dropping the epistemic connectives (\(\mathcal{U}\mathbf{a}_{t}\), \(\mathcal{K}\mathbf{a}_{t}\)) in all epistemic sentences occurring at Level i (α) and by repeating all the atomic sentences that occur at Level i (α).

By Height of α (indicated by Height(α)) we mean the number of levels of the syntactical tree of α.

As an example, consider the following sentence:

$$\alpha= \mathcal {K}\mathbf{a}_t\lnot(\mathbf{q} \land\lnot \mathbf{q}) = \mathcal{K} \mathbf{a}_t\lnot\bigl(\intercal( \mathbf{q},\lnot\mathbf{q},\mathbf {f})\bigr) $$

(say, “At time t Alice knows the non-contradiction principle”, instantiated by means of the atomic sentence q).

The syntactical tree of α is the following sequence of levels:

Clearly, Height(⊺(qq,f))=5.

More precisely, the syntactical tree of a sentence (whose atomic complexity is r) is defined as follows.

Definition 1.3

(The Syntactical Tree of α)

The syntactical tree of α is the following sequence of sentence-sequences:

$$\mathit{STree}^\alpha = \bigl(\mathit{Level}_1(\alpha), \ldots, \mathit{Level}_k(\alpha)\bigr), $$

where:

  • Level 1(α)=(α);

  • Level i+1 is defined as follows for any i such that 1≤i<k. The possible cases are:

    1. (1)

      Level i (α) does not contain any connective. Hence, Level i (α)=(q 1,…,q r ) and Height(α)=i;

    2. (2)

      Level i (α)=(β 1,…,β m ), and for at least one j, β j has a (principal) connective. Consider the following sequence of sentence-sequences:

      $$\mathcal{s}^\prime_1, \ldots, \mathcal{s}^\prime_m, $$

      where

      $$\mathcal{s}^\prime_h = \begin{cases} (\beta_h),& \text{if}\ \beta_h\ \text{is atomic}; \\ \mathcal{s}_h^*,& \text{otherwise}, \end{cases} $$

      with

      $$\mathcal{s}_h^*= \begin{cases} (\delta),& \text{if}\ \beta_h = \lnot\delta\ \text{or}\ \beta_h = \sqrt{\mathit{id}}\, \delta; \\ (\gamma, \delta, \theta), &\text{if}\ \beta_h = \intercal(\gamma,\delta,\theta);\\ (\gamma,\delta),& \text{if}\ \beta_h = \gamma \biguplus\delta;\\ (\delta), & \text{if}\ \beta_h = \mathcal{U}\mathbf {a}_t\delta\ \text{or}\ \beta_h = \mathcal{K}\mathbf {a}_t\delta. \end{cases} $$

      Then,

      $$\mathit{Level}_{i+1}(\alpha) = \mathcal{s}^\prime_1 \bullet \cdots\bullet\mathcal{s}^\prime_m, $$

      where • represents the sequence-composition.

2 The Epistemic Quantum Computational Semantics

We will now give the basic definitions of our semantics. We will apply to epistemic situations a holistic version of quantum computational semantics (which has been naturally inspired by the characteristic holistic features of the quantum theoretic formalism).Footnote 2 In this semantics any model assigns to any sentence a global meaning that determines the contextual meanings of all its parts (from the whole to the parts!). It may happen that one and the same sentence receives different meanings in different contexts.

Before defining holistic models, we will first introduce the weaker notion of quasi-model of the language \(\mathcal{L}^{EpQC}\).

Definition 2.1

(Quasi-model)

A quasi-model of the language \(\mathcal{L}^{EpQC}\) is a system

$$\mathcal {M}^q = (T, Ag, \mathbf{EpSit}, \mathit{den}) $$

where:

  1. (1)

    (T,Ag,EpSit) is an epistemic quantum computational structure;Footnote 3

  2. (2)

    den is a function that interprets the individual names of the language. By simplicity, we put:

    $$\mathit{den}({\mathbf{a}})= \mathfrak{a};\qquad \mathit{den}(t)= \mathfrak{t}. $$

Apparently, quasi-models represent partial interpretations of the language: while names of times and of agents receive an interpretation in the framework of a given epistemic situation, meanings of sentences are not determined.

In the first Part of this article we have seen that knowledge operations cannot be generally represented as qumix gates. At the same time, once fixed an epistemic quantum computational structure \(\mathcal{S} = (T, Ag, \mathbf{EpSit})\), one can naturally define the following notion of pseudo-gate with respect to \(\mathcal{S}\).

Definition 2.2

(Pseudo-gate)

Let \(\mathcal{S} = (T,Ag, \mathbf{EpSit})\) be an epistemic quantum computational structure. A pseudo-gate of \(\mathcal{S}\) is an operator-product

$$\mathbf{X}_1^{(n_1)} \otimes\cdots\otimes \mathbf {X}_m^{(n_m)}, $$

where any \(\mathbf{X}_{i}^{(n_{i})}\) (with 1≤im) is either a qumix gate \(^{\mathfrak{D}} G_{\mathfrak{T}}^{(n_{i})}\) with respect to a truth-perspective \(\mathfrak{T}\) or an epistemic operation (\(\mathbf {U}_{\mathfrak{a}_{\mathfrak{t}}}^{(n_{i})}\) or \(\mathbf {K}_{\mathfrak{a}_{\mathfrak{t}}}^{(n_{i})}\)) of \(\mathcal{S}\).

One can show that for any choice of a truth-perspective \(\frak{T}\) and of a quasi-model \(\mathcal{M}^{q} = (T, Ag, \mathbf{EpSit},\mathit{den})\), the syntactical tree of a sentence α uniquely determines a sequence of pseudo-gates, that will be called the ( \(\mathfrak{T},\mathcal{M}^{q}\) )-pseudo-gate tree of α.

As an example, consider again the sentence

$$\alpha= \mathcal{K}\bf{a_t}\lnot(\mathbf{q} \land\lnot\mathbf{q}) = \mathcal{K} \bf{a}_{t}\lnot\bigl(\intercal(\mathbf{q},\lnot\mathbf{q}, \mathbf{f})\bigr) $$

and its syntactical tree.

Apparently, Level 4(α) is obtained from Level 5(α) by repeating the first occurrence of q, by negating the second occurrence of q and by repeating f. Hence the pseudo-gate that corresponds to Level 4(α) will be \(^{\mathfrak{D}}\mathtt{I}^{(1)} \otimes {}^{\mathfrak{D}}\mathtt{NOT}^{(1)}_{\mathfrak{T}} \otimes {}^{\mathfrak{D}}\mathtt{I}^{(1)}\). Level 3(α) is obtained from Level 4(α) by applying to the three sentences occurring at Level 4(α) the connective ⊺. Hence the pseudo-gate that corresponds to Level 3(α) will be \(^{\mathfrak{D}}\mathtt{T}^{(1,1,1)}_{\mathfrak{T}}\). Level 2(α) is obtained from Level 3(α) by applying to the sentence occurring at Level 3(α) the connective ¬. Hence the pseudo-gate that corresponds to Level 2(α) will be \(^{\mathfrak{D}}\mathtt{NOT}^{(3)}_{\mathfrak{T}}\). Finally, Level 1(α) is obtained from Level 2(α) by applying to the sentence occurring at Level 2(α) the epistemic connective \(\mathcal {K}\mathbf{a}_{t}\). Hence the pseudo-gate that corresponds to Level 1(α) will be \(\mathbf {K}^{(3)}_{\mathfrak{a}_{\mathfrak{t}}}\).

On this basis, the ( \(\mathfrak{T},\mathcal{M}^{q}\) )-pseudo-gate tree of the sentence

$$\alpha= \mathcal{K}\bf{a_t}\lnot(\mathbf{q} \land\lnot\mathbf{q}) = \mathcal{K} \bf{a_t}\lnot\bigl(\intercal(\mathbf{q},\lnot\mathbf{q}, \mathbf{f})\bigr) $$

can be identified with the following sequence consisting of four pseudo-gates:

$$\bigl(^\mathfrak{D}\mathtt{I}^{(1)} \otimes {}^\mathfrak{D} \mathtt{NOT}^{(1)}_{\mathfrak{T}} \otimes {}^\mathfrak{D} \mathtt{I}^{(1)}, {}^\mathfrak{D}\mathtt{T}_{\mathfrak {T}}^{(1,1,1)}, {}^\mathfrak{D}\mathtt{NOT}^{(3)}_{\mathfrak {T}}, \mathbf{K}^{(3)}_{{\mathfrak{a}_\mathfrak{t}}} \bigr). $$

Notice that the truth-perspectives \(\mathfrak{T}\) and \(\mathfrak {T}_{\mathfrak{a}_{\mathfrak{t}}}\) may be different.

The general definition of ( \(\mathfrak{T},\mathcal{M}^{q}\) )-pseudo-gate tree is the following:

Definition 2.3

((\(\mathfrak{T},\mathcal{M}^{q}\))-pseudo-gate tree)

Let α be a sentence such that Height(α)=k. The (\(\mathfrak{T},\mathcal{M}^{q}\))-pseudo-gate tree of α is the sequence of pseudo-gates

$$\mathit{PsTree}_{\mathfrak{T}}^\alpha= \bigl(^\alpha\mathbf{O}^{(k-1)}_{\mathfrak{T}},\ldots, {}^\alpha\mathbf{O}^{(1)}_{\mathfrak{T}}\bigr), $$

that is defined as follows. Suppose that

$$\mathit{Level}_{i-1}(\alpha) = \bigl(\beta_1^{(r_1)}, \ldots, \beta_m^{(r_m)}\bigr), $$

(where 1<ik). We put:

$${}^\alpha\mathbf{O}^{(i-1)}_{\mathfrak{T}}= {}^\alpha \mathbf{X}_{\mathfrak{T}}^{(r_1)} \otimes\cdots \otimes {}^\alpha \mathbf{X}_{\mathfrak{T}}^{(r_m)}, $$

where any \(^{\alpha}\mathbf{X}_{\mathfrak{T}}^{(r_{j})}\) is a pseudo-gate defined on \(\mathcal{H}^{(r_{j})}\) such that:

$${}^\alpha\mathbf{X}_{\mathfrak{T}}^{(r_j)}= \begin{cases} ^\mathfrak{D}\mathtt{I}^{(r_j)}, & \text{if}\ \beta_j^{(r_j)} \ \text{is atomic};\\ ^\mathfrak{D}\mathtt{NOT}_{\mathfrak{T}}^{(r_j)}, & \text{if}\ \beta_j^{(r_j)}= \lnot\delta;\\ ^\mathfrak{D}\sqrt{\mathtt{I}}_{\mathfrak{T}}^{(r_j)}, & \text{if} \ \beta_j^{(r_j)}= \sqrt{\mathit{id}}\, \delta;\\ ^\mathfrak{D}\mathtt{T}_{\mathfrak{T}}^{(u,v,w)}, & \text{if} \ \beta_j^{(r_j)}= \intercal(\gamma^{(u)}, \delta^{(v)}, \theta^{(w)});\\ ^\mathfrak{D}\mathtt{XOR}_{\mathfrak{T}}^{(u,v)}, & \text{if} \ \beta_j^{(r_j)}= \gamma^{(u)} \biguplus\delta^{(v)}; \\ \mathbf{U}^{(r_j)}_{\mathfrak{a}_{\mathfrak{t}}}, & \text{if}\ \beta_j^{(r_j)}= \mathcal{U}\mathbf{a}_t\delta;\\ \mathbf{K}^{(r_j)}_{\mathfrak{a}_{\mathfrak{t}}}, & \text{if}\ \beta_j^{(r_j)}= \mathcal{K}\mathbf{a}_t\delta. \end{cases} $$

Consider now a sentence α and let \((^{\alpha}\mathbf{O}^{(k-1)}_{\mathfrak{T}},\ldots, {}^{\alpha}\mathbf{O}^{(1)}_{\mathfrak{T}})\) be the (\(\mathfrak{T},\mathcal{M}^{q}\))-pseudo-gate tree of α. Any choice of a qumix ρ in \(\mathcal{H}^{\alpha}\) determines a sequence (ρ k ,…,ρ 1) of qumixes of \(\mathcal{H}^{\alpha}\), where:

$$\begin{aligned} \rho_k =&\rho \\ \rho_{k-1} =& {}^\alpha\mathbf{O}_{\mathfrak{T}}^{(k-1)}( \rho_k) \\ &\vdots \\ \rho_{1} =& {}^\alpha\mathbf{O}_{\mathfrak{T}}^{(1)}( \rho_2). \end{aligned}$$

The qumix ρ k can be regarded as a possible input-information concerning the atomic parts of α, while ρ 1 represents the output-information about α, given the input-information ρ k . Each ρ i corresponds to the information about Level i (α), given the input-information ρ k .

How to determine an information about the parts of α under a given input? It is natural to apply the reduced state function that determines for any state ρ of a composite system S=S 1+⋯+S n the state \(\mathit{Red}^{i_{1},\ldots,i_{m}}(\rho)\) of any subsystem \(S_{i_{1}}+ \cdots+ S_{i_{m}}\) (where 1≤i 1n,…,1≤i m n). Consider the syntactical tree of α and suppose that:

$$\mathit{Level}_i(\alpha)= (\beta_{i_1}, \ldots, \beta_{i_r}). $$

We know that the (\(\mathfrak{T},\mathcal{M}^{q}\))-pseudo-gate tree of α and the choice of an input ρ k (in \(\mathcal{H}^{\alpha}\)) determine a sequence of qumixes:

$$\begin{aligned} \begin{aligned} \rho_k \leftrightsquigarrow \mathit{Level}_k( \alpha) &= (\mathbf{q}_1, \ldots, \mathbf{q}_t) \\ \vdots& \\ \rho_i \leftrightsquigarrow \mathit{Level}_i(\alpha) &= (\beta_{i_1}, \ldots, \beta_{i_r}) \\ \vdots& \\ \rho_1 \leftrightsquigarrow \mathit{Level}_1(\alpha) &= (\alpha). \end{aligned} \end{aligned}$$

We can consider Red j(ρ i ), the reduced information of ρ i with respect to the j-th part. From a semantic point of view, this object can be regarded as a contextual information about \(\beta_{i_{j}}\) (the subformula of α occurring at the j-th position at Level i (α)) under the input ρ k .

We can now define the notion of holistic model, which assigns meanings to all sentences of the language, for any choice of a truth-perspective \(\mathfrak {T}\).

Definition 2.4

(Holistic Model)

A holistic model of the language \(\mathcal{L}^{EpQC}\) is a system

$$\mathcal{M} = \bigl(T, Ag, \mathbf{EpSit}, \mathit{den}, {}^{\mathcal{M}} \mathtt{Hol}\bigr) $$

where:

  1. (1)

    (T,Ag,EpSit,den) is a quasi-model \(\mathcal{M}^{q}\) of the language.

  2. (2)

    \(^{\mathcal{M}}\mathtt{Hol}\) is a map that associates to any truth-perspective \(\mathfrak{T}\) a map \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\) representing a holistic interpretation of the sentences of the language. The following conditions are required.

    1. (2.1)

      For any sentence α, the interpretation \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\) associates to each level of the syntactical tree of α a meaning, represented by a qumix living in \(\mathcal{H}^{\alpha}\) (the semantic space of α).

    2. (2.2)

      Let \((^{\alpha}\mathbf{O}^{(k-1)}_{\mathfrak{T}}, \ldots, {}^{\alpha}\mathbf{O}^{(1)}_{\mathfrak{T}})\) be the \((\mathfrak{T},\mathcal{M}^{q})\)-pseudo-gate tree of sentence α and let 1≤i<Height(α). Then,

      $$^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_{i}( \alpha)\bigr)= {}^\alpha\mathbf{O}^{(i)}_{\mathfrak{T}} \bigl(^{\mathcal{M}}\mathtt{ Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_{i+1}( \alpha)\bigr)\bigr). $$

      In other words, the global meaning of each level (different from the top level) is obtained by applying the corresponding pseudo-gate to the meaning of the level that occurs immediately above.

    3. (2.3)

      Let Level i (α)=(β 1,…,β r ). Then: \(\beta_{j} = \mathbf{f} \Rightarrow \mathit{Red}^{j}(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak {T}}(\mathit{Level}_{i}(\alpha)))= {}^{\mathfrak{T}}P^{(1)}_{0}\); \(\beta_{j} = \mathbf{t} \Rightarrow \mathit{Red}^{j}(^{\mathcal {M}}\mathtt{Hol}_{\mathfrak {T}}(\mathit{Level}_{i}(\alpha)))= {}^{\mathfrak{T}}P^{(1)}_{1}\), for any j (1≤jr). In other words, the contextual meanings of f and of t are always the \(\mathfrak{T}\)-Falsity and the \(\mathfrak {T}\)-Truth, respectively.

On this basis, we put:

$${}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}(\alpha):= {}^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_1(\alpha)\bigr), $$

for any sentence α.

As an example, consider again the sentence

$$\alpha= \mathcal{K}\bf{a_t}\lnot(\mathbf{q} \land\lnot\mathbf{q}) = \mathcal{K} \bf{a_t}\lnot\bigl(\intercal(\mathbf{q},\lnot\mathbf{q}, \mathbf{f})\bigr). $$

As we have seen, any \((\mathfrak{T}, \mathcal{M}^{q})\)-pseudo-gate-tree of α will have the following form:

$$\bigl(^\mathfrak{D}\mathtt{I}^{(1)} \otimes {}^\mathfrak{D} \mathtt{NOT}^{(1)}_{\mathfrak{T}} \otimes {}^\mathfrak{D}\mathtt {I}^{(1)}, {}^\mathfrak{D}\mathtt{T}_{\mathfrak{T}}^{(1,1,1)}, {}^\mathfrak{D}\mathtt{NOT}^{(3)}_{\mathfrak{T}}, \mathbf{K}^{(3)}_{{\mathfrak{a}_t}} \bigr). $$

Take a model

$$\mathcal{M} = \bigl(T, Ag, \mathbf{EpSit}, \mathit{den}, {}^{\mathcal{M}} \mathtt{Hol}\bigr) $$

such that:

  • \({}^{\mathcal{M}}\mathtt{Hol}_{\mathtt{ I}}(\mathit{Level}_{\mathit{Height}(\alpha)}(\alpha ))= {}^{\mathcal{M}}\mathtt{ Hol}_{\mathtt{I}}((\mathbf{q},\mathbf {q},\mathbf{f})) = P_{\vert {\psi} \rangle }\), where

    $$\vert {\psi} \rangle =\frac{1}{\sqrt{2}}\bigl(\vert {0} \rangle + \vert {1} \rangle \bigr) \otimes \frac{1}{\sqrt{2}}\bigl( \vert {0} \rangle + \vert {1} \rangle \bigr)\otimes \vert {0} \rangle . $$
  • EpSit assigns to agent \(\mathfrak{a}_{\mathfrak{t}}\) the epistemic situation

    $$(\mathfrak {T_{a_t}}, EpD_{\mathfrak{a}_{\mathfrak{t}}}, \mathbf{U}_{{\mathfrak{a}_t}}, \mathbf{K}_{{\mathfrak{a}_t}}), $$

    where \(EpD_{\mathfrak{a}_{\mathfrak{t}}}= \mathfrak{D}\) and \(\mathbf{K}_{{\mathfrak{a}_{t}}}(\rho)= \rho\), for any \(\rho\in\mathfrak{D}\). In other words, \(\mathfrak{a}_{\mathfrak{t}}\) has a maximal epistemic capacity.Footnote 4

We obtain: \(^{\mathcal{M}}\mathtt{Hol}_{\mathtt{I}}(\mathcal{K}\mathbf{a}_{t}\lnot(\mathbf{q} \land\lnot\mathbf{q}))= P_{\vert {\varphi} \rangle }\), where: \(\vert {\varphi} \rangle = \mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}}^{(3)}\mathtt{NOT}_{\mathtt{I}}^{(3)} \mathtt {T}_{\mathtt{I}}^{(1,1,1)} (\mathtt{I}^{(1)}\otimes\mathtt{NOT}_{\mathtt{I}}^{(1)} \otimes \mathtt{I}^{(1)}) (\frac{1}{\sqrt{2}}(\vert {0} \rangle +\vert {1} \rangle ) \otimes \frac{1}{\sqrt{2}}(\vert {0} \rangle +\vert {1} \rangle ) \otimes \vert {0} \rangle )= \frac{1}{2}(\vert {0,1,1} \rangle + \vert {0,0,1} \rangle + \vert {1,1,0} \rangle + \vert {1,0,1} \rangle )\). Hence, \(\mathtt{p}_{\mathtt{I}}(^{\mathcal{M}} \mathtt {Hol}_{\mathtt{I}}(\mathcal{K}\mathbf{a}_{t}\lnot(\mathbf{q} \land\lnot \mathbf{q}))) = \frac{3}{4} \neq1\). This example clearly shows how even an agent with a maximal epistemic capacity does not necessarily know a very simple instance of the non-contradiction principle!

Unlike standard compositional semantics, any \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}(\alpha)\) represents a kind of autonomous semantic context that is not necessarily correlated to the meanings of other sentences. At the same time, given a sentence γ, \({}^{\mathcal{M}}\mathtt {Hol}_{\mathfrak{T}}\) determines the contextual meaning, with respect to the context \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}(\gamma)\), of any occurrence of a subformula β in the syntactical tree of γ.

Definition 2.5

(Contextual Meaning)

Consider a sentence γ such that

$$\mathit{Level}_i(\gamma) = (\beta_{i_1},\ldots, \beta_{i_r}). $$

The contextual meaning of the occurrence \(\beta_{i_{j}}\) with respect to the context \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}(\gamma)\) is defined as follows:

$$^{\mathcal{M}}\mathtt{Hol}^\gamma_{\mathfrak{T}}( \beta_{i_j}):= \mathit{Red}^j\bigl(^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i(\gamma)\bigr) \bigr). $$

Hence, in particular, we have for any sentence γ

$$^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^{\gamma}(\gamma)= {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_1( \gamma)\bigr)= {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}(\gamma). $$

Generally, different occurrences \(\beta_{i_{j}}\) and \(\beta_{h_{k}}\) of one and the same subformula β in the syntactical tree of γ may receive different contextual meanings. In other words, we may have:

$$^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^{\gamma}( \beta_{i_j}) \neq {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak {T}}^{\gamma}(\beta_{h_k}). $$

When this is not the case, we will say that one is dealing with a normal model.

Definition 2.6

(Normal Holistic Model)

A normal holistic model of the language \(\mathcal{L}^{EpQC}\) is a holistic model \(\mathcal{M}\) such that for any truth-perspective \(\mathfrak{T}\) and for any sentence γ, the interpretation \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\) determines for any occurrence \(\beta_{i_{j}}\) of a subformula β of γ in the syntactical tree of γ the same contextual meaning, which will be uniformly indicated by \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^{\gamma}(\beta)\).

In the following we will always refer to normal holistic models.

Suppose that β is a subformula of two different formulas γ and δ. Generally, we have:

$$^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^{\gamma}(\beta)\neq {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^{\delta}(\beta). $$

In other words, sentences may receive different contextual meanings in different contexts also in the case of the normal holistic semantics.

To what extent do contextual meanings and gates (associated to the logical connectives) commute? An answer to this question is given by the following theorem.

Theorem 2.1

Consider a holistic model \(\mathcal{M} = (T, Ag, \mathbf {EpSit}, \mathit{den}, {}^{\mathcal{M}}\mathtt{Hol})\) and a truth-perspective \(\mathfrak{T}\).

  1. 1.

    Let ¬α be a subformula of γ. Suppose that \(\lnot\alpha= \beta_{i_{j}}\) (the formula occurring at the j-th position of the i-th level in the syntactical tree of γ), while \(\alpha= \beta_{(i+1)_{k}}\). We have:

    $$\begin{aligned} ^{\mathcal{M}}\mathtt{ Hol}_{\mathfrak{T}}^\gamma( \lnot\alpha) &= \mathit{Red}^j\bigl(^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i(\gamma)\bigr) \bigr) \\ &= {}^{\mathfrak{D}}\mathtt{NOT}_{\mathfrak{T}}^{(At(\alpha))} \bigl( \mathit{Red}^k\bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}} \bigl(\mathit{Level}_{i+1}(\gamma)\bigr)\bigr)\bigr) \\ &= {}^{\mathfrak{D}}\mathtt{NOT}_{\mathfrak{T}}^{(At(\alpha))} \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^\gamma(\alpha)\bigr). \end{aligned} $$
  2. 2.

    Let \(\sqrt{\mathit{id}}\, \alpha\) be a subformula of γ. Suppose that \(\sqrt{\mathit{id}}\, \alpha= \beta_{i_{j}}\), while \(\alpha= \beta_{(i+1)_{k}}\). We have:

    $$\begin{aligned} {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^\gamma( \sqrt{\mathit{id}}\, \alpha) &= \mathit{Red}^j\bigl(^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i(\gamma)\bigr) \bigr) \\ &= {}^\mathfrak{D} \sqrt{\mathtt{ I}}_{\mathfrak{T}}^{(At(\alpha))} \bigl( \mathit{Red}^k\bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}} \bigl(\mathit{Level}_{i+1}(\gamma)\bigr)\bigr)\bigr) \\ &= {}^\mathfrak{D}\sqrt{\mathtt{ I}}_{\mathfrak{T}}^{(At(\alpha))} \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}^\gamma(\alpha)\bigr). \end{aligned} $$
  3. 3.

    Let ⊺(α 1,α 2,α 3) be a subformula of γ. Suppose that in the syntactical tree of γ: \(\intercal(\alpha_{1},\alpha_{2},\alpha_{3})= \beta_{i_{j}}\), while \(\alpha_{1}= \beta_{(i+1)_{k_{1}}}\), \(\alpha_{2}= \beta_{(i+1)_{k_{2}}}\), \(\alpha_{3}= \beta_{(i+1)_{k_{3}}}\). We have:

    $$\begin{aligned} {}^{\mathcal{M}}\mathtt{ Hol}_{\mathfrak{T}}^\gamma \bigl(\intercal (\alpha_1,\alpha_2, \alpha_3)\bigr) &= \mathit{Red}^j\bigl(^{\mathcal{M}} \mathtt{ Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i(\gamma)\bigr) \bigr) \\ &= {}^\mathfrak{D} \mathtt{T}_{\mathfrak{T}}^{(At(\alpha_1),At(\alpha_2), At(\alpha_3))} \bigl( \mathit{Red}^{k_1, k_2,k_3}\bigl(^{\mathcal{M}}\mathtt{ Hol}_{\mathfrak{T}} \bigl(\mathit{Level}_{i+1}(\gamma)\bigr)\bigr)\bigr). \end{aligned} $$
  4. 4.

    Let α 1α 2 be a subformula of γ. Suppose that in the syntactical tree of γ: \(\alpha_{1} \uplus\alpha_{2}= \beta_{i_{j}}\), while \(\alpha_{1}= \beta_{(i+1)_{k_{1}}}\), \(\alpha_{2}= \beta_{(i+1)_{k_{2}}}\). We have:

    $$\begin{aligned} {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak {T}}^\gamma(\alpha_1 \uplus\alpha_2) &= \mathit{Red}^j\bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}} \bigl(\mathit{Level}_i(\gamma)\bigr)\bigr) \\ &= {}^{\mathfrak{D}} \mathtt{XOR}_{\mathfrak{T}}^{(At(\alpha_1),At(\alpha_2))} \bigl( \mathit{Red}^{k_1, k_2}\bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}} \bigl(\mathit{Level}_{i+1}(\gamma)\bigr)\bigr)\bigr). \end{aligned} $$
  5. 5.

    Let \(\mathcal{U}_{\mathbf{a}_{t}} \alpha\) be a subformula of γ. Suppose that \(\mathcal{U}_{\mathbf {a}_{t}} \alpha= \beta_{i_{j}}\), while \(\alpha= \beta_{(i+1)_{k}}\). We have:

    $$\begin{aligned} {}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak {T}}^\gamma(\mathcal{U}_{\mathbf{a}_t} \alpha) &= \mathit{Red}^j \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i( \gamma)\bigr)\bigr) \\ &= \mathbf{U}_{\mathfrak{a}_{\mathfrak{t}}}^{(At(\alpha))} \bigl(\mathit{Red}^k \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_{i+1}( \gamma)\bigr)\bigr)\bigr) \\ &= \mathbf{U}_{\mathfrak {a_t}}^{(At(\alpha))}\bigl(^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}^\gamma(\alpha)\bigr). \end{aligned} $$
  6. 6.

    Let \(\mathcal{K}_{\mathbf{a}_{t}} \alpha\) be a subformula of γ. Suppose that \(\mathcal{K}_{\mathbf {a}_{t}} \alpha= \beta_{i_{j}}\), while \(\alpha= \beta_{(i+1)_{k}}\). We have:

    $$\begin{aligned} {}^{\mathcal{M}}\mathtt{ Hol}_\mathfrak{T}^\gamma(\mathcal{K}_{\mathbf{a}_t} \alpha) &= \mathit{Red}^j \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_i( \gamma)\bigr)\bigr) \\ &= \mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}}^{(At(\alpha))} \bigl(\mathit{Red}^k \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}}\bigl(\mathit{Level}_{i+1}( \gamma)\bigr)\bigr)\bigr) \\ &= \mathbf{K}_{\mathfrak {a_t}}^{(At(\alpha))}\bigl(^{\mathcal{M}} \mathtt{Hol}_{\mathfrak{T}}^\gamma(\alpha)\bigr). \end{aligned} $$

Proof

By definition of syntactical tree, of pseudo-gate tree, of normal holistic model and of contextual meaning. □

Notice that, generally, the contextual meaning of a conjunction is not the conjunction of the contextual meanings of the two members. As a counterexample, consider the following contradictory sentence:

$$\gamma= \mathbf{q} \land\lnot\mathbf{q} = \intercal(\mathbf{q},\lnot\mathbf{q}, \mathbf{f} ), $$

whose syntactical tree is:

$$\begin{aligned} \mathit{Level}_3(\gamma) =& (\mathbf{q},\mathbf{q},\mathbf{f}) \\ \mathit{Level}_2(\gamma) =& (\mathbf{q},\lnot\mathbf{q},\mathbf{f}) \\ \mathit{Level}_1(\gamma) =& \intercal(\mathbf{q},\lnot\mathbf{q}, \mathbf{f}). \end{aligned}$$

Consider a model \(\mathcal{M}\) such that:

$$^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}\bigl(\mathit{Level}_3( \gamma)\bigr)= P_{\frac{1}{\sqrt{2}}(\vert {0,1,0} \rangle +\vert {1,0,0} \rangle )} $$

(which is a maximally entangled quregister with respect to the first and to the second part.)Footnote 5 Hence:

$${}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}\bigl(\mathit{Level}_1( \gamma)\bigr)= {}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}(\gamma)= {}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}^\gamma(\gamma)= P_{\frac{1}{\sqrt{2}}(\vert {0,0,0} \rangle +\vert {1,1,1} \rangle )} $$

(which is a maximally entangled quregister). At the same time, we have:

$${}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}^\gamma(\mathbf{q}) = {}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}^\gamma(\lnot\mathbf{q}) = \frac{1}{2}P^{(1)}_0 + \frac{1}{2}P^{(1)}_1, $$

which is a proper mixture. Consequently:

$${}^\mathfrak{D}\mathtt{T}^{(1,1,1)} \bigl(^{\mathcal{M}} \mathtt{Hol}_\mathtt{I}^\gamma(\mathbf{q})\otimes {}^\mathcal{M}\mathtt{Hol}_\mathtt{I}^\gamma(\lnot\mathbf{q})\otimes {}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}^\gamma(\mathbf{f}) \bigr) \neq {}^{\mathcal{M}}\mathtt{Hol}_\mathtt{I}^\gamma \bigl(\intercal(\mathbf{q}, \lnot\mathbf{q}, \mathbf{f})\bigr). $$

Notice that: \(\mathtt{p}_{\mathtt{I}}(^{\mathcal{M}} \mathtt{Hol}^{\gamma}_{\mathtt{I}} (\mathbf{q} \land\lnot\mathbf{q})) = \frac{1}{2}\); while: \(\mathtt{p}_{\mathtt{I}}(^{\mathfrak{D}} \mathtt{T}^{(1,1,1,)}(^{\mathcal{M}} \mathtt{Hol}^{\gamma}_{\mathtt{I}} (\mathbf{q})\otimes {}^{\mathcal{M}} \mathtt {Hol}^{\gamma}_{\mathtt{I}} (\lnot\mathbf{q})\otimes {}^{\mathcal{M}} \mathtt {Hol}^{\gamma}_{\mathtt{I}} (\mathbf{f}))) = \frac{1}{4}\).

Definition 2.7

(Harmonic and Sound Models)

Let \(\mathcal {M} = (T, Ag, \mathbf{EpSit}, \mathit{den}, {}^{\mathcal{M}}\mathtt{Hol})\) be a model.

  • \(\mathcal{M}\) is called harmonic iff the epistemic structure of \(\mathcal{M}\) is harmonic, i.e. all agents of the structure share the same truth-perspective \(\mathfrak{T}\). Furthermore, the interpretation-function \({}^{\mathcal{M}}\mathtt{Hol}\) is only defined for the truth-perspective \(\mathfrak{T}\).

  • \(\mathcal{M}\) is called sound iff all agents \(\mathfrak{a}_{\mathfrak{t}}\) of \(\mathcal{M}\) have a sound epistemic capacity (i.e. assign the “right” probability-values to the truth-values of their truth-perspectives).Footnote 6

By harmonic epistemic quantum computational semantics (sound epistemic quantum computational semantics) we will mean the semantics that only refers to harmonic models (sound models).

We can now define the notions of truth, validity and logical consequence.

Definition 2.8

(Contextual Truth)

Let α be a subformula of γ. \(\vDash_{(\gamma,\mathcal{M}, \mathfrak{T})} \alpha\) (the sentence α is true with respect to the context γ, the model \(\mathcal{M}\) and the truth-perspective \(\mathfrak{T}\)) iff \(\mathtt{p}_{\mathfrak{T}}(^{\mathcal{M}}\mathtt{Hol}^{\gamma}_{\mathfrak{T}}(\alpha))= 1\).

Definition 2.9

(Truth)

\(\vDash_{(\mathcal{M},\mathfrak{T})} \alpha\) (the sentence α is true with respect to the model \(\mathcal{M}\) and the truth-perspective \(\mathfrak{T}\)) iff \(\vDash_{(\alpha,\mathcal{M}, \mathfrak{T})} \alpha\).

Hence, the concept of truth turns out to be a special case of the concept of contextual truth.

Definition 2.10

(Contextual Validity)

Let α be a subformula of γ.

  • \(\vDash_{(\gamma,\mathfrak{T})} \alpha\) (the sentence α is valid with respect to the context γ and the truth-perspective \(\mathfrak{T}\)) iff for any model \(\mathcal{M}\), \(\vDash_{(\gamma, \mathcal{M}, \mathfrak{T})} \alpha\).

  • γ α (the sentence α is valid with respect to the context γ) iff for any truth- perspective \(\mathfrak{T}\), \(\vDash_{(\gamma,\mathfrak{T})} \alpha\).

Definition 2.11

(Validity)

  • \(\vDash_{\mathfrak{T}} \alpha\) (the sentence α is valid with respect to the truth-perspective \(\mathfrak{T}\)) iff \(\vDash_{(\alpha, \mathfrak{T})} \alpha\).

  • α (the sentence α is valid) iff ⊨ α α.

Definition 2.12

(Consequence with Respect to a Quasi-model \(\mathcal{M}^{q}\))

Let γ be a sentence such that α and β are subformulas of γ and let \(\mathfrak{T}\) be a truth-perspective.

  • \(\alpha\vDash_{(\gamma, \mathcal{M}^{q}, \mathfrak{T})} \beta\) (the sentence β is a consequence of the sentence α with respect to the context γ, the quasi-model \(\mathcal{M}^{q}\) and the truth-perspective \(\mathfrak{T}\)) iff for any model \(\mathcal{M}\) based on \(\mathcal{M}^{q}\):

    $$\vDash_{(\gamma,\mathcal{M}, \mathfrak{T})} \alpha\quad {\Rightarrow}\quad \vDash_{(\gamma,\mathcal{M}, \mathfrak{T})} \beta. $$
  • \(\alpha\vDash_{(\gamma,\mathcal{M}^{q})} \beta\) (the sentence β is a consequence of the sentence α with respect to the context γ and the quasi-model \(\mathcal{M}^{q}\)) iff for any truth-perspective \(\mathfrak{T}\), \(\alpha\vDash_{(\gamma,\mathcal{M}^{q}, \mathfrak{T})} \beta\).

Definition 2.13

(Logical Consequence)

Let γ be a sentence such that α and β are subformulas of γ and let \(\mathfrak{T}\) be a truth-perspective.

  • \(\alpha\vDash_{(\gamma, \mathfrak{T})} \beta\) (β is a logical consequence of α with respect to the context γ and the truth-perspective \(\mathfrak{T}\)) iff for any quasi-model \(\mathcal{M}^{q}\), \(\alpha \vDash_{(\gamma,\mathcal{M}^{q}, \mathfrak{T})} \beta\).

  • α γ β (β is a logical consequence of α with respect to the context γ) iff for any truth-perspective \(\mathfrak{T}\), \(\alpha \vDash_{(\gamma, \mathfrak{T})} \beta\).

  • αβ (β is a logical consequence of α iff for any context γ such that α and β are subformulas of γ,α γ β.

The concepts of consequence and of logical consequence, defined above, correspond to weak concepts, being defined in terms of \(\mathfrak{T}\)-Truth, and not in terms of the preorder relation \(\preceq_{\mathfrak{T}}\) (as one could expect). From an intuitive point of view, however, such weak notions turn out to be more interesting in the case of epistemic situations described in the framework of a holistic semantics.

Notice that only the contextual notion of logical consequence turns out to satisfy transitivity (α γ β and β γ δα γ δ). Full transitivity (αβ and βδαδ) is naturally violated in the holistic semantics.

As expected, in the particular case of the harmonic epistemic semantics (where all agents share the same truth-perspective) the definitions of truth, validity and logical consequence can be simplified, since the reference to \(\mathfrak{T}\) is no longer necessary. Accordingly, in such a case we will write:

$$\begin{aligned} &\vDash_{(\gamma,\mathcal{M})}^{\mathit{Harm}}\alpha; \qquad \vDash_{\mathcal{M}}^{\mathit{Harm}} \alpha\quad \mbox{(harmonic truth)}; \\ &\vDash_{\gamma}^{\mathit{Harm}}\alpha;\qquad \vDash^{\mathit{Harm}}\alpha \quad \mbox{(harmonic validity)}; \\ &\alpha\vDash_{(\gamma, \mathcal{M}^q)}^{\mathit{Harm}}\beta; \qquad \alpha \vDash_\gamma^{\mathit{Harm}}\beta;\qquad \alpha\vDash^{\mathit{Harm}}\beta \quad \mbox{(harmonic logical consequence)}. \end{aligned}$$

3 Some Epistemic Situations

We will now illustrate some significant examples of epistemic situations that arise in this semantics. We will always refer to models

$$\mathcal{M} = \bigl(T,Ag, \mathbf{EpSit}, \mathit{den}, ^{\mathcal{M}} \mathtt{Hol}\bigr) $$

such that \(\mathit{den}(\mathbf{a})= \mathfrak{a}; \mathit{den}(t)= \mathfrak {t} \).

  1. (1)

    \(\mathcal{K}\mathbf{a}_{t}\alpha\vDash^{\mathit{Harm}} \alpha\). In the harmonic semantics, sentences that are known by a given agent at a given time are true.

    (1) is an immediate consequence of the definition of logical consequence and of Theorem 2.1.

  2. (2)

    As a particular case of (1) we obtain:

    $$\mathcal{K}\mathbf{a}_t\alpha\mathcal{K}\mathbf {a}_t \alpha\vDash^{\mathit{Harm}} \mathcal{K}\mathbf {a}_t\alpha. $$

    Knowing of knowing implies knowing. But not the other way around!

  3. (3)

    In the non-harmonic semantics only the two following conditions (which are weaker than (1) and (2)) hold for any quasi-model \(\mathcal{M}^{q}\) and any agent \(\mathfrak{a}_{t}\) of \(\mathcal{M}^{q}\):

    1. (3.1)

      \(\mathcal{K}\mathbf{a}_{t} \alpha \vDash_{(\mathcal{M}^{q}, \mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \alpha\);

    2. (3.2)

      \(\mathcal{K}\mathbf{a}_{t} \alpha\mathcal{K}\mathbf{a}_{t} \alpha\vDash_{(\mathcal{M}^{q}, \mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \mathcal{K}\mathbf{a}_{t}\alpha\).

  4. (4)

    \(\mathcal{K}\mathbf{a}_{t}\mathcal{K}\mathbf{b}_{t} \alpha \vDash^{\mathit{Harm}} \alpha\). In the harmonic semantics, knowing that another agent knows a given sentence implies that the sentence in question holds. At the same time, we will have:

    $$\mathcal{K}\mathbf{a}_{{t}} \mathcal{K}\mathbf{b}_t \alpha \nvDash^{\mathit{Harm}} \mathcal{K}\mathbf{a}_t \alpha. $$

    Alice might know that Bob knows a given sentence, without knowing herself the sentence in question!

  5. (5)

    In the harmonic sound semantics (where for any agent \(\mathfrak{a}_{\mathfrak{t}}\), \(\mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}} {}^{\mathfrak{T_{a_{t}}}}P^{(1)}_{1} = {}^{\mathfrak{T_{a_{t}}}}P^{(1)}_{1}\) and \(\mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}} {}^{\mathfrak {T_{a_{t}}}}P^{(1)}_{0} = {}^{\mathfrak {T_{a_{t}}}}P^{(1)}_{0}\)) we have:

    $$\vDash^{\mathit{Harm}} \mathcal{K}\mathbf{a}_t\mathbf{t}; \qquad \vDash^{\mathit{Harm}} \mathcal{K}\mathbf{a}_t\lnot\mathbf{f}. $$

    Hence, there are sentences that every agent knows.

  6. (6)

    \(\mathcal{K}\mathbf{a}_{t}(\alpha\land\beta) \nvDash \mathcal{K}\mathbf{a}_{t}\alpha; \mathcal{K} \mathbf{a}_{t}(\alpha\land\beta) \nvDash\mathcal {K}\mathbf {a}_{t}\beta\). Knowing a conjunction does not generally imply knowing its members.

  7. (7)

    \(\vDash_{(\gamma, \mathcal{M})}\mathcal{K}\mathbf{a}_{t}\alpha\ \text{and} \ \vDash_{(\gamma, \mathcal{M})}\mathcal{K}\mathbf{a}_{t}\beta \nRightarrow{} \vDash_{(\gamma, \mathcal{M})}\mathcal{K}\mathbf{a}_{t}(\alpha \land\beta)\).

    Knowledge is not generally closed under conjunction.

  8. (8)

    Let \(\mathcal{M}\) be a model and let \(\mathfrak {a_{t}}\) be an agent of \(\mathcal{M}\).

    $$\nvDash_{(\mathcal{M}, \mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \mathcal{K}\mathbf{a}_t(\alpha\land\lnot \alpha). $$

    Contradictions are never known.

    In order to prove (8), suppose, by contradiction, that there exists a model \(\mathcal{M}\) and an agent \(\mathfrak{a}_{\mathfrak{t}} \) such that: \(\vDash_{(\mathcal{M}, \mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \mathcal{K}\mathbf{a}_{t}(\alpha\land\lnot\alpha)\).

    Then, \(\mathtt{p}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}(^{\mathcal{M}}\mathtt{ Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}(\mathcal{K}\mathbf{a}_{t}(\alpha\land\lnot\alpha)))=1 \).

    By definition of model and by Theorem 2.1 we have:

    $${}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathcal{K}\mathbf{a}_t(\alpha\land\lnot\alpha)\bigr) = \mathbf{K}_{\mathfrak{a}_\mathfrak{t}} \bigl(^{\mathcal{M}}\mathtt {Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}(\alpha\land\lnot \alpha) \bigr). $$

    Consequently, by hypothesis, \(\mathtt{p}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}( \mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}} (^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak {a_{t}}}}(\alpha\land\lnot\alpha))) =1 \). Thus, by the properties of knowledge operations: \(\mathtt{p}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} (^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}(\alpha\land\lnot\alpha)) =1 \), which is impossible, owing to the following Lemma (of the holistic semantics).

Lemma 3.1

For any sentence α, for any truth-perspective \(\mathfrak{T}\) and for any holistic model \(\mathcal{M}\),

$$\mathtt{p}_{\mathfrak{T}}\bigl(^{\mathcal{M}}\mathtt{Hol}_ {\mathfrak{T}}( \alpha\land\lnot\alpha)\bigr) \neq1. $$
  1. (9)

    In the non-harmonic semantics the following situation is possible:

    $$\vDash_{(\mathcal{M},\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \mathcal{K}\mathbf{a}_t \mathcal{K}\mathbf{b}_t \mathbf{f}. $$

    In other words, according to the truth-perspective of Alice it is true that Alice (at time t) knows that Bob (at time t) knows the Falsity of Alice’s truth-perspective.

    As an example, consider a (non-harmonic) model \(\mathcal{M}\) with two agents \(\mathfrak{a}_{\mathfrak{t}}\) and \(\mathfrak{b_{t}}\) satisfying the following conditions:

    1. (a)

      the epistemic distance between the truth-perspectives of \(\mathfrak{a}_{\mathfrak{t}}\) and of \(\mathfrak{b_{t}}\) is greater than or equal to \(\frac{1}{2}\).Footnote 7 In such a case we have:

      $${}^{\mathfrak{T}_{\mathfrak {a_t}}} P_1^{(1)} \preceq_{\mathfrak{T}_{\mathfrak{b}_{\mathfrak{t}}}} {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_0^{(1)} $$

      (according to Bob’s truth-perspective, Alice’s Truth precedes Alice’s Falsity);

    2. (b)

      \(\mathbf{K}_{\mathfrak{b_{t}}} {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} P_{0}^{(1)} = {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_{1}^{(1)}\) (the information according to which Bob knows Alice’s Falsity is true with respect to Alice’s truth-perspective);

    3. (c)

      \(\mathbf{K}_{\mathfrak{a}_{\mathfrak{t}}} {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_{1}^{(1)} = {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_{1}^{(1)} \)

      (Alice at time \(\mathfrak{t}\) has a sound epistemic capacity).

    Consider the syntactical tree of \(\mathcal{K}\mathbf{a}_{t}\mathcal{K}\mathbf{b}_{t} \mathbf{f}\):

    $$\begin{aligned} \mathit{Level}_3(\mathcal{K}\mathbf{a}_t\mathcal{K} \mathbf{b}_t \mathbf{f}) =& (\mathbf{f}) \\ \mathit{Level}_2(\mathcal{K}\mathbf{a}_t\mathcal{K} \mathbf{b}_t \mathbf{f}) =& (K\mathbf{b}_t \mathbf{f}) \\ \mathit{Level}_1(\mathcal{K}\mathbf{a}_t\mathcal{K} \mathbf{b}_t \mathbf{f}) =& (\mathcal{K}\mathbf{a}_t \mathcal{K}\mathbf{b}_t\mathbf{f}). \end{aligned}$$

    The qumixes assigned by \({}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}\) to the levels of this tree are:

    $${}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathit{Level}_3( \mathcal{K}\mathbf{a}_t\mathcal{K}\mathbf{b}_t \mathbf{f}) \bigr) = {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_0^{(1)} $$

    (by definition of model);

    $${}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathit{Level}_2( \mathcal{K}\mathbf{a}_t\mathcal{K}\mathbf{b}_t \mathbf{f}) \bigr) = \mathbf{K}_{\mathfrak{b}_{\mathfrak{t}}} \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathit{Level}_3(\mathcal{K}\mathbf{a}_t\mathcal{K} \mathbf{b}_t \mathbf{f})\bigr)\bigr)= {}^{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}}P_1^{(1)} $$

    (by definition of model and by (b));

    $${}^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathit{Level}_1( \mathcal{K}\mathbf{a}_t\mathcal{K}\mathbf{b}_t \mathbf{f}) \bigr) = \mathbf{K}_{\mathfrak{b}_{\mathfrak{t}}} \bigl(^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} \bigl(\mathit{Level}_2(\mathcal{K}\mathbf{a}_t\mathcal{K} \mathbf{b}_t \mathbf{f})\bigr)\bigr)= {}^{\mathfrak{T}_{\mathfrak {a}_\mathfrak{t}}}P_1^{(1)} $$

    (by definition of model and by (c)).

    Hence, \(\mathtt{p}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} (^{\mathcal{M}}\mathtt{Hol}_{\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}}} (\mathcal{K}\mathbf {a}_{t}\mathcal{K}\mathbf{b}_{t} \mathbf{f})) = 1\) and \(\vDash_{(\mathcal{M},\mathfrak {T}_{\mathfrak{a}_{\mathfrak{t}}})}\mathcal{K}\mathbf{a}_{t}\mathcal {K}\mathbf{b}_{t} \mathbf{f}\). Notice that

    $$\vDash_{(\mathcal{M},\mathfrak{T}_{\mathfrak{a}_{\mathfrak{t}}})} \mathcal{K}\mathbf{a}_t \mathcal{K}\mathbf{b}_t \mathbf{f} \quad {\nRightarrow} \quad \vDash_{(\mathcal{M},\mathfrak{T}_{\mathfrak{b}_t})} \mathcal{K}\mathbf{b}_t \mathbf{f}. $$

    In other words, the following situation is possible:

    • According to Alice’s truth-perspective, it is true that Alice knows that Bob knows the Falsity.

    • However, according to Bob’s truth-perspective it is not true that Bob knows the Falsity.

    Roughly, we might say: Alice knows that Bob is wrong. However, Bob is not aware of being wrong!

The epistemic situations illustrated above seem to reflect pretty well some characteristic limitations of the real processes of acquiring information and knowledge. Owing to the limits of epistemic domains, understanding and knowing are not generally closed under logical consequence. Hence, the unpleasant phenomenon of logical omniscience is here avoided. We have, in particular, that knowledge is not generally closed under logical conjunction, as in fact happens in the case of concrete memories both of human and of artificial intelligence. It is also admitted that an agent can understand (or know) a conjunction, without being able to understand (to know) its members. Such situation, which might appear prima facie somewhat “irrational”, seems to be instead deeply in agreement with our use of natural languages, where sometimes agents show to use correctly and to understand some global expressions without being able to understand their (meaningful) parts.