Skip to main content
QUICK REVIEW

[Paper Review] Some variations on Lyndon words

Francesco Dolce, Antonio Restivo|arXiv (Cornell University)|Apr 1, 2019
semigroups and automata theoryComputer Science18 references3 citations
TL;DR

This paper introduces a novel characterization of Lyndon words using the infinite order—comparing words via lexicographical order of their infinite repetitions $u^\omega$ and $v^\omega$. It proves that a word is Lyndon if and only if it is smaller than all its proper suffixes under this infinite order, and establishes a duality by showing that the left Cartesian tree of a Lyndon word equals its left Lyndon tree, mirroring a known result for right trees.

ABSTRACT

In this paper we compare two finite words $u$ and $v$ by the lexicographical order of the infinite words $u^ω$ and $v^ω$. Informally, we say that we compare $u$ and $v$ by the infinite order. We show several properties of Lyndon words expressed using this infinite order. The innovative aspect of this approach is that it allows to take into account also non trivial conditions on the prefixes of a word, instead that only on the suffixes. In particular, we derive a result of Ufnarovskij [V. Ufnarovskij, "Combinatorial and asymptotic methods in algebra", 1995] that characterizes a Lyndon word as a word which is greater, with respect to the infinite order, than all its prefixes. Motivated by this result, we introduce the prefix standard permutation of a Lyndon word and the corresponding (left) Cartesian tree. We prove that the left Cartesian tree is equal to the left Lyndon tree, defined by the left standard factorization of Viennot [G. Viennot, "Algèbres de Lie libres et monoïdes libres", 1978]. This result is dual with respect to a theorem of Hohlweg and Reutenauer [C. Hohlweg and C. Reutenauer, "Lyndon words, permutations and trees", 2003].

Motivation & Objective

  • To reframe the characterization of Lyndon words using the infinite order, defined by lexicographical comparison of $u^\omega$ and $v^\omega$, instead of traditional suffix-based criteria.
  • To extend the classical Lyndon factorization theorem by showing that the factorization is non-increasing under the infinite order.
  • To introduce the prefix standard permutation and left Cartesian tree for Lyndon words, providing a dual counterpart to existing right-tree constructions.
  • To unify combinatorial structures by proving that the left Cartesian tree of a Lyndon word coincides with its left Lyndon tree.
  • To generalize the framework to include generalized Lyndon words and alternating orders, linking to the Alternate Burrows-Wheeler Transform (ABWT).

Proposed method

  • Define the infinite order on finite words by comparing $u^\omega$ and $v^\omega$ lexicographically, enabling new comparisons that account for prefix structures.
  • Prove that a word $w$ is Lyndon if and only if $w^\omega < v^\omega$ for all proper suffixes $v$ of $w$, using infinite order comparisons.
  • Introduce the prefix array and its inverse, the prefix standard permutation, to order prefixes of a word by their infinite order.
  • Construct the left Cartesian tree from the prefix standard permutation, where each internal node is labeled by the left foliage of its subtree.
  • Establish a recursive labeling function $g_{\mathfrak{t}}(x)$ for internal nodes in a complete binary tree, based on the left foliage of subtrees.
  • Prove that the resulting left Cartesian tree for a Lyndon word matches its left Lyndon tree by showing the labeling is decreasing and projects to the sequence of nonempty prefixes.

Experimental results

Research questions

  • RQ1Can Lyndon words be characterized using the infinite order, where $u < v$ if $u^\omega < v^\omega$?
  • RQ2Does the infinite order provide a dual characterization of Lyndon words based on prefixes, rather than suffixes?
  • RQ3Is there a structural equivalence between the left Lyndon tree and the left Cartesian tree of a Lyndon word?
  • RQ4How does the infinite order relate to the classical Lyndon factorization theorem and the non-increasing property of the factorization?
  • RQ5Can the framework be extended to generalized orders, such as the alternating order, to define new classes like Galois words?

Key findings

  • A word $w$ is a Lyndon word if and only if $w^\omega < v^\omega$ for every proper suffix $v$ of $w$, providing a new suffix-based characterization via infinite order.
  • The classical Lyndon factorization of any word into non-increasing Lyndon words is also non-increasing under the infinite order.
  • The prefix standard permutation of a Lyndon word is defined as the inverse of its prefix array, which orders prefixes by their infinite order.
  • The left Cartesian tree constructed from the prefix standard permutation of a Lyndon word is isomorphic to its left Lyndon tree, establishing a duality with the Hohlweg–Reutenauer result.
  • The labeling function $g_{\mathfrak{t}}(x)$ for internal nodes in the tree is strictly decreasing under the infinite order, and its length corresponds to the number of leaves to the left of $x$.
  • The projection of the left Cartesian tree's node labels yields exactly the sequence of nonempty prefixes of the word, in increasing order of length.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.