Question: We know that the language AiBiCi = { a ^ ib ^ ic ^ i | i > = 0 } is not context -
We know that the language AiBiCi aibici i is not contextfree. Show that the complement of AiBiCi is contextfree. We can break it down into four cases:
w is in abc but the number of as and the number of bs in w are not equal,
w is in abc but the number of bs and the number of cs in w are not equal,
w is in abc but the number of as and the number of cs in w are not equal,
w is not in abc
Show that each of the four cases are contextfree, then since the contextfree languages are closed under union, the complement of AiBiCi must be contextfree.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
