Decision Procedures for Sequence Theories
Artur Jez, Anthony W. Lin, Oliver Markgraf, Philipp Rümmer
Abstract
Abstract Sequence theories are an extension of theories of strings with an infinite alphabet of letters, together with a corresponding alphabet theory (e.g. linear integer arithmetic). Sequences are natural abstractions of extendable arrays, which permit a wealth of operations including append, map, split, and concatenation. In spite of the growing amount of tool support for theories of sequences by leading SMT-solvers, little is known about the decidability of sequence theories, which is in stark contrast to the state of the theories of strings. We show that the decidable theory of strings with concatenation and regular constraints can be extended to the world of sequences over an alphabet theory that forms a Boolean algebra, while preserving decidability. In particular, decidability holds when regular constraints are interpreted as parametric automata (which extend both symbolic automata and variable automata), but fails when interpreted as register automata (even over the alphabet theory of equality). When length constraints are added, the problem is Turing-equivalent to word equations with length (and regular) constraints. Similar investigations are conducted in the presence of symbolic transducers, which naturally model sequence functions like map, split, filter, etc. We have developed a new sequence solver, SeCo, based on parametric automata, and show its efficacy on two classes of benchmarks: (i) invariant checking on array-manipulating programs and parameterized systems, and (ii) benchmarks on symbolic register automata.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 156d79d8-e23f-47f6-a560-c059b81a9a90Cited by top-tier papers5
- The Power of Hard Attention Transformers on Data Sequences: A formal language theoretic perspectivePascal Bergsträßer, Chris Köcher, Anthony Widjaja Lin, Georg ZetzscheNeurIPS 2024 · 7 citations
- Regex Decision Procedures in Extended RE#Ian Erik Varatalu, Margus Veanes, Ekaterina Zhuchko, Juhan P. ErnitsCAV 2025 · 3 citations
- Parikh's Theorem Made SymbolicMatthew Hague, Artur Jez, Anthony W. LinPOPL 2024 · 3 citations
- The Power of Regular Constraint PropagationMatthew Hague, Artur Jez, Anthony Widjaja Lin, Oliver Markgraf et al.OOPSLA 2025 · 2 citations
- Polyregular Model CheckingAliaume Lopez, Rafal StefanskiCAV 2025
Builds on2
- Solving string constraints with Regex-dependent functions through transducers with priorities and variablesTaolue Chen, Alejandro Flores-Lamas, Matthew Hague, Zhilei Han et al.POPL 2022 · 39 citations
- Reasoning on Data Words over Numeric DomainsDiego Figueira, Anthony Widjaja LinLICS 2022 · 3 citations
Related papers
- On the Expressive Power of String ConstraintsJoel D. Day, Vijay Ganesh, Nathan Grewal, Florin ManeaPOPL 2023 · 11 citations
- Satisfiability Modulo Extensional Constant ArraysMathias Preiner, Aina Niemetz, Clark W. BarrettCAV 2026
- Solving String Constraints Using SATKevin Lotz, Amit Goel, Bruno Dutertre, Benjamin Kiesl-Reiter et al.CAV 2023 · 11 citations
- Solving String Constraints with Lengths by StabilizationYu-Fang Chen, David Chocholatý, Vojtech Havlena, Lukás Holík et al.OOPSLA 2023 · 18 citations
- Symbolic Automata: Omega-Regularity Modulo TheoriesMargus Veanes, Thomas Ball, Gabriel Ebner, Ekaterina ZhuchkoPOPL 2025 · 6 citations
