行走于单词之上
Walking on Words
AI总结:
研究在单词上行走并打印访问字母的生成过程,证明除退化情形外,每个单词恰好有两个原始生成器。
摘要:
取某个字母表上的任意单词。若该单词非空,则移动到任意位置并打印当前扫描到的字母。随后,重复以下操作任意次数(可能为零次):要么停留在当前字母处,要么向左移动一个字母(若可能),要么向右移动一个字母(若可能);然后打印当前扫描到的字母。实际上,我们是在输入单词上进行一次行走。设u为输入单词中由访问过的位置组成的子串,w为打印出的单词(若输入单词为空,则w也为空)。由于输入单词中任何未被访问的前缀或后缀都不能影响w,我们可以将其丢弃,并称u生成w。我们提出问题:给定单词w,哪些单词u能生成它?答案令人惊讶。若u生成w,且u不被任何比u短的单词所生成,则称u为w的原始生成器。我们证明,除某些退化情形外,每个单词恰好有两个原始生成器。
英文摘要:
Take any word over some alphabet. If it is non-empty, go to any position and print out the letter being scanned. Now repeat the following any number of times (possibly zero): either stay at the current letter, or move one letter leftwards (if possible) or move one letter rightwards (if possible); then print out the letter being scanned. In effect, we are going for a walk on the input word. Let u be the infix of the input word comprising the visited positions, and w the word printed out (empty if the input word is). Since any unvisited prefix or suffix of the input word cannot influence w, we may as well discard them, and say that u generates w. We ask: given a word w, what words u generate it? The answer is surprising. Call u a primitive generator of w if u generates w and is not generated by any word shorter than u. We show that, excepting some degenerate cases, every word has precisely two primitive generators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。