Ternary scale theorems: Difference between revisions
Tags: Mobile edit Mobile web edit |
|||
| (84 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. | |||
* Indices for all words are 0-indexed. | * Indices for all words are 0-indexed. | ||
** If ''s'' is a circular word and {{nowrap|''i'' < 0}} or {{nowrap|''i'' ≥ len(''s'')}}, we first replace ''i'' with {{nowrap|''i'' % len(''s'')}} before using it as an argument in ''s''[-]. | ** If ''s'' is a circular word and {{nowrap|''i'' < 0}} or {{nowrap|''i'' ≥ len(''s'')}}, we first replace ''i'' with {{nowrap|''i'' % len(''s'')}} before using it as an argument in ''s''[-]. | ||
* 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 | * 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 ''s'' | * 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 ≤ i ≤ {{!}}''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 271: | Line 272: | ||
(b) The following proof is taken from "Balanced Sequences and Optimal Routing", by Altman, Gaujal, and Hordijk (2000). | (b) The following proof is taken from "Balanced Sequences and Optimal Routing", by Altman, Gaujal, and Hordijk (2000). | ||
TODO: Rewrite using my extension rule notation | |||
Let ''W'' be the (balanced) right-infinite word made by concatenating infinitely many copies of ''s''. We use the following steps, using the balance property: | Let ''W'' be the (balanced) right-infinite word made by concatenating infinitely many copies of ''s''. We use the following steps, using the balance property: | ||
| Line 309: | Line 312: | ||
==== Proof ==== | ==== Proof ==== | ||
Following Bulgakova, Buzhinsky and Goncharov (2023), "[https://arxiv.org/pdf/2012.15818 On balanced and abelian properties of circular words over a ternary alphabet]", the proof proceeds by case analysis on ℓ, the minimal interval class of ''s'' that is a counterexample to the [[balance]] property. ℓ = 2 implies that ''s'' is sporadic non-balanced, and ℓ > 2 implies that ''s'' is twisted. | |||
Note: The xen term "brightest MOS word" is equivalent to "Christoffel word" in the paper, and similarly "brightest multiMOS word" is equivalent to "powers of a Christoffel word". Also see [[Glossary for combinatorics on words]] for more equivalents between xen community terms and standard academic terminology. | Note: The xen term "brightest MOS word" is equivalent to "Christoffel word" in the paper, and similarly "brightest multiMOS word" is equivalent to "powers of a Christoffel word". Also see [[Glossary for combinatorics on words]] for more equivalents between xen community terms and standard academic terminology. | ||
===== ℓ = 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'''. By MV3, this list is complete; ''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'''. | |||
{{nowrap|2'''X''', '''X''' + '''a''', and '''a''' + '''b''' (*)}} | {{nowrap|2'''X''', '''X''' + '''a''', and '''a''' + '''b''' (*)}} | ||
| Line 324: | Line 325: | ||
{{nowrap|2'''X''', '''X''' + '''Y''', and '''Y''' + '''Z'''. (*)}} | {{nowrap|2'''X''', '''X''' + '''Y''', and '''Y''' + '''Z'''. (*)}} | ||
By repeatedly applying known step vectors and MV3, we will arrive at a number of | By repeatedly applying known step vectors and MV3, we will arrive at a number of rules about how subwords of ''s'' must extend, which we will write in the form | ||
{{nowrap|"(''j'' ≥ 0 ?'s)(subword)(''k'' ≥ 0 ?'s) ⇒ (''j'' letters)(subword)(''k'' letters)".}} | |||
We also write '''X̄''', '''Ȳ''', and '''Z̄''' in extension rules for "some non-'''X'''/'''Y'''/'''Z''' letter", for example '''Z'''? ⇒ '''ZZ̄''' for "'''Z''' must be followed by a non-'''Z''' letter". | |||
What we wish to prove is '''XYZYX'''????? ⇒ '''XYZYXXYZYX'''. | What we wish to prove is that ''s'' contains '''XYZYX''' and the subword extension rule '''XYZYX'''????? ⇒ '''XYZYXXYZYX''' holds, which suffices for ''s'' = the sporadic non-balanced circular word '''XYZYX'''. | ||
* (0) ''s'' contains '''XX'''. | |||
* (1) ?'''Z'''? ⇒ '''YZY''', because the only 2-step vector with '''Z''' is '''Y''' + '''Z'''. | |||
* (2) ?'''Y'''? ⇒ '''ȲYȲ''', because ''s'' does not have the 2-step vector 2'''Y'''. | |||
* (3) ?'''X'''? ⇒ '''Z̄XZ̄''', since ''s'' does not have the vector '''X''' + '''Z'''. | |||
* (4) ?'''XX'''? ⇒ '''X̄XXX̄''', since ''s'' does not have the vector 3'''X'''; because the vector 2'''Y''' + '''Z''' exists, the existence of 3'''X''' contradicts MV3 by the discrete intermediate value theorem. | |||
* (5) ?'''XX'''? ⇒ '''YXXY''', by (3) and (4). In particular ''s'' contains '''XXY'''. | |||
* (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 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'''. | ||
* (7) '''XYZYX'''? ⇒ '''XYZYXX''', for otherwise we have '''XYZYXY'''. But ''s'' does not have the 3-step vector '''X''' + 2'''Y'''. | |||
* (8) '''XYZYXX'''? ⇒ '''XYZYXXY''' by (5). | |||
* (9) '''XYZYXXY'''? ⇒ '''XYZYXXYZ'''. '''XYZYXXYY''' is impossible by (2), and '''XYZYXXYX''' is eliminated by counting 4 different 4-step vectors: '''X''' + 2'''Y''' + '''Z''', 2'''X''' + '''Y''' + '''Z''', 2'''X''' + 2'''Y''', and 3'''X''' + 1'''Y'''. | |||
* (10) '''XYZYXXYZ'''? ⇒ '''XYZYXXYZY''' by (1). | |||
* (11) '''XYZYXXYZY'''? ⇒ '''XYZYXXYZYX''' by (6). Thus we have the desired extension rule '''XYZYX'''????? ⇒ '''XYZYXXYZYX'''. | |||
===== ℓ > 2 ===== | ===== ℓ > 2 ===== | ||
:''On account of its deeply branching case analysis, this case has been placed in a separate page, [[Ternary scale theorems/Twisted case]].'' | |||
{{qed}} | |||
== Theorem 6 (Even-regular scales as (contra)interleavings) == | == Theorem 6 (Even-regular scales as (contra)interleavings) == | ||
| Line 350: | Line 370: | ||
Write ''s''<sub>1</sub> for the scale word made from stacked 2-steps from the 0-degree, and let ''s''<sub>2</sub> be as follows: | Write ''s''<sub>1</sub> for the scale word made from stacked 2-steps from the 0-degree, and let ''s''<sub>2</sub> be as follows: | ||
* In the singly even case, let ''s''<sub>2</sub> be the circular word of 2-steps starting at the (''n''/2)-degree. We know that they differ only by interchanging '''y''' and '''z''', hence that they have the same period. Hence both ''s''<sub>1</sub> and ''s''<sub>2</sub> are primitive. | * In the singly even case, let ''s''<sub>2</sub> be the circular word of 2-steps starting at the (''n''/2)-degree. We know that they differ only by interchanging '''y''' and '''z''', hence that they have the same period. Hence both ''s''<sub>1</sub> and ''s''<sub>2</sub> are primitive. | ||
* In the doubly even case, start from the mode of ''s'' whose template MOS is the brightest mode. Let ''s''<sub>2</sub> be offset at a generator of the even-regular scale, which we choose to have the same interval class as a bright generator of the MOS ''a'''''x''' 2''k'''''X'''. This is what induces the equality of ''s''<sub>1</sub> and ''s''<sub>2</sub> (in particular, the two scales have the same period, thus they are both primitive): Let ''s''<sub>''t''</sub> be the period of the brightest mode of the template MOS, and let ''g'' be its bright generator class. Then the slice {{nowrap|''s''<sub>''t''</sub>[-''g'' +1 : 1]}} is the imperfect generator of the MOS. Now when we "darken" the mode by one generator, which is the difference between the template MOSes of ''s''<sub>1</sub> and ''s''<sub>2</sub>, we turn that slice into the bright generator, hence swapping ''s''<sub>''t''</sub>[-''g''] and ''s''<sub>''t''</sub>[-''g'' + 1]. Note that ''g'' must be odd since it generates a | * In the doubly even case, start from the mode of ''s'' whose template MOS is the brightest mode. Let ''s''<sub>2</sub> be offset at a generator of the even-regular scale, which we choose to have the same interval class as a bright generator of the MOS ''a'''''x''' 2''k'''''X'''. This is what induces the equality of ''s''<sub>1</sub> and ''s''<sub>2</sub> (in particular, the two scales have the same period, thus they are both primitive): Let ''s''<sub>''t''</sub> be the period of the brightest mode of the template MOS, and let ''g'' be its bright generator class. Then the slice {{nowrap|''s''<sub>''t''</sub>[-''g'' +1 : 1]}} is the imperfect generator of the MOS. Now when we "darken" the mode by one generator, which is the difference between the template MOSes of ''s''<sub>1</sub> and ''s''<sub>2</sub>, we turn that slice into the bright generator, hence swapping ''s''<sub>''t''</sub>[-''g''] and ''s''<sub>''t''</sub>[-''g'' + 1]. Note that ''g'' must be odd since it generates a MOS with an even number of steps per period. So (under 0-indexing) the first letter's index is even and the second letter's index is odd, which is what we want since the letters are within a stacked 2-step. While the generator might have to be higher by an (''n''/2)-step, that doesn't affect the parity since ''n''/2 is even. | ||
We prove that ''s''<sub>1</sub> and ''s''<sub>2</sub> are MOS substitution scales with a filling MOS of period 2. The number of occurrences of the 2-step (1) must be the same in both ''s''<sub>1</sub> and ''s''<sub>2</sub>. The word of stacked 2-steps of the template MOS (which is of the form {{nowrap|''w''('''x''', '''X''', '''X''')''w''('''x''', '''X''', '''X''')}}), which is itself a MOS word, consists of letters (1) '''x''' + '''X''' and (2) 2'''X''' if more '''X''''s than '''x''''s, 2'''x''' if more '''x''''s than '''X''''s. The word of stacked 2-steps from our chosen offset is also this same MOS word. Thus it remains to handle the cases (1) and (2) above. Whenever the letter '''x''' + '''X''' is encountered, the number of the last letters that are equated to '''X''' that are consumed is 1, which is odd. Whenever the other letter is encountered, that number is even (0 or 2). Hence (since ''n'' > 4) the letter 2'''X''' resp. 2'''x''' serves as the non-slot letter, and the letters ('''x''' + '''X''') serve as the slot letters where a 2-period filling MOS word (a repetition of {{nowrap|('''x'''+'''y''')('''x'''+'''z''')}}) is substituted. | We prove that ''s''<sub>1</sub> and ''s''<sub>2</sub> are MOS substitution scales with a filling MOS of period 2. The number of occurrences of the 2-step (1) must be the same in both ''s''<sub>1</sub> and ''s''<sub>2</sub>. The word of stacked 2-steps of the template MOS (which is of the form {{nowrap|''w''('''x''', '''X''', '''X''')''w''('''x''', '''X''', '''X''')}}), which is itself a MOS word, consists of letters (1) '''x''' + '''X''' and (2) 2'''X''' if more '''X''''s than '''x''''s, 2'''x''' if more '''x''''s than '''X''''s. The word of stacked 2-steps from our chosen offset is also this same MOS word. Thus it remains to handle the cases (1) and (2) above. Whenever the letter '''x''' + '''X''' is encountered, the number of the last letters that are equated to '''X''' that are consumed is 1, which is odd. Whenever the other letter is encountered, that number is even (0 or 2). Hence (since ''n'' > 4) the letter 2'''X''' resp. 2'''x''' serves as the non-slot letter, and the letters ('''x''' + '''X''') serve as the slot letters where a 2-period filling MOS word (a repetition of {{nowrap|('''x'''+'''y''')('''x'''+'''z''')}}) is substituted. | ||