Ternary scale theorems/Twisted case: Difference between revisions
Tags: Mobile edit Mobile web edit |
|||
| (18 intermediate revisions by the same user not shown) | |||
| Line 44: | Line 44: | ||
== ''F'' is alternating == | == ''F'' is alternating == | ||
Suppose by way of contradiction that '''YY''' is a substring of ''F'' (the '''ZZ''' case is similar). We proceed by case analysis on ''m''. Note that since ''m''-long subwords are balanced, chunks of '''X''' in ''T'' come in at most two sizes: ''m'' - 2 and ''m'' - 1. | Suppose by way of contradiction that '''YY''' is a substring of ''F'' (the '''ZZ''' case is similar). We proceed by case analysis on ''m''. Note that since ''m''-long subwords are balanced, chunks of '''X''' in ''T'' come in at most two sizes: ''m'' - 2 and ''m'' - 1. | ||
=== ''m'' > 2 === | === Case ''m'' > 2 === | ||
We have two cases: | We have two cases: | ||
# ''s'' contains '''YX'''<sup>''m'' - 2</sup>'''Y''' | # ''s'' contains '''YX'''<sup>''m'' - 2</sup>'''Y''' | ||
| Line 74: | Line 74: | ||
===== A very tricky subcase ===== | ===== A very tricky subcase ===== | ||
We know: no '''YX'''<sup>''m'' - 2</sup>'''Y''', no '''ZX'''<sup>''m'' - 1</sup>'''Y''', no '''YX'''<sup>''m'' - 1</sup>'''Z'''. Also no '''ZX'''<sup>''m'' - 2</sup>'''Z''' or '''ZX'''<sup>''m'' - 1</sup>'''Z''' because of MV3. | We know: no '''YX'''<sup>''m'' - 2</sup>'''Y''', no '''ZX'''<sup>''m'' - 1</sup>'''Y''', no '''YX'''<sup>''m'' - 1</sup>'''Z'''. Also no '''ZX'''<sup>''m'' - 2</sup>'''Z''' or '''ZX'''<sup>''m'' - 1</sup>'''Z''' because of MV3. This restricts the allowed transitions to: '''YX'''<sup>''m'' - 1</sup>'''Y''', '''YX'''<sup>''m'' - 2</sup>'''Z''', '''ZX'''<sup>''m'' - 2</sup>'''Y'''. | ||
For ''m'' = 3: | |||
If ''F'' has only one occurrence of '''YY''', ''F'' = ('''YZ''')<sup>''t''</sup>'''Y''', ''t'' ≥ 1, and we have ''s'' = ('''XYXZ''')<sup>''t''</sup>'''XYX'''. This is the Fraenkel word '''XYXZXYX''' (contradictory because it's balanced), or otherwise contradictory because '''XYXZX''', '''YXZXY''', '''ZXYXZ''', and '''XYXXY''' give four different 5-step vectors. So ''F'' has more than one occurrence of '''YY''' (not necessarily disjoint). A chunk of '''Y''' 3 or more letters long implies we have '''XYXXYXXY...YXXYXZXYXX''', giving '''XXYXX''', '''XYXXY''', '''XYXZX''', and '''YXZXY''', contradicting MV3. So ''F'' must be an element of the monoid generated by '''YZ''' and '''YYZ''', with at least one factor of '''YZ''' and one factor of '''YYZ'''. | |||
* ''F'' contains '''YZYYZ''' ⇒ '''XZXYXZXYXXYXZXY''' ⇒ 4 different 5-step vectors: '''XZXYX''', '''ZXYXZ''', '''XYXXY''', '''YXZXY'''. | |||
* ''F'' contains '''YYZYZ''' ⇒ '''XZXYXXYXZXYXZXY''' ⇒ ibid. | |||
=== ''m'' = 2 === | So ''m'' > 3. We count (''m'' + 1)-step subwords of '''YX'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX'''<sup>''m'' - 2</sup>, contradicting MV3: | ||
* '''YX'''<sup>''m'' - 1</sup>'''Y''' | |||
* '''YX'''<sup>''m'' - 2</sup>'''ZX''' | |||
* '''XXZX'''<sup>''m'' - 2</sup> | |||
* '''XXYX'''<sup>''m'' - 2</sup> | |||
=== Case ''m'' = 2 === | |||
Two cases: | |||
# ''s'' contains '''YY''' | |||
# ''s'' does not contain '''YY''' | |||
==== Case YY ==== | |||
Since 2-step vectors do not violate balance, ''s'' does not contain '''XX'''; the other possible 2-step vectors are '''X''' + '''Y''', '''X''' + '''Z''', '''Y''' + '''Z''' and 2'''Z'''. By ternarity, letter transition, and balance for 2-step subwords, the only possible subcase is that the 2-step vectors are 2'''Y''', '''X''' + '''Y''', and '''Y''' + '''Z'''. Moreover, '''X''' + 2'''Y''' and 2'''Y''' + '''Z''' force the 3rd 3-step vector to be '''X''' + '''Y''' + '''Z''' or 3'''Y'''. | |||
==== Case no YY ==== | |||
Latest revision as of 10:06, 28 November 2026
- Main article: Ternary scale theorems
We know that ℓ ≤ |s|/2, since s is circular and if ℓ' > |s|/2 is a counterexample to balance then so is |s|/2 - ℓ'.
We prove that s = s(X, Y, Z) is obtained from letterwise substitution where
- the filling word F = F(Y, Z) is alternating (has period 2)
- the template binary word is a twisted MOS scale which comes from a MOS whose period is an ℓ-long Christoffel word in X and W with evenly many Ws (W is our slot letter). Equivalently, the template word is conjugate to a word of the form a1Pa2a3Pa4a5Pa6...ak-1Pak where
- P is a palindrome with coprime weak periods p and q such that p + q - 2 = |P| = ℓ - 2
- a1 = X and ak = W
- for every aiai+1 subword, ab(aiai+1) = X + W
- |P|W is odd.
(See "Combinatorics on Words: Christoffel Words and Repetitions in Words", Berstel et al. for the proof of the characterization of Christoffel words in terms of such palindromes.)
We have ℓ-long subwords u and v and a letter, say X, that violates balance, such that
[math]\displaystyle{ ||u|_{\mathbf{X}} - |v|_{\mathbf{X}}| \ge 2. }[/math]
Without loss of generality assume
[math]\displaystyle{ |u|_{\mathbf{X}} - |v|_{\mathbf{X}} \ge 2. }[/math]
Write u = au'c and v = bv'd. Since no pair of shorter subwords violates balance, we have
[math]\displaystyle{ |\mathbf{a}u^\prime|_{\mathbf{X}} - |\mathbf{b}v^\prime|_{\mathbf{X}} \le 1, |u^\prime\mathbf{c}|_{\mathbf{X}} - |v^\prime\mathbf{d}|_{\mathbf{X}} \le 1. }[/math]
Hence a = c = X, and b, d are non-X letters. (*)
Let T denote s(X, W, W). Then using the notation in the page MOS substitution, we have
[math]\displaystyle{ s = \mathsf{subst}(T, \mathbf{W}, F) }[/math]
for some filling word F = F(Y, Z).
Let m be the minimal length of a subword u of T with |u|W = 2. Clearly m ≥ 2, and by the above m ≤ ℓ. We first claim that m < ℓ; in particular, m-long subwords do not violate balance.
m < ℓ
Assume by way of contradiction that m = ℓ. Consider our original ℓ-long subwords (of w) u = Xu'X and v = (Y|Z)v'(Y|Z). By the minimality of m have v' = Xℓ - 2, and since u has two more Xs than v we have u' = Xℓ - 2. By the discrete intermediate value theorem, we have two words w and w' each with one W (by going clockwise resp. counterclockwise from u = Xℓ). We have two cases:
- v = Yv'Z (Zv'Y is symmetric)
- v = Yv'Y (Zv'Z is symmetric)
In the first case w has one Y and no Z and w' has one Z and no Y, contradicting MV3; in the second case s must have a subword with Z somewhere else, also a contradiction to MV3.
F is alternating
Suppose by way of contradiction that YY is a substring of F (the ZZ case is similar). We proceed by case analysis on m. Note that since m-long subwords are balanced, chunks of X in T come in at most two sizes: m - 2 and m - 1.
Case m > 2
We have two cases:
- s contains YXm - 2Y
- s contains YXm - 1Y
Case 1
By minimality of m, T does not contain WW, so s contains XYXm - 2Y.
If s contains at least one of ZXm - 2(Y|Z) and (Y|Z)Xm - 2Z, then by the same argument s must contain a string whose abelianization is Z + (m - 1)X, which contradicts MV3. So any occurrence of Z must be flanked by Xm - 1 on both sides. So we have at least the following (m + 1)-step vectors:
- one from (Y|Z)Xm - 1Z
- one from Xm - 1ZX
- one from XYXm - 2Y
Since F must contain ZY, s contains the subword ZXm - 1Y, implying the presence of XYXm - 1, which gives a fourth (m + 1)-step vector. Contradiction to MV3.
Case 2
Again, the substring YXm - 1Y must extend to XYXm - 1Y, giving two (m + 1)-step vectors, one with one Y and one with two.
Since F must contain ZY, s contains the subword ZXm - 2Y or ZXm - 1Y, extending to XZXm - 2YX or XZXm - 1YX.
Subcase XZXm - 1Y: Extend to XZXm - 1YX, then we have two more (m + 1)-step vectors, one with only X and Z and one with all three letters. Contradiction to MV3.
Subcase XZXm - 2Y:
- If the subword extends to X(Y|Z)Xm - 1ZXm - 2YX:
- The case XZXm - 1ZXm - 2YX gives two more (m + 1)-step vectors, one with one Z and one with two. Contradiction to MV3.
- The case XYXm - 1ZXm - 2YX has a substring that is symmetrical to a previous contradictory subcase (XZXm - 1Y).
- If the subword extends to X(Y|Z)Xm - 2ZXm - 2YX:
- The case XZXm - 2ZXm - 2YX yields four different m-step vectors, contradiction to MV3.
- The case XYXm - 2ZXm - 2YX is treated below.
A very tricky subcase
We know: no YXm - 2Y, no ZXm - 1Y, no YXm - 1Z. Also no ZXm - 2Z or ZXm - 1Z because of MV3. This restricts the allowed transitions to: YXm - 1Y, YXm - 2Z, ZXm - 2Y.
For m = 3:
If F has only one occurrence of YY, F = (YZ)tY, t ≥ 1, and we have s = (XYXZ)tXYX. This is the Fraenkel word XYXZXYX (contradictory because it's balanced), or otherwise contradictory because XYXZX, YXZXY, ZXYXZ, and XYXXY give four different 5-step vectors. So F has more than one occurrence of YY (not necessarily disjoint). A chunk of Y 3 or more letters long implies we have XYXXYXXY...YXXYXZXYXX, giving XXYXX, XYXXY, XYXZX, and YXZXY, contradicting MV3. So F must be an element of the monoid generated by YZ and YYZ, with at least one factor of YZ and one factor of YYZ.
- F contains YZYYZ ⇒ XZXYXZXYXXYXZXY ⇒ 4 different 5-step vectors: XZXYX, ZXYXZ, XYXXY, YXZXY.
- F contains YYZYZ ⇒ XZXYXXYXZXYXZXY ⇒ ibid.
So m > 3. We count (m + 1)-step subwords of YXm - 2ZXm - 2YXm - 2, contradicting MV3:
- YXm - 1Y
- YXm - 2ZX
- XXZXm - 2
- XXYXm - 2
Case m = 2
Two cases:
- s contains YY
- s does not contain YY
Case YY
Since 2-step vectors do not violate balance, s does not contain XX; the other possible 2-step vectors are X + Y, X + Z, Y + Z and 2Z. By ternarity, letter transition, and balance for 2-step subwords, the only possible subcase is that the 2-step vectors are 2Y, X + Y, and Y + Z. Moreover, X + 2Y and 2Y + Z force the 3rd 3-step vector to be X + Y + Z or 3Y.