所有原始词集都是主要语言吗?


17

如果没有单词vk > 1从而w = v k,则单词ww称为原始。字母Σ上所有原始词的集合Q是一种众所周知的语言。在WLOG中,我们可以选择Σ = { a b }vk>1w=vkQΣΣ={a,b}

甲语言大号L素数,如果对于每一种语言AB大号= L=AB我们有= { ε }A={ϵ}= { ε }B={ϵ}

Q是素数吗?

随着SAT的帮助下解算器,我可以表明我们要么{ b } 一个{a,b}A{ b } {a,b}B另有{ b b b b b } Q{ababa,babab}Q不能被分解成AABB,但此后一直停留。

Answers:


13

答案是肯定的。假设我们有一个分解Q = Q=AB

一个简单的观察是,一个AB必须是不相交的(因为对于w ^ wAB我们得到w ^ 2Qw2Q)。特别地,仅一个A,B可以包含εϵ。我们可以假设wlog(因为另一种情况下是完全对称的),其ε ∈ ϵB。然后,因为一个abb不能被分解成非空的因素,我们必须有一个b a,bA

接下来,我们得到的是一个b ÑambnA(并且,类似地完全,b 一个ÑbmanA)的所有Ñ > 0m,n>0通过感应上m

对于= 1m=1,由于一个b ÑQabnQ,就必须有一个b Ñ = Ü vabn=uvü v uA,vB。由于ü εuϵvv必须是b ķbk一些ķ Ñkn。但是,如果ķ > 0k>0,则由于b 一个bA我们得到b 1 + ķQb1+kQ,矛盾。所以v = εv=ϵ,和一个b ÑabnA

用于感应步骤中,由于+ 1 b ÑQam+1bnQ我们有一个+ 1 b Ñ = Ü vam+1bn=uvü v uA,vB。由于再次ü εuϵ,我们要么v = 一个ķ b Ñv=akbn一段0 < ķ < + 10<k<m+1,或v = b ķv=bk一些ķ <nk<n。但是,在前者的情况下, vv已经是一个A归纳假设,因此 v 2Qv2Q,矛盾。在后者的情况下,就必须有 ķ = 0k=0(即, v = εv=ϵ),因为从 b bA我们得到 b 1 + ķQb1+kQ。所以 û = + 1 b Ñu=am+1bnA

现在考虑的与原始词语的一般情况下- [Rr之间交替一个abb,即瓦特w是任1 b Ñ 1 ... 小号 b Ñ 小号am1bn1amsbnsb 1一个Ñ 1 ... b š一个Ñ 小号bm1an1bmsans(对于ř = 2 s 1r=2s1),a m 1 b n 1a m s+1am1bn1ams+1, or bm1an1bms+1bm1an1bms+1 (for r=2sr=2s); we can show that they are all in AA using induction on rr. What we did so far covered the base cases r=0r=0 and r=1r=1.

For r>1r>1, we use another induction on m1m1, which works very much the same way as the one for r=1r=1 above:

If m1=1m1=1, then w=uvw=uv with uA,vBuA,vB, and since uϵuϵ, vv has fewer than rr alternations. So vv (or its root in case vv itself is not primitive) is in AA by the induction hypothesis on rr for a contradiction as above unless v=ϵv=ϵ. So w=uAw=uA.

If m1>1m1>1, in any factorization w=uvw=uv with uϵuϵ, vv either has fewer alternations (and its root is in AA unless v=ϵv=ϵ by the induction hypothesis on rr), or a shorter first block (and its root is in A unless v=ϵv=ϵ by the induction hypothesis on m1m1). In either case we get that we must have v=ϵv=ϵ, i.e. w=uAw=uA.


The case of Q:=Q{ϵ}Q:=Q{ϵ} is rather more complicated. The obvious things to note are that in any decomposition Q=ABQ=AB, both AA and BB must be subsets of QQ with AB={ϵ}AB={ϵ}. Also, a,ba,b must be contained in ABAB.

With a bit of extra work, one can show that aa and bb must be in the same subset. Otherwise, assume wlog that aAaA and bBbB. Let us say that wQwQ has a proper factorization if w=uvw=uv with uA{ϵ}uA{ϵ} and vB{ϵ}vB{ϵ}. We have two (symmetric) subcases depending on where baba goes (it must be in AA or BB since it has no proper factorization).

  • If baA, then aba has no proper factorization since ba,aB. Since abaA would imply ababAB, we get abaB. As a consequence, bab is neither in A (which would imply bababaAB) nor in B (which would imply ababAB). Now consider the word babab. It has no proper factorization since babAB and abab,baba are not primitive. If bababA, then since abaB we get (ba)4AB; if bababB, then since aA we get (ab)3AB. So there is no way to have bababAB, contradiction.
  • The case baB is completely symmetric. In a nutshell: bab has no proper factorization and cannot be in B, so it must be in A; therefore aba cannot be in A or B; therefore ababa has no proper factorization but also cannot be in either A or B, contradiction.

I am currently not sure how to proceed beyond this point; it would be interesting to see if the above argument can be systematically generalized.


Wow, you have my respect. I'll go through it later today or tomorrow as I don't have time right now, but I am seriously impressed :) It took me a few hours to get that {a, b} are in A but I didn't exploit that \epsilon is not a primitive word. How did you approach this problem (or was it "just do it"?)? How long did it take you to come up with that proof?
Henning

Thanks! I got the main idea (showing that any nonempty proper suffix of words must be in A) by thinking about what happens to some "simple" words. ϵ,a, and b were relatively straightforward, an or bn were out of the question, and considering ab,abb,abbb, got me on the right path.
Klaus Draeger

4
Your proof is beautiful and not as hard as I thought (I feel quite stupid now, I spent some time thinking about it). However it seems to heavily relay on epsilon not being element of Q. Is Q{ϵ} also prime?
Henning

1
Good question! I'll have to get back to you on that one.
Klaus Draeger

2
Thanks for the comments, and sorry for the delay. The case where we want to include the empty word seems to be more complicated, see update.
Klaus Draeger
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.