Ternary scale theorems: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
m Tried to bold every step/interval size.
Line 1: Line 1:
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 ==
* Non-italicized Latin variables refer to interval sizes, for example step sizes.
* Bolded Latin variables refer to interval sizes, for example step sizes.
* Indices for all words are 1-indexed.
* Indices for all words are 1-indexed.
** If ''S'' is a circular word and ''i'' < 1 or ''i'' > len(''S''), we first replace ''i'' with ''i'' % len(''S'') + 1 before using it as an argument in ''S''[-].
** If ''S'' is a circular word and ''i'' < 1 or ''i'' > len(''S''), we first replace ''i'' with ''i'' % len(''S'') + 1 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 ''S''(X, Y) = XXY then ''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 ''S''('''X''', '''Y''') = '''XXY''' then ''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.
== 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 g<sub>1</sub> = 9/5 (a 9-step)  and g<sub>2</sub> = 5/3 (a 7-step).
* 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 '''g'''<sub>1</sub> = 9/5 (a 9-step)  and '''g'''<sub>2</sub> = 5/3 (a 7-step).
*# ''S'' is generated by two chains of stacked generators g separated by a fixed offset δ; either both chains are of size ''n''/2, or one chain has size (''n'' + 1)/2 and the second has size (''n''&nbsp;&minus;&nbsp;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>.
*# ''S'' is generated by two chains of stacked generators g separated by a fixed offset δ; either both chains are of size ''n''/2, or one chain has size (''n'' + 1)/2 and the second has size (''n''&nbsp;&minus;&nbsp;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>.
*# The scale is ''well-formed'' with respect to g, i.e. all occurrences of the generator g are ''k''-steps for a fixed ''k''.
*# 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 ''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 aLbs is primitive iff gcd(a, b) = 1. This corresponds to the term ''single-period'' in common xen parlance.
* 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 aLbs is primitive iff gcd(a, b) = 1. This corresponds to the term ''single-period'' in common xen parlance.
* An ''n''-''ary'' scale is a scale with ''n'' different step sizes. ''Binary'' and ''ternary'' are used when ''n'' = 2 and 3 respectively.
* An ''n''-''ary'' scale is a scale with ''n'' different step sizes. ''Binary'' and ''ternary'' are used when ''n'' = 2 and 3 respectively.
* A strengthening of the generator-offset property, tentatively named the ''swung-generator-alternant property'' (SGA), states that the alternants g<sub>1</sub> and g<sub>2</sub> can be taken to always subtend the same number of scale steps, thus both representing "detemperings" of a generator of a primitive [[mos]] scale (otherwise known as a well-formed scale). All odd generator-offset scales are SGA, and aside from odd generator-offset scales, the only ternary scales to satisfy SGA are (xy)<sup>''r''</sup>xz, ''r'' &ge; 1. The Zarlino and diasem scales above are both SGA. [[Blackdye]] is generator-offset but not SGA.
* A strengthening of the generator-offset property, here the ''swung-generator-alternant property'' (SGA), states that the alternants '''g'''<sub>1</sub> and '''g'''<sub>2</sub> can be taken to always subtend the same number of scale steps, thus both representing "detemperings" of a generator of a primitive [[mos]] scale (otherwise known as a well-formed scale). This is simply the property of having a binary generating sequence of period 2. All odd generator-offset scales are SGA, and aside from odd generator-offset scales, the only ternary scales to satisfy SGA are ('''xy''')<sup>''r''</sup>xz, ''r'' &ge; 1. The Zarlino and diasem scales above are both SGA. [[Blackdye]] is generator-offset but not SGA.
* An ''odd-step'' is a ''k''-step where ''k'' is odd; an ''even-step'' is defined similarly.
* An ''odd-step'' is a ''k''-step where ''k'' is odd; an ''even-step'' is defined similarly.
* Given a linear or circular word ''S'' with a step size X, define ''E''<sub>X</sub>(''S'') as the scale word resulting from deleting all instances of X from ''S''.
* Given a linear or circular word ''S'' with a step size '''X''', define ''E''<sub>'''X'''</sub>(''S'') as the scale word resulting from deleting all instances of '''X''' from ''S''.
* By a ''subword'', ''substring'', or ''slice'' of a word ''S'', denoted ''S''[''i'' : ''j''] (''j'' > ''i''), we mean ''S''[''i''] ''S''[''i'' + 1] ... ''S''[''j'' &minus; 1].
* By a ''subword'', ''substring'', or ''slice'' of a word ''S'', denoted ''S''[''i'' : ''j''] (''j'' > ''i''), we mean ''S''[''i''] ''S''[''i'' + 1] ... ''S''[''j'' &minus; 1].
* Given a mos aX bY, a ''chunk'' of X's is a maximal (possibly length 0) substring made of X's, bounded by Y's. We do not include the boundary Y's.
* Given a mos a'''X''' b'''Y''', a ''chunk'' of '''X''''s is a maximal (possibly length 0) substring made of '''X''''s, bounded by '''Y''''s. We do not include the boundary '''Y''''s.
* ''Length'' is another term for a scale's size.
* ''Length'' is another term for a scale's size.
* A ''projection'' of a ternary scale is the operation of equating two of its step sizes.
* A ''projection'' of a ternary scale is the operation of equating two of its step sizes.
* A ternary scale is ''pairwise-well-formed'' if all its projections are well-formed (i.e. primitive mosses).
* A ternary scale is ''pairwise-well-formed'' if all its projections are well-formed (i.e. primitive mosses).


== Proposition 1 (Properties of SGA scales) ==  
== Theorem 1 (Properties of SGA scales) ==  
Let ''S'' be a ternary scale word in L, M, and s of length ''n'', and suppose ''S'' is SGA. Then:
Let ''S'' be a ternary scale word in '''L''', '''M''', and '''s''' of length ''n'', and suppose ''S'' is SGA. Then:
# The length of ''S'' is odd, or ''S'' is equivalent to (xy)<sup>''r''</sup>xz for some integer ''r'' ≥ 1.
# The length of ''S'' is odd, or ''S'' is equivalent to ('''xy''')<sup>''r''</sup>'''xz''' for some integer ''r'' ≥ 1.
# If ''n'' is odd, ''S'' is of the form ''a''x ''b''y ''b''z for some permutation (x, y, z) of (L, M, s).
# If ''n'' is odd, ''S'' is of the form ''a'''''x''' ''b'''''y''' ''b'''''z''' for some permutation ('''x''', '''y''', '''z''') of ('''L''', '''M''', '''s''').
# If ''n'' is odd, ''S'' is abstractly SV3 (i.e. SV3 for almost all tunings).
# If ''n'' is odd, ''S'' is abstractly SV3 (i.e. SV3 for almost all tunings).
# If ''n'' is odd, ''S'' = ''a''X ''b''Y ''b''Z is obtained from some mode of the (primitive) mos ''a''X 2''b''W by replacing all the W's successively with alternating Y's and Z's (or alternating Z's and Y's for the other chirality, fixing the mode of ''a''X 2''b''W). The two alternants differ by replacing one Y with a Z.
# If ''n'' is odd, ''S'' = ''a'''''X''' ''b'''''Y''' ''b'''''Z''' is obtained from some mode of the (primitive) mos ''a'''''X''' 2''b'''''W''' by replacing all the W's successively with alternating '''Y''''s and '''Z''''s (or alternating '''Z''''s and '''Y''''s for the other chirality, fixing the mode of ''a'''''X''' 2''b'''''W'''). The two alternants differ by replacing one '''Y''' with a '''Z'''.
# If ''n'' is odd, ''S'' is pairwise-mos. That is, the following operations each result in a [[mos]]: setting L = M, setting L = s, and setting M = s.<!--
# If ''n'' is odd, ''S'' is pairwise-mos. That is, the following operations each result in a [[mos]]: setting '''L''' = '''M''', setting '''L''' = '''s''', and setting '''M''' = '''s'''.
# If ''n'' is odd, ''S'' is elimination-mos. That is, ''E''<sub>X</sub>(''S''), ''E''<sub>Y</sub>(''S''), ''E''<sub>Z</sub>(''S'') are all mosses.-->


In particular, odd generator-offset scales always satisfy these properties (see Proposition 2 below).
In particular, odd generator-offset scales always satisfy these properties (see Proposition 2 below).
Line 35: Line 34:
[Note: This is not true with SGA replaced with generator-offset; [[blackdye]] is a counterexample that is MV4.]
[Note: This is not true with SGA replaced with generator-offset; [[blackdye]] is a counterexample that is MV4.]
=== Proof ===
=== Proof ===
Let e be the equave of ''S''.
Let '''e''' be the equave of ''S''.


Assuming SGA, we have two chains of generator g<sub>0</sub> (going right). The two cases are:
Assuming SGA, we have two chains of generator g<sub>0</sub> (going right). In the diagrams below, O represents a note and - represents a generator g<sub>0</sub>. The two cases are:
  CASE 1: EVEN LENGTH
  CASE 1: EVEN LENGTH
  O-O-...-O (n/2 notes)
  O-O-...-O (n/2 notes)
Line 48: Line 47:
Label the notes (1, ''j'') and (2, ''j''), 1 ≤ ''j'' ≤ (number of notes in the chain), for notes in the upper and lower chain respectively.
Label the notes (1, ''j'') and (2, ''j''), 1 ≤ ''j'' ≤ (number of notes in the chain), for notes in the upper and lower chain respectively.
==== Statement (1) ====
==== Statement (1) ====
In case 1, let g<sub>1</sub> = (2, 1) &minus; (1, 1), g<sub>2</sub> = (1, 2) &minus; (2, 1), and g<sub>3</sub> = (1, 1) &minus; (''n''/2, 2) = ((&minus;''n''/2 &minus; 1)*g<sub>1</sub> &minus; ''n''/2*g<sub>2</sub>) mod e. We assume that g<sub>1</sub>, g<sub>2</sub> and e are '''Z'''-linearly independent. We have the chain g<sub>1</sub> g<sub>2</sub> g<sub>1</sub> g<sub>2</sub> ... g<sub>1</sub> g<sub>3</sub> which visits every note in ''S''.  
In case 1, let '''g'''<sub>1</sub> = (2, 1) &minus; (1, 1), '''g'''<sub>2</sub> = (1, 2) &minus; (2, 1), and '''g'''<sub>3</sub> = (1, 1) &minus; (''n''/2, 2) = ((&minus;''n''/2 &minus; 1)*'''g'''<sub>1</sub> &minus; ''n''/2*'''g'''<sub>2</sub>) mod '''e'''. We assume that '''g'''<sub>1</sub>, '''g'''<sub>2</sub> and '''e''' are ℤ-linearly independent. We have the chain '''g'''<sub>1</sub> '''g'''<sub>2</sub> '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub> '''g'''<sub>3</sub> which visits every note in ''S''.  


Since ''S'' is generator-offset it is well-formed with respect to g = (g<sub>2</sub> + g<sub>1</sub>). Since g<sub>1</sub> and g<sub>2</sub> subtend the same number of steps, all multiples of the generator g must be even-steps, and those intervals that are "offset" by g<sub>1</sub> must be odd-steps. Letting ''M'' be the subset consisting of all even-numbered notes (which are generated by g) and considering ''M'' as a scale by dividing degree indices in ''M'' by two, ''M'' is well-formed with respect to g, thus ''M'' (and its offset) must be a mos subset. Hence (g<sub>3</sub> + g<sub>1</sub>), the imperfect generator of the mos generated by g, subtends the same number of steps as g. Thus g<sub>2</sub> and g<sub>3</sub> subtend the same number of steps, a fact we need in order to be able to substitute one instance of g<sub>2</sub> with g<sub>3</sub> in the next part.
Since ''S'' is generator-offset it is well-formed with respect to '''g''' = ('''g'''<sub>2</sub> + '''g'''<sub>1</sub>). Since '''g'''<sub>1</sub> and '''g'''<sub>2</sub> subtend the same number of steps, all multiples of the generator '''g''' must be even-steps, and those intervals that are "offset" by '''g'''<sub>1</sub> must be odd-steps. Letting ''M'' be the subset consisting of all even-numbered notes (which are generated by '''g''') and considering ''M'' as a scale by dividing degree indices in ''M'' by two, ''M'' is well-formed with respect to '''g''', thus ''M'' (and its offset) must be a mos subset. Hence ('''g'''<sub>3</sub> + '''g'''<sub>1</sub>), the imperfect generator of the mos generated by g, subtends the same number of steps as g. Thus '''g'''<sub>2</sub> and '''g'''<sub>3</sub> subtend the same number of steps, a fact we need in order to be able to substitute one instance of '''g'''<sub>2</sub> with '''g'''<sub>3</sub> in the next part.


Let ''r'' be odd and ''r'' ≥ 3. Consider the following abstract sizes for the interval class of ''k''-steps reached by stacking ''r'' generators:
Let ''r'' be odd and ''r'' ≥ 3. Consider the following abstract sizes for the interval class of ''k''-steps reached by stacking ''r'' generators:
# from g<sub>1</sub> g<sub>2</sub> ... g<sub>1</sub>, we get a<sub>1</sub> = (''r'' &minus; 1)/2*g + g<sub>1</sub> = ceil(''r''/2) g<sub>1</sub> + floor(''r''/2) g<sub>2</sub>  
# from '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub>, we get a<sub>1</sub> = (''r'' &minus; 1)/2*g + '''g'''<sub>1</sub> = ceil(''r''/2) '''g'''<sub>1</sub> + floor(''r''/2) '''g'''<sub>2</sub>  
# from g<sub>2</sub> g<sub>1</sub> ... g<sub>2</sub>, we get a<sub>2</sub> = (''r'' &minus; 1)/2*g + g<sub>2</sub> = floor(''r''/2) g<sub>1</sub> + ceil(''r''/2) g<sub>2</sub>
# from '''g'''<sub>2</sub> '''g'''<sub>1</sub> ... '''g'''<sub>2</sub>, we get a<sub>2</sub> = (''r'' &minus; 1)/2*g + '''g'''<sub>2</sub> = floor(''r''/2) '''g'''<sub>1</sub> + ceil(''r''/2) '''g'''<sub>2</sub>
# from g<sub>2</sub> (...even # of gens...) g<sub>1</sub> g<sub>3</sub> g<sub>1</sub> (...even # of gens...) g<sub>2</sub>, we get a<sub>3</sub> = (''r'' &minus; 1)/2 g<sub>1</sub> + (''r'' &minus; 1)/2 g<sub>2</sub> + g<sub>3</sub> ≡ (''r'' &minus; ''n''/2 &minus; 3/2)g<sub>1</sub> + (''r'' &minus; ''n''/2 &minus; 1/2)g<sub>2</sub> mod e.
# from '''g'''<sub>2</sub> (...even # of gens...) '''g'''<sub>1</sub> '''g'''<sub>3</sub> '''g'''<sub>1</sub> (...even # of gens...) '''g'''<sub>2</sub>, we get a<sub>3</sub> = (''r'' &minus; 1)/2 '''g'''<sub>1</sub> + (''r'' &minus; 1)/2 '''g'''<sub>2</sub> + '''g'''<sub>3</sub> ≡ (''r'' &minus; ''n''/2 &minus; 3/2)'''g'''<sub>1</sub> + (''r'' &minus; ''n''/2 &minus; 1/2)'''g'''<sub>2</sub> mod e.
# from g<sub>1</sub> (...odd # of gens...) g<sub>1</sub> g<sub>3</sub> g<sub>1</sub> (...odd # of gens...) g<sub>1</sub>, we get a<sub>4</sub> = (''r'' + 1)/2 g<sub>1</sub> + (''r'' &minus; 3)/2 g<sub>2</sub> + g<sub>3</sub> ≡ (''r'' &minus; ''n''/2 &minus; 1/2)g<sub>1</sub> + (''r'' &minus; ''n''/2 &minus; 3/2)g<sub>2</sub> mod e.
# from '''g'''<sub>1</sub> (...odd # of gens...) '''g'''<sub>1</sub> '''g'''<sub>3</sub> '''g'''<sub>1</sub> (...odd # of gens...) '''g'''<sub>1</sub>, we get a<sub>4</sub> = (''r'' + 1)/2 '''g'''<sub>1</sub> + (''r'' &minus; 3)/2 '''g'''<sub>2</sub> + '''g'''<sub>3</sub> ≡ (''r'' &minus; ''n''/2 &minus; 1/2)'''g'''<sub>1</sub> + (''r'' &minus; ''n''/2 &minus; 3/2)'''g'''<sub>2</sub> mod e.


Since ''n'' > 0, these are all distinct by '''Z'''-linear independence; hence there are at least 4 sizes for ''k''-steps. A 1-step must be reached by stacking an odd number of generators, thus by applying this argument to 1-steps, we see that there must be at least 4 step sizes in some tuning, a contradiction. Thus g<sub>1</sub> and g<sub>2</sub> must themselves be step sizes. Thus we see that an even-length, abstractly SV3, generator-offset scale must be of the form (xy)<sup>''r''</sup>xz. (Note that (xy)<sup>''r''</sup>xz is not SV3, since it has only two kinds of 2-steps, xy and xz.) This proves (1).
Since ''n'' > 0, these are all distinct by ℤ-linear independence; hence there are at least 4 sizes for ''k''-steps. A 1-step must be reached by stacking an odd number of generators, thus by applying this argument to 1-steps, we see that there must be at least 4 step sizes in some tuning, a contradiction. Thus '''g'''<sub>1</sub> and '''g'''<sub>2</sub> must themselves be step sizes. Thus we see that an even-length, abstractly SV3, generator-offset scale must be of the form (xy)<sup>''r''</sup>xz. (Note that (xy)<sup>''r''</sup>xz is not SV3, since it has only two kinds of 2-steps, '''xy''' and '''xz'''.) This proves (1).


==== Statement (2) ====
==== Statement (2) ====
In case 2, let ''n'' ≥ 3 and let (2, 1) &minus; (1, 1) = g<sub>1</sub>, (1, 2) &minus; (2, 1) = g<sub>2</sub> be the two alternants. Let g<sub>3</sub> be the leftover generator after stacking alternating g<sub>1</sub> and g<sub>2</sub>. Then the generator circle is (g<sub>1</sub> g<sub>2</sub>)<sup>floor(''n''/2)</sup> g<sub>3</sub>. If a step is formed by stacking ''k'' generators, ''k'' must be odd, and the combinations of alternants corresponding to a step come in exactly 3 sizes:
In case 2, let ''n'' ≥ 3 and let (2, 1) &minus; (1, 1) = '''g'''<sub>1</sub>, (1, 2) &minus; (2, 1) = '''g'''<sub>2</sub> be the two alternants. Let '''g'''<sub>3</sub> be the leftover generator after stacking alternating '''g'''<sub>1</sub> and '''g'''<sub>2</sub>. Then the generator circle is ('''g'''<sub>1</sub> '''g'''<sub>2</sub>)<sup>floor(''n''/2)</sup> '''g'''<sub>3</sub>. If a step is formed by stacking ''k'' generators, ''k'' must be odd, and the combinations of alternants corresponding to a step come in exactly 3 sizes:
# ceil(''k''/2)g<sub>1</sub> + floor(''k''/2)g<sub>2</sub>
# ceil(''k''/2)'''g'''<sub>1</sub> + floor(''k''/2)'''g'''<sub>2</sub>
# floor(''k''/2)g<sub>1</sub> + ceil(''k''/2)g<sub>2</sub>
# floor(''k''/2)'''g'''<sub>1</sub> + ceil(''k''/2)'''g'''<sub>2</sub>
# floor(''k''/2)g<sub>1</sub> + floor(''k''/2) g<sub>2</sub> + g<sub>3</sub>
# floor(''k''/2)'''g'''<sub>1</sub> + floor(''k''/2) '''g'''<sub>2</sub> + '''g'''<sub>3</sub>
(since the scale size is odd, we can always ensure this by taking octave complements of all the generators). By counting the length-k subwords of the (linear) word (g<sub>1</sub> g<sub>2</sub>)<sup>floor(''n''/2)</sup>, we see that the first two sizes must both occur (''n'' &minus; ''k'') times. This proves (2).
(since the scale size is odd, we can always ensure this by taking octave complements of all the generators). By counting the length-k subwords of the (linear) word ('''g'''<sub>1</sub> '''g'''<sub>2</sub>)<sup>floor(''n''/2)</sup>, we see that the first two sizes must both occur (''n'' &minus; ''k'') times. This proves (2).


==== Statement (3) ====
==== Statement (3) ====
Line 71: Line 70:


==== Statement (4) ====
==== Statement (4) ====
Assume ''S'' is ''a''X ''b''Y ''b''Z, ''a'' odd. If ''b'' = 1, there's nothing to prove, so assume ''b'' > 1.
Assume ''S'' is ''a'''''X''' ''b'''''Y''' ''b'''''Z''', ''a'' odd. If ''b'' = 1, there's nothing to prove, so assume ''b'' > 1.


Assume, possibly after inverting the generator, that the imperfect generator of ''T'' has ''j'' + 1 W's and the perfect generator has ''j'' W's. Consider the two alternants, detemperings of the generator ''i''X + ''j''W of the ''a''X 2''b''W mos ''T''(X, W) = ''S''(X, W, W) where gcd(''j'', 2''k'') = 1.
Assume, possibly after inverting the generator, that the imperfect generator of ''T'' has ''j'' + 1 '''W''''s and the perfect generator has ''j'' '''W''''s. Consider the two alternants, detemperings of the generator ''i'''''X''' + ''j'''''W''' of the ''a'''''X''' 2''b'''''W''' mos ''T''('''X''', '''W''') = ''S''('''X''', '''W''', '''W''') where gcd(''j'', 2''k'') = 1.


'''Claim 1''': Deleting X's from the alternant subwords of ''S'' gives every ''j''-step subword in the scale ''E''<sub>X</sub>(''S'')(Y, Z), the scale word obtained by deleting all X's from ''S''.  
'''Claim 1''': Deleting '''X''''s from the alternant subwords of ''S'' gives every ''j''-step subword in the scale ''E''<sub>X</sub>(''S'')('''Y''', '''Z'''), the scale word obtained by deleting all '''X''''s from ''S''.  


Proof: Consider the "imperfect alternant" of ''S'' on index ''p'', which is ''I'' = ''S''[''p'' : ''p'' + ''i'' + ''j''], and suppose the result of deleting all X's from ''I'' has a j-step subword ''w'' as a substring. Then ''S''[''p'' &minus; 1: ''p'' &minus; 1 + ''i'' + ''j''] and ''S''[''p'' + 1 : ''p'' + 1 + ''i'' + ''j''] are both detemperings of perfect generators of ''T'', and have one fewer non-X step than ''I'' by our assumption. Thus the word ''I'' must both begin and end in a non-X letter. Removing all the X's from ''I'' results in a word that is ''j'' + 1 letters long and is the ''j''-step word ''w'' we started with, with just one extra letter appended. Thus one of the two perfect generators above, namely the one that removes the extra letter, must contain this ''j''-step. The rest of the ''j''-step subwords are all contained in "perfect" alternants; take ''q'' &ne; ''p'' to be the index of the first letter of one such ''j''-step subword (as contained in ''S'') and use S[''q'' : ''q'' + ''i'' + ''j''].
Proof: Consider the "imperfect alternant" subword of ''S'' on index ''p'', which is ''I'' = ''S''[''p'' : ''p'' + ''i'' + ''j''], and suppose the result of deleting all '''X''''s from ''I'' has a j-step subword ''w'' as a substring. Then ''S''[''p'' &minus; 1: ''p'' &minus; 1 + ''i'' + ''j''] and ''S''[''p'' + 1 : ''p'' + 1 + ''i'' + ''j''] are both detemperings of perfect generators of ''T'', and have one fewer non-'''X''' step than ''I'' by our assumption. Thus the word ''I'' must both begin and end in a non-'''X''' letter. Removing all the '''X''''s from ''I'' results in a word that is ''j'' + 1 letters long and is the ''j''-step word ''w'' we started with, with just one extra letter appended. Thus one of the two perfect generators above, namely the one that removes the extra letter, must contain this ''j''-step. The rest of the ''j''-step subwords of ''S'' are all contained in "perfect" alternants; take ''q'' &ne; ''p'' to be the index of the first letter of one such ''j''-step subword (as contained in ''S'') and use ''S''[''q'' : ''q'' + ''i'' + ''j''].


'''Claim 2''': If a binary necklace ''U'' has ''b'' Y's and ''b'' Z's, gcd(''j'', 2''b'') = 1, and consecutively stacked ''j''-steps in ''U'' occur in 2 alternating sizes, then ''U'' = (YZ)<sup>''b''</sup>.
'''Claim 2''': If a binary necklace ''U'' has ''b'' '''Y''''s and ''b'' '''Z''''s, gcd(''j'', 2''b'') = 1, and consecutively stacked ''j''-steps in ''U'' occur in 2 alternating sizes, then ''U'' = ('''YZ''')<sup>''b''</sup>.


Proof: Write u and v for the two sizes of ''j''-steps. Since gcd(''j'', 2''b'') = 1, there exists ''m'' such that stacking ''m''-many ''j''-steps yields scale steps of ''U'', and ''m'' is odd because gcd(''m'', 2''b'') = 1. Hence the scale steps of ''U'' are (uv)<sup>(''m''&minus;1)/2</sup>u mod e and (vu)<sup>(''m''&minus;1)/2</sup>v mod e, and the step sizes alternate because u and v do.
Proof: Write '''u''' and '''v''' for the two sizes of ''j''-steps. Since gcd(''j'', 2''b'') = 1, there exists ''m'' such that stacking ''m''-many ''j''-steps yields scale steps of ''U'', and ''m'' is odd because gcd(''m'', 2''b'') = 1. Hence the scale steps of ''U'' are ('''uv''')<sup>(''m''&minus;1)/2</sup>'''u''' mod '''e''' and ('''vu''')<sup>(''m''&minus;1)/2</sup>'''v''' mod '''e''', and the step sizes alternate because '''u''' and '''v''' do.


These two claims prove that ''E''<sub>X</sub>(S) = (YZ)<sup>''b''</sup> and that the two alternants' sizes differ by replacing one Y for a Z.
These two claims prove that ''E''<sub>'''X'''</sub>(S) = ('''YZ''')<sup>''b''</sup> and that the two alternants' sizes differ by replacing one '''Y''' for a '''Z'''.


==== Statement (5) ====
==== Statement (5) ====
Line 89: Line 88:
  x x x ... x  
  x x x ... x  
  x x x ... x x
  x x x ... x x
and use the vectors (-1, 2) and (ceil(n/2), 1) as the Fokker block chromas. A rank-3 Fokker block has the property that tempering out by each of the chromas gives two mosses. These correspond to two of the temperings X = Y, Y = Z and X = Z. The third tempering follows by symmetry (by taking the other chirality). {{qed}}<!--
and use the vectors (-1, 2) and (ceil(n/2), 1) as the Fokker block chromas. A rank-3 Fokker block has the property that tempering out by each of the chromas gives two mosses. These correspond to two of the temperings '''X''' = '''Y''', '''Y''' = '''Z''' and '''X''' = '''Z'''. The third tempering follows by symmetry (by taking the other chirality). {{qed}}


==== Statement (6) ====
== Theorem 2 (Odd generator-offset scales are SGA) ==
Consider the mos ''a''X 2''b''W as chunks of X separated by W (tempering Y and Z together into W). Eliminating every other W (corresponding to either Y or Z) turns it into a mos:
# The sizes of chunks of X form a mos, and taking every ''k''th note of an ''n''-note mos yields a mos.
# The sum of sizes of consecutive chunks of X (1st chunk with 2nd chunk, 3rd with 4th, ...) must form a mos.
# If chunk sizes of a binary scale form a mos, the scale itself must be a mos; see [[Recursive structure of MOS scales#Reflection of generators|Recursive structure of MOS scales, "Reflection of generators"]].
Lastly, ''E''<sub>X</sub>(''S'') is the mos ''b''Y ''b''Z; hence ''S'' is elimination-mos.
-->
 
== Proposition 2 (Odd generator-offset scales are SGA) ==
Suppose that a periodic scale satisfies the following:
Suppose that a periodic scale satisfies the following:
* is generator-offset
* is generator-offset
Line 109: Line 100:
Assume that the generator is a ''k''-step and ''k'' is even. (If ''k'' is not even, invert the generator.) On some note ''p'' we have a chain of (''n'' + 1)/2 notes and on ''p′'' = ''p'' + offset we'll have (''n'' &minus; 1)/2) notes.
Assume that the generator is a ''k''-step and ''k'' is even. (If ''k'' is not even, invert the generator.) On some note ''p'' we have a chain of (''n'' + 1)/2 notes and on ''p′'' = ''p'' + offset we'll have (''n'' &minus; 1)/2) notes.


If gcd(''k'', ''n'') > 1. since ''n'' is odd, gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, the generators must form more than 2 parallel chains. Thus, gcd(''k'', ''n'') = 1. By modular arithmetic, if 0 &le; ''r'' < ''n'', ''rk'' ≡ ''k''/2 mod ''n'' iff ''r'' ≡ (''n'' + 1)/2 mod ''n''. (Note that both 2 and ''k'' are coprime with ''n'', hence multiplicatively invertible mod ''n''.) This proves that the offset, which must be reached after (''n'' + 1)/2 ''k''-steps, is a ''k''/2-step, as desired. (As [''k''] is a generator of '''Z'''/''n'', stacking (''n'' &minus; 1)-many ''k''-steps must visit every note exactly once. Thus if the offset wasn't reached in (''n'' + 1)/2 steps, the two generator chains either wouldn't be disjoint or wouldn't have the assumed lengths.) {{qed}}
Assume gcd(''k'', ''n'') > 1. Since ''n'' is odd, gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, the generators must form more than 2 parallel chains, contrary to the GO assumption. Thus, gcd(''k'', ''n'') = 1. By modular arithmetic, if 0 &le; ''r'' < ''n'', ''rk'' ≡ ''k''/2 mod ''n'' iff ''r'' ≡ (''n'' + 1)/2 mod ''n''. (Note that both 2 and ''k'' are coprime with ''n'', hence multiplicatively invertible mod ''n''.) This proves that the offset, which must be reached after (''n'' + 1)/2 ''k''-steps, is a ''k''/2-step, as desired. (As [''k''] is a generator of ℤ/''n'', stacking (''n'' &minus; 1)-many ''k''-steps must visit every note exactly once. Thus if the offset wasn't reached in (''n'' + 1)/2 steps, the two generator chains either wouldn't be disjoint or wouldn't have the assumed lengths.) {{qed}}


== Proposition 3 (Properties of even generator-offset ternary scales) ==
== Theorem 3 (Properties of even generator-offset ternary scales) ==
A primitive generator-offset ternary scale ''s'' of even size where the generator g is an even-step (i.e. g subtends an even number of steps) has the following properties:
A primitive generator-offset ternary scale ''s'' of even size 6 or greater, where the generator '''g''' is an even-step, has the following properties:
# ''s'' is a union of two copies of a primitive mos ''M'' of size ''n''/2 generated by g; thus it is a [[flought scale]] obtained by taking two offset copies of said primitive mos.
# ''s'' is a union of two copies of a primitive mos ''M'' of size ''n''/2 generated by g; thus it is a [[flought scale]] obtained by taking two offset copies of said primitive mos.
# ''s'' is ''not'' SV3.
# ''s'' is ''not'' SV3.
# ''s'' is ''not'' chiral.
# ''s'' is ''not'' chiral.
# If ''M'' = ''M''(''y'', ''z'') is the primitive MOS necklace above, then ''s'' = ''M''(XY, XZ) for some assignment of variable names X, Y, and Z to the three letters of ''s''.
# If ''M'' = ''M''('''y''', '''z''') is the primitive MOS necklace above, then ''s'' = ''M''('''XY''', '''XZ''') for some assignment of variable names '''X''', '''Y''', and '''Z''' to the three letters of ''s''.
=== Proof ===
=== Proof ===
(1) and (2) were proved in the proof of Proposition 1 (the part that we appeal to, from "all multiples of the generator g must be even-steps ..." to "These are all distinct by Z-linear independence", does not rely on ''S'' having the SGA property). (3) and (4) are easy to check using (1). {{qed}}
(1) and (2) were proved in the proof of Proposition 1 (the part that we appeal to, from "all multiples of the generator '''g''' must be even-steps ..." to "These are all distinct by ℤ-linear independence", does not rely on ''S'' having the SGA property). (3) and (4) are easy to check using (1). {{qed}}


== Theorem 4 (Classification of pairwise well-formed scales) ==
== Theorem 4 (Classification of pairwise well-formed scales) ==
Let ''S''(a, b, c) be a scale word in three '''Z'''-linearly independent step sizes a, b, c. Suppose ''S'' is pairwise well-formed (equivalently, all its projections are primitive mosses). Then ''S'' is SV3 and has an odd number of notes. Moreover, ''S'' is either generator-offset or equivalent to the scale word abacaba.
Let ''S''('''a''', '''b''', '''c''') be a scale word in three ℤ-linearly independent step sizes '''a''', '''b''', '''c'''. Suppose ''S'' is pairwise well-formed (equivalently, all its projections are primitive mosses). Then ''S'' is SV3 and has an odd number of notes. Moreover, ''S'' is either generator-offset or equivalent to the scale word '''abacaba'''.
=== Proof ===
=== Proof ===
==== If the generator of a projection of ''S'' is a ''k''-step, the word of stacked ''k''-steps in ''S'' is pairwise well-formed ====
==== If the generator of a projection of ''S'' is a ''k''-step, the word of stacked ''k''-steps in ''S'' is pairwise well-formed ====
Suppose ''S'' has ''n'' notes (after dealing with small cases, we may assume ''n'' ≥ 7) and ''S'' projects to primitive mosses ''S''<sub>1</sub> (via identifying b with c), ''S''<sub>2</sub> (via identifying a with c) and ''S''<sub>3</sub> (via identifying a with b). Suppose ''S''<sub>1</sub>'s generator is a ''k''-step, which comes in two sizes: P, the perfect ''k''-step, and I, the imperfect ''k''-step. By stacking ''n''-many ''k''-steps, we get two words of length ''n'' of ''k''-steps of ''S''<sub>2</sub> and ''S''<sub>3</sub>, respectively. These binary words, which we call Σ<sub>2</sub> and Σ<sub>3</sub>, must be mosses, since ''m''-steps in the new words correspond to ''mk''-steps in the mos words ''S''<sub>1</sub> and ''S''<sub>2</sub>, which come in at most two sizes. Since ''S''<sub>1</sub> is a primitive mos, gcd(''k'', ''n'') = 1. Hence when 0 < ''m'' < ''n'', ''mk'' is ''not'' divisible by ''n'' and ''mk''-steps come in ''exactly'' two sizes; hence both Σ<sub>2</sub> and Σ<sub>3</sub> are primitive mosses.
Suppose ''S'' has ''n'' notes (after dealing with small cases, we may assume ''n'' ≥ 7) and ''S'' projects to primitive mosses ''S''<sub>1</sub> (via identifying '''b''' with '''c'''), ''S''<sub>2</sub> (via identifying '''a''' with '''c'''), and ''S''<sub>3</sub> (via identifying '''a''' with '''b'''). Suppose ''S''<sub>1</sub>'s generator is a ''k''-step, which comes in two sizes: '''P''', the perfect ''k''-step, and '''I''', the imperfect ''k''-step. By stacking ''n''-many ''k''-steps, we get two words of length ''n'' of ''k''-steps of ''S''<sub>2</sub> and ''S''<sub>3</sub>, respectively. These binary words, which we call Σ<sub>2</sub> and Σ<sub>3</sub>, must be mosses, since ''m''-steps in the new words correspond to ''mk''-steps in the mos words ''S''<sub>1</sub> and ''S''<sub>2</sub>, which come in at most two sizes. Since ''S''<sub>1</sub> is a primitive mos, gcd(''k'', ''n'') = 1. Hence when 0 < ''m'' < ''n'', ''mk'' is ''not'' divisible by ''n'' and ''mk''-steps come in ''exactly'' two sizes; hence both Σ<sub>2</sub> and Σ<sub>3</sub> are primitive mosses.


  index: 1 2 3 4 ...  ''n''
  index: 1 2 3 4 ...  ''n''
  Σ<sub>1</sub>:    P P P P ... P I
  Σ<sub>1</sub>:    '''P P P P ... P I'''
  Σ<sub>2</sub>:    [some mos]
  Σ<sub>2</sub>:    [some mos]
  Σ<sub>3</sub>:    [some mos]
  Σ<sub>3</sub>:    [some mos]


Below we write step sizes resulting from identification as a~b, b~c, and a~c.
Below we write step sizes resulting from identification as '''a'''~'''b''', '''b'''~'''c''', and '''a'''~'''c'''.


==== Two sizes of ''k''-steps in ''S'' project to ''S''<sub>1</sub>'s perfect generator ====
==== Two sizes of ''k''-steps in ''S'' project to ''S''<sub>1</sub>'s perfect generator ====
We can write sizes of intervals in ''S'' as vectors (''p'', ''q'', ''r'') using the basis (a, b, c).  
We can write sizes of intervals in ''S'' as vectors (''p'', ''q'', ''r'') using the basis ('''a''', '''b''', '''c''').  


Suppose for sake of contradiction that only one size of ''k''-step (α, β, γ) in ''S'' projects to P in ''S''<sub>1</sub>. Then projecting to ''S''<sub>2</sub> shows that ''S''<sub>2</sub>'s generator is the ''k''-step (α + γ)*(a~c) + βb, and Σ<sub>2</sub>'s imperfect generator is located at index ''n'', like Σ<sub>1</sub>'s imperfect generator is. Then ''S''<sub>1</sub> and ''S''<sub>2</sub> are the same mode of the same mos pattern (up to knowing which step size is the bigger one). Assume the L of ''S''<sub>1</sub> (it could be s, but it doesn't matter) is the result of identifying b and c, and all instances of s in ''S''<sub>1</sub> come from a. Then the steps of ''S''<sub>2</sub> corresponding to the L of ''S''<sub>1</sub> must be either all b's or all a~c's, thus these steps are all b's in ''S'' (otherwise they would be identified with the a, against the assumption that ''S''<sub>1</sub> and ''S''<sub>2</sub> are the same mos pattern and mode). So ''S'' has only two step sizes (a and b), contradicting the assumption that ''S'' is ternary.
Suppose for sake of contradiction that only one size of ''k''-step ('''α''', '''β''', '''γ''') in ''S'' projects to '''P''' in ''S''<sub>1</sub>. Then projecting to ''S''<sub>2</sub> shows that ''S''<sub>2</sub>'s generator is the ''k''-step (α + γ)*('''a'''~'''c''') + β'''b''', and Σ<sub>2</sub>'s imperfect generator is located at index ''n'', like Σ<sub>1</sub>'s imperfect generator is. Then ''S''<sub>1</sub> and ''S''<sub>2</sub> are the same mode of the same mos pattern (up to knowing which step size is the bigger one). Assume the '''L''' of ''S''<sub>1</sub> (it could be '''s''', but it doesn't matter) is the result of identifying '''b''' and '''c''', and all '''s''' steps in ''S''<sub>1</sub> come from '''a'''. Then the steps of ''S''<sub>2</sub> corresponding to the '''L''' of ''S''<sub>1</sub> must be either all '''b''''s or all '''a'''~'''c''''s, thus these steps are all '''b''''s in ''S'' (otherwise they would be identified with the '''a''', against the assumption that ''S''<sub>1</sub> and ''S''<sub>2</sub> are the same mos pattern and mode). So ''S'' has only two step sizes (a and b), contradicting the assumption that ''S'' is ternary.


Only two sizes of ''k''-steps of ''S'' can project to P in ''S''<sub>1</sub>, for if there are three sizes of ''k''-steps (α, β, γ), (α, β′, γ′), (α, β′′, γ′′) in ''S'' that project to P, then β, β′ and β′′ are three distinct values. Thus these would project to three different ''k''-steps in ''S''<sub>3</sub>, contradicting the mos property of ''S''<sub>3</sub>.
Only two sizes of ''k''-steps of ''S'' can project to P in ''S''<sub>1</sub>, for if there are three sizes of ''k''-steps (α, β, γ), (α, β′, γ′), (α, β′′, γ′′) in ''S'' that project to P, then β, β′ and β′′ are three distinct values. Thus these would project to three different ''k''-steps in ''S''<sub>3</sub>, contradicting the mos property of ''S''<sub>3</sub>.


==== ''n'' is odd, etc. ====
==== ''n'' is odd, etc. ====
Suppose Q = (α, β, γ) ≠ R = (α, β′, γ′) are the two ''k''-steps in ''S'' that project to P. Then T = (α′, β′′, γ′′) projects to I. Here the values in each component differ by at most 1, and α ≠ α′. Then the circular word Λ<sub>1</sub> formed by the a-components of the ''k''-steps in P is α...αα′. Since Σ<sub>2</sub> is a primitive mos pattern of βb + (''n'' &minus; β)(a~c) and β′a + (''n'' &minus; β′)(a~c), the circular word Λ<sub>2</sub> = the pattern of β and β′ must be a primitive mos. Similarly, Λ<sub>3</sub> = the pattern of γ and γ′ is a primitive mos.
Suppose '''Q''' = (α, β, γ) ≠ '''R''' = (α, β′, γ′) are the two ''k''-steps in ''S'' that project to '''P'''. Then '''T''' = (α′, β′′, γ′′) projects to '''I'''. Here the values in each component differ by at most 1, and α ≠ α′. Then the circular word Λ<sub>1</sub> formed by the '''a'''-components of the ''k''-steps in '''P''' is α...αα′. Since Σ<sub>2</sub> is a primitive mos pattern of β'''b''' + (''n'' &minus; β)('''a'''~'''c''') and β′a + (''n'' &minus; β′)('''a'''~'''c'''), the circular word Λ<sub>2</sub> = the pattern of β and β′ must be a primitive mos. Similarly, Λ<sub>3</sub> = the pattern of γ and γ′ is a primitive mos.


Suppose Λ<sub>2</sub> is the mos λβ μβ′. Then Λ<sub>3</sub> is the mos (λ ± 1)γ (μ ∓ 1)γ′. Since both Λ<sub>2</sub> and Λ<sub>3</sub> are primitive, and at least one of μ and (μ ∓ 1) are even, it is now immediate that ''n'' is odd.
Suppose Λ<sub>2</sub> is the mos λβ μβ′. Then Λ<sub>3</sub> is the mos (λ ± 1)γ (μ ∓ 1)γ′. Since both Λ<sub>2</sub> and Λ<sub>3</sub> are primitive, and at least one of μ and (μ ∓ 1) are even, it is now immediate that ''n'' is odd.


Either β′′ = β or β′′ = β′. Assume β′′ = β′. Then γ′′ = γ, and Λ<sub>3</sub> is (λ + 1)γ (μ &minus; 1)γ′. Also assume that the first ''k''-step in Σ is Q. Then we have:
Either β′′ = β or β′′ = β′. Assume β′′ = β′. Then γ′′ = γ, and Λ<sub>3</sub> is (λ + 1)γ (μ &minus; 1)γ′. Also assume that the first ''k''-step in Σ is '''Q'''. Then we have:
       1 …        ''n''
       1 …        ''n''
  Σ  = Q ''W''(Q, R)  T
  Σ  = Q ''W''(Q, R)  T
Line 151: Line 142:
  Λ<sub>2</sub> = β ''W''(β, β′) β′
  Λ<sub>2</sub> = β ''W''(β, β′) β′
  Λ<sub>3</sub> = γ ''W''(γ, γ′) γ
  Λ<sub>3</sub> = γ ''W''(γ, γ′) γ
where ''W'' = ''W''(''x'', ''y'') is a word in two variables ''x'' and ''y'', of length ''n'' &minus; 2.
where ''W'' = ''W''('''x''', '''y''') is a word in two variables '''x''' and '''y''', of length ''n'' &minus; 2.


==== Case analysis ====
==== Case analysis ====
Line 160: Line 151:
'''Case 1''': μ = 2, i.e. Λ<sub>2</sub> is the mos (''n'' &minus; 2)β 2β′.
'''Case 1''': μ = 2, i.e. Λ<sub>2</sub> is the mos (''n'' &minus; 2)β 2β′.


For Λ<sub>2</sub> to be a mos, the first, and only, occurrence of R must be at either ''f'' = floor(''n''/2) or ceil(''n''/2). We may assume that it is at ''f''; otherwise reverse the chain and reindex the words to start at 2''f''.
For Λ<sub>2</sub> to be a mos, the first, and only, occurrence of '''R''' must be at either ''f'' = floor(''n''/2) or ceil(''n''/2). We may assume that it is at ''f''; otherwise reverse the chain and reindex the words to start at 2''f''.


       1 …  ''f''    … 2''f'' ''n''
       1 …  ''f''    … 2''f'' ''n''
  Σ  = Q … Q R  Q … Q  T
  Σ  = '''Q''' … '''Q''' '''R''' '''Q''' … '''Q''' '''T'''
  Λ<sub>1</sub> = α … α α  α … α  α′
  Λ<sub>1</sub> = α … α α  α … α  α′
  Λ<sub>2</sub> = β … β β′ β … β  β′
  Λ<sub>2</sub> = β … β β′ β … β  β′
Line 169: Line 160:


We need only consider stacks up to ''f''-many ''k''-steps. Either:
We need only consider stacks up to ''f''-many ''k''-steps. Either:
# the stack has only copies of Q and R; or
# the stack has only copies of '''Q''' and '''R'''; or
# the stack has one T and does not contain any R (since it's more than ''f'' &minus; 1 generators away).
# the stack has one '''T''' and does not contain any '''R''' (since it's more than ''f'' &minus; 1 generators away).
These give exactly three distinct sizes for every interval class. Hence ''S'' is SV3.
These give exactly three distinct sizes for every interval class. Hence ''S'' is SV3.


In this case S has two chains of Q, one with floor(''n''/2) notes and one offset by Q<sup>(''f''&minus;1)</sup>R with ceil(''n''/2) notes. Every instance of Q must be a ''k''-step, since by '''Z'''-linear independence Q = αa + βb + γc is the only way to write Q in the basis (a, b, c); so ''S'' is well-formed with respect to Q. Thus ''S'' also satisfies the generator-offset property with generator Q.
In this case S has two chains of '''Q''', one with floor(''n''/2) notes and one offset by '''Q'''<sup>(''f''&minus;1)</sup>R with ceil(''n''/2) notes. Every instance of Q must be a ''k''-step, since by ℤ-linear independence '''Q''' = α'''a''' + β'''b''' + γ'''c''' is the only way to write '''Q''' in the basis ('''a''', '''b''', '''c'''); so ''S'' is well-formed with respect to '''Q'''. Thus ''S'' also satisfies the generator-offset property with generator '''Q'''.


'''Case 2:''' μ ≥ ceil(''n''/2), i.e. Λ<sub>2</sub> has fewer β than β′.
'''Case 2:''' μ ≥ ceil(''n''/2), i.e. Λ<sub>2</sub> has fewer β than β′.


Since Λ<sub>3</sub> has more β than β′, Λ<sub>2</sub> is floor(''n''/2)β ceil(''n''/2)β′, and Λ<sub>3</sub> is ceil(''n''/2)γ floor(''n''/2)γ′. There is a unique mode of ceil(''n''/2)γ floor(''n''/2)γ′ that both begins and ends with γ, namely γγ′γγ′…γγ′γ. Thus Λ<sub>2</sub> is ββ′ββ′…ββ′β′. It is now easy to see that if the number of ''k''-steps stacked is odd, then there are two sizes that do not contain T and one size that contains T; if the number of ''k''-steps stacked is even, then there is one size that does not contain T and two sizes that contain T. Hence ''S'' is SV3.
Since Λ<sub>3</sub> has more β than β′, Λ<sub>2</sub> is floor(''n''/2)β ceil(''n''/2)β′, and Λ<sub>3</sub> is ceil(''n''/2)γ floor(''n''/2)γ′. There is a unique mode of ceil(''n''/2)γ floor(''n''/2)γ′ that both begins and ends with γ, namely γγ′γγ′…γγ′γ. Thus Λ<sub>2</sub> is ββ′ββ′…ββ′β′. It is now easy to see that if the number of ''k''-steps stacked is odd, then there are two sizes that do not contain '''T''' and one size that contains '''T'''; if the number of ''k''-steps stacked is even, then there is one size that does not contain '''T''' and two sizes that contain T. Hence ''S'' is SV3.


In this case we have Σ = QRQR…QRT, and ''S'' is well-formed with respect to the generator Q + R, thus ''S'' satisfies the generator-offset property. By Proposition 1, ''S'' is SV3.
In this case we have Σ = '''QRQR'''...'''QRT''', and ''S'' is well-formed with respect to the generator '''Q''' + '''R''', thus ''S'' satisfies the generator-offset property. By Proposition 1, ''S'' is SV3.


'''Case 3:''' 3 ≤ μ ≤ floor(''n''/2).
'''Case 3:''' 3 ≤ μ ≤ floor(''n''/2).
Line 205: Line 196:
Suppose a step of ''S'' is reached by stacking ''t''-many ''k''-steps. We have three cases after accounting for equave complements:
Suppose a step of ''S'' is reached by stacking ''t''-many ''k''-steps. We have three cases after accounting for equave complements:


# ''t'' = 1: ''S'' is equivalent to abacaba.
# ''t'' = 1: ''S'' is equivalent to '''abacaba'''.
# ''t'' = 2: ''S'' is QR QQ RQ TQ RQ QR QT => ''S'' is equivalent to abacaba.
# ''t'' = 2: ''S'' is '''QR QQ RQ TQ RQ QR QT''' => ''S'' is equivalent to '''abacaba'''.
# ''t'' = 3: ''S'' is QRQ QRQ TQR QQR QTQ RQQ RQT => ''S'' is equivalent to abacaba.
# ''t'' = 3: ''S'' is '''QRQ QRQ TQR QQR QTQ RQQ RQT''' => ''S'' is equivalent to '''abacaba'''.


(This also implies ''S'' is SV3.)
(This also implies ''S'' is SV3.)


'''Case 3.2''': (''x'', ''y'') = (floor(''n''/μ) + 1, 2*floor(''n''/μ) &minus; 1) is impossible: Here (x, y) = (4, 5). But then Λ<sub>2</sub> has a chunk of size < 3 because of the β' at index n, contradicting that ''x'' is one of the chunk sizes of Λ<sub>2</sub>.
'''Case 3.2''': (''x'', ''y'') = (floor(''n''/μ) + 1, 2*floor(''n''/μ) &minus; 1) is impossible: Here (''x'', ''y'') = (4, 5). But then Λ<sub>2</sub> has a chunk of size < 3 because of the β' at index ''n'', contradicting that ''x'' is one of the chunk sizes of Λ<sub>2</sub>.


'''Case 3.3''': (''x'', ''y'') = (floor(''n''/μ) + 1, 2*floor(''n''/μ)) is impossible: Here (x, y) = (3, 4). But then Λ<sub>2</sub> has a chunk of size 1 because of the β' at index n, and another chunk of size 0 or 2, contradicting that ''x'' is one of the chunk sizes of Λ<sub>2</sub>.
'''Case 3.3''': (''x'', ''y'') = (floor(''n''/μ) + 1, 2*floor(''n''/μ)) is impossible: Here (''x'', ''y'') = (3, 4). But then Λ<sub>2</sub> has a chunk of size 1 because of the β' at index ''n'', and another chunk of size 0 or 2, contradicting that ''x'' is one of the chunk sizes of Λ<sub>2</sub>.


The remaining cases are all impossible because they imply ''y'' &minus; ''x'' ≥ 2:
The remaining cases are all impossible because they imply ''y'' &minus; ''x'' ≥ 2:
Line 226: Line 217:
{{qed}}
{{qed}}
== Theorem 5 (Classification of MV3 scales) ==
== Theorem 5 (Classification of MV3 scales) ==
# A primitive MV3 is either (1) equivalent to XYZYX, (2) equivalent to XYXZXYX, (3) constructed from ''a''X ''b''Z with ''a'' even and gcd(''a'', ''b'') = 1 by replacing every other X with Y, (4) constructed from 2''a''X 2''b''Z with ''a'' odd and gcd(''a'', ''b'') = 1 by replacing every other X with Y, or (5) a "twisted" word constructed as follows:
# A primitive MV3 is either (1) equivalent to XYZYX, (2) equivalent to XYXZXYX, (3) constructed from ''a'''''X''' ''b'''''Z''' with ''a'' even and gcd(''a'', ''b'') = 1 by replacing every other '''X''' with '''Y''', (4) constructed from 2''a'''''X''' 2''b'''''Z''' with ''a'' odd and gcd(''a'', ''b'') = 1 by replacing every other '''X''' with '''Y''', or (5) a "twisted" word constructed as follows:
## Start with a multimos word ''w''(X, Z) = ''ka''X ''kb''Z such that ''a'' is even and each ''a''X ''b''Z subword of ''w'' is of the form X''P''(X, Z)Z where ''P''(X, Z) is a palindrome.
## Start with a multimos word ''w''('''X''', '''Z''') = ''ka'''''X''' ''kb'''''Z''' such that ''a'' is even and each ''a'''''X''' ''b'''''Z''' subword of ''w'' is of the form '''X'''''P''('''X''', '''Z''')'''Z''' where ''P''('''X''', '''Z''') is a palindrome.
## Interchange some of the Z's and X's at some of the boundaries of these copies of the mos word ''w''. Here, if ''w'' is a word and ''w'' = <i>u'uvv'</i>, the ''boundary'' between ''u'' and ''v'' is ''u''[len(''u'')]''v''[1] within w. (If w is a circular word and w = [w'] where w' is a linear word, replace w with w' in the previous sentence.) For example, let ''w'' be the multimos word 8X6Z, XXZXZXZXXZXZXZ. Then the border between the copies of the MOS subword XXZXZXZ are w[7]w[8] and w[14]w[1].
## Interchange some of the '''Z''''s and '''X''''s at some of the boundaries of these copies of the mos word ''w''. Here, if ''w'' is a word and ''w'' = <i>u'uvv'</i>, the ''boundary'' between ''u'' and ''v'' is ''u''[len(''u'')]''v''[1] within '''w'''. (If w is a circular word and ''w''' = [<i>w'</i>] where ''w''' is a linear word, replace ''w'' with <i>w'</i> in the previous sentence.) For example, let ''w'' be the multimos word 8'''X'''6'''Z''', '''XXZXZXZXXZXZXZ'''. Then the border between the copies of the MOS subword '''XXZXZXZ''' are ''w''[7]''w''[8] and ''w''[14]''w''[1].
## Replace every other X with Y in ''w''.  
## Replace every other '''X''' with '''Y''' in ''w''.  
# Primitive MV3 scales not of type (4) are always SV3, and those of type (4) are SV3 with the exception of the ''n''/2-step (''n'' = scale length) which is variety 2.
# Primitive MV3 scales not of type (4) are always SV3, and those of type (4) are SV3 with the exception of the ''n''/2-step (''n'' = scale length) which is variety 2.
# Primitive MV3 scales not of type (1) or (5) are ''[[balanced]]'': for any ''k'', any pair of ''k''-steps has a difference that contains +1, -1, or 0 of each step size.
# Primitive MV3 scales not of type (1) or (5) are ''[[balanced]]'': for any ''k'', any pair of ''k''-steps has a difference that contains +1, -1, or 0 of each step size.