Skip to main content

Questions tagged [automata]

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

0 votes
0 answers
36 views

I'm reading The Theory of Parsing, Translation, and Compiling (1972) by Aho and Ullman and came to the part about equations with regular expressions for coefficients and variables. I'm having trouble ...
Boz Steinkalt's user avatar
1 vote
2 answers
112 views

I am studying Context-free Languages, and my professor gave as homework the following language $$ 0^a 1^b 0^c \quad where \quad a < b + c \quad and \quad a,b,c \ge 0 $$ My friend gave this answer: ...
stalris's user avatar
  • 97
0 votes
0 answers
56 views

"For a symbol a, define a+ = {a,aa,...}. Is the language L = {wcwR|w,c ∈ {a,b}+} regular? Here, wR is just w reversed. If your answer is yes, write the equivalent regular expression, and if no, ...
Anne's user avatar
  • 191
2 votes
2 answers
64 views

Consider the language of those $w\in \{a,b,c,d\}^*$ that contain $ab$. Corresponding DFA is (written in SageMath): ...
ploosu2's user avatar
  • 12.7k
0 votes
1 answer
51 views

Design a context-free grammar (CFG) that generates all strings over {a, b, c} that contain at least one 'a', one 'b', and one 'c'. Define the rules of the CFG. So I wrote this down: S -> aXbXc | ...
Bbbbbunn2023's user avatar
0 votes
1 answer
105 views

I was presented with this question: L = {<$M$> | There is a word $x$ that is accepted by $M$ in fewer than $|x|$ steps} I think that this is not decidable, and my immediate thought was to make a ...
dan123123's user avatar
0 votes
0 answers
43 views

Let $S$ be a set of states. Let $A$ be a set of actions. Let $f$ be a function $S \times A \to S$. For example, let $f$ be equal to $$\{((s_0, a_0), s_0), ((s_0, a_1), s_1), ((s_1, a_0), s_1), ((s_1, ...
Julius Hamilton's user avatar
5 votes
0 answers
199 views

some time ago I stumbled upon a fact that the average first appearance of a sequence HH while randomly repeatedly generating flipping coins is higher than for example for HT. This for a fact depends ...
MatEZ's user avatar
  • 51
0 votes
0 answers
25 views

I am trying to apply the strong version of the pumping lemma for Context-Free Languages on the following language. $L = \{a^nb^n,n\geq1\}$ Let us assume there is a CFG $G$ which generates words in the ...
vivek's user avatar
  • 138
5 votes
1 answer
278 views

I am studying constrained coding for composite DNA (based on arXiv:2501.10645), where each composite symbol represents a mixture of nucleotides. To enforce a maximum runlength $\ell$, they model valid ...
Dang Dang's user avatar
  • 288
0 votes
0 answers
57 views

My professor tends to prove a language L is not regular using contradiction, i.e: Assume L is regular $\implies$ L can be pumped Show that L cannot be pumped Contradiction, so initial assumption is ...
tariqalr's user avatar
0 votes
0 answers
110 views

These are the two initial DFAs, and I need to construct a DFA that recognizes the intersection of the two languages accepted by the given DFAs, using closure properties. Here is the first DFA: And ...
Fabio's user avatar
  • 9
0 votes
0 answers
41 views

I'm working with a labeled transition system (LTS) that has four states $p_1, p_2, p_3, p_4$ and the following transitions: I want to determine which states satisfy the Hennessy–Milner Logic (HML) ...
Just Curious's user avatar
0 votes
2 answers
87 views

I asked an AI about the language a^m b^n c^n d^m, and in replying to me, it translated that into $\{a^mb^nc^nd^m \mid m, n \geq 0\}$. Is this standard usage? I find it weird; negative integers make no ...
prosfilaes's user avatar
2 votes
0 answers
62 views

To describe the Tower of Hanoi game one can define the group of legal actions as an automata group, that is a finitely generated subgroup of the automorphism group of a regular rooted tree, which is ...
Fabian's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
141