Abstract
In a Church synthesis game, two players, Adam and Eve, alternately pick some element in a finite alphabet, for an infinite number of rounds. The game is won by Eve if the \(\omega \)-word formed by this infinite interaction belongs to a given language S, called the specification. It is well-known that for \(\omega \)-regular specifications, it is decidable whether Eve has a strategy to enforce the specification no matter what Adam does. We study the extension of Church synthesis games to the linearly ordered data domains \(({\mathbb {Q}},\le )\) and \(({\mathbb {N}},\le )\). In this setting, the infinite interaction between Adam and Eve results in an \(\omega \)-data word, i.e., an infinite sequence of elements in the domain. We study this problem when specifications are given as register automata. Those automata consist in finite automata equipped with a finite set of registers in which they can store data values, that they can then compare with incoming data values with respect to the linear order. Church games over \(({\mathbb {N}},\le )\) are however undecidable, even for deterministic register automata. Thus, we introduce one-sided Church games, where Eve instead operates over a finite alphabet, while Adam still manipulates data. We show that they are determined, and that deciding the existence of a winning strategy is in ExpTime, both for \({\mathbb {Q}}\) and \({\mathbb {N}}\). This follows from a study of constraint sequences, which abstract the behaviour of register automata, and allow us to reduce Church games to \(\omega \)-regular games. We present an application of one-sided Church games to a transducer synthesis problem. In this application, a transducer models a reactive system (Eve) which outputs data stored in its registers, depending on its interaction with an environment (Adam) which inputs data to the system.
Similar content being viewed by others
Notes
Lasso-shaped words are also called regular words or ultimately periodic words in the literature.
We only construct the given play, since the rest of the strategy does not matter.
What we really need is a winning Eve strategy of the form \(\lambda ^{\mathcal {D}}_\exists : {\mathcal {D}}^+ \rightarrow \Sigma \). The strategy \(\lambda _\exists : {\textsf {Tst}}^+ \rightarrow \Sigma \) that we construct encodes \(\lambda _\exists ^{\mathcal {D}}\) as follows: it has the same set R of registers as the automaton \(G_S\), and performs the same assignment actions as the automaton. Then, on seeing a new data value, the strategy compares it with the register values, which induces a test, and passes this test to \(\lambda _\exists \).
Recall that over \(({\mathbb {N}},\le )\), 0 denotes its minimal element. Over \(({\mathbb {Q}}, \le )\), its choice is irrelevant.
For a formal statement, see [47, Theorem 4.3] saying that the class of languages of finite-alphabet projections of “constraint automata” and the class of \(\omega \)B-languages coincide.
A stronger result holds, namely \(d_{ab}=d_{xy}\), but it is not needed here.
References
Abdulla PA, Atig MF, Hofman P, Mayr R, Kumar KN, Totzke P (2014) Infinite-state energy games. In: Joint meeting of the twenty-third EACSL annual conference on computer science logic (CSL) and the twenty-ninth annual ACM/IEEE symposium on logic in computer science (LICS), CSL-LICS ’14, Vienna, Austria, July 14–18, 2014, pp 7:1–7:10
Abdulla PA, Bouajjani A, d’Orso J (2003) Deciding monotonic games. In: International workshop on computer science logic. Springer, pp 1–14
Bérard B, Bollig B, Lehaut M, Sznajder N (2020) Parameterized synthesis for fragments of first-order logic over data words. In: FOSSACS, volume 12077 of Lecture Notes in Computer Science. Springer, pp 97–118
Bhaskar A, Praveen M (2022) Realizability problem for constraint LTL. arXiv preprint arXiv:2207.06708
Bloem R, Chatterjee K, Jobstmann B (2018) Graph games and reactive synthesis. In: Clarke EM, Henzinger TA, Veith H, Bloem R (eds) Handbook of model checking. Springer, Berlin, pp 921–962
Bojańczyk M, Colcombet T (2006) Bounds in \(\omega \)-regularity. In: Proceedings of the 21st IEEE symposium on logic in computer science, pp 285–296
Bojanczyk M, Muscholl A, Schwentick T, Segoufin L, David C (2006) Two-variable logic on words with data. In: Proceedings of the 21st IEEE symposium on logic in computer science, pp 7–16
Bojańczyk M (2011) Weak MSO with the unbounding quantifier. Theory Comput Syst 48(3):554–576
Bojańczyk M (2014) Weak MSO+U with path quantifiers over infinite trees. In: Automata, languages, and programming—41st international colloquium, ICALP 2014, Copenhagen, Denmark, July 8–11, 2014, Proceedings, Part II, pp 38–49
Bouajjani A, Habermehl P, Jurski Y, Sighireanu M (2007) Rewriting systems with data. In: FCT, pp 1–22
Bouajjani A, Habermehl P, Mayr RR (2003) Automatic verification of recursive procedures with one integer parameter. Theor Comput Sci 295:85–106
Bouquet A-J, Serre O, Walukiewicz I (2003) Pushdown games with unboundedness and regular conditions. In: Proceedings of the 23rd conference on foundations of software technology and theoretical computer science, volume 2914 of Lecture Notes in Computer Science. Springer, pp 88–99
Bruyère V (2021) Synthesis of equilibria in infinite-duration games on graphs. ACM SIGLOG News 8(2):4–29
Büchi JR, Landweber LH (1969) Solving sequential conditions by finite-state strategies. Trans AMS 138:295–311
Cachat T (2002) Two-way tree automata solving pushdown games. In: Grädel E, Thomas W, Wilke T (eds) Automata logics, and infinite games, volume 2500. Lecture Notes in Computer Science, chapter 17. Springer, pp 303–317
Calude CS, Jain S , Khoussainov B, Li W, Stephan F (2017) Deciding parity games in quasipolynomial time. In: Proceedings of the 49th ACM symposium on theory of computing, pp 252–263
Carapelle C, Kartzow A, Lohrey M (2013) Satisfiability of CTL* with constraints. In: D’Argenio PR, Melgratti H (eds) CONCUR 2013-concurrency theory. Springer, Berlin Heidelberg, Berlin, pp 455–469
Ceri S, Fraternali P, Bongio A, Brambilla M, Comai S, Matera M (2002) Designing data-intensive web applications. Morgan Kaufmann Publishers Inc., San Francisco
Delzanno G, Sangnier A, Traverso R (2013) Parameterized verification of broadcast networks of register automata. In: Potapov I, Abdulla PA (eds) Reachability problems. Springer, Berlin, pp 109–121
Demri S, Lazic R (2009) LTL with the freeze quantifier and register automata. ACM Trans Comput Log 10(3):16:1-16:30
Demri S, D’Souza D (2007) An automata-theoretic approach to constraint LTL. Inf Comput 205(3):380–415
Demri S, Quaas K (2023) Constraint automata on infinite data trees: from CTL (Z)/CTL*(Z) to decision procedures. arXiv preprint arXiv:2302.05327
Ehlers R, Seshia S, Kress-Gazit H (2014). Synthesis with identifiers. In: Proceedings of the 15th international conference on verification, model checking, and abstract interpretation, volume 8318 of Lecture Notes in Computer Science. Springer, pp 415–433
Exibard L (2021) Automatic synthesis of systems with data. PhD Thesis, Aix-Marseille Université (AMU); Université libre de Bruxelles (ULB)
Exibard L, Filiot E, Khalimov A (2021) Church synthesis on register automata over linearly ordered data domains. In: Bläser M, Monmege B (eds) 38th International symposium on theoretical aspects of computer science, STACS 2021, March 16–19, 2021, Saarbrücken, Germany (Virtual Conference) volume 187 of LIPIcs. Schloss Dagstuhl—Leibniz-Zentrum für Informatik, pp 28:1–28:16
Exibard L, Filiot E, Khalimov A (2022) A generic solution to register-bounded synthesis with an application to discrete orders. In: Bojanczyk M, Merelli E, Woodruff DP (eds) 49th International colloquium on automata, languages, and programming, ICALP 2022, July 4–8, 2022, Paris, France, volume 229 of LIPIcs. Schloss Dagstuhl—Leibniz-Zentrum für Informatik, pp 122:1–122:19
Exibard L, Filiot E, Reynier PA (2021) Synthesis of data word transducers. Log Methods Comput Sci 17(1)
Faran R, Kupferman O (2020) On synthesis of specifications with arithmetic. In: Chatzigeorgiou A, Dondi R, Herodotou H, Kapoutsis C, Manolopoulos Y, Papadopoulos GA, Sikora F (eds) SOFSEM 2020: theory and practice of computer science. Springer International Publishing, Cham, pp 161–173
Farzan A, Kincaid Z (2017) Strategy synthesis for linear arithmetic games. In: Proceedings of the ACM on programming languages 2(POPL):1–30
Figueira D, Majumdar A, Praveen M (2020) Playing with repetitions in data words using energy games. Log Methods Comput Sci 16(3)
Finkbeiner B, Klein F, Piskac R, Santolucito M (2019) Temporal stream logic: synthesis beyond the bools. In: Proceedings of the 31st international conference on computer aided verification
Göller S, Mayr R, To AW (2009) On the computational complexity of verifying one-counter processes. In: Proceedings of the 24th annual IEEE symposium on logic in computer science, LICS 2009, 11–14 August 2009, Los Angeles, CA, USA, pp 235–244
Grädel E, Thomas W, Wilke T (2002) Automata, logics, and infinite games: a guide to current research, volume 2500. Lecture Notes in Computer Science. Springer
Gurevich Y, Harrington L (1982). Trees, automata, and games. In: Proceedings of the 14th ACM symposium on theory of computing. ACM Press, pp 60–65
Hojati R, Dill DL, Brayton RK (1997) Verifying linear temporal properties of data insensitive controllers using finite instantiations. In: Hardware description languages and their applications. Springer, pp 60–73
Kaminski M, Francez N (1994) Finite-memory automata. Theor Comput Sci 134(2):329–363
Khalimov A, Maderbacher B, Bloem R (2018) Bounded synthesis of register transducers. In: 16th International symposium on automated technology for verification and analysis, volume 11138 of Lecture Notes in Computer Science. Springer, pp 494–510
Khalimov A, Kupferman O (2019) Register-bounded synthesis. In: Fokkink W, van Glabbeek R (eds) 30th International conference on concurrency theory, CONCUR 2019, August 27–30, 2019, Amsterdam, The Netherlands, volume 140 of LIPIcs. Schloss Dagstuhl—Leibniz-Zentrum für Informatik, pp 25:1–25:16
Klin B, Łełyk M (2019) Scalar and vectorial mu-calculus with atoms. Log Methods Comput Sci 15(4)
Krogmeier P, Mathur U, Murali A, Madhusudan P, Viswanathan M (2020) Decidable synthesis of programs with uninterpreted functions. In: Lahiri SK, Wang C (eds) Computer aided verification. Springer International Publishing, Cham, pp 634–657
Lazić R, Nowak D (2000) A unifying approach to data-independence. In: Proceedings of the 11th international conference on concurrency theory. Springer Berlin Heidelberg, pp 581–596
Minsky ML (1967) Computation: finite and infinite machines, 1st edn. Prentice Hall, Hoboken
Pnueli A, Rosner R (1989) On the synthesis of a reactive module. In: Proceedings of the 16th ACM symposium on principles of programming languages, pp 179–190
Rabin MO (1972) Automata on infinite objects and Church’s problem. American Mathematical Society, Washington, D.C
Frank Plumpton Ramsey (1930) On a problem of formal logic. Proc Lond Math Soc 30(1):264–286
Schwentick T, Zeume T (2012) Two-variable logic with two order relations. Log Methods Comput Sci 8(1)
Segoufin L, Torunczyk S (2011) Automata-based verification over linearly ordered data domains. In: 28th International symposium on theoretical aspects of computer science (STACS 2011). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik
Serre O (2006) Parity games played on transition graphs of one-counter processes. In: Foundations of software science and computation structures, 9th international conference, FOSSACS 2006, held as part of the joint European conferences on theory and practice of software, ETAPS 2006, Vienna, Austria, March 25–31, 2006, Proceedings, pp 337–351
Syntcomp@CAV (2014) The reactive synthesis competition. http://www.syntcomp.org
Thomas W (2009) Facets of synthesis: revisiting church’s problem. In: de Alfaro L (ed) Foundations of software science and computational structures, 12th international conference, FOSSACS 2009, held as part of the joint European conferences on theory and practice of software, ETAPS 2009, York, UK, March 22–29, 2009. Proceedings, volume 5504 of Lecture Notes in Computer Science. Springer, pp 1–14
Vianu V (2009) Automatic verification of database-driven systems: a new frontier. In: ICDT ’09, pp 1–13
Walukiewicz I (2000) Model checking CTL properties of pushdown systems. In: Proceedings of the 20th conference on foundations of software technology and theoretical computer science, volume 1974 of Lecture Notes in Computer Science. Springer, pp 127–138
Wolper P (1986) Expressing interesting properties of programs in propositional temporal logic. In: Proceedings of the 13th ACM symposium on principles of programming languages, pp 184–192
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Exibard, L., Filiot, E. & Khalimov, A. Church synthesis on register automata over linearly ordered data domains. Form Methods Syst Des 61, 290–337 (2022). https://doi.org/10.1007/s10703-023-00435-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10703-023-00435-w