Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hexagonal Boustrophedon Finite Automata

Updated 8 July 2026
  • General hexagonal boustrophedon finite automata are finite-state recognizers that traverse bordered hexagonal pictures using alternating directional scans defined by 12 symmetry modes.
  • They employ a dual-phase system with forward and backward transition rules, ensuring deterministic behavior through fixed-direction semantics and geometric symmetry.
  • The model extends traditional rectangular picture automata by introducing novel hexagonal traversals and showing equivalence with hexagonal returning automata in language acceptance.

Searching arXiv for the specified papers and closely related context. arxiv_search(query="General hexagonal Boustrophedon finite automata Hexagonal Picture Scanning Automata (D et al., 11 Aug 2025)", max_results=5) General hexagonal Boustrophedon finite automata are finite-state recognizers for hexagonal pictures that extend boustrophedon scanning from rectangular grids to hexagonal geometry. Introduced in "Hexagonal Picture Scanning Automata" (D et al., 11 Aug 2025), the model reads a bordered hexagonal picture in alternating directions across successive hexagonal sides or strips, replacing each consumed symbol by an erased marker and accepting when the traversal terminates in a final state. The model is paired with a hexagonal returning variant and is analyzed through fixed-direction semantics, rotational and reflectional symmetries, and equivalence results. A later unifying treatment of picture automata via DAG encodings is directly relevant as methodological context, but it is formulated for rectangular pictures and does not itself define hexagonal boustrophedon automata (Meeres et al., 15 Sep 2025).

1. Formal definition

A General Hexagonal Boustrophedon Finite Automaton (GHBFA) is defined as the 8-tuple

M=(Q,Σ,R,s,F,#,□,D),M = (Q,\Sigma,R,s,F,\#,\square,D),

where QQ is a finite state set partitioned into QfQ_f and QbQ_b, Σ\Sigma is the input alphabet, R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q is a finite transition relation written as qa→pqa \rightarrow p, s∈Qfs \in Q_f is the initial state, FF is the set of final states, #∉Σ\# \notin \Sigma is the boundary symbol, QQ0 is the erased symbol, and QQ1 is the set of allowed scanning directions on the hexagonal grid (D et al., 11 Aug 2025).

The partition QQ2 is structural rather than cosmetic. If QQ3 and QQ4, then a rule QQ5 is permitted only when QQ6; these rules form the forward transition set QQ7. If QQ8 and QQ9, then a rule QfQ_f0 is permitted only when QfQ_f1; these rules form the backward transition set QfQ_f2. Border transitions belong to QfQ_f3 and have the form QfQ_f4, with the condition that QfQ_f5 iff QfQ_f6. The boundary symbol therefore mediates alternation between forward and backward phases rather than serving only as padding.

The term boustrophedon retains its classical meaning: the scan alternates direction from one pass to the next, analogously to ox-plowing. In the hexagonal setting, however, the alternation is not organized by rectangular rows but by the geometry of the hexagon and its admissible side-to-side traversals.

2. Hexagonal pictures and traversal geometry

A hexagonal picture over QfQ_f7 is a finite hexagonal arrangement of symbols from QfQ_f8. The family of all such pictures is denoted

QfQ_f9

and the nonempty hexagonal pictures are

QbQ_b0

A picture has size QbQ_b1 when its three side lengths are QbQ_b2, with opposite sides equal. Its bordered version QbQ_b3 has size QbQ_b4 (D et al., 11 Aug 2025).

Scanning is performed on the bordered picture. Boundary cells carry the symbol QbQ_b5, and each scanned interior symbol is replaced by QbQ_b6. This erasure convention is part of the operational semantics: acceptance is defined over a progressively modified picture rather than over a static input.

The traversal discipline is one of the main differences from rectangular boustrophedon automata. GHBFA uses a set QbQ_b7 of 12 possible direction modes. Each mode is encoded by a QbQ_b8 matrix specifying the starting corner QbQ_b9, the initial reading direction, and the alternating movement between successive hexagonal sides of the picture. The paper gives 12 such matrices explicitly and interprets them as the admissible boustrophedon scans on the hexagonal grid (D et al., 11 Aug 2025).

One representative mode is written in the paper as

Σ\Sigma0

with the intended meaning: start at the designated corner, scan the first side in the indicated direction, move to the next side when the boundary symbol is encountered, reverse traversal direction, and continue alternating until the entire picture has been scanned. The underlying principle is the same as in classical boustrophedon scanning, but the geometric unit of alternation is adapted to hexagonal sides or strips rather than horizontal rows.

3. Configurations, transitions, and acceptance

A configuration consists of the current state together with the current picture, some of whose cells may already have been erased. The transition relation distinguishes forward, backward, and border steps. If Σ\Sigma1 and Σ\Sigma2 differ only in that the cell Σ\Sigma3 changes from Σ\Sigma4 to Σ\Sigma5, then

Σ\Sigma6

and similarly

Σ\Sigma7

At a boundary position, the automaton may change phase:

Σ\Sigma8

The reflexive transitive closure is denoted Σ\Sigma9 (D et al., 11 Aug 2025).

Acceptance is parameterized by a direction mode R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q0. A picture R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q1 is accepted if, for the chosen mode, the initial configuration reaches a final configuration:

R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q2

where R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q3 is final. The language accepted with direction R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q4 is denoted R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q5, and the full family is

R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q6

This direction-indexed semantics matters because the model is not defined by a single canonical traversal. The theory first studies fixed-direction language families and then relates them by geometric symmetries. A common misunderstanding is to treat the 12 scans as operational variants with potentially unrelated expressive behavior. The paper instead organizes them into symmetry-equivalent classes and derives explicit transfer results between them.

4. Determinism, directional families, and symmetry closure

The deterministic variant is called GHBDFA. It is deterministic when for every R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q7 and R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q8, there is at most one R⊆Q×(Σ∪{#})×QR \subseteq Q \times (\Sigma \cup \{\#\}) \times Q9 such that

qa→pqa \rightarrow p0

For each fixed direction mode qa→pqa \rightarrow p1, the paper proves

qa→pqa \rightarrow p2

with the proof idea attributed to the usual subset construction for finite automata equipped with the prescribed scanning discipline (D et al., 11 Aug 2025).

A major part of the theory concerns the 12 directional modes and the symmetries of the hexagon. The paper defines rotations qa→pqa \rightarrow p3 for qa→pqa \rightarrow p4, where qa→pqa \rightarrow p5 is clockwise rotation by qa→pqa \rightarrow p6, and reflections qa→pqa \rightarrow p7 for qa→pqa \rightarrow p8, where qa→pqa \rightarrow p9 is reflection about a line through the center. These 12 operations form a group. The paper also records identities such as

s∈Qfs \in Q_f0

Using these symmetries, the paper proves that the language family for one canonical direction s∈Qfs \in Q_f1 determines the other 11 directional families. It gives explicit equations expressing each noncanonical s∈Qfs \in Q_f2 as a composition of s∈Qfs \in Q_f3, s∈Qfs \in Q_f4, and their iterates applied to s∈Qfs \in Q_f5. It also derives corollaries such as

s∈Qfs \in Q_f6

s∈Qfs \in Q_f7

and, because s∈Qfs \in Q_f8,

s∈Qfs \in Q_f9

The strongest closure statement is that

FF0

Thus the full GHBFA family is closed under all 12 hexagonal symmetries (D et al., 11 Aug 2025). The significance is not merely geometric elegance: it shows that the apparent proliferation of scanning modes does not fragment the theory into unrelated cases.

5. Equivalence with General Hexagonal Returning Finite Automata

The closely related model of General Hexagonal Returning Finite Automata (GHRFA) is introduced as the hexagonal analogue of returning finite automata. Its canonical direction is

FF1

described as starting from the top-left corner and scanning top-down, then moving to the next column in the indicated rotational order, again top-down. The full direction set FF2 also contains 12 modes, partitioned into FF3, FF4, and FF5 (D et al., 11 Aug 2025).

The paper states that the rectangular identity

FF6

has a hexagonal adaptation, again yielding

FF7

for the corresponding hexagonal models. The proof constructs an equivalent GHRFA FF8 from a given HBFA FF9 by expanding the state space to

#∉Σ\# \notin \Sigma0

The intended interpretation is explicit: the first component stores the actual current state, the second stores the state to be restored or reached after completing a column, and the third is a direction flag, with #∉Σ\# \notin \Sigma1 meaning top-to-bottom scan and #∉Σ\# \notin \Sigma2 meaning bottom-to-top scan.

The transition set is given in the paper as

#∉Σ\# \notin \Sigma3

#∉Σ\# \notin \Sigma4

#∉Σ\# \notin \Sigma5

#∉Σ\# \notin \Sigma6

#∉Σ\# \notin \Sigma7

The final-state clause is reported as

#∉Σ\# \notin \Sigma8

and the description notes that the notation appears to contain a typo in the recursive reference to #∉Σ\# \notin \Sigma9. Even so, the intended content is unambiguous: the construction is presented as preserving language acceptance (D et al., 11 Aug 2025).

This equivalence places GHBFA and GHRFA within the same recognition family despite their different traversal disciplines. The contrast between alternating-direction scanning and returning scanning is therefore operational rather than language-theoretic at the level established in the paper.

6. Relation to rectangular picture automata and DAG encodings

General hexagonal boustrophedon automata extend a line of work on rectangular picture automata. In the rectangular setting, boustrophedon finite automata (BFA) and returning finite automata (RFA) are finite-state machines over boundary pictures with different scanning orders; the unifying paper on DAG encodings proves

QQ00

and also shows that deterministic and nondeterministic versions coincide (Meeres et al., 15 Sep 2025). Restricted to one-row inputs, these models recognize exactly the regular string languages. The same paper characterizes them through deterministic DAG automata under appropriate picture-to-DAG encodings.

For the hexagonal topic, the key point is negative as well as positive. The DAG-encoding framework is stated for rectangular pictures on a square grid and explicitly does not define hexagonal boustrophedon automata, triangular-grid automata, or non-rectangular picture models as separate formal frameworks (Meeres et al., 15 Sep 2025). Accordingly, none of its theorems transfers verbatim to GHBFA.

At the same time, the framework is suggestive. It treats scanning order as a primary abstraction and separates geometry from automaton behavior through the choice of encoding. This suggests that a hexagonal boustrophedon scan could, in principle, be represented by a DAG whose vertices are hexagonal cells and whose edges encode the chosen traversal or neighborhood dependencies. A plausible implication is that GHBFA could eventually be recast within a more general encoding-based theory of picture automata. The currently established results, however, are those of the dedicated hexagonal model, not those of the rectangular DAG formalism.

The theoretical significance of GHBFA therefore lies in two simultaneous extensions. First, it transfers classical boustrophedon and returning scanning ideas from rectangular to hexagonal pictures. Second, it organizes the resulting language families by the symmetry group of the hexagon rather than by ad hoc case analysis. The resulting picture is that richer geometry changes the traversal structure and symmetry behavior, while nondeterminism still collapses to determinism for each fixed direction and the boustrophedon and returning variants remain language-equivalent (D et al., 11 Aug 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to General hexagonal Boustrophedon finite automata.