Skip to main content

On the Subtle Nature of a Simple Logic of the Hide and Seek Game

  • Conference paper
  • First Online:
Logic, Language, Information, and Computation (WoLLIC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 13038))

Abstract

We discuss a simple logic to describe one of our favourite games from childhood, hide and seek, and show how a simple addition of an equality constant to describe the winning condition of the seeker makes our logic undecidable. There are certain decidable fragments of first-order logic which behave in a similar fashion and we add a new modal variant to that class of logics. We also discuss the relative expressive power of the proposed logic in comparison to the standard modal counterparts.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Strictly speaking, a negative result holds even for the basic modal logic (see [9]). However, it is still ideal if the notion of bisimulation can behave well in a large class of models (e.g., image-finite models). This is also one of our guiding spirits. But, as illustrated by the counterexample used to show the result, the standard notion even excludes situations that are very simple but cannot be distinguished by \(\mathsf {LHS}_{-I}\).

  2. 2.

    From the perspective of games, the evaluation-gap suggests a way to handle situations where the two players have different observations even when they are at the same position. For example, the gap might allow us to consider further enrichments so that the states in the playing arena can encode different properties for the players: a crowed street reducing the possible moves of the escaping robber is helpful for a chasing cop, meanwhile, it is definitely a disaster to the robber.

  3. 3.

    One may also like to treat \(\mathsf {LHS}\) as a product logic over models containing two binary relations \(R_{\mathsf {left}}\) and \(R_{\mathsf {right}}\) on domain \(W\times W\), and then explore expressive power or other properties of \(\mathsf {LHS}\) with respect to the new setting. We leave a systematic study of relations between our logic and existing combined logics for future inquiry.

  4. 4.

    Although details of the translation are not described in the article, it is instructive to notice that unlike usual situations, \(\mathsf {LHS}\) is not a fragment of the first-order logic with two free variables.

  5. 5.

    For instance, in two dimensional models \(\delta \) holds at a state (s, t) just in the case that \(s=t\).

  6. 6.

    But this does not exclude possible ‘mixture’ of the two lines of the frameworks: on one hand, technically \(\mathsf {LHS}\) can be reduced to product logics with \(\delta \), and on the other hand, product models themselves can also be viewed as special models (with two relations) for \(\mathsf {LHS}\) (and then I denotes the identity of two pairs).

References

  1. Areces, C., Fervari, R., Hoffmann, G.: Moving arrows and four model checking results. In: Ong, L., de Queiroz, R. (eds.) WoLLIC 2012. LNCS, vol. 7456, pp. 142–153. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-32621-9_11

    Chapter  Google Scholar 

  2. Areces, C., Fervari, R., Hoffmann, G., Martel, M.: Satisfiability for relation-changing logics. J. Log. Comput. 28, 1443–1470 (2018)

    Article  Google Scholar 

  3. Aucher, G., van Benthem, J., Grossi, D.: Modal logics of sabotage revisited. J. Logic Comput. 28(2), 269–303 (2018). https://doi.org/10.1093/logcom/exx034

    Article  Google Scholar 

  4. Baltag, A., van Benthem, J.: A simple logic of functional dependence. J. Philos. Logic (2021)

    Google Scholar 

  5. Baltag, A., Li, D., Pedersen, M.Y.: On the right path: a modal logic for supervised learning. In: Blackburn, P., Lorini, E., Guo, M. (eds.) LORI 2019. LNCS, vol. 11813, pp. 1–14. Springer, Heidelberg (2019). https://doi.org/10.1007/978-3-662-60292-8_1

    Chapter  Google Scholar 

  6. van Benthem, J.: Logic in Games. The MIT Press, Cambridge (2014)

    Book  Google Scholar 

  7. van Benthem, J., Liu, F.: Graph games and logic design. In: Liu, F., Ono, H., Yu, J. (eds.) Knowledge, Proof and Dynamics. LASLL, pp. 125–146. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-2221-5_7

    Chapter  Google Scholar 

  8. Berger, R.: The Undecidability of the Domino Problem. American Mathematical Society (1966)

    Google Scholar 

  9. Blackburn, P., de Rijke, M., Venema, Y.: Modal Logic. Cambridge University Press, Cambridge (2001)

    Book  Google Scholar 

  10. Blackburn, P., Seligman, J.: Hybrid languages. J. Logic Lang. Inform. 4, 251–272 (1995)

    Article  Google Scholar 

  11. Zaffora Blando, F., Mierzewski, K., Areces, C.: The modal logics of the poison game. In: Liu, F., Ono, H., Yu, J. (eds.) Knowledge, Proof and Dynamics. LASLL, pp. 3–23. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-2221-5_1

    Chapter  Google Scholar 

  12. Bonato, A., Nowakowski, R.J.: The Game of Cops and Robbers on Graphs. AMS (2011)

    Google Scholar 

  13. Duchet, P., Meyniel, H.: Kernels in directed graphs: a poison game. Discret. Math. 115, 273–276 (1993)

    Article  Google Scholar 

  14. Gabbay, D., Kurucz, A., Wolter, F., Zakharyaschev, M.: Many-Dimensional Modal Logics: Theory and Applications, Studies in Logic and the Foundations of Mathematics, vol. 148. Elsevier (2003)

    Google Scholar 

  15. Gierasimczuk, N., Kurzen, L., Velázquez-Quesada, F.R.: Learning and teaching as a game: a sabotage approach. In: He, X., Horty, J., Pacuit, E. (eds.) LORI 2009. LNCS (LNAI), vol. 5834, pp. 119–132. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04893-7_10

    Chapter  Google Scholar 

  16. Goldfarb, W.: The unsolvability of the Gödel class with identity. J. Symb. Log. 49, 1237–1252 (1984)

    Article  Google Scholar 

  17. Grossi, D., Rey, S.: Credulous acceptability, poison games and modal logic. In: Agmon, N., Taylor, M.E., Elkind, E., Veloso, M. (eds.) Proceedings of AAMAS 2019, pp. 1994–1996 (2019)

    Google Scholar 

  18. Hampson, C., Kikot, S., Kurucz, A.: The decision problem of modal product logics with a diagonal, and faulty counter machines. Stud. Logica. 104, 455–486 (2016)

    Article  Google Scholar 

  19. Kikot, S.P.: Axiomatization of modal logic squares with distinguished diagonal. Math. Notes 88, 238–250 (2020)

    Article  Google Scholar 

  20. Kurucz, A.: Products of modal logics with diagonal constant lacking the finite model property. In: Ghilardi, S., Sebastiani, R. (eds.) FroCoS 2009. LNCS (LNAI), vol. 5749, pp. 279–286. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04222-5_17

    Chapter  Google Scholar 

  21. Li, D.: Losing connection: the modal logic of definable link deletion. J. Log. Comput. 30, 715–743 (2020)

    Article  Google Scholar 

  22. Marx, M., Venema, Y.: Multi-Dimensional Modal Logic. Kluwer Academic Publishers (1997)

    Google Scholar 

  23. Nowakowski, R., Winkler, R.P.: Vertex-to-vertex pursuit in a graph. Discret. Math. 13, 235–239 (1983)

    Article  Google Scholar 

  24. Pützstück, P.: Decidability and Bisimulation for Logics of Functional Dependence. Master’s thesis, Mathematical Foundations of Computer Science, RWTH-Aachen University (2020)

    Google Scholar 

  25. Thompson, D.: Local fact change logic. In: Liu, F., Ono, H., Yu, J. (eds.) Knowledge, Proof and Dynamics. LASLL, pp. 73–96. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-2221-5_5

    Chapter  Google Scholar 

  26. Tu, Y., Ghosh, S., Li, D., Liu, F.: A new modal logic for cops-and-robber games. Manuscript (2021)

    Google Scholar 

Download references

Acknowledgements

We thank Johan van Benthem for his inspiring suggestions. Also, we wish to thank the three anonymous reviewers for their helpful comments for improvements. Sujata Ghosh acknowledges Department of Science and Technology, Government of India for financial support vide Reference No DST/CSRI/2018/202 under Cognitive Science Research Initiative (CSRI) to carry out this work. Dazhu Li, Fenrong Liu and Yaxin Tu are supported by the Major Program of the National Social Science Foundations of China [17ZDA026].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sujata Ghosh .

Editor information

Editors and Affiliations

Appendix: Proof of Theorem 2

Appendix: Proof of Theorem 2

Proof

Let \(T = \{T^1,\cdots ,T^n\}\) be a finite set of tile types. For each \(T^i\in T\) we use \(u(T^i), d(T^i), l(T^i), r(T^i)\) to represent the colors of its up, down, left and right edges, respectively. We are going to define a formula \(\varphi _{\mathsf {tile}}\) such that:

$$\begin{aligned} \varphi _{\mathsf {tile}}\,\,\text {is satisfiable iff }T\text { tiles }\mathbb {N}\times \mathbb {N}. \end{aligned}$$

To do so, we will use three relations in models \((W,R^s,R^r,R^u)\) in the proof to follow. In line with this, syntactically we have six operators \([\mathsf {left}]^{\star }\) and \([\mathsf {right}]^{\star }\) for \(\star \in \{s,r,u\}\). Intuitively, all the relations describe the transitions of the left evaluation point and the right evaluation point of a graph model: in what follows, we are going to construct a spy point over relation \(R^s\), and the relations \(R^u\) and \(R^r\) represent moving up and to the right, respectively, from the corresponding tile to the other.

These three relations are useful to present the underlying intuitions of the formulas that will be constructed. Also, they are helpful in making these formulas short and readable, facilitating a better understanding of the same. Crucially, this does not change the computational behavior of the original \(\mathsf {LHS}\): the three relations can be reduced to one relation as that of our standard models. For instance, given that we have three relations and the evaluation gap, we can mimic the three relations with a singular relation and \(3\times 2\) fresh propositional letters encoding, e.g., \([\mathsf {left}]^{\star }\) and \(\langle \mathsf {right} \rangle ^{\star }\) as \([\mathsf {left}](p^{\star }_E\rightarrow \cdots )\) and \(\langle \mathsf {right} \rangle (p^{\star }_A\wedge \cdots )\), respectively. Definitely, to preserve the structure of those relations and truth of formulas, we need to be careful when defining the new relation and the valuation function. However, due to page-limit constraints, we forego those details here. Now, we proceed to present the details of \(\varphi _{\mathsf {tile}}\), whose components will be divided into four groups. Let us begin with the first one.

Group 1: Infinite many states induced by \(R^s\) and their ‘scope’

$$\begin{aligned} (U1)&\qquad I\wedge [\mathsf {left}]^s \lnot I \\ (U2)&\qquad \langle \mathsf {left} \rangle ^s[\mathsf {left}]^s \bot \\ (U3)&\qquad [\mathsf {right}]^s\langle \mathsf {left} \rangle ^s(\lnot I \wedge \langle \mathsf {left} \rangle ^s\top \wedge [\mathsf {left}]^s I)\\ (U4)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s([\mathsf {left}]^s\bot \wedge [\mathsf {right}]^s\bot \rightarrow I) \\ (U5)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (\langle \mathsf {left} \rangle ^s\langle \mathsf {right} \rangle ^s I \rightarrow I) \end{aligned}$$

Notice that formulas (U1)–(U3) are just the \(R^s\)-version of the formulas in Theorem 1 that are used to create infinite models. Immediately, there exists an infinite sequence of states as follows:

$$\begin{aligned} w_0,w_1,w_2,\cdots \end{aligned}$$

such that \(R^s(w_{i+1})=\{w_i\}\) and \(R^s(w_0)=\emptyset \). Also, for the current evaluation pair (e.g., (s, s)), we have \(\{w_i\mid i\in \mathbb {N}\}\subseteq R^s(s)\).

Now let us spell out what (U4) and (U5) express. Essentially, both the formulas establish a ‘border’ for the scope of nodes that are (directly or indirectly) reachable from s via relation \(R^s\). Specifically, the formula (U4) shows that \(R^s(s)\) contains only a dead end which is exactly \(w_0\) listed above, and moreover, the formula (U5) indicates that for any \(w_i,w_j\in R^s(s)\), if they can reach the same state, then we have \(w_i=w_j\). See Fig. 4 for two counterexamples without the properties of (U4) or (U5). From the two formulas, we know that \(R^s(s)=\{w_i\mid i\in \mathbb {N}\}\).

Fig. 4.
figure 4

Two impossible cases of the \(R^s\)-structure \(R^s(s)\): Case 1 cannot satisfy (U4), while Case 2 cannot satisfy (U5).

Intuitively, we will use these \(w_i's\) to represent tiles. To make this precise, beyond the simple linear order of \(R^s\) among those states, we still need to structure them with \(R^r\) and \(R^u\) in a subtler way. Our next group of formulas concerns some basic features of the two relations:

Group 2: Basic features of \(R^u\) and \(R^r\)

$$\begin{aligned} (U6)&\qquad [\mathsf {left}]^s[\mathsf {left}]^\dagger \langle \mathsf {right} \rangle ^sI&\quad \dagger \in \{u,r\}\\ (U7)&\qquad [\mathsf {left}]^s (\langle \mathsf {left} \rangle ^u\top \wedge \langle \mathsf {left} \rangle ^r\top ) \\ (U8)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (I\rightarrow [\mathsf {left}]^u\lnot I\wedge [\mathsf {left}]^r\lnot I)\\ (U9)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s(I\rightarrow [\mathsf {left}]^\dagger \lnot \langle \mathsf {left} \rangle ^\dagger I)&\quad \dagger \in \{u,r\} \end{aligned}$$

Before listing more formulas, let us briefly comment on these properties.

For all \(i\in \mathbb {N}\), the formulas of (U6) essentially give \(R^r(w_i)\) and \(R^u(w_i)\) a ‘scope’. Specifically, they guarantee that \(R^r(w_i),R^u(w_i)\subseteq \{w_0,w_1,\cdots \}\). Therefore, when considering the two relations, we only need to consider those \(w_i's\), and there do not exist other states that are involved.

The formula (U7) states that every \(w_i\) has successors via \(R^u\) and \(R^r\), i.e., \(R^u(w_i)\not =\emptyset \) and \(R^r(w_i)\not =\emptyset \). Intuitively, this expresses that every tile has at least one tile above it and at least one tile to its right.

Also, the formula (U8) indicates that for all \(i\in \mathbb {N}\), we do not have \(R^rw_iw_i\) or \(R^uw_iw_i\). Moreover, formulas in (U9) show that both the relations \(R^r\) and \(R^u\) are asymmetric.

Except those basic features captured by formulas of Group 2, what might be more important is our next group of formulas, which structure the states in a grid with \(R^r\) and \(R^u\):

Group 3: Grid formed by \(R^u\) and \(R^r\)

$$\begin{aligned} (U10)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (\langle \mathsf {left} \rangle ^\dagger I\rightarrow [\mathsf {left}]^\dagger I)&\quad \dagger \in \{u,r\}\\ (U11)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (I \rightarrow [\mathsf {left}]^u[\mathsf {right}]^r\lnot I) \\ (U12)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (I \rightarrow [\mathsf {left}]^u[\mathsf {left}]^r\lnot I \wedge [\mathsf {left}]^r[\mathsf {left}]^u\lnot I) \\ (U13)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s (I \rightarrow [\mathsf {left}]^u[\mathsf {left}]^r[\mathsf {left}]^u\lnot I) \\ (U14)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s( I\rightarrow [\mathsf {left}]^u[\mathsf {right}]^r\langle \mathsf {left} \rangle ^r\langle \mathsf {right} \rangle ^u I ) \end{aligned}$$

Whereas (U7) tells us that all the \(w_i's\) have \(R^r\)- and \(R^u\)-successors, formulas in (U10) state that every \(w_i\) has at most one \(R^r\)-successor and at most one \(R^u\)-successor. Thus, both (U7) and (U10) ensure that the transitions between those \(w_i's\) via \(R^u\) and \(R^r\) are essentially functions: precisely, for all \(i\in \mathbb {N}\) and \(\dagger \in \{u,r\}\), \(R^{\dagger }(w_i)\) is a singleton.

Moreover, formula (U11) suggests that the \(R^r\)-successor and the \(R^u\)-successor of a tile are different: for all \(i\in \mathbb {N}\), \(R^r(w_i)\cap R^u(w_i)=\emptyset \). That is, a tile cannot be above as well as to the right of another tile.

Additionally, (U12) shows that no tile can be both above/below and to the right/left of another tile, and (U13) disallows cycles following successive steps of the \(R^u\), \(R^r\) and \(R^u\) relations, in this order. Formula (U14) states the property of ‘confluence’: for all tiles \(w_i,w_j,w_k\), if \(R^uw_iw_j\) and \(R^rw_iw_k\) hold, then there exists another tile \(w_n\) such that \(R^rw_jw_n\) and \(R^uw_kw_n\) hold. Now, the tiles are arranged in a grid.

Now, it remains to set a genuine tiling, which can be achieved by our fourth group of formulas. Very roughly, in usual cases this work is often routine when we have an infinite grid-like model (cf. [9]). Let us present the details here:

Group 4: Tiling the model

$$\begin{aligned} (U15)&\qquad [\mathsf {left}]^s(\bigvee \limits _{1\le i\le n} t^i_E \wedge \bigwedge \limits _{1\le i<j\le n} \lnot (t^i_E\wedge t^{j}_E) ) \\ (U16)&\qquad [\mathsf {right}]^s(\bigvee \limits _{1\le i\le n} t^i_A \wedge \bigwedge \limits _{1\le i<j\le n} \lnot (t^i_A\wedge t^{j}_A)) \\ (U17)&\qquad [\mathsf {left}]^s[\mathsf {right}]^s( I \rightarrow \bigvee \limits _{1\le i\le n} (t^i_E\wedge t^i_A) ) \\ (U18)&\qquad [\mathsf {left}]^s (\bigwedge \limits _{1\le i\le n} (t^i_E\rightarrow \langle \mathsf {left} \rangle ^u\bigvee \limits _{1\le j\le n,u(T_i)=d(T_j)} t^j_E)) \\ (U19)&\qquad [\mathsf {left}]^s (\bigwedge \limits _{1\le i\le n} (t^i_E\rightarrow \langle \mathsf {left} \rangle ^r\bigvee \limits _{1\le j\le n,r(T_i)=l(T_j)} t^j_E )) \end{aligned}$$

Formulas (U15)–(U16) indicate that a node can be occupied ‘two’ tiles \(t^i_E\) and \(t^j_A\). As one node can only be occupied by exactly one tile, the statement here may look a bit strange. However, we would like to argue that essentially there exists no problem, see our discussion on formula (U17) below.

By formula (U17), for every fixed i, when both \(t^i_E\) and \(t^j_A\) hold at a node, then we have \(i=j\), i.e., they are of the same type \(T^i\). In this sense, we can say that ‘E’ and ‘A’ are just ‘position-labels’ to refer to the evaluation nodes in the current graph model, and a node in the model is essentially occupied by exactly one tile. Moreover, for the same reason, although for each \(T^i\), we have different propositional atoms \(t^i_A\) and \(t^i_E\), all types of tiles we use are exactly those given by the original T, but not any extra ones.

Finally, the ideas of formulas (U18) and (U19) are routine: the former one states that colors match going up, while the latter expresses that they match going right.

Now, let \(\varphi _{\mathsf {tile}}\) be the conjunctions of all formulas listed in the four groups. Based on our analyses above, any model satisfying \(\varphi _{\mathsf {tile}}\) is a tiling of \(\mathbb {N}\times \mathbb {N}\).

On the other hand, we still need to show the other direction. Now suppose that a function \(f:\mathbb {N}\times \mathbb {N}\rightarrow T\) is a tiling of \(\mathbb {N}\times \mathbb {N}\). Define a model \(\mathbf {M}_t=(W,R^s,R^u,R^r,\mathsf {V})\) in the following:

  • \(W:=\{s\}\cup (\mathbb {N}\times \mathbb {N})\)

  • \(R^s\) consists of the following:

    • For all \(x\in \mathbb {N}\times \mathbb {N}\), \(\langle s,x \rangle \in R^s\)

    • For all \(\langle n,0 \rangle \in \mathbb {N}\times \mathbb {N}\) with \(1\le n\), \(\langle \langle n+1,0 \rangle ,\langle 0,n \rangle \rangle \in R^s\)

    • For all other \(\langle n,m+1 \rangle \in \mathbb {N}\times \mathbb {N}\), \(\langle \langle n,m+1 \rangle ,\langle n+1,m \rangle \rangle \in R^s\)

  • \(R^u:=\{\langle \langle n,m \rangle ,\langle n,m+1 \rangle \rangle \mid n,m\in \mathbb {N}\}\)

  • \(R^r:=\{\langle \langle n,m \rangle ,\langle n+1,m \rangle \rangle \mid n,m\in \mathbb {N}\}\)

  • \(\mathsf {V}(t^i_E)=\mathsf {V}(t^i_A)=\{\langle n,m \rangle \in \mathbb {N}\times \mathbb {N}\mid f(\langle n,m \rangle )=T^i\}\), for all \(i\in \{1,\cdots ,n\}\)

  • \(\mathsf {V}(p_E)=\mathsf {V}(q_A)=\emptyset \), for all other \(p_E,q_A\in \mathsf {P_E}\cup \mathsf {P_A}\).

Figure 5 presents a crucial fragment of the model. By construction, it is not hard to check that \(\mathbf {M}_t,s,s\vDash \varphi _{\mathsf {tile}}\). This completes the proof.    \(\square \)

Fig. 5.
figure 5

The restriction of the structure of \(\mathbf {M}_t\) to \(\mathbb {N}\times \mathbb {N}\), where the resulting \(R^s,R^u,R^r\) are represented by dotted-, dashed- and solid-arrows respectively. To obtain the whole structure, we just need to add the state s and draw a dotted-arrow from s to each of the members of \(\mathbb {N}\times \mathbb {N}\).

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, D., Ghosh, S., Liu, F., Tu, Y. (2021). On the Subtle Nature of a Simple Logic of the Hide and Seek Game. In: Silva, A., Wassermann, R., de Queiroz, R. (eds) Logic, Language, Information, and Computation. WoLLIC 2021. Lecture Notes in Computer Science(), vol 13038. Springer, Cham. https://doi.org/10.1007/978-3-030-88853-4_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-88853-4_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-88852-7

  • Online ISBN: 978-3-030-88853-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics