Skip to main content
Mathematics

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
2 answers
89 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: ...
0 votes
0 answers
51 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, ...
2 votes
2 answers
62 views

Consider the language of those $w\in \{a,b,c,d\}^*$ that contain $ab$. Corresponding DFA is (written in SageMath): ...
0 votes
1 answer
50 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 | ...
0 votes
1 answer
97 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 ...
0 votes
0 answers
42 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, ...
5 votes
0 answers
186 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 ...
0 votes
0 answers
23 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 ...
5 votes
1 answer
272 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 ...
0 votes
0 answers
56 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 ...
0 votes
0 answers
104 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 ...
0 votes
0 answers
39 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) ...
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 ...
2 votes
0 answers
59 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 ...
1 vote
2 answers
79 views

Given the language $A=\{(01)^n|n\in\mathbb{N}\}$. The following attempt for a proof of its irregularity was outlined: "Suppose for the sake of contradiction that $A$ is regular. Thus, it has some ...

15 30 50 per page
1
2 3 4 5
...
141

AltStyle によって変換されたページ (->オリジナル) /