Ternary parallelogram scales are MOS substitution: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 42: Line 42:
# ''Q''<sub>3</sub> = [-''m'' + 1 : 1] × [-''n'' + 1 : 1]
# ''Q''<sub>3</sub> = [-''m'' + 1 : 1] × [-''n'' + 1 : 1]
# ''Q''<sub>4</sub> = [0 : ''m''] × [0 : ''n'']
# ''Q''<sub>4</sub> = [0 : ''m''] × [0 : ''n'']
By the previous lemma, φ restricted to any ''m'' × ''n'' window in ℤ<sup>2</sup> is surjective, hence all of the four windows ''Q''<sub>1</sub>, ..., ''Q''<sub>4</sub> have 1 somewhere in them. Call these positions '''v'''<sub>1</sub>, ..., '''v'''<sub>4</sub> (note that none of them are the zero vector). Since {{Nowrap|φ((0, 0)) {{=}} 0}} by another application of the lemma we have '''v'''<sub>1</sub>, ..., '''v'''<sub>4</sub> as the images of 1-step vectors of ''w''. Since ''w'' is ternary, exactly two of these vectors will be pairwise equal, say '''v'''<sub>k</sub> = '''v'''<sub>l</sub>. These four "quadrants" intersect in <math>[-m : m] \times \{0\} \cup \{0\} \times [-n : n],</math> entailing that '''v'''<sub>k</sub> = '''v'''<sub>l</sub> is on a coordinate axis (either the '''v'''-coordinate is 0 or the '''w'''-coordinate is 0).
By the previous lemma, φ restricted to any ''m'' × ''n'' window in ℤ<sup>2</sup> is surjective, hence all of the four windows ''Q''<sub>1</sub>, ..., ''Q''<sub>4</sub> have 1 somewhere in them. Call these positions '''v'''<sub>1</sub>, ..., '''v'''<sub>4</sub> (note that none of them are the zero vector). Since {{Nowrap|φ((0, 0)) {{=}} 0}} by another application of the lemma we have '''v'''<sub>1</sub>, ..., '''v'''<sub>4</sub> as the images of 1-step vectors of ''w''. Since ''w'' is ternary, exactly two of these vectors will be pairwise equal, say '''v'''<sub>''k''</sub> = '''v'''<sub>''l''</sub>. These four "quadrants" intersect in <math>[-m : m] \times \{0\} \cup \{0\} \times [-n : n],</math> entailing that '''v'''<sub>''k''</sub> = '''v'''<sub>''l''</sub> is on a coordinate axis (either the '''v'''-coordinate is 0 or the '''w'''-coordinate is 0 but not both).


=== Step 3: The axial step is a MOS substitution slot letter ===
=== Step 3: The axial step is a MOS substitution slot letter ===