<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Dyck-Sprache</id>
	<title>Dyck-Sprache - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Dyck-Sprache"/>
	<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Dyck-Sprache&amp;action=history"/>
	<updated>2026-06-03T14:33:44Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikipedia (Deutsch) – Lokale Kopie</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki-de.moshellshocker.dns64.de/index.php?title=Dyck-Sprache&amp;diff=798390&amp;oldid=prev</id>
		<title>217.6.228.105 am 9. Februar 2023 um 13:44 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Dyck-Sprache&amp;diff=798390&amp;oldid=prev"/>
		<updated>2023-02-09T13:44:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Die &amp;#039;&amp;#039;&amp;#039;Dyck-Sprachen&amp;#039;&amp;#039;&amp;#039; sind in der [[Theoretische Informatik|theoretischen Informatik]] bestimmte [[Kontextfreie Sprache|kontextfreie]] [[formale Sprache]]n, also Typ-2-Sprachen entsprechend der [[Chomsky-Hierarchie]]. Sie sind nach dem Mathematiker [[Walther von Dyck]] benannt.&lt;br /&gt;
&lt;br /&gt;
Für jede [[natürliche Zahl]] &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; ist die Dyck-Sprache &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; die [[Wortmenge]] der korrekt geklammerten (wohlgeformten) Ausdrücke mit &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; unterschiedlichen Klammerpaaren. [[Strukturelle Induktion|Induktiv]] lässt sich &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; wie folgt definieren:&lt;br /&gt;
*&amp;lt;math&amp;gt;\varepsilon \in D_n&amp;lt;/math&amp;gt; (Dabei ist &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; das [[Leeres Wort|leere Wort]].)&lt;br /&gt;
*Falls &amp;lt;math&amp;gt;v,w \in D_n&amp;lt;/math&amp;gt;, so gilt auch &amp;lt;math&amp;gt;vw\in D_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
*Falls &amp;lt;math&amp;gt;w \in D_n&amp;lt;/math&amp;gt;, so gilt auch &amp;lt;math&amp;gt;\{_i w \}_i \in D_n&amp;lt;/math&amp;gt; für alle &amp;lt;math&amp;gt;i\in\{1,2,\dotsc,n\}&amp;lt;/math&amp;gt;. (Dabei sind &amp;lt;math&amp;gt;\{_i&amp;lt;/math&amp;gt; die &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;-te öffnende und &amp;lt;math&amp;gt;\}_i&amp;lt;/math&amp;gt; die &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;-te schließende Klammer.)&lt;br /&gt;
&lt;br /&gt;
Die Dyck-Sprache &amp;lt;math&amp;gt;D_2&amp;lt;/math&amp;gt; kann die zwei Klammerpaare [, ] und (, ) umfassen. Dann gilt beispielsweise:&lt;br /&gt;
* &amp;lt;math&amp;gt;[[(\,)[\,]](\,)] \in\ D_2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;([\,)] \notin\ D_2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;)) \notin\ D_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ein Wort aus einer Dyck-Sprache kann man zu einem leeren Wort reduzieren, indem man schrittweise jedes in der richtigen Reihenfolge auftretende Klammerpaar durch das leere Wort &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; ersetzt. Ein Dyck-Wort kann als ein [[Heinz Rutishauser|Rutishauser]]-Klammergebirge dargestellt werden. Dabei wird auf der [[Abszisse]] die Position der Klammer im Wort und auf der [[Ordinate]] die jeweilige Klammertiefe dargestellt. Dyck-Sprachen sind [[Deterministisch kontextfreie Sprache|deterministisch kontextfrei]] und damit insbesondere [[Kontextfreie Sprache|kontextfrei]]. Sie sind jedoch nicht [[Reguläre Sprache|regulär]].&lt;br /&gt;
&lt;br /&gt;
[[Kontextfreie Grammatik]] der Dyck-Sprache &amp;lt;math&amp;gt;D_2&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;S \rightarrow \varepsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;S \rightarrow SS&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;S \rightarrow [S]&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;S \rightarrow (S)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Im Falle &amp;lt;math&amp;gt;D_n&amp;lt;/math&amp;gt; gibt es analog &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; verschiedene Produktionen der Art &amp;lt;math&amp;gt;S \rightarrow \{_i S \}_i&amp;lt;/math&amp;gt; für &amp;lt;math&amp;gt;i\in\{1,2,\dotsc,n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Literatur ==&lt;br /&gt;
* Salomaa, Arto K.: &amp;#039;&amp;#039;Formale Sprachen.&amp;#039;&amp;#039; Springer, Berlin Heidelberg New York, 1978&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Compilerbau]]&lt;br /&gt;
[[Kategorie:Theorie formaler Sprachen]]&lt;/div&gt;</summary>
		<author><name>217.6.228.105</name></author>
	</entry>
</feed>