first post here :)
I was wondering, since regular languages are context sensitive, and since linear bounded automatons can act as an acceptors for context sensitive language, is it possible or is there any linearly bounded automaton that decides $A_{nfa}$? if it exists how does it work?
$A_{nfa} = ${< B, W > | B is an nfa that accepts input string w}
I am really curious and interested in understanding this concept and i have not found sufficient information in the textbook unfortunately
thank you very much for reading and sharing your knowledge with me
The technical details depend a bit on your encoding $B$ of the automaton. Let us suppose that the transitions are encoded like $q_2a>q_4;q_3b>q_4;\dots$; with four steps the LBA can identify the entire content of the transition without writing anything.
Your LBA could proceed like this:
This should work fine, if the automaton is deterministic. For a non-deterministic one we would miss some computations, because we alwasy choose the first possible transitions. For this, in step 5. we should add the option to ignore a matching transition and just keep searching.
The LBA should accept if it cannot find any more unmarked symbols and remembers an accepting NFA-state. It does not need any additional space, in fact it only writes on the space of $W$.