A simple algorithm for checking equivalence of counting functions on free monoids
Petr Kiyashko, Alexey Talambutsa

TL;DR
This paper introduces a new, simplified algorithm for verifying the equivalence of counting functions on free monoids, achieving linear time complexity for all ranks $r \,\geq\, 2$, improving over previous methods.
Contribution
It presents a novel algorithm based on explicit basis expansion and weighted rectangles, reducing the time complexity to $O(n)$ for all ranks $r\geq 2$.
Findings
Achieves $O(n)$ time complexity for all ranks $r\geq 2$
Simplifies the process of checking function equivalence
Works within the multi-tape Turing machine model with non-constant-time arithmetic
Abstract
In this note we propose a new algorithm for checking whether two counting functions on a free monoid of rank are equivalent modulo a bounded function. The previously known algorithm has time complexity for all ranks , but for it was estimated only to be . We apply a new approach based on the explicit basis expansion and summation of weighted rectangles, which allows us to construct a much simpler algorithm with time complexity for any . We work in the multi-tape Turing machine model with non-constant-time arithmetic operations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Computability, Logic, AI Algorithms
