Ternary scale theorems/Twisted case: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
Inthar (talk | contribs)
Line 55: Line 55:
# one from '''X'''<sup>''m'' - 1</sup>'''ZX'''
# one from '''X'''<sup>''m'' - 1</sup>'''ZX'''
# one from '''XYX'''<sup>''m'' - 2</sup>'''Y'''
# one from '''XYX'''<sup>''m'' - 2</sup>'''Y'''
Since ''F'' must contain '''ZY''', ''s'' contains the subword '''ZX'''<sup>''m'' - 1</sup>'''Y''', implying the presence of '''XYX'''<sup>''m'' - 1</sup>, which gives a fourth (''m'' + 1)-step vector, contradiction.
Since ''F'' must contain '''ZY''', ''s'' contains the subword '''ZX'''<sup>''m'' - 1</sup>'''Y''', implying the presence of '''XYX'''<sup>''m'' - 1</sup>, which gives a fourth (''m'' + 1)-step vector. Contradiction to MV3.


==== Case 2 ====
==== Case 2 ====
Again, the substring '''YX'''<sup>''m'' - 1</sup>'''Y''' must extend to '''XYX'''<sup>''m'' - 1</sup>'''Y''', giving two (''m'' + 1)-step vectors, one with one '''Y''' and one with two.
Since ''F'' must contain '''ZY''', ''s'' contains the subword '''ZX'''<sup>''m'' - 2</sup>'''Y''' or '''ZX'''<sup>''m'' - 1</sup>'''Y''', extending to '''XZX'''<sup>''m'' - 2</sup>'''YX''' or '''XZX'''<sup>''m'' - 1</sup>'''YX'''.
Subcase '''XZX'''<sup>''m'' - 1</sup>'''Y''': Extend to '''XZX'''<sup>''m'' - 1</sup>'''YX''', 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 '''XZX'''<sup>''m'' - 2</sup>'''Y''':
* If the subword extends to '''X'''('''Y'''|'''Z''')'''X'''<sup>''m'' - 1</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''':
** The case '''XZX'''<sup>''m'' - 1</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''' gives two more (''m'' + 1)-step vectors, one with one '''Z''' and one with two. Contradiction to MV3.
** The case '''XYX'''<sup>''m'' - 1</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''' has a substring that is symmetrical to a previous contradictory subcase ('''XZX'''<sup>''m'' - 1</sup>'''Y''').
* If the subword extends to '''X'''('''Y'''|'''Z''')'''X'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''':
** The case '''XZX'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''' yields four different ''m''-step vectors, contradiction to MV3.
** The case '''XYX'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX''' can only extend to (Show that both these cases are actually balanced scales?)
*** '''XYX'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX'''<sup>''m'' - 2</sup>'''Z'''
*** '''XYX'''<sup>''m'' - 2</sup>'''ZX'''<sup>''m'' - 2</sup>'''YX'''<sup>''m'' - 1</sup>'''Y'''
=== ''m'' = 2 ===
=== ''m'' = 2 ===

Revision as of 07:39, 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

  1. the filling word F = F(Y, Z) is alternating (has period 2)
  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:

  1. v = Yv'Z (Zv'Y is symmetric)
  2. 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.

m > 2

We have two cases:

  1. s contains YXm - 2Y
  2. 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:

  1. one from (Y|Z)Xm - 1Z
  2. one from Xm - 1ZX
  3. 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 can only extend to (Show that both these cases are actually balanced scales?)
      • XYXm - 2ZXm - 2YXm - 2Z
      • XYXm - 2ZXm - 2YXm - 1Y

m = 2