Fraenkel word: Difference between revisions

Inthar (talk | contribs)
Facts: Supplied half of a proof that F_n is balanced.
Inthar (talk | contribs)
Line 28: Line 28:
<math> w = u(\mathbf{1}^\prime, \mathbf{2}^\prime, ..., \mathbf{(n-1)}^\prime),</math>
<math> w = u(\mathbf{1}^\prime, \mathbf{2}^\prime, ..., \mathbf{(n-1)}^\prime),</math>


where ''u'' is a subword of ''G''<sub>''n''&minus; 1</sub> with 1 &le; {{!}}''u''{{!}} &le; 2<sup>''n''&minus;1</sup> &minus; 2 and <math>\mathbf{j}^\prime</math> denotes either '''0j''' (for all ''j'', 0 < ''j'' < n) or '''j0''' (for all ''j'', 0 < ''j'' < ''n''). In particular, {{!}}''w''{{!}}<sub>'''0'''</sub> = {{!}}''w''{{!}}/2. Since {{!}}''u''{{!}} ≡ 0 mod 2<sup>''i''</sup>, by the inductive hypothesis applied to subwords of ''F''<sub>''n''&minus;1</sub> we have {{!}}''w''{{!}}/2<sup>''i''+1</sup> = {{!}}''u''{{!}}/2<sup>''i''</sup> = {{!}}''u''{{!}}<sub>'''i&minus;1'''</sub> = {{!}}''w''{{!}}<sub>'''i'''</sub> for 1 &le; ''i'' &le; ''n'' &minus; 1, as desired.
where ''u'' is a subword of ''G''<sub>''n''&minus; 1</sub> with 1 &le; {{!}}''u''{{!}} &le; 2<sup>''n''&minus;1</sup> &minus; 2 and <math>\mathbf{j}^\prime</math> denotes either '''0j''' (for all ''j'', 0 < ''j'' < n) or '''j0''' (for all ''j'', 0 < ''j'' < ''n''). In particular, {{!}}''w''{{!}}<sub>'''0'''</sub> = {{!}}''w''{{!}}/2. Since {{!}}''u''{{!}} ≡ 0 mod 2<sup>''i''</sup>, by the inductive hypothesis applied to subwords of ''G''<sub>''n''&minus;1</sub> we have {{!}}''w''{{!}}/2<sup>''i''+1</sup> = {{!}}''u''{{!}}/2<sup>''i''</sup> = {{!}}''u''{{!}}<sub>'''i&minus;1'''</sub> = {{!}}''w''{{!}}<sub>'''i'''</sub> for 1 &le; ''i'' &le; ''n'' &minus; 1, as desired.


In the second case, if {{!}}''w''{{!}} is odd, If {{!}}''w''{{!}} is even, we treat ''w'' as a word formed with consecutive length-2 subwords for letters, working in the next lower non-circular Fraenkel word, recursively until we reach a word ''v'' of odd length, say in ''G''<sub>''n''&minus;''r''</sub>. By the inductive hypothesis, ''v'' satisfies {{!}}''v''{{!}}<sub>'''j'''</sub> = floor({{!}}''v''{{!}}/2<sup>''j''+1</sup>) or ceil({{!}}''v''{{!}}/2<sup>''j''+1</sup>) for all ''j'', 0 &le; j &le; n &minus; r &minus; 1. This implies that {{!}}''u''{{!}}<sub>'''j+r'''</sub> =  floor({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>) or ceil({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>). For 1 &le; ''s'' < ''r'', we can apply the first case of the inductive hypothesis to the subword ''v''<sub>''s''</sub> corresponding to ''u'' in ''G''<sub>''n''&minus;''s''</sub>, obtaining {{!}}''v''<sub>''s''</sub>{{!}}<sub>'''0'''</sub> = {{!}}''v''<sub>''s''</sub>{{!}}/2 and hence after substituting back, {{!}}''w''{{!}}<sub>'''s'''</sub> = {{!}}''w''{{!}}/2<sup>''s''+1</sup>.}}
In the second case, if {{!}}''w''{{!}} is odd, If {{!}}''w''{{!}} is even, we treat ''w'' as a word formed with consecutive length-2 subwords for letters, working in the next lower non-circular Fraenkel word, recursively until we reach a word ''v'' of odd length, say in ''G''<sub>''n''&minus;''r''</sub>. By the inductive hypothesis, ''v'' satisfies {{!}}''v''{{!}}<sub>'''j'''</sub> = floor({{!}}''v''{{!}}/2<sup>''j''+1</sup>) or ceil({{!}}''v''{{!}}/2<sup>''j''+1</sup>) for all ''j'', 0 &le; j &le; n &minus; r &minus; 1. This implies that {{!}}''u''{{!}}<sub>'''j+r'''</sub> =  floor({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>) or ceil({{!}}''u''{{!}}/2<sup>''j''+''r''+1</sup>). For 1 &le; ''s'' < ''r'', we can apply the first case of the inductive hypothesis to the subword ''v''<sub>''s''</sub> corresponding to ''u'' in ''G''<sub>''n''&minus;''s''</sub>, obtaining {{!}}''v''<sub>''s''</sub>{{!}}<sub>'''0'''</sub> = {{!}}''v''<sub>''s''</sub>{{!}}/2 and hence after substituting back, {{!}}''w''{{!}}<sub>'''s'''</sub> = {{!}}''w''{{!}}/2<sup>''s''+1</sup>.}}