Abstract
We survey the state of the art on the algorithmic analysis of discrete linear dynamical systems, focussing in particular on reachability, model-checking, and invariant-generation questions, both unconditionally as well as relative to oracles for the Skolem Problem.
J. Ouaknine—Also affiliated with Keble College, Oxford as emmy.network Fellow, and supported by DFG grant 389792660 as part of TRR 248 (see https://perspicuous-computing.science).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
All of the results we present in this paper carry over to the more general setting of real-algebraic LDS, whose entries are allowed to be real algebraic numbers. Nevertheless, we stick here to rationals for simplicity of exposition.
- 2.
Semialgebraic predicates are Boolean combinations of polynomial equalities and inequalities.
- 3.
Monadic Second-Order Logic (MSO) is a highly expressive specification formalism that subsumes the vast majority of temporal logics employed in the field of automated verification, such as Linear Temporal Logic (LTL). “Prefix independence” is a quality of properties that are asymptotic in nature—we provide a precise definition shortly.
- 4.
Algebraic sets correspond to positive Boolean combinations of polynomial equalities.
- 5.
The characteristic polynomial associated with recurrence (1) is \(X^d-c_1X^{d-1}- \ldots -c_d\).
- 6.
A full arithmetic progression is a set of non-negative integers of the form \(\{a + bm : m \in \mathbb {N}\}\), with \(a,b \in \mathbb {N}\) and \(a < b\).
- 7.
- 8.
Recall that \(\mathcal {C}\) is the smallest set containing all algebraic subsets of \(\mathbb {R}^d\), and which is closed under finite union, finite intersection, and complement. (The terminology of “constructible” originates from algebraic geometry.).
- 9.
The intrinsic dimension of a semialgebraic set is formally defined via cell decomposition; intuitively, one-dimensional semialgebraic sets can be viewed as ‘strings’ or ‘curves’, whereas zero-dimensional semialgebraic sets are finite collections of singleton points.
- 10.
It is interesting to note that whether an MSO formula \(\varphi \) is prefix-independent or not is decidable. To see this, for \(A=(Q,q_0,\varSigma ,\varDelta ,F)\) a deterministic Müller automaton, define A(q), for \(q\in Q\), to be the same as A, except that the initial state of A(q) is q (rather than \(q_0\)). We say that a deterministic Müller automaton A (as above) is prefix-independent if, for all \(q\in Q\) that are reachable from \(q_0\), A(q) recognises the same language as A. Write L(A) to denote the language recognised by A. It is now straightforward to show that A is prefix-independent iff L(A) is prefix-independent. Since any MSO formula is encodable as a deterministic Müller automaton, and equality of \(\omega \)-regular languages is decidable, the desired decidability result follows.
- 11.
An LDS (M, x) is diagonalisable if the matrix M is diagonalisable (over \(\mathbb {C}\)). In a measure-theoretic sense, most LDS are diagonalisable.
References
Agrawal, M., Akshay, S., Genest, B., Thiagarajan, P.S.: Approximate verification of the symbolic dynamics of Markov chains. J. ACM 62(1), 2:1–2:34 (2015)
Almagor, S., Chistikov, D., Ouaknine, J., Worrell, J.: O-minimal invariants for linear loops. In: 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018. LIPIcs, vol. 107, pp. 114:1–114:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2018)
Almagor, S., Chistikov, D., Ouaknine, J., Worrell, J.: O-minimal invariants for discrete-time dynamical systems. ACM Trans. Comput. Log. 23(2), 9:1–9:20 (2022)
Almagor, S., Karimov, T., Kelmendi, E., Ouaknine, J., Worrell, J.: Deciding \(\omega \)-regular properties on linear recurrence sequences. In: Proceedings of the ACM Programming Language 5(POPL), 1–24 (2021)
Almagor, S., Ouaknine, J., Worrell, J.: The polytope-collision problem. In: 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017. LIPIcs, vol. 80, pp. 24:1–24:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2017)
Almagor, S., Ouaknine, J., Worrell, J.: The semialgebraic Orbit Problem. In: 36th International Symposium on Theoretical Aspects of Computer Science, STACS 2019. LIPIcs, vol. 126, pp. 6:1–6:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)
Almagor, S., Ouaknine, J., Worrell, J.: First-order orbit queries. Theory Comput. Syst. 65(4), 638–661 (2021)
Anosov, D.V.: Geodesic flows on closed Riemannian manifolds of negative curvature. Proc. Steklov Inst. Math. 90 (1967)
Baier, C., et al.: The Orbit Problem for parametric linear dynamical systems (2021)
Ben-Amram, A.M., Doménech, J.J., Genaim, S.: Multiphase-linear ranking functions and their relation to recurrent sets. In: Chang, B.-Y.E. (ed.) SAS 2019. LNCS, vol. 11822, pp. 459–480. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32304-2_22
Ben-Amram, A.M., Genaim, S.: On the linear ranking problem for integer linear-constraint loops. In: The 40th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 2013, pp. 51–62. ACM (2013)
Ben-Amram, A.M., Genaim, S.: Ranking functions for linear-constraint loops. J. ACM 61(4), 26:1–26:55 (2014)
Ben-Amram, A.M., Genaim, S.: On multiphase-linear ranking functions. In: Majumdar, R., Kunčak, V. (eds.) CAV 2017. LNCS, vol. 10427, pp. 601–620. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63390-9_32
Berstel, J., Mignotte, M.: Deux propriétés décidables des suites récurrentes linéaires. Bull. Soc. Math. France 104, 175–184 (1976)
Bilu, Y., Luca, F., Nieuwveld, J., Ouaknine, J., Purser, D., Worrell, J.: Skolem meets Schanuel. In: Szeider, S., Ganian, R., Silva, A. (eds.) 47th International Symposium on Mathematical Foundations of Computer Science, MFCS 2022, August 22–26, 2022, Vienna, Austria. LIPIcs, vol. 241, pp. 62:1–62:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2022)
Börger, E., Grädel, E., Gurevich, Y.: The Classical Decision Problem. Perspectives in Mathematical Logic, Springer, Heidelberg (1997)
Bowen, R.: Equilibrium States and the Ergodic Theory of Anosov Diffeomorphisms, Lecture Notes in Mathematics, vol. 470. Springer, Heidelberg (1975)
Bradley, A.R., Manna, Z., Sipma, H.B.: Termination analysis of integer linear loops. In: Abadi, M., de Alfaro, L. (eds.) CONCUR 2005. LNCS, vol. 3653, pp. 488–502. Springer, Heidelberg (2005). https://doi.org/10.1007/11539452_37
Braverman, M.: Termination of integer linear programs. In: Ball, T., Jones, R.B. (eds.) CAV 2006. LNCS, vol. 4144, pp. 372–385. Springer, Heidelberg (2006). https://doi.org/10.1007/11817963_34
Chen, H.Y., Flur, S., Mukhopadhyay, S.: Termination proofs for linear simple loops. Int. J. Softw. Tools Technol. Transf. 17(1), 47–57 (2015)
Chonev, V., Ouaknine, J., Worrell, J.: The Orbit Problem in higher dimensions. In: Symposium on Theory of Computing Conference, STOC 2013, pp. 941–950. ACM (2013)
Chonev, V., Ouaknine, J., Worrell, J.: The polyhedron-hitting problem. In: Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, pp. 940–956. SIAM (2015)
Chonev, V., Ouaknine, J., Worrell, J.: On the complexity of the Orbit Problem. J. ACM 63(3), 23:1–23:18 (2016)
Colóon, M.A., Sipma, H.B.: Synthesis of linear ranking functions. In: Margaria, T., Yi, W. (eds.) TACAS 2001. LNCS, vol. 2031, pp. 67–81. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-45319-9_6
Conley, C.C.: Isolated invariant sets and the Morse index, CBMS Regional Conference Series in Mathematics, vol. 25. American Mathematical Society (1978)
Cook, B., Podelski, A., Rybalchenko, A.: Termination proofs for systems code. In: Proceedings of the ACM SIGPLAN 2006 Conference on Programming Language Design and Implementation, pp. 415–426. ACM (2006)
Cook, B., Podelski, A., Rybalchenko, A.: Terminator: beyond safety. In: Ball, T., Jones, R.B. (eds.) CAV 2006. LNCS, vol. 4144, pp. 415–418. Springer, Heidelberg (2006). https://doi.org/10.1007/11817963_37
D’Costa, J., et al.: The Pseudo-Skolem problem is decidable. In: Bonchi, F., Puglisi, S.J. (eds.) 46th International Symposium on Mathematical Foundations of Computer Science (MFCS 2021). Leibniz International Proceedings in Informatics (LIPIcs), vol. 202, pp. 34:1–34:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Dagstuhl, Germany (2021)
D’Costa, J., Karimov, T., Majumdar, R., Ouaknine, J., Salamati, M., Worrell, J.: The pseudo-reachability problem for diagonalisable linear dynamical systems. In: Szeider, S., Ganian, R., Silva, A. (eds.) 47th International Symposium on Mathematical Foundations of Computer Science, MFCS 2022, August 22–26, 2022, Vienna, Austria. LIPIcs, vol. 241, pp. 40:1–40:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2022)
Van den Dries, L.: Tame Topology and O-Minimal Structures, vol. 248. Cambridge University Press, Cambridge (1998)
Everest, G., van der Poorten, A.J., Shparlinski, I.E., Ward, T.: Recurrence Sequences, Mathematical Surveys and Monographs, vol. 104. American Mathematical Society (2003)
Halava, V., Harju, T., Hirvensalo, M.: Positivity of second order linear recurrent sequences. Discret. Appl. Math. 154(3), 447–451 (2006)
Harrison, M.A.: Lectures on Linear Sequential Machines. Academic Press, New York (1969)
Hosseini, M., Ouaknine, J., Worrell, J.: Termination of linear loops over the integers. In: 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019. LIPIcs, vol. 132, pp. 118:1–118:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)
Kannan, R., Lipton, R.J.: The Orbit Problem is decidable. In: Proceedings of the 12th Annual ACM Symposium on Theory of Computing 1980, pp. 252–261. ACM (1980)
Kannan, R., Lipton, R.J.: Polynomial-time algorithm for the Orbit Problem. J. ACM 33(4), 808–821 (1986)
Karimov, T., et al.: What’s decidable about linear loops? In: Proceedings of the ACM Programming Languages 6(POPL), pp. 1–25 (2022)
Karimov, T., Ouaknine, J., Worrell, J.: On LTL model checking for low-dimensional discrete linear dynamical systems. In: 45th International Symposium on Mathematical Foundations of Computer Science, MFCS 2020. LIPIcs, vol. 170, pp. 54:1–54:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020)
Laohakosol, V., Tangsupphathawat, P.: Positivity of third order linear recurrence sequences. Discrete Appl. Math. 157(15), 3239–3248 (2009)
Lipton, R.J., Luca, F., Nieuwveld, J., Ouaknine, J., Worrell, D.P.J.: On the Skolem Problem and the Skolem Conjecture. In: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2022, Haifa, Israel, 2 August– 5 August 2022. ACM (2022)
Luca, F., Ouaknine, J., Worrell, J.: Universal Skolem sets. In: 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2021, Rome, Italy, 29 June–2 July 2021, pp. 1–6. IEEE (2021)
Luca, F., Ouaknine, J., Worrell, J.: Algebraic model checking for discrete linear dynamical systems. In: Bogomolov, S., Parker, D. (eds.) FORMATS 2022. LNCS, vol .13465, pp. 3–15. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-15839-1_1
Luca, F., Ouaknine, J., Worrell, J.: A universal Skolem set of positive lower density. In: Szeider, S., Ganian, R., Silva, A. (eds.) 47th International Symposium on Mathematical Foundations of Computer Science, MFCS 2022, Vienna, Austria, 22–26 August 2022, LIPIcs, vol. 241, pp. 73:1–73:12. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2022)
Matiyasevich, Y.V.: Hilbert’s Tenth Problem. MIT Press, Cambridge (1993)
McConnell, R.M., Mehlhorn, K., Näher, S., Schweitzer, P.: Certifying algorithms. Comput. Sci. Rev. 5(2), 119–161 (2011)
Ouaknine, J., Worrell, J.: On the positivity problem for simple linear recurrence sequences,. In: Esparza, J., Fraigniaud, P., Husfeldt, T., Koutsoupias, E. (eds.) ICALP 2014. LNCS, vol. 8573, pp. 318–329. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-43951-7_27
Ouaknine, J., Worrell, J.: Positivity problems for low-order linear recurrence sequences. In: Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, pp. 366–379. SIAM (2014)
Ouaknine, J., Worrell, J.: Ultimate positivity is decidable for simple linear recurrence sequences. In: Esparza, J., Fraigniaud, P., Husfeldt, T., Koutsoupias, E. (eds.) ICALP 2014. LNCS, vol. 8573, pp. 330–341. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-43951-7_28
Ouaknine, J., Worrell, J.: On linear recurrence sequences and loop termination. ACM SIGLOG News 2(2), 4–13 (2015)
Podelski, A., Rybalchenko, A.: A complete method for the synthesis of linear ranking functions. In: Steffen, B., Levi, G. (eds.) VMCAI 2004. LNCS, vol. 2937, pp. 239–251. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24622-0_20
Podelski, A., Rybalchenko, A.: Transition invariants. In: 19th IEEE Symposium on Logic in Computer Science (LICS 2004), pp. 32–41. IEEE Computer Society (2004)
Tarasov, S., Vyalyi, M.: Orbits of linear maps and regular languages. In: Kulikov, A., Vereshchagin, N. (eds.) CSR 2011. LNCS, vol. 6651, pp. 305–316. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-20712-9_24
Tijdeman, R., Mignotte, M., Shorey, T.N.: The distance between terms of an algebraic recurrence sequence. J. für die reine und angewandte Mathematik 349, 63–76 (1984)
Tiwari, A.: Termination of linear programs. In: Alur, R., Peled, D.A. (eds.) CAV 2004. LNCS, vol. 3114, pp. 70–82. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-27813-9_6
Vereshchagin, N.: The problem of appearance of a zero in a linear recurrence sequence. Mat. Zametki 38(2), 609–615 (1985)
Wilkie, A.J.: Model completeness results for expansions of the ordered field of real numbers by restricted Pfaffian functions and the exponential function. J. Am. Math. Soc. 9(4), 1051–1094 (1996)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
A Prefix-Independent Model Checking for LDS
A Prefix-Independent Model Checking for LDS
The goal of this appendix is to exhibit boundaries on the extent to which Theorem 4 can be improved. More precisely, we show that the ability to solve the model-checking problem for arbitrary LDS against prefix-independent MSO specifications making use of semialgebraic predicates in ambient space \(\mathbb {R}^4\) would necessarily entail major breakthroughs in Diophantine approximation.
We build upon the framework developed in [47, Sec. 5]. To this end, consider the class of order-6 rational LRS of the form
where \(\lambda \in \mathbb {Q}(i)\) and \(|\lambda | = 1\), and \(r \in \mathbb {Q}\). Let us write \(\mathcal {L}\) to denote this class of LRS.
It is shown in [47] that solving the Ultimate Positivity Problem for LRS in \(\mathcal {L}\), i.e., providing an algorithm which, given an LRS \(\langle u_n \rangle _{n=0}^\infty \in \mathcal {L}\), determines whether there exists some integer N such that, for all \(n \ge N\), \(u_n \ge 0\), would necessarily entail major breakthroughs in the field of Diophantine approximation. The purpose of the present section is to reduce the Ultimate Positivity Problem for LRS in \(\mathcal {L}\) to the prefix-independent semialgebraic MSO model-checking problem for 4-dimensional LDS.
Given \(\lambda \) and r as above, let
Observe that M has rational entries. We have that
As a semialgebraic target consider the set \(S = \{x: p(x) > 0\}\), where
We now have that \(p(M^n x) = r {\text {Im}}(\lambda ^n) - n (1 - {\text {Re}}(\lambda ^n))\), and that \(\langle u_n \rangle _{n=0}^\infty \) is ultimately positive if and only if the orbit of x under M eventually gets trapped in S. This can be expressed by the prefix-independent LTL formula \(\varphi = \textbf{F} \, \textbf{G} \, S\).
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Karimov, T., Kelmendi, E., Ouaknine, J., Worrell, J. (2022). What’s Decidable About Discrete Linear Dynamical Systems?. In: Raskin, JF., Chatterjee, K., Doyen, L., Majumdar, R. (eds) Principles of Systems Design. Lecture Notes in Computer Science, vol 13660. Springer, Cham. https://doi.org/10.1007/978-3-031-22337-2_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-22337-2_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-22336-5
Online ISBN: 978-3-031-22337-2
eBook Packages: Computer ScienceComputer Science (R0)