Ternary scale theorems: Difference between revisions

Inthar (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
Inthar (talk | contribs)
 
(108 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'' &lt; 0}} or {{nowrap|''i'' &ge; 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'' &lt; 0}} or {{nowrap|''i'' &ge; 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 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 ''s'' (representing the steps of a [[periodic scale]]) of size ''n'' is '''generator-offset''' if it satisfies the following properties. The following conditions do not imply that '''g'''<sub>1</sub> and '''g'''<sub>2</sub> are the same number of scale steps. For example, 5-limit [[blackdye]] has {{nowrap|'''g'''<sub>1</sub> {{=}} {{sfrac|9|5}}}} (a 9-step) and {{nowrap|'''g'''<sub>2</sub> {{=}} {{sfrac|5|3}}}} (a 7-step).
* 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''.
*# ''s'' is generated by two chains of stacked generators g separated by a fixed offset δ; either both chains are of size {{sfrac|''n''|2}}, or one chain has size {{sfrac|''n'' + 1|2}} and the second has size {{sfrac|''n'' − 1|2}}. Equivalently, ''s'' can be built by stacking a single chain of alternants '''g'''<sub>1</sub> and '''g'''<sub>2</sub>, resulting in a circle of the form either '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub> '''g'''<sub>2</sub> '''g'''<sub>1</sub> '''g'''<sub>3</sub> or '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub> '''g'''<sub>2</sub> '''g'''<sub>3</sub>.
* 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''].}}
*# The scale is ''well-formed'' with respect to g, i.e. all occurrences of the generator g are ''k''-steps for a fixed ''k''.
* 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 ====
A proof for the non-balanced case can be found in Bulgakova, Buzhinsky and Goncharov (2023), "[https://arxiv.org/pdf/2012.15818 On balanced and abelian properties of circular words over a ternary alphabet]" (I will eventually phrase the proof in my own words). The designations ''sporadic'', ''odd-regular'', and ''even-regular'' for the classes are ours.
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 =====
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''' (*)}}
for some non-'''X''' letters '''a''' and '''b'''. By ternarity '''a''' &ne; '''b''', and we will assume '''a''' = '''Y''' and '''b''' = '''Z''', and the 2-step vectors are
{{nowrap|2'''X''', '''X''' + '''Y''', and '''Y''' + '''Z'''. (*)}}
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'' &ge; 0 ?'s)(subword)(''k'' &ge; 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 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 =====
:''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 324: Line 365:
# if ''a'' > 2''k'': '''y''' + '''z''', otherwise: 2'''x'''
# if ''a'' > 2''k'': '''y''' + '''z''', otherwise: 2'''x'''
# '''x''' + '''y'''
# '''x''' + '''y'''
# '''x''' + '''z'''
# '''x''' + '''z''' (by the symmetry exchanging '''y''' and '''z''')
We also know that ''s'' is of the form {{nowrap|''w''('''x''', '''y''', '''z''')''w''('''x''', '''z''', '''y''').}} Hence the number of occurrences of '''x''' + '''y''' = the number of occurrences of '''x''' + '''z''', counting all 2-steps in all of ''s''.
We also know that ''s'' is of the form {{nowrap|''w''('''x''', '''y''', '''z''')''w''('''x''', '''z''', '''y''').}} Hence the number of occurrences of '''x''' + '''y''' = the number of occurrences of '''x''' + '''z''', counting all 2-steps in all of ''s''.


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 2-period MOS. 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.
* 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 the 2-step (1) occurs 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.


Now we count the letters that occur in these MOS substitution words of 2-steps. Consider the chunk boundaries of the template MOS. For every boundary between chunks, there is one slot letter in the template MOS for ''s''<sub>1</sub> and one in the template MOS ''s''<sub>2</sub>, due to index parity. So it suffices that we have evenly many boundaries between (nonempty) chunks. Equivalently, we have to prove that there are evenly many steps of the step size that occurs less frequently in the template MOS ''a'''''x''' 2''k'''''X''', which is true by assumption (''a'' and 2''k'' are both even).
Now we count the letters that occur in these MOS substitution words of 2-steps. Consider the chunk boundaries of the template MOS. For every boundary between chunks, there is one slot letter in the template MOS for ''s''<sub>1</sub> and one in the template MOS ''s''<sub>2</sub>, due to index parity. So it suffices that we have evenly many boundaries between (nonempty) chunks. Equivalently, we have to prove that there are evenly many steps of the step size that occurs less frequently in the template MOS ''a'''''x''' 2''k'''''X''', which is true by assumption (''a'' and 2''k'' are both even).
Line 343: Line 384:


== Theorem 8 (Classification of bicatenary ternary scales) ==
== Theorem 8 (Classification of bicatenary ternary scales) ==
A ternary scale word ''s'' is ''bicatenary'' if ''s'' has a torsion-free equave-equivalent pitch-class lattice and has an interval vector '''g''' such that the pitch class lattice consists of two parallel chains of '''g''', differing in length by 0 or 1.
A ternary scale word ''s'' is ''bicatenary'' if ''s'' is primitive and has a step vector '''g''' such that the subset of the pitch class lattice (which exists by primitivity) occupied by the notes of ''s'' consists of two parallel chains of '''g''', differing in length by 0 or 1.


If a ternary scale word is bicatenary, then it is (a) odd-regular, (b) even-regular, or (c) a 2-[[interleaving]] of a primitive MOS, of [[MOS substitution]] type {{nowrap|''a'''''X'''(''b'''''Y'''[''a'' &minus; ''b'']'''Z''')}} where 0 < ''b'' < ''a'' and gcd(''a'', ''b'') = 1.
If a ternary scale word is bicatenary, then it is (a) odd-regular, (b) even-regular, or (c) a 2-[[interleaving]] of a primitive MOS, of [[MOS substitution]] type {{nowrap|[''a'' + ''b'']'''X'''(''a'''''Y'''''b'''''Z''')}} where gcd(''a'', ''b'') = 1.


=== Proof ===
=== Proof ===
If |''s''| is odd, then we may assume that |'''g'''| = ''k'' is even. Now it is routine to get a splitting of the two chains of '''g''' into an AGS of ''k''/2-steps.
If |''s''| is odd, then the two chains in question differ in length by 1. We may assume that |'''g'''| = ''k'' is even. Now it is routine to get a splitting of the two chains of '''g''' into an AGS of ''k''/2-steps. By Theorem 1, ''s'' is odd-regular.


If |''s''| is even, then the chains are of the same length, and thus ''s'' is a parallelogram scale with dimensions 2 × |''s''|/2. Since ternary parallelogram scales are MOS substitution, one letter, say '''X''', is a non-slot letter, parallel to one of the parallelogram's sides. We have two cases:
If |''s''| is even, then the chains are of the same length, and thus ''s'' is a parallelogram scale with dimensions 2 × |''s''|/2. Since ternary parallelogram scales are MOS substitution, one letter, say '''X''', is a non-slot letter, parallel to one of the parallelogram's sides. We have two cases:


Case 1: '''X''' is parallel to the short (2-long) side of the parallelogram. In this case, |''s''|<sub>'''X'''</sub> = |''s''|/2, and the scale is a 2-interleaving of a MOS with |''s''|/2 letters. Said MOS must be primitive because the pitch-class lattice of ''s'' is torsion-free.
Case 1: '''X''' is parallel to the short (2-long) side of the parallelogram. In this case, |''s''|<sub>'''X'''</sub> = |''s''|/2, and the template MOS has |''s''|/2 periods. The filling MOS must be primitive because ''s'' is primitive. Thus case (c) holds.


Case 2: '''X''' is parallel to the |''s''|/2-long side of the parallelogram. In this case, '''X''' occurs an even number of times, namely {{nowrap|2({{!}}''s''{{!}}/2 &minus; ''m'')}} times where ''m'' is the number of axial steps '''X''' makes in the parallelogram lattice. Now, following our argument (in [[Ternary parallelogram scales are MOS substitution]]) showing that the filling word is a MOS,
Case 2: '''X''' is parallel to the |''s''|/2-long side of the parallelogram. In this case, '''X''' occurs an even number of times, namely {{nowrap|2({{!}}''s''{{!}}/2 &minus; ''m'')}} times where ''m'' is the number of axial steps '''X''' makes in the parallelogram lattice. Now, following our argument (in [[Ternary parallelogram scales are MOS substitution]]) showing that the filling word is a MOS:
* The template MOS is 2-period, and hence {{nowrap|{{!}}''s''{{!}}<sub>'''X'''</sub>/2}} and {{nowrap|({{!}}''s''{{!}}<sub>'''Y'''</sub> + {{!}}''s''{{!}}<sub>'''Z'''</sub>)/2}} are coprime.
* The template MOS is 2-period, and hence {{nowrap|{{!}}''s''{{!}}<sub>'''X'''</sub>/2}} and {{nowrap|({{!}}''s''{{!}}<sub>'''Y'''</sub> + {{!}}''s''{{!}}<sub>'''Z'''</sub>)/2}} are coprime.
* When you kill the dimension corresponding to the axial step, the resulting non-'''X''' steps are forced to be "move left" or "move right", and the two moves comprising the filling MOS must alternate.
* When you kill the dimension corresponding to the axial step, the resulting non-'''X''' steps are forced to be "move left" or "move right", and the two moves comprising the filling MOS must alternate.
* By primitivity, {{nowrap|{{!}}''s''{{!}}<sub>'''X'''</sub>/2}} is odd.
* By primitivity, {{nowrap|({{!}}''s''{{!}}<sub>'''Y'''</sub> + {{!}}''s''{{!}}<sub>'''Z'''</sub>)/2}} is odd.
Thus we have an even-regular scale. {{Qed}}
Thus we have an even-regular scale. {{Qed}}