Ternary scale theorems: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 59: Line 59:


==== Statement (1) ====
==== Statement (1) ====
In case 1, let {{nowrap|'''g'''<sub>1</sub> {{=}} (2, 1) &minus; (1, 1)|'''g'''<sub>2</sub> {{=}} (1, 2) &minus; (2, 1)}}, and {{nowrap|'''g'''<sub>3</sub> {{=}} (1, 1) &minus; ({{frac|''n''|2}}, 2)}} {{nowrap|{{=}} ((&minus;{{frac|''n''|2}} &minus; 1)*'''g'''<sub>1</sub> &minus; {{frac|''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''.  
In case 1, let {{nowrap|'''g'''<sub>1</sub> {{=}} (2, 1) (1, 1)|'''g'''<sub>2</sub> {{=}} (1, 2) (2, 1)}}, and {{nowrap|'''g'''<sub>3</sub> {{=}} (1, 1) ({{frac|''n''|2}}, 2)}} {{nowrap|{{=}} (({{frac|''n''|2}} 1)*'''g'''<sub>1</sub> {{frac|''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 the aggregate generator {{nowrap|'''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 by the SGA assumption, each is an odd-step. All multiples of the aggregate generator '''g''' must be even-steps, and those dyads 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 {{nowrap|('''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 the aggregate generator {{nowrap|'''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 by the SGA assumption, each is an odd-step. All multiples of the aggregate generator '''g''' must be even-steps, and those dyads 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 {{nowrap|('''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'' &ge; 3. Consider the following abstract sizes for the dyad class of ''k''-steps reached by stacking ''r'' generators:
Let ''r'' be odd and ''r'' &ge; 3. Consider the following abstract sizes for the dyad class of ''k''-steps reached by stacking ''r'' generators:
# from '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub>, we get {{nowrap|''a''<sub>1</sub> {{=}} {{sfrac|''r'' &minus; 1|2}} * '''g''' + '''g'''<sub>1</sub>}} {{nowrap|{{=}} {{ceil|{{frac|''r''|2}}}} '''g'''<sub>1</sub> + {{floor|{{frac|''r''|2}}}} '''g'''<sub>2</sub>}}
# from '''g'''<sub>1</sub> '''g'''<sub>2</sub> ... '''g'''<sub>1</sub>, we get {{nowrap|''a''<sub>1</sub> {{=}} {{sfrac|''r'' 1|2}} * '''g''' + '''g'''<sub>1</sub>}} {{nowrap|{{=}} {{ceil|{{frac|''r''|2}}}} '''g'''<sub>1</sub> + {{floor|{{frac|''r''|2}}}} '''g'''<sub>2</sub>}}
# from '''g'''<sub>2</sub> '''g'''<sub>1</sub> ... '''g'''<sub>2</sub>, we get {{nowrap|''a''<sub>2</sub> {{=}} {{sfrac|''r'' &minus; 1|2}} * '''g''' + '''g'''<sub>2</sub>}} {{nowrap|{{=}} {{floor|{{frac|''r''|2}}}} '''g'''<sub>1</sub> + {{ceil|{{frac|''r''|2}}}} '''g'''<sub>2</sub>}}
# from '''g'''<sub>2</sub> '''g'''<sub>1</sub> ... '''g'''<sub>2</sub>, we get {{nowrap|''a''<sub>2</sub> {{=}} {{sfrac|''r'' 1|2}} * '''g''' + '''g'''<sub>2</sub>}} {{nowrap|{{=}} {{floor|{{frac|''r''|2}}}} '''g'''<sub>1</sub> + {{ceil|{{frac|''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 {{nowrap|''a''<sub>3</sub> {{=}} {{sfrac|''r'' &minus; 1|2}} '''g'''<sub>1</sub> + {{sfrac|''r'' &minus; 1|2}} '''g'''<sub>2</sub> + '''g'''<sub>3</sub>}} {{nowrap|≡ {{sfrac|''r'' &minus; ''n''|2}} &minus; {{sfrac|3|2}}'''g'''<sub>1</sub> + {{sfrac|''r'' &minus; ''n''|2}} &minus; {{sfrac|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 {{nowrap|''a''<sub>3</sub> {{=}} {{sfrac|''r'' 1|2}} '''g'''<sub>1</sub> + {{sfrac|''r'' 1|2}} '''g'''<sub>2</sub> + '''g'''<sub>3</sub>}} {{nowrap|≡ {{sfrac|''r'' ''n''|2}} {{sfrac|3|2}}'''g'''<sub>1</sub> + {{sfrac|''r'' ''n''|2}} {{sfrac|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 {{nowrap|''a''<sub>4</sub> {{=}} {{sfrac|''r'' + 1|2}} '''g'''<sub>1</sub> + {{sfrac|''r'' &minus; 3|2}} '''g'''<sub>2</sub> + '''g'''<sub>3</sub>}} {{nowrap|≡ {{sfrac|''r'' &minus; ''n''|2}} &minus; {{sfrac|1|2}}'''g'''<sub>1</sub> + {{sfrac|''r'' &minus; ''n''|2}} &minus; {{sfrac|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 {{nowrap|''a''<sub>4</sub> {{=}} {{sfrac|''r'' + 1|2}} '''g'''<sub>1</sub> + {{sfrac|''r'' 3|2}} '''g'''<sub>2</sub> + '''g'''<sub>3</sub>}} {{nowrap|≡ {{sfrac|''r'' ''n''|2}} {{sfrac|1|2}}'''g'''<sub>1</sub> + {{sfrac|''r'' ''n''|2}} {{sfrac|3|2}}'''g'''<sub>2</sub> (mod '''e''')}}.


Since {{nowrap|''n'' &gt; 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 SGA ternary 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 {{nowrap|''n'' &gt; 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 SGA ternary 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 {{nowrap|''n'' &ge; 3}} and let {{nowrap|(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 closing generator after stacking alternating '''g'''<sub>1</sub> and '''g'''<sub>2</sub>. Then the generator circle is {{nowrap|('''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, we may assume that ''k'' is odd, and the combinations of alternants corresponding to a step come in exactly 3 sizes:
In case 2, let {{nowrap|''n'' &ge; 3}} and let {{nowrap|(2, 1) (1, 1) {{=}} '''g'''<sub>1</sub>|(1, 2) (2, 1) {{=}} '''g'''<sub>2</sub>}} be the two alternants. Let '''g'''<sub>3</sub> be the closing generator after stacking alternating '''g'''<sub>1</sub> and '''g'''<sub>2</sub>. Then the generator circle is {{nowrap|('''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, we may assume that ''k'' is odd, and the combinations of alternants corresponding to a step come in exactly 3 sizes:
# {{nowrap|{{ceil|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{floor|{{frac|''k''|2}}}}'''g'''<sub>2</sub>}}
# {{nowrap|{{ceil|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{floor|{{frac|''k''|2}}}}'''g'''<sub>2</sub>}}
# {{nowrap|{{floor|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{ceil|{{frac|''k''|2}}}}'''g'''<sub>2</sub>}}
# {{nowrap|{{floor|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{ceil|{{frac|''k''|2}}}}'''g'''<sub>2</sub>}}
# {{nowrap|{{floor|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{floor|{{frac|''k''|2}}}} '''g'''<sub>2</sub> + '''g'''<sub>3</sub>}}
# {{nowrap|{{floor|{{frac|''k''|2}}}}'''g'''<sub>1</sub> + {{floor|{{frac|''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 {{nowrap|('''g'''<sub>1</sub> '''g'''<sub>2</sub>)<sup>{{floor|{{frac|''n''|2}}}}</sup>}}, we see that the first two sizes must both occur {{sfrac|''n'' &minus; ''k''|2}} 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 {{nowrap|('''g'''<sub>1</sub> '''g'''<sub>2</sub>)<sup>{{floor|{{frac|''n''|2}}}}</sup>}}, we see that the first two sizes must both occur {{sfrac|''n'' ''k''|2}} times. This proves (2).


==== Statement (3) ====
==== Statement (3) ====
Line 95: Line 95:
'''Claim 1''': Deleting '''X'''s from the generator subwords of ''s'' gives every ''j''-step subword in the scale ''E''<sub>X</sub>(''s'')('''Y''',&nbsp;'''Z'''), the scale word obtained by deleting all '''X''''s from ''s''.  
'''Claim 1''': Deleting '''X'''s from the generator subwords of ''s'' gives every ''j''-step subword in the scale ''E''<sub>X</sub>(''s'')('''Y''',&nbsp;'''Z'''), the scale word obtained by deleting all '''X''''s from ''s''.  


Proof: Consider the subword for the closing generator of ''s'' on index ''p'', which is {{nowrap|''I'' {{=}} ''s''[''p'' : ''p'' + ''i'' + ''j'']}}, and suppose the result of deleting all '''X''''s from ''I'' has a ''j''-step subword ''w''. Shifting ''I'' one step to the left and one step to the right, {{nowrap|''s''[''p'' &minus; 1: ''p'' &minus; 1 + ''i'' + ''j'']}} and {{nowrap|''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 {{nowrap|''j'' + 1}} letters long and is the ''j''-step word ''w'' 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'' can all be obtained by deleting '''X'''s from detempered perfect generators; take {{nowrap|''q'' &ne; ''p''}} to be the index of the first letter of one such ''j''-step subword (as contained in ''s'') and use {{nowrap|''s''[''q'' : ''q'' + ''i'' + ''j'']}}.
Proof: Consider the subword for the closing generator of ''s'' on index ''p'', which is {{nowrap|''I'' {{=}} ''s''[''p'' : ''p'' + ''i'' + ''j'']}}, and suppose the result of deleting all '''X''''s from ''I'' has a ''j''-step subword ''w''. Shifting ''I'' one step to the left and one step to the right, {{nowrap|''s''[''p'' 1: ''p'' 1 + ''i'' + ''j'']}} and {{nowrap|''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 {{nowrap|''j'' + 1}} letters long and is the ''j''-step word ''w'' 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'' can all be obtained by deleting '''X'''s from detempered perfect generators; take {{nowrap|''q'' &ne; ''p''}} to be the index of the first letter of one such ''j''-step subword (as contained in ''s'') and use {{nowrap|''s''[''q'' : ''q'' + ''i'' + ''j'']}}.


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


=== Proof ===
=== Proof ===
Assume that the generator '''g''' 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 '''g''' 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'' 1)/2) notes.


Assume 1 &lt; gcd(''k'', ''n'') &lt; ''n'' and ''n'' &ge; 5. Since ''n'' is odd, ''d'' {{=}} gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, there must be a circle of ''n''/''d'' &lt; {{floor|''n''/2}} notes formed by '''g''', contrary to the assumption of GO. Thus, gcd(''k'', ''n'') {{=}} 1.  
Assume 1 &lt; gcd(''k'', ''n'') &lt; ''n'' and ''n'' &ge; 5. Since ''n'' is odd, ''d'' {{=}} gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, there must be a circle of ''n''/''d'' &lt; {{floor|''n''/2}} notes formed by '''g''', contrary to the assumption of GO. Thus, gcd(''k'', ''n'') {{=}} 1.  


Since ''n'' is odd, ''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 wouldn't have the assumed lengths.) {{qed}}
Since ''n'' is odd, ''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'' 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 wouldn't have the assumed lengths.) {{qed}}


== Theorem 3 (Properties of even generator-offset ternary scales) ==
== Theorem 3 (Properties of even generator-offset ternary scales) ==
Line 151: Line 151:


==== ''n'' is odd, etc. ====
==== ''n'' is odd, etc. ====
Suppose {{nowrap|'''Q''' {{=}} (α, β, γ)}} {{nowrap|≠ '''R''' {{=}} (α, β′, γ′)}} are the two ''k''-steps in ''s'' that project to '''P'''. Then {{nowrap|'''T''' {{=}} (α′, β″, γ″)}} projects to '''I'''. Here the values in each component differ by at most 1, and {{nowrap|α ≠ α′}}. 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 {{nowrap|β'''b''' + (''n'' &minus; β)('''a'''~'''c''')}} and {{nowrap|β′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 {{nowrap|'''Q''' {{=}} (α, β, γ)}} {{nowrap|≠ '''R''' {{=}} (α, β′, γ′)}} are the two ''k''-steps in ''s'' that project to '''P'''. Then {{nowrap|'''T''' {{=}} (α′, β″, γ″)}} projects to '''I'''. Here the values in each component differ by at most 1, and {{nowrap|α ≠ α′}}. 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 {{nowrap|β'''b''' + (''n'' β)('''a'''~'''c''')}} and {{nowrap|β′a + (''n'' β′)('''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 λβ&nbsp;μβ′. Then Λ<sub>3</sub> is the MOS {{nowrap|(λ ± 1)γ (μ ∓ 1)γ′}}. Since both Λ<sub>2</sub> and Λ<sub>3</sub> are primitive, and at least one of μ and {{nowrap|(μ ∓ 1)}} are even, it is now immediate that ''n'' is odd.
Suppose Λ<sub>2</sub> is the MOS λβ&nbsp;μβ′. Then Λ<sub>3</sub> is the MOS {{nowrap|(λ ± 1)γ (μ ∓ 1)γ′}}. Since both Λ<sub>2</sub> and Λ<sub>3</sub> are primitive, and at least one of μ and {{nowrap|(μ ∓ 1)}} are even, it is now immediate that ''n'' is odd.


Either {{nowrap|β″ {{=}} β}} or {{nowrap|β″ {{=}} β′}}. Assume {{nowrap|β″ {{=}} β′}}. Then {{nowrap|γ″ {{=}} γ}}, and {{nowrap|Λ<sub>3</sub> {{=}} (λ + 1)γ (μ &minus; 1)γ′}}. Also assume that the first ''k''-step in Σ is '''Q'''. Then we have:
Either {{nowrap|β″ {{=}} β}} or {{nowrap|β″ {{=}} β′}}. Assume {{nowrap|β″ {{=}} β′}}. Then {{nowrap|γ″ {{=}} γ}}, and {{nowrap|Λ<sub>3</sub> {{=}} (λ + 1)γ (μ 1)γ′}}. Also assume that the first ''k''-step in Σ is '''Q'''. Then we have:


<pre<includeonly />>
<pre<includeonly />>
Line 165: Line 165:
</pre>
</pre>


where {{nowrap|''W'' {{=}} ''W''('''x''', '''y''')}} is a word in two variables '''x''' and '''y''', of length {{nowrap|''n'' &minus; 2}}.
where {{nowrap|''W'' {{=}} ''W''('''x''', '''y''')}} is a word in two variables '''x''' and '''y''', of length {{nowrap|''n'' 2}}.


==== Case analysis ====
==== Case analysis ====
Since, by our assumption, Λ<sub>3</sub> has two γ in a row, Λ<sub>3</sub> must have more γ than γ′, so {{nowrap|μ &minus; 1 &lt; ''n''/2}}. Since Λ<sub>3</sub> is a MOS, {{nowrap|μ &minus; 1 &ge; 1}}. So we have {{nowrap|2 &le; μ &le; {{ceil|''n''/2}}}}.
Since, by our assumption, Λ<sub>3</sub> has two γ in a row, Λ<sub>3</sub> must have more γ than γ′, so {{nowrap|μ 1 &lt; ''n''/2}}. Since Λ<sub>3</sub> is a MOS, {{nowrap|μ 1 &ge; 1}}. So we have {{nowrap|2 &le; μ &le; {{ceil|''n''/2}}}}.


We have three cases to consider:
We have three cases to consider:


'''Case 1''': {{nowrap|μ {{=}} 2}}, i.e. Λ<sub>2</sub> is the MOS {{nowrap|(''n'' &minus; 2)β 2β′}}.
'''Case 1''': {{nowrap|μ {{=}} 2}}, i.e. Λ<sub>2</sub> is the MOS {{nowrap|(''n'' 2)β 2β′}}.


For Λ<sub>2</sub> to be a MOS, the first, and only, occurrence of '''R''' must be at either {{nowrap|''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 {{nowrap|''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''.
Line 186: Line 186:
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 {{nowrap|''f'' &minus; 1}} generators away).
# the stack has one '''T''' and does not contain any '''R''' (since it's more than {{nowrap|''f'' 1}} generators away).
These give exactly three distinct sizes for every dyad class. Hence ''s'' is SV3.
These give exactly three distinct sizes for every dyad class. Hence ''s'' is SV3.


In this case ''s'' has two chains of '''Q''', one with {{floor|''n''/2}} notes and one offset by {{nowrap|'''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 {{nowrap|'''Q''' {{=}} α'''a''' + β'''b''' + γ'''c'''}} is the only way to write '''Q''' in the basis {{nowrap|('''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 {{nowrap|'''Q'''<sup>(''f'' 1)</sup>R}} with {{ceil|''n''/2}} notes. Every instance of Q must be a ''k''-step, since by ℤ-linear independence {{nowrap|'''Q''' {{=}} α'''a''' + β'''b''' + γ'''c'''}} is the only way to write '''Q''' in the basis {{nowrap|('''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:''' {{nowrap|μ &ge; {{ceil|''n''/2}}}}, i.e. Λ<sub>2</sub> has fewer β than β′.
'''Case 2:''' {{nowrap|μ &ge; {{ceil|''n''/2}}}}, i.e. Λ<sub>2</sub> has fewer β than β′.
Line 203: Line 203:
<math>2 \lfloor\frac{n}{\mu}\rfloor - 1 {{=}} 2 \big(\lfloor \frac{n}{\mu} \rfloor - 1\big) + 1 \leq y \leq 2 \big(\lfloor\frac{n}{\mu}\rfloor + 1 \big) + 1 {{=}} 2\lfloor\frac{n}{\mu}\rfloor + 3.</math>
<math>2 \lfloor\frac{n}{\mu}\rfloor - 1 {{=}} 2 \big(\lfloor \frac{n}{\mu} \rfloor - 1\big) + 1 \leq y \leq 2 \big(\lfloor\frac{n}{\mu}\rfloor + 1 \big) + 1 {{=}} 2\lfloor\frac{n}{\mu}\rfloor + 3.</math>


(The lower bound is reached if Λ<sub>3</sub> has chunks of sizes {{nowrap|{{floor|''n''/μ}} &minus; 1}} and {{floor|''n''/μ}}, and the upper bound is reached if Λ<sub>3</sub> has chunks of sizes {{floor|''n''/μ}} and {{ceil|''n''/μ}}.)
(The lower bound is reached if Λ<sub>3</sub> has chunks of sizes {{nowrap|{{floor|''n''/μ}} 1}} and {{floor|''n''/μ}}, and the upper bound is reached if Λ<sub>3</sub> has chunks of sizes {{floor|''n''/μ}} and {{ceil|''n''/μ}}.)


The difference between the chunk sizes of Λ<sub>3</sub> is {{nowrap|''y'' &minus; ''x''}}, which must be 1 since Λ<sub>3</sub> is pairwise well-formed. We thus have the following subcases: (In the following, chunk of Λ<sub>2</sub> means chunk of β, and chunk of Λ<sub>3</sub> means chunk of γ.)
The difference between the chunk sizes of Λ<sub>3</sub> is {{nowrap|''y'' ''x''}}, which must be 1 since Λ<sub>3</sub> is pairwise well-formed. We thus have the following subcases: (In the following, chunk of Λ<sub>2</sub> means chunk of β, and chunk of Λ<sub>3</sub> means chunk of γ.)


'''Case 3.1:''' {{nowrap|(''x'', ''y'') {{=}} ({{floor|''n''/μ}}, 2*{{floor|''n''/μ}} &minus; 1)}}.
'''Case 3.1:''' {{nowrap|(''x'', ''y'') {{=}} ({{floor|''n''/μ}}, 2*{{floor|''n''/μ}} 1)}}.


Since {{nowrap|''y'' &minus; ''x'' {{=}} {{floor|''n''/μ}} &minus; 1}}, we have {{nowrap|''x'' {{=}} {{floor|''n''/μ}} {{=}} 2}} and {{nowrap|''y'' {{=}} 3}}. The chunk in Λ<sub>3</sub> whose size was defined to be ''y'' is made from two consecutive chunks in Λ<sub>2</sub> of size 1. (So Λ<sub>2</sub> has chunks of size 1 and 2, and Λ<sub>3</sub> has chunks of size 2 and 3.) Since chunk sizes of a MOS themselves form a MOS, Λ<sub>2</sub> has more chunks of size 1 than it has chunks of size 2.
Since {{nowrap|''y'' ''x'' {{=}} {{floor|''n''/μ}} 1}}, we have {{nowrap|''x'' {{=}} {{floor|''n''/μ}} {{=}} 2}} and {{nowrap|''y'' {{=}} 3}}. The chunk in Λ<sub>3</sub> whose size was defined to be ''y'' is made from two consecutive chunks in Λ<sub>2</sub> of size 1. (So Λ<sub>2</sub> has chunks of size 1 and 2, and Λ<sub>3</sub> has chunks of size 2 and 3.) Since chunk sizes of a MOS themselves form a MOS, Λ<sub>2</sub> has more chunks of size 1 than it has chunks of size 2.


Λ<sub>2</sub> has only two chunks of size 1, {{nowrap|Λ<sub>2</sub>[''n'' &minus; 1]}} and Λ<sub>2</sub>[1], since otherwise Λ<sub>3</sub> would have a chunk of size 1 within {{nowrap|Λ<sub>3</sub>[1 : ''n'']}}. Thus Λ<sub>2</sub> has exactly one chunk of size 2. Thus {{nowrap|Λ<sub>2</sub> {{=}} ββ′βββ′ββ′}} and {{nowrap|Λ<sub>3</sub> {{=}} γγ′γγγ′γγ}}. Thus we have:
Λ<sub>2</sub> has only two chunks of size 1, {{nowrap|Λ<sub>2</sub>[''n'' 1]}} and Λ<sub>2</sub>[1], since otherwise Λ<sub>3</sub> would have a chunk of size 1 within {{nowrap|Λ<sub>3</sub>[1 : ''n'']}}. Thus Λ<sub>2</sub> has exactly one chunk of size 2. Thus {{nowrap|Λ<sub>2</sub> {{=}} ββ′βββ′ββ′}} and {{nowrap|Λ<sub>3</sub> {{=}} γγ′γγγ′γγ}}. Thus we have:


<pre<includeonly />>
<pre<includeonly />>
Line 229: Line 229:
(This also implies ''s'' is SV3.)
(This also implies ''s'' is SV3.)


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


'''Case 3.3''': {{nowrap|(''x'', ''y'') {{=}}}} {{nowrap|({{floor|''n''/μ}} + 1, 2*{{floor|''n''/μ}})}} is impossible: Here {{nowrap|(''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''': {{nowrap|(''x'', ''y'') {{=}}}} {{nowrap|({{floor|''n''/μ}} + 1, 2*{{floor|''n''/μ}})}} is impossible: Here {{nowrap|(''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 {{nowrap|''y'' &minus; ''x'' &ge; 2}}:
The remaining cases are all impossible because they imply {{nowrap|''y'' ''x'' &ge; 2}}:


* '''Case 3.4''': {{nowrap|(''x'', ''y'') {{=}}}} {{nowrap|({{floor|''n''/μ}} + 1, 2*{{floor|''n''/μ}} + 1)}}
* '''Case 3.4''': {{nowrap|(''x'', ''y'') {{=}}}} {{nowrap|({{floor|''n''/μ}} + 1, 2*{{floor|''n''/μ}} + 1)}}
Line 249: Line 249:
=== Proof ===
=== Proof ===
Let ''s'' be a PWF (thus primitive) scale. The case where ''s'' is equivalent to '''XYXZXYX''' can be manually verified, so by Theorem 4, the only remaining case is when ''s'' can be constructed by stacking two alternating sizes, '''g'''<sub>1</sub> and '''g'''<sub>2</sub>, of ''k''-steps. We assume that ''s'' has [[step signature]] ''a'''''X''' ''b'''''Y''' ''b'''''Z''' where ''a'' is odd. This ''k'' corresponds to a class of generators of the primitive MOS ''a'''''X''' 2''b'''''W'''. This MOS is obtained from ''s'' by applying the letterwise substitution function π such that {{nowrap|π('''X''') {{=}} '''X'''}} and {{nowrap|π('''Y''') {{=}} π('''Z''') {{=}} '''W'''}}. Naturally, π applies to linear words, circular words, and step vector sizes. Additionally, we can choose ''k'' so that the two sizes of ''k''-steps in π(''s'') are:
Let ''s'' be a PWF (thus primitive) scale. The case where ''s'' is equivalent to '''XYXZXYX''' can be manually verified, so by Theorem 4, the only remaining case is when ''s'' can be constructed by stacking two alternating sizes, '''g'''<sub>1</sub> and '''g'''<sub>2</sub>, of ''k''-steps. We assume that ''s'' has [[step signature]] ''a'''''X''' ''b'''''Y''' ''b'''''Z''' where ''a'' is odd. This ''k'' corresponds to a class of generators of the primitive MOS ''a'''''X''' 2''b'''''W'''. This MOS is obtained from ''s'' by applying the letterwise substitution function π such that {{nowrap|π('''X''') {{=}} '''X'''}} and {{nowrap|π('''Y''') {{=}} π('''Z''') {{=}} '''W'''}}. Naturally, π applies to linear words, circular words, and step vector sizes. Additionally, we can choose ''k'' so that the two sizes of ''k''-steps in π(''s'') are:
* the perfect generator {{nowrap|'''g''' {{=}} ''t'''''X''' + (''k'' &minus; ''t'')'''W'''}} (note that {{nowrap|(''k'' &minus; ''t'')}} is odd by a previous proof), and
* the perfect generator {{nowrap|'''g''' {{=}} ''t'''''X''' + (''k'' ''t'')'''W'''}} (note that {{nowrap|(''k'' ''t'')}} is odd by a previous proof), and
* the imperfect generator '''i''' {{=}} (''t'' + 1)'''X''' + (''k'' &minus; ''t'' &minus; 1)'''W'''.
* the imperfect generator '''i''' {{=}} (''t'' + 1)'''X''' + (''k'' ''t'' 1)'''W'''.
We have {{nowrap|π('''g'''<sub>1</sub>) {{=}} π('''g'''<sub>2</sub>)}} =&nbsp;'''g'''. Let '''h''' be the size in ''s'' such that {{nowrap|π('''h''') {{=}} '''i'''}}. Hence only one ''k''-step subword ''h'' has this size in ''s''. By Theorem 1, we also may assume {{nowrap|{{abs|'''g'''<sub>1</sub>}}<sub>'''Y'''</sub> {{=}} {{abs|'''g'''<sub>2</sub>}}<sub>'''Y'''</sub> + 1}} and {{nowrap|{{abs|'''g'''<sub>1</sub>}}<sub>'''Z'''</sub> {{=}} {{abs|'''g'''<sub>2</sub>}}<sub>'''Z'''</sub> &minus; 1}} (the other case corresponds to the opposite chirality).
We have {{nowrap|π('''g'''<sub>1</sub>) {{=}} π('''g'''<sub>2</sub>)}} =&nbsp;'''g'''. Let '''h''' be the size in ''s'' such that {{nowrap|π('''h''') {{=}} '''i'''}}. Hence only one ''k''-step subword ''h'' has this size in ''s''. By Theorem 1, we also may assume {{nowrap|{{abs|'''g'''<sub>1</sub>}}<sub>'''Y'''</sub> {{=}} {{abs|'''g'''<sub>2</sub>}}<sub>'''Y'''</sub> + 1}} and {{nowrap|{{abs|'''g'''<sub>1</sub>}}<sub>'''Z'''</sub> {{=}} {{abs|'''g'''<sub>2</sub>}}<sub>'''Z'''</sub> 1}} (the other case corresponds to the opposite chirality).


As ''s'' is periodic and {{nowrap|gcd(len(''s''), ''k'') {{=}} 1}}, it suffices to count letters in stacks of ''k''-steps in ''s''. The ''j''-step on any note of ''s'' can be computed by reducing a stack of ''k''-step subwords on that note, which alternate in size between '''g'''<sub>1</sub> and '''g'''<sub>2</sub>. Note that:
As ''s'' is periodic and {{nowrap|gcd(len(''s''), ''k'') {{=}} 1}}, it suffices to count letters in stacks of ''k''-steps in ''s''. The ''j''-step on any note of ''s'' can be computed by reducing a stack of ''k''-step subwords on that note, which alternate in size between '''g'''<sub>1</sub> and '''g'''<sub>2</sub>. Note that:
Line 260: Line 260:


In summary: Let '''u'''<sub>1</sub>, '''u'''<sub>2</sub> be the two sizes that do not include '''i''', and '''v''' be the size that does. Say that '''u'''<sub>1</sub> has one more '''g'''<sub>1</sub> than '''g'''<sub>2</sub>. Then
In summary: Let '''u'''<sub>1</sub>, '''u'''<sub>2</sub> be the two sizes that do not include '''i''', and '''v''' be the size that does. Say that '''u'''<sub>1</sub> has one more '''g'''<sub>1</sub> than '''g'''<sub>2</sub>. Then
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''X'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''X'''</sub>}} {{nowrap|{{=}} {{abs|v}}<sub>'''X'''</sub> &minus; 1}}
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''X'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''X'''</sub>}} {{nowrap|{{=}} {{abs|v}}<sub>'''X'''</sub> 1}}
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''Y'''</sub> + 1}}
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''Y'''</sub> + 1}}
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''Z'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''Z'''</sub> &minus; 1}}
* {{nowrap|{{abs|'''u'''<sub>1</sub>}}<sub>'''Z'''</sub> {{=}} {{abs|'''u'''<sub>2</sub>}}<sub>'''Z'''</sub> 1}}
* {{nowrap|{{abs|'''v'''}}<sub>'''Y'''</sub> {{=}} {{abs|'''v'''}}<sub>'''Z'''</sub>}} {{nowrap|{{=}} {{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub>}} {{nowrap|{{=}} min({{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub>, {{abs|'''u'''<sub>2</sub>}}<sub>'''Y'''</sub>)}}.
* {{nowrap|{{abs|'''v'''}}<sub>'''Y'''</sub> {{=}} {{abs|'''v'''}}<sub>'''Z'''</sub>}} {{nowrap|{{=}} {{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub>}} {{nowrap|{{=}} min({{abs|'''u'''<sub>1</sub>}}<sub>'''Y'''</sub>, {{abs|'''u'''<sub>2</sub>}}<sub>'''Y'''</sub>)}}.
This proves that the set of ''j''-steps is balanced. When ''m'' is even, take the equave-complement of the set of ''j''-steps to reduce to the above case. {{qed}}
This proves that the set of ''j''-steps is balanced. When ''m'' is even, take the equave-complement of the set of ''j''-steps to reduce to the above case. {{qed}}