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 \(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?
Let \(\mathcal{B}\) be the set of all infinite sequences over \(\\{0,1\\} .\) Show that \(\mathcal{B}\) is uncountable using a proof by diagonalization.
Say that a variable \(A\) in CFL \(G\) is usable it it appears in some derivation of some string \(w \in G\). Given a \(\mathrm{CFG} G\) and a variable \(A\), consider the problem of testing whether \(A\) is usable. Formulate this problem as a language and show that it is decidable.
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.
A useless state in a pushdown automaton is never entered on any input string. Consider the problem of determining whether a pushdown automaton has any useless states. Formulate this problem as a language and show that it is decidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.