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


17

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

甲语言大号L是素数,如果对于每一种语言甲A和乙B与大号= 甲⋅ 乙L=A⋅B我们有甲= { ε }A={ϵ}或乙= { ε }B={ϵ}。

Q是素数吗?

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

Answers:


13

答案是肯定的。假设我们有一个分解Q = 一⋅ 乙Q=A⋅B。

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

接下来,我们得到的是一个米b Ñ ∈ 甲ambn∈A(并且,类似地完全,b 米一个Ñ ∈ 甲bman∈A)的所有米,Ñ > 0m,n>0通过感应上米m:

对于米= 1m=1,由于一个b Ñ ∈ Qabn∈Q,就必须有一个b Ñ = Ü vabn=uv与ü ∈ 甲,v ∈ 乙u∈A,v∈B。由于ü ≠ εu≠ϵ,vv必须是b ķbk一些ķ ≤ Ñk≤n。但是,如果ķ > 0k>0,则由于b ∈ 一个b∈A我们得到b 1 + ķ ∈ Qb1+k∈Q,矛盾。所以v = εv=ϵ,和一个b Ñ ∈ 甲abn∈A。

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

现在考虑的与原始词语的一般情况下- [Rr之间交替一个a和bb,即瓦特w是任一米1 b Ñ 1 ... 一米小号 b Ñ 小号am1bn1…amsbns,b 米1一个Ñ 1 ... b 米š一个Ñ 小号bm1an1…bmsans(对于ř = 2 s − 1r=2s−1),a m 1 b n 1 … a m s+1am1bn1…ams+1, or bm1an1…bms+1bm1an1…bms+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 u∈A,v∈Bu∈A,v∈B, 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=u∈Aw=u∈A.

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=u∈Aw=u∈A.


The case of Q′:=Q∪{ϵ}Q′:=Q∪{ϵ} is rather more complicated. The obvious things to note are that in any decomposition Q=A⋅BQ=A⋅B, both AA and BB must be subsets of Q′Q′ with A∩B={ϵ}A∩B={ϵ}. Also, a,ba,b must be contained in A∪BA∪B.

With a bit of extra work, one can show that aa and bb must be in the same subset. Otherwise, assume wlog that a∈Aa∈A and b∈Bb∈B. Let us say that w∈Q′w∈Q′ has a proper factorization if w=uvw=uv with u∈A∖{ϵ}u∈A∖{ϵ} and v∈B∖{ϵ}v∈B∖{ϵ}. We have two (symmetric) subcases depending on where baba goes (it must be in AA or BB since it has no proper factorization).

  • If ba∈A, then aba has no proper factorization since ba,a∉B. Since aba∈A would imply abab∈A⋅B, we get aba∈B. As a consequence, bab is neither in A (which would imply bababa∈A⋅B) nor in B (which would imply abab∈A⋅B). Now consider the word babab. It has no proper factorization since bab∉A∪B and abab,baba are not primitive. If babab∈A, then since aba∈B we get (ba)4∈A⋅B; if babab∈B, then since a∈A we get (ab)3∈A⋅B. So there is no way to have babab∈A⋅B, contradiction.
  • The case ba∈B 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.