Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A context - free grammar ( V , Sigma , R , S ) is epsi - free if: There is at most
A contextfree grammar VSigma R S is epsi free if:
There is at most one rule whose righthand side is epsi and that is: S epsi here S is the start symbol
If the grammar contains the rule S epsi then S does not appear on the righthand side of any rule.
Show that, for any given epsi free CFG G there is a size l where if G generates a string using more than l derivation
steps, then LG is infinite. Give an explicit formula for l in your proof basically l must be a computable
function of the stuff in G and prove that the formula you give is correct.
Also show that this is not true for contextfree grammars in general.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started