Chapter 4: Problem 8
Let \(T=\\{(i, j, k) \mid i, j, k \in \mathcal{N}\\} .\) Show that \(T\) is countable.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 4: Problem 8
Let \(T=\\{(i, j, k) \mid i, j, k \in \mathcal{N}\\} .\) Show that \(T\) is countable.
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for free
Let \(B A L_{\mathrm{DFA}}=\\{\langle M\rangle \mid M\) is a DFA that accepts some string containing an equal number of os and 1s \\}. Show that \(B A L_{\mathrm{DFA}}\) is decidable. (Hint: Theorems about CFLs are helpful here.)
Show that the problem of determining whether a CFG generates all strings in \(1^{*}\) is decidable. In other words, show that \(\left\\{\langle G\rangle \mid G\right.\) is a CFG over \(\\{0,1\\}\) and \(\left.1^{*} \subseteq L(G)\right\\}\) is a decidable language.
Let \(A=\\{\langle R, S\rangle \mid R\) and \(S\) are regular expressions and \(L(R) \subseteq L(S)\\} .\) Show that \(A\) is decidable.
The proof of Lemma 2.41 says that \((q, x)\) is a looping situation for a DPDA \(P\) if when \(P\) is started in state \(q\) with \(x \in \Gamma\) on the top of the stack, it never pops anything below \(x\) and it never reads an input symbol. Show that \(F\) is decidable, where \(F=\\{\langle P, q, x\rangle \mid(q, x)\) is a looping situation for \(P\\}\).
Let \(P R E F L X-F R E E_{\mathrm{REX}}=\\{\langle R\rangle \mid R\) is a regular expression and \(L(R)\) is prefix-free \(\\}\). Show that PREFIX-FREE \(_{\text {REX }}\) is decidable. Why does a similar approach fail to show that PREFIX-FREE \(_{\mathrm{CFG}}\) is decidable?
What do you think about this solution?
We value your feedback to improve our textbook solutions.