Lyndon Word
A word
is a Lyndon Word if any of the following
equivalent conditions are met:
- is lexicographically smaller than all of its non-identity
rotations.
- (IE:
is strictly smaller than any proper suffix)
Notes
It seems like all of these definitions are overly strict, and
could cause annoying problems. Note that Duval's algorithm needs us
to have a decidable strict order.