Interleaving: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 12: Line 12:
If the polyoffset has more than two notes, the interleaving condition only needs to hold for ''pairs'' of distinct strands, and hence the above property only needs to hold for pairs of offsets. This reduces the proof to the case of one offset δ.
If the polyoffset has more than two notes, the interleaving condition only needs to hold for ''pairs'' of distinct strands, and hence the above property only needs to hold for pairs of offsets. This reduces the proof to the case of one offset δ.


Let ''S''<sub>1</sub>, ''S''<sub>2</sub> denote the two copies of ''S'' separated by δ, where ''F''(0) = ''S''<sub>1</sub>(0) = 1/1, ''S''<sub>2</sub>(0) = δ and the scale ''F'' is the union of ''S''<sub>1</sub> and ''S''<sub>2</sub>. Let <math>m_k = \min \mathcal{D}_k(S)</math> and <math>M_k = \max \mathcal{D}_k(S).</math>
Let ''S''<sub>1</sub>, ''S''<sub>2</sub> denote the two copies of ''S'' separated by δ, where ''S''<sub>1</sub>(0) = 1/1, ''S''<sub>2</sub>(0) = δ, the scale ''F'' is the union of ''S''<sub>1</sub> and ''S''<sub>2</sub>, and ''F''(0) = 1/1. Let <math>m_k = \min \mathcal{D}_k(S)</math> and <math>M_k = \max \mathcal{D}_k(S).</math>


Suppose δ is not in any intervals [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>], 1 &le; ''k'' &le; ''n'' &minus; 1, ''n'' = len(''S''). Then for any ''k'', ''S''<sub>1</sub>(''k'') falls between adjacent notes of ''S''<sub>2</sub>. The same holds when we reverse the roles of ''S''<sub>1</sub> and ''S''<sub>2</sub> and use the offset ''E'' &minus; δ; since the union of the [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>] is invariant under taking equave complements, neither is ''E'' &minus; δ within any [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>]. The reverse implication follows.
Suppose δ is not in any intervals [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>], 1 &le; ''k'' &le; ''n'' &minus; 1, ''n'' = len(''S''). Then for any ''k'', ''S''<sub>1</sub>(''k'') falls between adjacent notes of ''S''<sub>2</sub>. The same holds when we reverse the roles of ''S''<sub>1</sub> and ''S''<sub>2</sub> and use the offset ''E'' &minus; δ; since the union of the [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>] is invariant under taking equave complements, neither is ''E'' &minus; δ within any [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>]. The reverse implication follows.
Line 18: Line 18:
For the forward implication, we wish to show that the interleaving condition is violated if ''m''<sub>''k''</sub> < ''M''<sub>''k''</sub> and δ ∈ [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>] for some ''k'', 1 &le; ''k'' &le; ''n'' &minus; 1. We assert that if this holds, then ''S'' has some pair of stacked ''k''-steps, say (''S''(''n''<sub>0</sub>),&nbsp;''S''(''n''<sub>0</sub>&nbsp;+&nbsp;''k''))&nbsp;(''S''(''n''<sub>0</sub>&nbsp;+&nbsp;''k''), ''S''(''n''<sub>0</sub>&nbsp;+&nbsp;2''k'')), whose sizes ''t''<sub>0</sub>, ''t''<sub>1</sub> are unequal and both contained in [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>]. This is because such intervals [''t''<sub>0</sub>, ''t''<sub>1</sub>] or [''t''<sub>1</sub>, ''t''<sub>0</sub>] must cover [''m''<sub>''k''</sub>, ''M''<sub>k</sub>]. Indeed, if a circle of stacked ''k''-steps in ''S'' has the ''k''-step ''M''<sub>''k''</sub>, that circle must also have a ''k''-step smaller than ''k''/gcd(''n'', ''k'') steps of ''n''/gcd(''n'', ''k'')-ed''E'', and by symmetry, the previous clause also holds when "''M''<sub>''k''</sub>" and "smaller" are replaced with "''m''<sub>''k''</sub>" and "larger".
For the forward implication, we wish to show that the interleaving condition is violated if ''m''<sub>''k''</sub> < ''M''<sub>''k''</sub> and δ ∈ [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>] for some ''k'', 1 &le; ''k'' &le; ''n'' &minus; 1. We assert that if this holds, then ''S'' has some pair of stacked ''k''-steps, say (''S''(''n''<sub>0</sub>),&nbsp;''S''(''n''<sub>0</sub>&nbsp;+&nbsp;''k''))&nbsp;(''S''(''n''<sub>0</sub>&nbsp;+&nbsp;''k''), ''S''(''n''<sub>0</sub>&nbsp;+&nbsp;2''k'')), whose sizes ''t''<sub>0</sub>, ''t''<sub>1</sub> are unequal and both contained in [''m''<sub>''k''</sub>, ''M''<sub>''k''</sub>]. This is because such intervals [''t''<sub>0</sub>, ''t''<sub>1</sub>] or [''t''<sub>1</sub>, ''t''<sub>0</sub>] must cover [''m''<sub>''k''</sub>, ''M''<sub>k</sub>]. Indeed, if a circle of stacked ''k''-steps in ''S'' has the ''k''-step ''M''<sub>''k''</sub>, that circle must also have a ''k''-step smaller than ''k''/gcd(''n'', ''k'') steps of ''n''/gcd(''n'', ''k'')-ed''E'', and by symmetry, the previous clause also holds when "''M''<sub>''k''</sub>" and "smaller" are replaced with "''m''<sub>''k''</sub>" and "larger".


Now assume a stacked pair ''t''<sub>0</sub>, ''t''<sub>1</sub> of unequal ''k''-steps in ''S'' such that δ ∈ [''t''<sub>0</sub>, ''t''<sub>1</sub>]. Assume ''t''<sub>0</sub> < ''t''<sub>1</sub>. (If ''t''<sub>0</sub> > ''t''<sub>1</sub>, take equave complements and use the offset ''E'' &minus; δ.) Then the corresponding occurrence of the ''k''-step ''t''<sub>0</sub> in ''S''<sub>2</sub> is shifted into the closed interval ''I'' corresponding to the ''k''-step ''t''<sub>1</sub> in ''S''<sub>1</sub>. But we then have ''k'' + 1 notes of ''S''<sub>2</sub> within ''I''. Assuming none of these notes coincide with a note of ''S''<sub>1</sub> (which would violate interleaving), each of the ''k'' + 1 notes must fall within one of the ''k'' scale steps subtended by ''t''<sub>0</sub> in ''S''<sub>1</sub>. By the pigeonhole principle, at least one of these steps in ''S''<sub>1</sub> must contain two consecutive notes of ''S''<sub>2</sub> in its interior, breaking the interleaving condition as desired.
Now assume a stacked pair ''t''<sub>0</sub>, ''t''<sub>1</sub> of unequal ''k''-steps in ''S'' such that δ ∈ [''t''<sub>0</sub>, ''t''<sub>1</sub>]. Assume ''t''<sub>0</sub> < ''t''<sub>1</sub>. (If ''t''<sub>0</sub> > ''t''<sub>1</sub>, take equave complements and use the offset ''E'' &minus; δ.) Then the corresponding occurrence of the ''k''-step ''t''<sub>0</sub> in ''S''<sub>2</sub> is shifted into the closed interval ''I'' corresponding to the ''k''-step ''t''<sub>1</sub> in ''S''<sub>1</sub>. But we then have ''k'' + 1 notes of ''S''<sub>2</sub> within ''I''. Assuming none of these notes coincide with a note of ''S''<sub>1</sub> (otherwise, interleaving would be violated), each of the ''k'' + 1 notes must fall within one of the ''k'' scale steps subtended by ''t''<sub>0</sub> in ''S''<sub>1</sub>. By the pigeonhole principle, at least one of these steps in ''S''<sub>1</sub> must contain two consecutive notes of ''S''<sub>2</sub> in its interior, breaking the interleaving condition as desired.


== Some flought scales ==
== Some flought scales ==