The Gateway to Computer Science Excellence
+1 vote
24 views

Say that a variable $A$ in $CFG \:G$ is necessary if it appears in every derivation of some string $w \in G$. Let $NECESSARY_{CFG} = \{\langle G, A\rangle \mid \text{A is a necessary variable in G}\}$.

  1. Show that $NECESSARY_{CFG}$ is Turing-recognizable.
  2. Show that $NECESSARY_{CFG} $is undecidable.
in Theory of Computation by Veteran (59.2k points)
edited by | 24 views

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,356 answers
198,482 comments
105,252 users