Algorithms for Galois Words: Detection, Factorization, and Rotation
Diptarama Hendrian, Dominik K\"oppl, Ryo Yoshinaka, Ayumi Shinohara

TL;DR
This paper introduces linear-time algorithms with constant space for detecting, factorizing, and rotating Galois words, extending Lyndon word techniques to a new order and settling an open problem in the field.
Contribution
It proves the conjecture that Galois words can be processed in linear time with constant space, adapting Lyndon word algorithms to the alternating order.
Findings
Linear-time Galois word detection algorithm
Constant space Galois factorization method
Online computation of Galois rotations
Abstract
Lyndon words are extensively studied in combinatorics on words -- they play a crucial role on upper bounding the number of runs a word can have [Bannai+, SIAM J. Comput.'17]. We can determine Lyndon words, factorize a word into Lyndon words in lexicographically non-increasing order, and find the Lyndon rotation of a word, all in linear time within constant additional working space. A recent research interest emerged from the question of what happens when we change the lexicographic order, which is at the heart of the definition of Lyndon words. In particular, the alternating order, where the order of all odd positions becomes reversed, has been recently proposed. While a Lyndon word is, among all its cyclic rotations, the smallest one with respect to the lexicographic order, a Galois word exhibits the same property by exchanging the lexicographic order with the alternating order.…
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
TopicsDigital Image Processing Techniques · Advanced Numerical Analysis Techniques · semigroups and automata theory
