Is that known something about languages recognized by two-way deterministic multihead counter automaton or logspace TM with counter (equivalent model)? This class called Aux2DC in my advisor's paper. Or about such nondeterministic class? I've obtained that class of languages recognized by such nondeterministic maschines includes NL and it seems to be included in LOGCFL. Are there any papers on this subject? Is that result trivial?


1 Answer 1


A two-way deterministic (nondeterministic) multi-head finite automaton can be simulated by a logspace DTM (NTM), and vice versa.

So, for including class $ \mathsf{NL} $, you do not need a counter!

The value of the counter belonging to a two-way nondeterministic multi-head finite automaton with one-counter can be bounded by a polynomial, otherwise, the computation enters an infinite loop. Since both such a counter and the input heads can be simulated in logspace, $ \mathsf{LOGCFL} $ upper bound can be replaced with $ \mathsf{NL} $.

Note that any language recognized by a two-way deterministic (nondeterministic) one-head finite automaton with one-counter is in $ \mathsf{L} $ ($ \mathsf{NL} $).

There are many papers on these topics, e.g. this paper. You can find more after some googling. (Check also Lemma 1 of this paper.)

  • $\begingroup$ Thank you, I knew about L (NL) simulation by multihead (nondeterministic) two-way automaton. First I thought that I obtained NL inclusion for deterministic automaton with counter, but it suddenly appeared that in my reduction raized nondeterminism and I fixed post but not as properly as I should. I'll study these papers, thank you very much! $\endgroup$ Sep 11, 2012 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.