Questions tagged [automata]

Automata Theory, including abstract machines, grammars, parsing, grammatical inference, transducers, and finite-state techniques

Automata (plural of automaton) are abstract models of machines. These machines take an input such as a string of characters and give some output, often an "accept" or "decline" value.

These machines are closely related to . Many languages can be categorized based on the type of automata that can accept them. For instance,

  • regular languages can be recognized by some deterministic finite automata.
  • context-free languages can be recognized by some pushdown automata.
  • recursively enumerable languages can be recognized by some Turing machine.

There are many different types of automata, each with slightly different definitions. A few examples are

  • Deterministic Finite Automata (DFA)
  • Nondeterministic Finite Automata (NFA)
  • Pushdown Automata
  • Infinite Automata
  • Alternating Automata

For instance, a deterministic finite automata $A$ has five parts:

  • a finite set of states $Q$
  • a finite set of input symbols called the alphabet $\Sigma$
  • a transition function $\delta: (Q\times \Sigma)\rightarrow Q$
  • an initial state $q_0 \in Q$
  • a set of accept states $F\subseteq Q$

The automaton $A$ takes in a string $\sigma$ of characters of $\Sigma$. The automaton starts at state $q_0$ and then for each letter of $\sigma$ it moves to another state according to the transition function $\delta$. Once the automaton has used every letter of $\sigma$, if its final state is in $F$, then we say that $A$ accepts $\sigma$.

For questions also about

1841 questions
2
votes
3 answers

What is the language of this DFA?

How would you write the language for this DFA as L(M) = {...}? I think in English I would say L(M) is defined as {a,b}* ending in b, ba or aa.
2
votes
2 answers

Turing decidable/undecidable

let $X = \{\langle M \rangle\ |\ M\text{ is a finite state machine and }L(M) = \emptyset\}$ where $\langle M \rangle$ is an encoding of the machine $M$. can you prove whether $X$ is Turing decidable/undecidable? this question could be on my exam…
Joe
  • 41
2
votes
0 answers

halting problem

Prove that it is undecidable for the halting problem of a deterministic Turing machine which accepts nonrecursive language or in-other-words: let's say we have a deterministic Turing machine which accepts nonrecursive language, prove the halting…
Joe
  • 41
2
votes
0 answers

Turing Machines

Suppose that $\Sigma$ is a finite set and that $L_1$, $L_2$ and $L_3$ are Turing acceptable subsets of $\Sigma^*$ that satisfy the following properties: $L_1 \cup L_2 \cup L_3 = \Sigma^*$; $L_1 \cap L_2 = L_2 \cap L_3 = L_3 \cap L_1 =…
2
votes
0 answers

What is a DFA that accepts strings in (a+b)* where number of a's are even and there are at least 2 b's?

I understand that possible strings for this language is basically any combo of a's and b's, n times, with a's being even and at least 2 b's. For the even a's I'm thinking of a DFA with 2 states and the initial state being accepting, that loops back…
2
votes
0 answers

Quality of Reduction of finite automata

I am looking for an example, which corresponds to what I've learned in my Applied Automata Theory Class: Given a NFA $\mathcal{A}$, a $\approx _\mathcal{A}$ quotient automaton can be bigger then a $\sim_\mathcal{A}$ quotient automaton and this can…
Laura
  • 273
2
votes
0 answers

Question about simulation relations

I was perusing the internet for a precise def. of a simulation relation and one of the top search results was a paper Bisimulation, The Supervisory Control Problem and Strong Model Matching for Finite State Machines,…
Motorhead
  • 281
2
votes
0 answers

Given two minimal FSMs with one accepting a subset of the other, must a simulation exist?

As part of an example, Abstract and Concrete Categories, section 3.35, claims: For every two minimal [by number of states] $\Sigma$-acceptors $A$ and $A'$, there exists at most one simulation $A \to A'$, and such a simulation exists if and only if…
2
votes
1 answer

Automata for symmetric difference of languages

Given two regular languages $L_1$ and $L_2$ and their respective deterministic finite automaton $A_1, A_2$, I need to construct an automaton $A$ such that $L(A)=(L_1\cup L_2) - (L_1\cap L_2)$ (the symmetric difference of $L_1$ and $L_2$). I need a…
Daniel
  • 558
2
votes
1 answer

DFA worst case states

Suppose an NFA which accepts language of the form L(N) = {w| w has 1 in n$^t$$^h$ from last symbol.} Then the corresponding DFA would have 2$^n$ states(worst case of subset construction). If we are to prove that equivalent DFA has 2$^n$ states, then…
2
votes
0 answers

Generate a Pushdown Automaton that accepts the strings from the language $L=\{a^ib^jc^k, i + k \ne j\}$

I am trying to generate a Pushdown Automaton that accepts the strings of the language $L=\{a^i b^j c^k, i + k \ne j\}$. From this I know that the following situations can occur: $i + k < j$ or $i + k > j$ which seems to mean that I will be merging…
2
votes
0 answers

Does there exist a universal finite automaton?

I am having some trouble understanding what the question is asking me. Here is my understanding. We want to know whether or not there exists a DFA so that when I input a tuple $\langle D,w\rangle$, where $D$ refers to the parameters we define some…
quanticbolt
  • 1,746
2
votes
1 answer

DFA construction - How to construct an automaton that contains either 0 or 1 occurrences of 010?

I can't seem to make it work. I think I managed to produce a solution when it's exactly one occurrence of 010 but not when it's at most one occurrence. Check out my automaton.
2
votes
0 answers

Is it possible to construct a DFA that accepts the language of the empty set?

Construct a DFA that accepts the language of the empty set. The alphabet is 0 and 1. I think it is just one state with no accept states and one arrow with both inputs.
TheMathNoob
  • 2,011
2
votes
1 answer

Confusion related to state equivalence of finite state machines

I have this confusion if there are two states of a machine $p$ and $q$. Let $x$ be an input string such that length of $x = k$, $g$ be the output function and let $g(p,x)$ and $g(q,x)$ be the output when the input $x$ is applied at state $p$ and…
user34790
  • 4,192
1 2
3
17 18