{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T08:58:27Z","timestamp":1790413107281,"version":"4.1.0"},"reference-count":15,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T00:00:00Z","timestamp":1786924800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,8,17]]},"abstract":"<jats:p>Term rewriting systems are a common tool in automated reasoning and semantics of programming languages, and many practical applications require these systems to be convergent. While automated tools and theory exist to establish convergence, this paper is concerned with a practical method for testing it to quickly find useful counterexamples. Standard property-based testing approaches struggle here: exhaustively computing all normal forms is fundamentally flawed and too slow, while generating random normal forms makes counterexample minimization (shrinking) fragile due to dependencies on earlier generated test data. To solve this, we introduce a QuickCheck testing method based on generating and shrinking random execution traces. By checking if the first and last terms of a generated trace share the same deterministic normal form, we remove the data dependency between generators. This approach yields a property that efficiently finds counterexamples and enables fast, robust shrinking. We demonstrate the effectiveness of this method on various examples, ranging from group theory equations to distributed process calculus.<\/jats:p>","DOI":"10.1145\/3828678","type":"journal-article","created":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T20:23:46Z","timestamp":1786998226000},"page":"160-173","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["QuickChecking Convergence of Rewriting Systems (Functional Pearl)"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8113-4478","authenticated-orcid":false,"given":"Koen","family":"Claessen","sequence":"first","affiliation":[{"name":"Chalmers University of Technology and University of Gothenburg, Gothenburg, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,8,17]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","unstructured":"Lennart Augustsson Koen Claessen Simon Peyton Jones Tim Sweeney et al . 2023. The Verse Calculus: a Core Calculus for Functional Logic Programming. In International Conference on Functional Programming (ICFP). https:\/\/doi.org\/10.1145\/3607845 10.1145\/3607845","DOI":"10.1145\/3607845"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781139172752"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","unstructured":"Koen Claessen . 2012. Shrinking and showing functions: (Functional Pearl). In ACM SIGPLAN Symposium on Haskell. https:\/\/doi.org\/10.1145\/2364506.2364516 10.1145\/2364506.2364516","DOI":"10.1145\/2364506.2364516"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","unstructured":"Koen Claessen and John Hughes . 2000. QuickCheck: A Lightweight Tool for Random Testing of Haskell Programs. In International Conference on Functional Programming (ICFP). https:\/\/doi.org\/10.1145\/351240.351266 10.1145\/351240.351266","DOI":"10.1145\/351240.351266"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","unstructured":"Koen Claessen Michal Palka Nicholas Smallbone John Hughes Hans Svensson Thomas Arts and Ulf Wiger . 2009. Finding Race Conditions in Erlang with QuickCheck and PULSE. In International Conference on Functional Programming (ICFP). https:\/\/doi.org\/10.1145\/1596550.1596574 10.1145\/1596550.1596574","DOI":"10.1145\/1596550.1596574"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-79876-5_37"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"J\u00fcrgen Giesl et al . 2014. Proving Termination of Programs Automatically with AProVE. In International Joint Conference on Automated Reasoning (IJCAR). https:\/\/doi.org\/10.1007\/978-3-319-08587-6_13 10.1007\/978-3-319-08587-6_13","DOI":"10.1007\/978-3-319-08587-6_13"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290374"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","unstructured":"Donald E. Knuth and Peter B. Bendix . 1970. Simple Word Problems in Universal Algebras. In Computational Problems in Abstract Algebra. https:\/\/doi.org\/10.1007\/978-3-642-81955-1_23 10.1007\/978-3-642-81955-1_23","DOI":"10.1007\/978-3-642-81955-1_23"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511526602"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-22102-1_24"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","unstructured":"Nick Smallbone . 2020. Twee: An Equational Theorem Prover. In International Joint Conference on Automated Reasoning (IJCAR). https:\/\/doi.org\/10.1007\/978-3-030-79876-5_35 10.1007\/978-3-030-79876-5_35","DOI":"10.1007\/978-3-030-79876-5_35"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.1003420"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45127-7_27"},{"key":"e_1_3_1_16_2","unstructured":"Marius Weidner . 2025. Haskell code for modeling Autosubst. https:\/\/github.com\/koengit\/autosubst-test. GitHub repository."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3828678","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T08:09:56Z","timestamp":1790410196000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3828678"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,17]]},"references-count":15,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2026,8,17]]}},"alternative-id":["10.1145\/3828678"],"URL":"https:\/\/doi.org\/10.1145\/3828678","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,17]]},"assertion":[{"value":"2026-02-20","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-05-13","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-08-17","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}