Re: Proof of inherent ambiguity?
From: Brian M. Scott (b.scott_at_csuohio.edu)
Date: 09/25/04
- Next message: Michael J. Fromberger: "Re: Proof of inherent ambiguity?"
- Previous message: Harlan Messinger: "Re: turkey/peru/portuguese"
- Maybe in reply to: Nathan Sanders: "Re: Proof of inherent ambiguity?"
- Next in thread: Michael J. Fromberger: "Re: Proof of inherent ambiguity?"
- Messages sorted by: [ date ] [ thread ]
Date: 25 Sep 2004 13:07:25 -0400
On 24 Sep 2004 00:26:52 -0400, Dave Ohlsson
<dave_140390@hotmail.com> wrote in sci.lang:
[...]
> Could anyone give an example of an inherently ambiguous context-free
> language AND the proof that that language is inherently ambiguous?
The language
{a^n b^n c^m d^m : n, m in N} U {a^m b^n c^n d^m : n, m in N}.
context-free and inherently ambiguous. The proof is long and
tedious and depends on the fact that there will always be two
different parse trees for some of the strings in the intersection
of the two pieces of the language. I believe that it can be
found in Hopcroft and Ullman, Introduction to Automata Theory.
Brian
- Next message: Michael J. Fromberger: "Re: Proof of inherent ambiguity?"
- Previous message: Harlan Messinger: "Re: turkey/peru/portuguese"
- Maybe in reply to: Nathan Sanders: "Re: Proof of inherent ambiguity?"
- Next in thread: Michael J. Fromberger: "Re: Proof of inherent ambiguity?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|