{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T20:31:34Z","timestamp":1792787494700,"version":"4.5.0"},"reference-count":25,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"Estonian Research Council","award":["PRG1210"],"award-info":[{"award-number":["PRG1210"]}],"id":[{"id":"https:\/\/ror.org\/00jjeja18","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>\n                    Weak monadic second-order logic (\n                    <jats:bold>wMSO<\/jats:bold>\n                    ) is a foundational tool for specifying regular properties. Traditional decision procedures for this logic typically translate\n                    <jats:bold>wMSO<\/jats:bold>\n                    formulas into finite automata. Although the logic is decidable, this approach incurs non-elementary complexity in the worst-case. Nearly thirty years ago, the state-of-the-art MONA tool showed that, despite these theoretical limits,\n                    <jats:bold>wMSO<\/jats:bold>\n                    can be decided efficiently in practice through carefully optimized automata constructions. We revisit\n                    <jats:bold>wMSO<\/jats:bold>\n                    from an algebraic perspective by introducing Extended Regular Expressions with Quantifiers (\n                    <jats:bold>EREQ<\/jats:bold>\n                    ). Instead of relying on automata determinization,\n                    <jats:bold>EREQ<\/jats:bold>\n                    employs symbolic derivatives to perform incremental quantifier elimination, providing a compositional and symbolic alternative to classical automata-based approaches.\n                  <\/jats:p>\n                  <jats:p>\n                    We present a linear-time translation of\n                    <jats:bold>wMSO<\/jats:bold>\n                    into\n                    <jats:bold>EREQ<\/jats:bold>\n                    and a derivative-based decision procedure for\n                    <jats:bold>EREQ<\/jats:bold>\n                    . We prove the correctness of the translation and of the derivative construction in the Lean proof assistant. We implement our approach in Rust and evaluate it on a set of established MONA benchmarks, demonstrating competitive performance with state-of-the-art tools. Our results demonstrate the potential of derivative-based methods, opening new avenues for efficient decision procedures in\n                    <jats:bold>EREQ<\/jats:bold>\n                    .\n                  <\/jats:p>","DOI":"10.1145\/3808349","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"2549-2572","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["EREQ: Regular Expressions with Quantifiers and Incremental Quantifier Elimination"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-8818-5042","authenticated-orcid":false,"given":"Ekaterina","family":"Zhuchko","sequence":"first","affiliation":[{"name":"Tallinn University of Technology, Tallinn, Estonia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1267-2712","authenticated-orcid":false,"given":"Ian Erik","family":"Varatalu","sequence":"additional","affiliation":[{"name":"Tallinn University of Technology, Tallinn, Estonia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-8427-7977","authenticated-orcid":false,"given":"Margus","family":"Veanes","sequence":"additional","affiliation":[{"name":"Microsoft Research, Redmond, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1695-2810","authenticated-orcid":false,"given":"Nikolaj","family":"Bj\u00f8rner","sequence":"additional","affiliation":[{"name":"Microsoft Research, Redmond, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-59042-0_96"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1051\/ita\/2021008"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/321239.321249"},{"key":"e_1_3_1_5_1","unstructured":"Loris D\u2019Antoni. 2025. AutomatArk. https:\/\/github.com\/lorisdanto\/automatark."},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093333.3009844"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3419404"},{"key":"e_1_3_1_8_1","doi-asserted-by":"crossref","unstructured":"Martin De Wulf Laurent Doyen Nicolas Maquet and Jean-Fran\u00e7ois Raskin. 2008. Antichains: Alternative Algorithms for LTL Satisfiability and Model-Checking. In Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2008) (LNCS Vol. 4963). Springer 63\u201377.","DOI":"10.1007\/978-3-540-78800-3_6"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3417995"},{"key":"e_1_3_1_10_1","doi-asserted-by":"crossref","unstructured":"Tom\u00e1\u0161 Fiedor Luk\u00e1\u0161 Hol\u00edk Petr Jank\u016f Ond\u0159ej Leng\u00e1l and Tom\u00e1\u0161 Vojnar. 2017a. Lazy Automata Techniques for WS1S. In Tools and Algorithms for the Construction and Analysis of Systems Axel Legay and Tiziana Margaria (Eds.). Springer Berlin Heidelberg Berlin Heidelberg 407\u2013425.","DOI":"10.1007\/978-3-662-54577-5_24"},{"key":"e_1_3_1_11_1","doi-asserted-by":"crossref","unstructured":"Tom\u00e1\u0161 Fiedor Luk\u00e1\u0161 Hol\u00edk Ond\u0159ej Leng\u00e1l and Tom\u00e1\u0161 Vojnar. 2015. Nested Antichains for WS1S. In Tools and Algorithms for the Construction and Analysis of Systems Christel Baier and Cesare Tinelli (Eds.). Springer Berlin Heidelberg Berlin Heidelberg 658\u2013674.","DOI":"10.1007\/978-3-662-46681-0_59"},{"key":"e_1_3_1_12_1","unstructured":"Tom\u00e1\u0161 Fiedor Luk\u00e1\u0161 Hol\u00edk Ond\u0159ej Leng\u00e1l and Tom\u00e1\u0161 Vojnar. 2017b. Gaston: WS1S\/WS2S solver. https:\/\/www.fit.vut.cz\/research\/group\/verifit\/tools\/gaston\/."},{"key":"e_1_3_1_13_1","doi-asserted-by":"crossref","unstructured":"J.G. Henriksen J. Jensen M. J\u00f8rgensen N. Klarlund B. Paige T. Rauhe and A. Sandholm. 1995. Mona: Monadic second-order logic in practice. In TACAS \u201995 (LNCS Vol. 1019). Springer.","DOI":"10.7146\/brics.v2i21.19923"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","unstructured":"Peter Kelb Tiziana Margaria Michael Mendler and Claudia Gsottberger. 1997. Mosel: A sound and efficient tool for M2L(Str). In Computer Aided Verification Orna Grumberg (Ed.). Springer Berlin Heidelberg Berlin Heidelberg 448\u2013451. doi:10.1007\/3-540-63166-6_45","DOI":"10.1007\/3-540-63166-6_45"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/647267.760182"},{"key":"e_1_3_1_16_1","doi-asserted-by":"crossref","unstructured":"A. R. Meyer and L. J. Stockmeyer. 1972. The Equivalence Problem for Regular Expressions with Squaring Requires Exponential Space. In Proceedings of the 13th Annual Symposium on Switching and Automata Theory (SWAT\u201972). IEEE Piscataway NJ USA 125\u2013129.","DOI":"10.1109\/SWAT.1972.29"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796808007090"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","unstructured":"Caleb Stanford Margus Veanes and Nikolaj Bj\u00f8rner. 2021. Symbolic Boolean Derivatives for Efficiently Solving Extended Regular Expression Constraints. In PLDI 2021: Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation (Virtual Event). ACM New York NY USA 620\u2013635. doi:10.1145\/3453483.3454066","DOI":"10.1145\/3453483.3454066"},{"key":"e_1_3_1_19_1","doi-asserted-by":"crossref","unstructured":"Wolfgang Thomas. 1996. Languages Automata and Logic. In Handbook of Formal Languages. Springer 389\u2013455.","DOI":"10.1007\/978-3-642-59126-6_7"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","unstructured":"Dmitriy Traytel. 2015. A Coalgebraic Decision Procedure for WS1S. In 24th EACSL Annual Conference on Computer Science Logic (CSL 2015) (Leibniz International Proceedings in Informatics (LIPIcs) Vol. 41) Stephan Kreutzer (Ed.). Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik Dagstuhl Germany 487\u2013503. doi:10.4230\/LIPIcs.CSL.2015.487","DOI":"10.4230\/LIPIcs.CSL.2015.487"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","unstructured":"Dmitriy Traytel and Tobias Nipkow. 2013. Verified decision procedures for MSO on words based on derivatives of regular expressions. In Proceedings of the 18th ACM SIGPLAN International Conference on Functional Programming (Boston Massachusetts USA) (ICFP \u201913). Association for Computing Machinery New York NY USA 3\u201312. doi:10.1145\/2500365.2500612","DOI":"10.1145\/2500365.2500612"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3704838"},{"key":"e_1_3_1_23_1","doi-asserted-by":"crossref","unstructured":"Margus Veanes Nikolaj Bj\u00f8rner and Leonardo de Moura. 2010. Symbolic Automata Constraint Solving. In LPAR-17 (LNCS). 640\u2013654.","DOI":"10.1007\/978-3-642-16242-8_45"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","unstructured":"Ekaterina Zhuchko Hendrik Maarand Margus Veanes and Gabriel Ebner. 2025. Finiteness of Symbolic Derivatives in Lean. In 16th International Conference on Interactive Theorem Proving (ITP 2025) (Leibniz International Proceedings in Informatics (LIPIcs) Vol. 352) Yannick Forster and Chantal Keller (Eds.). Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik Dagstuhl Germany 16:1\u201316:19. doi:10.4230\/LIPIcs.ITP.2025.16","DOI":"10.4230\/LIPIcs.ITP.2025.16"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","unstructured":"Ekaterina Zhuchko and Ian Erik Varatalu. 2026. EREQ: Regular Expressions with Quantifiers and Incremental Quantifier Elimination (PLDI26 Version). doi:10.5281\/zenodo.19915486","DOI":"10.5281\/zenodo.19915486"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","unstructured":"Ekaterina Zhuchko Margus Veanes and Gabriel Ebner. 2024. Lean Formalization of Extended Regular Expression Matching with Lookarounds. In 13th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP\u201924) (London UK). ACM New York NY USA 118\u2013131. doi:10.1145\/3636501.3636959","DOI":"10.1145\/3636501.3636959"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808349","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:41:18Z","timestamp":1790073678000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808349"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":25,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808349"],"URL":"https:\/\/doi.org\/10.1145\/3808349","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-14","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}