Ternary scale theorems: Difference between revisions

Inthar (talk | contribs)
Tags: Mobile edit Mobile web edit
Inthar (talk | contribs)
 
(54 intermediate revisions by the same user not shown)
Line 3: Line 3:
A ''[[arity|ternary]] scale'' is a scale with three (positive) step sizes, with no other constraints such as maximum variety. This page documents known properties of subtypes of ternary scales and their proofs.
A ''[[arity|ternary]] scale'' is a scale with three (positive) step sizes, with no other constraints such as maximum variety. This page documents known properties of subtypes of ternary scales and their proofs.
== Conventions ==
== Conventions ==
* Bolded Latin variables refer to step vectors (linear combinations of step sizes).
* Bolded Latin variables refer to step vectors (linear combinations of step sizes). For a linear or circular word ''w'', ab(''w'') refers to its abelianization, which is a step vector.
* For integers ''i'' and ''j'', ''i'' < ''j'', {{nowrap|[''i'' : ''j'']}} denotes the set {{nowrap|{''i'', ''i'' + 1, ..., ''i'' + ''j'' - 1}.}} [-ω, ''i''] (resp. [''j'', ω]) denote left- (resp. right-) infinite integer ranges.
* For integers ''i'' and ''j'', ''i'' < ''j'', {{nowrap|[''i'' : ''j'']}} denotes the set {{nowrap|{''i'', ''i'' + 1, ..., ''i'' + ''j'' - 1}.}} [-ω, ''i''] (resp. [''j'', ω]) denote left- (resp. right-) infinite integer ranges.
* Indices for all words are 0-indexed.
* Indices for all words are 0-indexed.
Line 9: Line 9:
* The notation ''s''('''X'''<sub>1</sub>, ..., '''X'''<sub>''r''</sub>) is used for an ''r''-ary scale word with variables '''X'''<sub>1</sub>, ..., '''X'''<sub>''r''</sub> possibly standing in for any sizes. If {{nowrap|''s''('''X''', '''Y''') {{=}} '''XXY'''}} then {{nowrap|''s''('''A''', '''B''') {{=}} '''AAB'''}}.
* The notation ''s''('''X'''<sub>1</sub>, ..., '''X'''<sub>''r''</sub>) is used for an ''r''-ary scale word with variables '''X'''<sub>1</sub>, ..., '''X'''<sub>''r''</sub> possibly standing in for any sizes. If {{nowrap|''s''('''X''', '''Y''') {{=}} '''XXY'''}} then {{nowrap|''s''('''A''', '''B''') {{=}} '''AAB'''}}.
* We leave the distinction between linear words (words in the ordinary sense) and circular words up to context. We usually also elide the distinction between subwords and the interval sizes that subtend them.
* We leave the distinction between linear words (words in the ordinary sense) and circular words up to context. We usually also elide the distinction between subwords and the interval sizes that subtend them.
* For a word ''w'' and letter '''x''', {{abs|''w''}}<sub>'''x'''</sub> denotes the number of occurrences of the letter '''x''' in ''w''. For a step vector size '''v''', {{abs|'''v'''}}<sub>'''x'''</sub> is similar.
* For a word ''w'' and letter '''x''', {{abs|''w''}}<sub>'''x'''</sub> denotes the number of occurrences of the letter '''x''' in ''w''. For a step vector '''v''', {{abs|'''v'''}}<sub>'''x'''</sub> is similar.


== Definitions ==
== Definitions ==
* A ''circular word'' is an equivalence class of functions <math>s : \mathbb{Z}/n \to \mathcal{A}</math> up to rotation, where <math>\mathcal{A}</math> is a finite set called an ''alphabet'' whose elements are called ''letters''. A circular word represents the steps of a [[periodic scale]] of size ''n''.
* A ''circular word'' is an equivalence class of functions <math>s : \mathbb{Z}/n \to \mathcal{A}</math> up to rotation, where <math>\mathcal{A}</math> is a finite set called an ''alphabet'' whose elements are called ''letters''. A circular word represents the steps of a [[periodic scale]] of size ''n''.
* A ''weak period'' of a linear word ''w'' is an integer ''p'' > 0 such that {{nowrap|''w''[''i'' + ''p''] {{=}} ''w''[''i'']}} for all {{nowrap|''i'', 0 &le; i &le; {{!}}''w''{{!}} - ''p'' - 1}}. In this case we may also use the constructivized definition {{nowrap|''w''[0 : ''p''].}}
* A weak period ''p'' of ''w'' is the ''period'' of ''w'' if ''p'' divides {{nowrap|{{!}}''w''{{!}}}} and is minimal among the weak periods that divide {{nowrap|{{!}}''w''{{!}}}}. The period of a circular word ''w'' is the period of one of its representatives.
* A ''scale'' or ''scale word'' is a circular word with a chosen size for its equave. As we're not working with scales with distinct equaves simultaneously, all three terms are effectively synonymous for our purposes.
* A ''scale'' or ''scale word'' is a circular word with a chosen size for its equave. As we're not working with scales with distinct equaves simultaneously, all three terms are effectively synonymous for our purposes.
* A scale is ''primitive'' if its period is the same as its equave. A ''multiMOS'' or ''multiperiod MOS'' is a non-primitive MOS. A MOS ''a'''''L''' ''b'''''s''' is primitive iff {{nowrap|gcd(''a'', ''b'') {{=}} 1}}. This corresponds to the term ''single-period'' in common xen parlance. Any multiMOS can be constructed from a primitive MOS by repeating the MOS pattern multiple times, e.g. if 3'''L''' 2'''s''' is '''LLsLs''', then 9'''L''' 6'''s''' is '''LLsLsLLsLsLLsLs'''.
* A scale is ''primitive'' if its period is the same as its equave. A ''multiMOS'' or ''multiperiod MOS'' is a non-primitive MOS. A MOS ''a'''''L''' ''b'''''s''' is primitive iff {{nowrap|gcd(''a'', ''b'') {{=}} 1}}. This corresponds to the term ''single-period'' in common xen parlance. Any multiMOS can be constructed from a primitive MOS by repeating the MOS pattern multiple times, e.g. if 3'''L''' 2'''s''' is '''LLsLs''', then 9'''L''' 6'''s''' is '''LLsLsLLsLsLLsLs'''.
Line 315: Line 317:


===== ℓ = 2 =====
===== ℓ = 2 =====
From the failure of balance for 2-step vectors, we have some letter (say '''X''') that occurs 2 times in one 2-step subword and 0 times in another one. By the discrete intermediate value theorem, a third 2-step subword must contain exactly one '''X'''. In summary, ''s'' has the 2-step vectors
From the failure of balance for 2-step vectors, we have some letter (say '''X''') that occurs 2 times in one 2-step subword and 0 times in another one. By the discrete intermediate value theorem, a third 2-step subword must contain exactly one '''X'''. By MV3, this list is complete; ''s'' has the 2-step vectors


{{nowrap|2'''X''', '''X''' + '''a''', and '''a''' + '''b''' (*)}}
{{nowrap|2'''X''', '''X''' + '''a''', and '''a''' + '''b''' (*)}}
Line 338: Line 340:
* (5) ?'''XX'''? ⇒ '''YXXY''', by (3) and (4). In particular ''s'' contains '''XXY'''.
* (5) ?'''XX'''? ⇒ '''YXXY''', by (3) and (4). In particular ''s'' contains '''XXY'''.
* (6) ?'''YZY'''? ⇒ '''XYZYX'''.
* (6) ?'''YZY'''? ⇒ '''XYZYX'''.
** Suppose ?'''YZY''' ⇒ '''XYZY''' does not hold. Then ''s'' contains '''ZYZY''' (because '''YYZY''' is impossible by (2)). Thus we have some subword of the form '''XXY'''''v'''''ZYZY''' where ''v'' consists of zero or more subwords of the form '''XY''' or '''XXY'''; here the '''ZYZY''' is assumed to be the first occurrence after '''XXY'''. ''v'' cannot be empty and cannot end in '''XXY''', for otherwise we have four different 3-step vectors 2'''X''' + '''Y''', '''X''' + '''Y''' + '''Z''', 2'''Y''' + '''Z''', and '''Y''' + 2'''Z''', contradicting MV3. Thus ''v'' ends in '''XY''', and we have the subword '''YXYZYZY'''. Again, counting 3-step vectors shows a contradiction to MV3. Thus ''s'' cannot contain '''ZYZY''', and we must have '''XYZY'''; by symmetry '''YZY'''? ⇒ '''YZYX'''.
** Suppose ?'''YZY''' ⇒ '''XYZY''' does not hold. Then ''s'' contains '''ZYZY''' (because '''YYZY''' is impossible by (2)). Thus we have some subword of the form '''XXY'''''v'''''ZYZY''' where ''v'' consists of zero or more subwords of the form '''XY''' or '''XXY'''; here the '''ZYZY''' is assumed to be the first occurrence after '''XXY'''. ''v'' cannot be empty and cannot end in '''XXY''', for otherwise we have four different 3-step vectors 2'''X''' + '''Y''', '''X''' + '''Y''' + '''Z''', 2'''Y''' + '''Z''', and '''Y''' + 2'''Z''', contradicting MV3. Thus we have the subword '''YXYZYZY'''. Again, counting 3-step vectors shows a contradiction to MV3. Thus ''s'' cannot contain '''ZYZY''', and we must have '''XYZY'''; by symmetry '''YZY'''? ⇒ '''YZYX'''.


Thus ''s'' contains '''XYZYX''', and ''s'' has exactly the 3-step vectors '''X''' + '''Y''' + '''Z''', 2'''Y''' + '''Z''', and 2'''X''' + '''Y'''.
Thus ''s'' contains '''XYZYX''', and ''s'' has exactly the 3-step vectors '''X''' + '''Y''' + '''Z''', 2'''Y''' + '''Z''', and 2'''X''' + '''Y'''.
Line 349: Line 351:


===== ℓ > 2 =====
===== ℓ > 2 =====
We prove that ''s'' is obtained from [[letterwise substitution]], where the template word is a twisted MOS scale which comes from a MOS whose period is ℓ, and the filling word is alternating.
We know that ℓ &le; |''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 '''W'''s ('''W''' is our slot letter). Equivalently, the template word is conjugate to a word of the form {{nowrap|'''a'''<sub>1</sub>''P'''''a'''<sub>2</sub>'''a'''<sub>3</sub>''P'''''a'''<sub>4</sub>'''a'''<sub>5</sub>''P'''''a'''<sub>6</sub>...'''a'''<sub>''k''-1</sub>''P'''''a'''<sub>''k''</sub>}} where
#* ''P'' is a palindrome with coprime weak periods ''p'' and ''q'' such that {{nowrap|''p'' + ''q'' - 2 {{=}} {{!}}''P''{{!}} {{=}} ℓ - 2}}
#* '''a'''<sub>1</sub> = '''X''' and '''a'''<sub>''k''</sub> = '''W'''
#* for every '''a'''<sub>''i''</sub>'''a'''<sub>''i''+1</sub> subword, ab('''a'''<sub>''i''</sub>'''a'''<sub>''i''+1</sub>) = '''X''' + '''W'''
#* |''P''|<sub>'''W'''</sub> 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>||u|_{\mathbf{X}} - |v|_{\mathbf{X}}| \ge 2.</math>
Without loss of generality assume
<math>|u|_{\mathbf{X}} - |v|_{\mathbf{X}} \ge 2.</math>
Write ''u'' = '''a'''''u''''''c''' and ''v'' = '''b'''''v''''''d'''. Since no pair of shorter subwords violates balance, we have
<math>|\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>s = \mathsf{subst}(T, \mathbf{W}, F)</math>
for some filling word ''F'' = ''F''('''Y''', '''Z''').
To prove that ''F'' is alternating...
<!--
By (*), balance applied to (ℓ - 1)-long subwords implies that any '''X'''-chunk in ''s'' is at most (ℓ - 1)-long.
We have two cases:
# '''XX''' is a subword of ''s''
# '''XX''' is not a subword of ''s''
In case 1, since ℓ > 2, balance holds for 2-long subwords of ''s'', so '''YZ''', '''ZY''', '''YY''', and '''ZZ''' are not subwords; the only other subwords can be '''XY''', '''YX''', '''XZ''', and '''ZX'''.
-->
(to be continued)
(to be continued)