---
title: 1-Limited Automata and Regular Languages
url: https://www.emergentmind.com/topics/1-limited-automaton-1-la
type: topic
---

# 1-Limited Automata and Regular Languages

Searching arXiv for recent and foundational papers on 1-limited automata and related variants.
A 1-limited automaton (1-LA) is the \(d=1\) or \(k=1\) specialization of Hibbard’s limited-automaton model: a single-tape, two-way finite-control device in which each non-endmarker tape cell may be rewritten only on its first visit and is frozen thereafter [1507.08582][2111.05000][2309.02763]. In language-theoretic terms, 1-LAs characterize exactly the regular languages, but their operational behavior and descriptional complexity are considerably richer than that slogan suggests: the model sits at the exact threshold between two-way finite-state behavior and the context-free power already obtained for larger rewrite budgets, and it supports succinct encodings that can be exponentially or doubly exponentially smaller than equivalent ordinary finite automata [1507.08582][2309.02763].

## 1. Formal definition and operational semantics

A standard formulation presents a 1-LA as a tuple
\[
\mathcal A=(Q,\Sigma,\Gamma,\delta,q_I,F),
\]
where \(Q\) is a finite state set, \(\Sigma\) is the input alphabet, \(\Gamma\) is a work alphabet containing \(\Sigma\) and the end-markers, \(\delta\) moves the head one cell left or right while possibly rewriting the scanned symbol, \(q_I\) is the initial state, and \(F\) is the set of final states. On input \(w\), the tape initially contains the input between left and right end-markers, the head starts on the first input cell, and acceptance is by a successful computation that reaches a final state and then passes the right end-marker. The distinctive restriction is that each non-endmarker cell may be modified only during its first visit; all later visits are read-only on that cell [2309.02763][2307.16700].

Two equivalent technical presentations are common. In layer-based definitions, the tape alphabet is partitioned into \(\Gamma_0=\Sigma\) and \(\Gamma_1\), with end-markers in \(\Gamma_1\); symbols in \(\Gamma_1\) are immutable. In rank-based deterministic formulations, input symbols start with rank \(0\), end-markers have rank \(1\), and a first visit to a rank-\(0\) symbol must rewrite it to rank \(1\), after which it cannot be changed again. In the probabilistic \(k\)-limited formalism specialized to \(k=1\), turns count as double visits, and a fresh symbol in \(\Gamma_0\) can be legally rewritten only when the head leaves to the right; a turn at a fresh cell immediately exhausts the rewriting budget for that cell [2111.05000][2312.01896].

## 2. Position in the limited-automata hierarchy

The central language-theoretic fact is that the class of languages accepted by \(1\)-limited automata coincides with the class of regular languages. This places 1-LAs at the bottom nontrivial level of the limited-automata hierarchy. In the same hierarchy, limited automata with rewrite budget \(d\ge 2\) already characterize the context-free languages, while the case \(d=0\) collapses to ordinary two-way finite automata [1507.08582][2309.02763].

| Regime | Characterization |
|---|---|
| \(d=0\) limited automata | two-way finite automata |
| \(d=1\) | regular languages |
| \(d\ge 2\) | context-free languages |
| deterministic \(d=2\) | deterministic context-free languages |

Historically, this threshold goes back to Hibbard’s 1967 scan limited automata. Later work, including formulations closer to Pighizzini and Pisoni, uses explicit end-markers and a bounded accessible tape segment rather than Hibbard’s original semi-infinite blank-filled tape. The same line of work recalls a sharper collapse specific to \(k=1\): nondeterministic 1-limited automata are equivalent in power to \(2\)-way deterministic finite automata. This is consistent with the regular-language characterization and emphasizes that, at \(k=1\), neither nondeterminism nor one-shot rewriting yields pushdown-like memory. By contrast, deterministic \(d\)-limited automata form a strict hierarchy, with deterministic \(2\)-limited automata already characterizing deterministic context-free languages [2111.05000][2312.01896].

## 3. Probabilistic, deterministic, nondeterministic, and unambiguous variants

The modern theory treats 1-LAs as one point in a family of machine types obtained by imposing different restrictions on the same underlying one-tape mechanism. Besides deterministic 1-LAs and nondeterministic 1-LAs, the literature defines unambiguous 1-LAs and probabilistic 1-limited automata (1-lpa’s). For a probabilistic machine \(M\), the standard quantities are \(p_{acc,M}(x)\) and \(p_{rej,M}(x)\), with unbounded-error acceptance criterion
\[
x\in L(M)\iff p_{acc,M}(x)>1/2,
\]
and expected polynomial running time. One-sided error means that for every input \(x\), either \(p_{acc,M}(x)>1/2\) or \(p_{rej,M}(x)=1\); bounded error means that there exists \(\varepsilon<1/2\) such that every input is accepted or rejected with probability at least \(1-\varepsilon\), according to truth. The key theorem for \(k=1\) identifies bounded-error, one-sided-error, and unbounded-error probabilistic 1-LAs exactly with the corresponding classes of \(2\)-way probabilistic finite automata, while the introduction separately recalls that \(1\)-lna’s are equivalent in power to \(2\)dfa’s. The proof idea is bidirectional: a 1-lpa can simulate a \(2\)pfa by rewriting each fresh symbol to a marked copy, and a \(2\)pfa can simulate a normalized 1-lpa because the unique correspondence between original and overwritten symbols can be folded into finite control. The same paper proves that, for every \(k\ge 1\), one-sided-error limited-automaton families are included in bounded-error families, hence also at \(k=1\). It also notes a methodological limitation: the blank-skipping normal form and reversal machinery developed for \(k\ge 2\) are not established as general robustness theorems for the \(k=1\) case [2111.05000].

## 4. Regular-language power versus descriptional power

A recurrent misconception is that “1-LAs recognize only regular languages” implies that they are merely a cumbersome presentation of finite automata. The modern descriptional-complexity results show the opposite. General 1-LAs can be doubly exponentially more succinct than one-way deterministic finite automata, even though their languages remain regular. A standard simulation still converts every \(n\)-state 1-LA into a one-way NFA with at most
\[
n2^{n^2}
\]
states, so regularity is not in question; what changes is the cost of removing two-way motion, rewriting, and nondeterministically chosen first-visit annotations [2309.02763][2507.11209].

The source of this succinctness is the interaction between nondeterminism and first-visit rewriting. On its first visit to a cell, a 1-LA may nondeterministically choose what to write there; later transitions may depend on that frozen choice. Earlier work already emphasized that the finite-automaton simulation proceeds by transition-table techniques related to standard conversions of two-way automata into one-way automata, rather than by pumping-lemma arguments. In this sense, 1-LAs are best viewed not as a stronger language model than finite automata, but as a regular-language model with unusually strong compression mechanisms [1507.08582][2309.02763].

## 5. Restricted 1-LA models and the structure of succinctness

Several recent papers isolate which aspects of first-visit rewriting are responsible for the extreme succinctness of unrestricted 1-LAs. In once-marking 1-LAs, each computation marks exactly one input cell and changes no other cell. In always-marking 1-LAs, every first visit must replace \(\sigma\) by its marked copy \(\bar{\sigma}\). Both models still recognize only regular languages, but their succinctness profiles differ sharply. Once-marking 1-LAs preserve the full double-exponential gap to one-way deterministic finite automata; indeed, the language family \(K_n\) is accepted by an \(\mathrm{OM}\)-1-LA with \(O(n)\) states, and the general conversion costs are exponential to 2NFA and 1NFA, but double exponential to 1DFA. By contrast, always-marking 1-LAs lose the branch-dependent rewriting mechanism that causes the second exponent: each \(n\)-state always-marking machine can be simulated by a 1NFA with at most \(n\cdot 2^{n^2}\) states and by a 1DFA with at most \((2^n-1)\cdot 2^{n^2}+1\) states, while deterministic always-marking machines admit simulations by 2DFA and 1DFA with no more than \(n\cdot(n+1)^n\) states. Deterministic once-marking is even closer to ordinary two-way determinism: every \(n\)-state deterministic once-marking 1-LA has an equivalent 2DFA with \(O(n^3)\) states [2309.02763].

A different restriction is the forgetting 1-limited automaton, in which every first-visited input symbol is overwritten by a single fixed symbol \(Z\). The work alphabet is then
\[
\Gamma=\Sigma\cup\{Z\}\cup\{\vdash,\dashv\},
\]
and if \((q,A,d)\in\delta(p,a)\) with \(a\in\Sigma\), then necessarily \(A=Z\). This model still characterizes the regular languages, but its simulation costs are substantially smaller than those of unrestricted 1-LAs. The key quantitative parameter is Landau’s function
\[
F(n)=\max\{\operatorname{lcm}(\lambda_1,\ldots,\lambda_r)\mid \lambda_1+\cdots+\lambda_r=n\},
\]
with asymptotic estimate \(F(n)=e^{(1+o(1))\sqrt{n\ln n}}\). An \(n\)-state forgetting 1-LA can be simulated by a 1NFA with at most \(n(5n^2+F(n))+1\) states and by a complete 1DFA with at most \((2^n-1)(5n^2+F(n))+2\) states; for deterministic forgetting 1-LAs, the 1DFA upper bound improves to \(n(n+F(n))+2\). The same work also proves an exponential separation from two-way deterministic automata: the language \(\mathcal E_n\) is accepted by a 2DFA with \(O(n)\) states, but every forgetting 1-LA for \(\mathcal E_n\) requires at least \(2^n\) states [2307.16700].

## 6. Algorithms, complementation, common-guess models, and recent unary results

Although 1-LAs are usually discussed as language-recognition devices, they also support nontrivial algorithmic simulation results. For deterministic \(d(n)\)-limited automata, membership can be solved in time
\[
O(d(n)\cdot m\cdot n),
\]
where \(m\) is the length of the machine description and \(n\) is the input length, provided \(d(n)\) is computable in \(O(n)\) time. Specializing to \(d(n)\equiv 1\), deterministic 1-LAs therefore admit an \(O(mn)\) RAM simulation, and an \(O(n)\) algorithm for each fixed machine. The simulation compresses maximal contiguous blocks of frozen cells into finite traversal summaries, in the style of Shepherdson’s simulation of two-way finite automata [2312.01896].

Complementation has recently been analyzed inside the 1-LA model itself. A central construction starts from an arbitrary one-way NFA and produces an equivalent self-verifying \(2\)NFA with common guess having \(O(n^7)\) states and \(2\) annotation symbols. The common-guess mechanism can be viewed as a restricted 1-LA that writes an annotation once and then performs a read-only two-way verification. Combining this with the known \(n2^{n^2}\)-state simulation of 1-LAs by 1NFAs yields a general complementation theorem: for each \(n\)-state 1-LA recognizing \(L\subseteq\Sigma^*\), there exists a 1-LA with a single exponential number of states in \(n\) and \(3|\Sigma|\) work symbols recognizing the complement of \(L\). The same paper states that this single-exponential bound is necessary and sufficient [2507.11209].

Recent unary lower bounds sharpen the role of nondeterministic annotation even further. Two-way finite automata with common guess, denoted \(2\)nfas+cg and \(2\)dfas+cg, perform an initial annotation phase and then a read-only two-way computation; their deterministic counterparts still have a nondeterministic annotation phase and can be considered a restriction of 1-LAs. For unary languages, there are exponential lower bounds for simulating \(2\)dfas+cg by deterministic 1-LAs and by 2NFAs, derived from a doubly exponential lower bound for simulating \(2\)dfas+cg by 1DFAs. These unary lower bounds close the question, left open in earlier work by Pighizzini and Prigioniero, of whether a double exponential gap between 1-LAs and 1DFAs exists in the unary case. The same abstract also states an exponential lower bound for complementing unary \(2\)dfas+cg and thus unary 1-LAs [2504.08464].

Source: https://www.emergentmind.com/topics/1-limited-automaton-1-la