Hypercubic billiard word
Hypercubic billiard words, cutting sequences, or cutting words[1] can be visualized by considering a point particle (a "billiard ball") bouncing off walls in a closed cubic room. The ratio between the numbers of the step sizes (associated with the direction of the billiard ball) may be rational (resulting in a periodic scale) or irrational (resulting in an aperiodic scale).
Regarded as scales, they are called billiard scales, which are one possible generalization of MOS scales to larger alphabets.
In the binary case with irrational slope, billiard scales correspond to Sturmian words, which are aperiodic "MOS" (i.e. strict variety 2) scales.
Mathematical overview
In the rational case, let w be a scale word with signature a1X1 ... adXd (i.e. w is a scale word with ai-many Xi steps) and let a = (a1, ..., ad), which we call the velocity. We call w a rank-d billiard scale if there exists a vector b ∈ ℝd such that the line at + b has intersections with coordinate level planes xi = k ∈ ℤ that spell out the scale as you move in the positive t direction along that line.
This definition is equivalent to the definition given in terms of a billiard ball in a cubic room: We first fire off the billiard ball in the direction a = (a1, ..., ad) given by the scale signature. For integer ai, the particle's trajectory will be periodic, and for almost any starting point, the particle will only collide with one wall at a time. The pattern of which walls the particle collides with then spells out a billiard scale of the given signature, though for arity higher than 2, this can yield rotationally inequivalent scales depending on the starting point.
Identifying opposite sides of the cubic room, thereby producing a d-torus, yields an equivalent and at times more compelling visualization: now the particle always travels with velocity a, and every time a boundary is crossed and the corresponding scale step recorded, the particle reappears on the other side instead of bouncing. Considering the lines parallel to a that do not yield a billiard scale — namely those that have a point that has multiple integer coordinates — subdivides the d-torus into finitely many regions each of which gives rise to a billiard scale.
Properties
Proofs to be added
- A (circular) scale word is a rank-2 billiard scale iff it is a MOS scale.
- Not all billiard scales are Fokker blocks; blackdye can be checked to be a billiard scale by using the initial position (1, 1/√5, 1/√3), but it is not a Fokker block.
- A billiard scale becomes a billiard scale over fewer letters when one removes all instances of some subset of its step sizes. However, the converse is false.
- That’s because projecting we just remove some of the αs from the list, leaving all remaining ones intact.
- Not all billiard words over more than 2 letters are balanced. (In binary scales, the term "balanced" becomes one characterization of the MOS property.) Ternary billiard scales that are balanced are MV3.[2]
- Balanced ternary billiard scales with odd length are pairwise well-formed and have a well-formed generator sequence of two terms; see Ternary scale theorems.
- There exist ternary billiard scales of length up to 29 that do not have a well-formed generator sequence.
- A d-ary billiard scale is (d − 1)-block balanced and (d − 1)-chain balanced.[1][3] However, scales on at least 3 letters satisfying the block balance bound need not be billiard scales.
- An aperiodic d-ary billiard scale has maximum variety at most 2d−1.[4] Hence this bound must hold for periodic d-ary billiard scales as well.
- If a ternary billiard scale has a well-formed generator sequence, the WFGS must use either two or three distinct generators, since ternary billiard scales are MV3 or MV4.
- A d-ary billiard sclae satisfy the following two generalizations of balance on the article balanced word:
Determining whether a scale word is a billiard scale
The following discussion documents a naive algorithm for answering whether a circular word s over d letters with velocity a = ∑i ai ei ∈ ℤd (representing the signature a1x1...adxd) is a billiard word:
Consider the d-dimensional prism P = ∏di=1 [0, ai]. Since the pattern in which the billiard line L = L(t) = at + b hits integer coordinate hyperplanes (i.e. sets xi = n for n ∈ ℤ) is periodic with period 1 in t, we may first regard P as a d-torus and L : ℝ → P as a periodic function with period 1. Because s is a billiard word, L cannot meet any point q = (q1, ..., qd) ∈ ℝd where two coordinates, qi and qj, i < j, are integers. Thus for two distinct integers i < j in {1, ..., d}, any choice of two integers mi ∈ {0, ..., ai} and nj ∈ {0, ..., bj} corresponds to the affine hyperplane (which we call a constraint hyperplane)
[math]\displaystyle{ H(m_i, n_j) = \operatorname{span}(\mathbf{a}, \mathbf{e}_1, ..., \hat{\mathbf{e}}_i, ..., \hat{\mathbf{e}}_j, ..., \mathbf{e}_r) + (m_i \mathbf{e}_i + n_j \mathbf{e}_j), }[/math]
where the circumflexes indicate that the ith and jth basis vectors are to be omitted. In particular, L and H(mi, nj) are disjoint for any i < j, any mi ∈ {0, ..., ai − 1}, and any nj ∈ {0, ..., bj − 1}.
Now, using the identifications ei = 0 for i in {1, ..., d} on P results in a smaller d-torus C whose fundamental domain in ℝd is the unit cube C̄ = ∏di=1 [0, 1]. The path L descends to L : ℝ → C which is still periodic with period 1. The constraint hyperplanes also descend to C. Now unwrap C into C̄, and regard L as a subset of C̄ that is partitioned into disjoint line segments that travel from one facet (i.e. a (d − 1)-dimensional face) of C̄ to another. The reader is warned that to find (the images of) all of the constraint hyperplanes in C̄, any constraint hyperplane that does not meet C̄ should be shifted by integer increments in coordinates so that the shifted hyperplane does meet C̄. The constraint hyperplanes partition C̄ into finitely many regions (as they do for P), and any valid billiard path L in C̄ must meet len(s)-many of these regions before returning to its starting point.
Now we use the projection π, a linear map on ℝd whose kernel is generated by a, to project C̄ to a (d − 1)-dimensional convex polytope π(C̄). The constraint hyperplanes now become (d − 2)-dimensional hyperplanes that partition π(C̄) into finitely many convex regions. The components of L now become points in π(C̄), and each region in the partition has at most one point of π(L). When L hits an integer coordinate hyperplane xi = (some integer), the corresponding point in π(L) now shifts by −π(ei), since the corresponding point in C̄ must undergo a shift by −ei upon L hitting the coordinate hyperplane. Since L hits len(s) coordinate hyperplanes before returning to its starting region, if we choose any point in π(L) and shift it len(s) times, each corresponding to the coordinate of the hyperplane hit by L. To find all billiard scales with signature a, we simply iterate the procedure described in the previous sentence over all regions (all of which are convex polytopes) in the partition we obtained in π(C̄); we may choose the centroid of the region as the starting point of π(L).
Open questions
- Is there a cleverer algorithm for checking whether a scale on more than 2 letters is a billiard scale?
See also
Bibliography
- ↑ 1.0 1.1 Vuillon, L. (2003). Balanced words. Bulletin of the Belgian Mathematical Society-Simon Stevin, 10(5), 787-805.
- ↑ Bulgakova, D. V., Buzhinsky, N., & Goncharov, Y. O. (2023). On balanced and abelian properties of circular words over a ternary alphabet. Theoretical Computer Science, 939, 227-236.
- ↑ Sano, S., Miyoshi, N., & Kataoka, R. (2004). m-Balanced words: A generalization of balanced words. Theoretical computer science, 314(1-2), 97-120.
- ↑ Mélodie Andrieu, Léo Vivion. Minimal Complexities for Infinite Words Written with d Letters. Combinatorics on Words - 14th International Conference, WORDS, Jun 2023, Umeå, Sweden. pp.3–13.