Inhärent mehrdeutige Sprache

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen

Eine formale Sprache L {\displaystyle L} {\displaystyle L} heißt inhärent mehrdeutige Sprache, wenn jede formale Grammatik G {\displaystyle G} {\displaystyle G} mit L ( G ) = L {\displaystyle L\left(G\right)=L} {\displaystyle L\left(G\right)=L} mehrdeutig ist.

L ( G ) {\displaystyle L\left(G\right)} {\displaystyle L\left(G\right)} steht hierbei für die von der Grammatik G {\displaystyle G} {\displaystyle G} erzeugte Sprache.

Die Sprache L = { a n b n c m | n , m N 0 } { a m b n c n | m , n N 0 } {\displaystyle L=\{a^{n}b^{n}c^{m}\;|\;n,m\in \mathbb {N} _{0}\}\cup \{a^{m}b^{n}c^{n}\;|\;m,n\in \mathbb {N} _{0}\}} {\displaystyle L=\{a^{n}b^{n}c^{m}\;|\;n,m\in \mathbb {N} _{0}\}\cup \{a^{m}b^{n}c^{n}\;|\;m,n\in \mathbb {N} _{0}\}} ist inhärent mehrdeutig, da jeweils die a i b i c i {\displaystyle a^{i}b^{i}c^{i}} {\displaystyle a^{i}b^{i}c^{i}} unterschiedliche Syntaxbäume haben.

Abgerufen von „https://de.wikipedia.org/w/index.php?title=Inhärent_mehrdeutige_Sprache&oldid=231778352"