Ehrenfeucht-Fraïssé-Spiele

Ehrenfeucht-Fraïssé-Spiele (EF-Spiele) sind eine Beweistechnik der Modelltheorie. Durch EF-Spiele lässt sich die Äquivalenz zweier Strukturen zeigen bzw. widerlegen. Strukturen dienen in der beschreibenden Komplexitätstheorie meist als Formalismus zur Beschreibung von Objekten wie Wörtern oder Graphen. Ehrenfeucht-Fraïssé-Spiele liefern so ein Hilfsmittel zum Beweisen von unteren Schranken, also zum Beweis, dass sich eine gegebene Klasse von Strukturen nicht durch eine bestimmte Logik ausdrücken lässt.

Entwickelt wurden sie von Andrzej Ehrenfeucht auf Grundlage der theoretischen Arbeit des Mathematikers Roland Fraïssé.

Ein EF-Spiel wird von zwei Spielern gespielt, gewöhnlich bezeichnet mit Spoiler und Duplicator (nach Joel Spencer) oder Samson und Delilah (nach Neil Immerman).[1]

Bezeichnungen

  • Sei A {\displaystyle {\mathcal {A}}} eine Struktur. Dann bezeichne | A | {\displaystyle |{\mathcal {A}}|} das entsprechende Universum (Grundmenge, Trägermenge).
  • S T R U K T [ σ ] {\displaystyle {\mathsf {STRUKT}}[\sigma ]} bezeichne die Menge aller endlichen Strukturen der Signatur σ {\displaystyle \sigma } .

Das n-Runden-EF-Spiel

Ehrenfeucht-Fraïssé-Spiele in ihrer herkömmlichen Form haben einen engen Bezug zu Logiken erster Stufe. Diese Grundform ist wie folgt definiert.

Definition

Seien

A , B {\displaystyle {\mathcal {A}},{\mathcal {B}}} zwei Strukturen der gleichen Signatur,
a | A | k , b | B | k ,     k , n N {\displaystyle \mathbf {a'} \in |{\mathcal {A}}|^{k},\mathbf {b'} \in |{\mathcal {B}}|^{k},\ \ k,n\in \mathbb {N} } .

Ein n-Runden-Spiel wird auf den Interpretationen ( A , a ) , ( B , b ) {\displaystyle ({\mathcal {A}},\mathbf {a'} ),({\mathcal {B}},\mathbf {b'} )} definiert:

Das EF-Spiel G n ( ( A , a ) , ( B , b ) ) {\displaystyle G_{n}(({\mathcal {A}},\mathbf {a'} ),({\mathcal {B}},\mathbf {b'} ))} hat n Runden, die Ausgangsmenge ist { ( a 0 , b 0 ) ,     , ( a k 1 , b k 1 ) } | A | × | B | {\displaystyle \{(a'_{0},b'_{0}),\ \ldots \ ,(a'_{k-1},b'_{k-1})\}\subseteq |{\mathcal {A}}|\times |{\mathcal {B}}|} ;
  • in jeder Runde i (i<n) wählt zunächst Samson ein beliebiges a i | A | {\displaystyle a_{i}\in |{\mathcal {A}}|} oder ein b i | B | {\displaystyle b_{i}\in |{\mathcal {B}}|} , welches noch nicht zuvor gewählt wurde
  • falls Samson ein Element aus | A | {\displaystyle |{\mathcal {A}}|} gewählt hat, wählt daraufhin Delilah auf dieselbe Weise ein beliebiges b i | B | {\displaystyle b_{i}\in |{\mathcal {B}}|} , sonst ein a i | A | {\displaystyle a_{i}\in |{\mathcal {A}}|}
  • das resultierende Tupel ( a i , b i ) {\displaystyle (a_{i},b_{i})} wird zur Ausgangsmenge hinzugefügt.
Nach n Runden resultiert eine Menge von 2-Tupeln { ( a 0 , b 0 ) ,     , ( a n 1 , b n 1 ) , ( a 0 , b 0 ) ,     , ( a k 1 , b k 1 ) } | A | × | B | {\displaystyle \{(a_{0},b_{0}),\ \ldots \ ,(a_{n-1},b_{n-1}),(a'_{0},b'_{0}),\ \ldots \ ,(a'_{k-1},b'_{k-1})\}\subseteq |{\mathcal {A}}|\times |{\mathcal {B}}|} .
  • Falls durch diese Menge ein partieller Isomorphismus φ : | A | | B | {\displaystyle \varphi :|{\mathcal {A}}|\rightarrow |{\mathcal {B}}|} definiert wird, hat Delilah gewonnen, ansonsten hat Samson gewonnen.
Per Definition gewinnt Delilah das Spiel G n ( ( A , a ) , ( B , b ) ) {\displaystyle G_{n}(({\mathcal {A}},\mathbf {a'} ),({\mathcal {B}},\mathbf {b'} ))} , falls sie eine zwingende Gewinnstrategie hat.

Oft gilt k = 0 {\displaystyle k=0} ; man schreibt G n ( A , B ) {\displaystyle G_{n}({\mathcal {A}},{\mathcal {B}})} und die Ausgangsmenge ist leer.

Eigenschaften von EF-Spielen

Satz

Zwei Strukturen A , B {\displaystyle {\mathcal {A}},{\mathcal {B}}} sind n {\displaystyle n} -äquivalent, A n B {\displaystyle {\mathcal {A}}\equiv _{n}{\mathcal {B}}\Leftarrow } Delilah gewinnt G n ( A , B ) {\displaystyle G_{n}({\mathcal {A}},{\mathcal {B}})} . Falls die Signatur der Strukturen endlich ist, gilt auch die Umkehrung.

Dabei nennt man zwei Strukturen A {\displaystyle {\mathcal {A}}} und B {\displaystyle {\mathcal {B}}} n {\displaystyle n} -äquivalent, in Zeichen A n B {\displaystyle {\mathcal {A}}\equiv _{n}{\mathcal {B}}} , wenn A {\displaystyle {\mathcal {A}}} und B {\displaystyle {\mathcal {B}}} dieselben Sätze der Prädikatenlogik erster Stufe erfüllen, deren Verschachtelungstiefe von All- und Existenzquantoren höchstens n {\displaystyle n} ist.

Korollar

Delilah gewinnt G n ( A , B ) {\displaystyle G_{n}({\mathcal {A}},{\mathcal {B}})} für alle n n N : A n B : A {\displaystyle n\,\iff \,\forall n\in \mathbb {N} :{\mathcal {A}}\equiv _{n}{\mathcal {B}}\,:\iff \,{\mathcal {A}}} und B {\displaystyle {\mathcal {B}}} sind elementar äquivalent.

Beweisen von unteren Schranken

Um zu beweisen, dass eine Menge I S T R U K T [ σ ] {\displaystyle I\subset {\mathsf {STRUKT}}\left[\sigma \right]} nicht durch F O {\displaystyle FO} [ σ ] {\displaystyle \left[\sigma \right]} -Formeln definiert werden kann, genügt es zu zeigen, dass es für jedes n ∈  N {\displaystyle \mathbb {N} } zwei Strukturen A I {\displaystyle {\mathcal {A}}\in I} und B S T R U K T [ σ ] I {\displaystyle {\mathcal {B}}\in {\mathsf {STRUKT}}[\sigma ]\setminus I} gibt, so dass Delilah eine Gewinnstrategie für G n ( A , B ) {\displaystyle G_{n}({\mathcal {A}},{\mathcal {B}})} hat.

EF-Spiele für die Prädikatenlogik zweiter Stufe

Ehrenfeucht-Fraïssé-Spiele können relativ problemlos auf Logiken zweiter Stufe erweitert werden. Das Beweisen von Gewinnstrategien wird hierbei jedoch deutlich schwieriger. Eine eingeschränkte Variante sind Spiele für die existentielle Prädikatenlogik zweiter Stufe ( S O , E S O ) . S O {\displaystyle (SO\exists ,ESO).SO\exists } spielt durch die Charakterisierung der Komplexitätsklasse NP eine wichtige Rolle in der beschreibenden Komplexitätstheorie, siehe dazu auch Satz von Fagin.

Beschränkt man die S O {\displaystyle SO\exists } -Logik weiter auf monadische Prädikate ( M S O ) {\displaystyle (MSO\exists )} , so ist diese Version der EF-Spiele äquivalent zu den Ajtai-Fagin-Spielen.[2]

SO∃-Spiele

Definition

Seien

A , B {\displaystyle {\mathcal {A}},{\mathcal {B}}} zwei Strukturen der gleichen Signatur
c , n N ,   s N c {\displaystyle c,n\in \mathbb {N} ,\ \mathbf {s} \in \mathbb {N} ^{c}}

die Eingaben für ein S O {\displaystyle SO\exists } -Spiel.

  • Samson wählt die c {\displaystyle c} Prädikate P i A {\displaystyle P_{i}^{\mathcal {A}}} der Stelligkeit s i {\displaystyle s_{i}} über | A | {\displaystyle |{\mathcal {A}}|}
  • Delilah wählt daraufhin die c {\displaystyle c} Prädikate P i B {\displaystyle P_{i}^{\mathcal {B}}} der Stelligkeit s i {\displaystyle s_{i}} über | B | {\displaystyle |{\mathcal {B}}|}
  • Auf der beiden erweiterten Strukturen wird schließlich das Ehrenfeucht-Fraïssé-Spiel G n ( ( A , P A ) , ( B , P B ) ) {\displaystyle G_{n}(({\mathcal {A}},\mathbf {P} ^{\mathcal {A}}),({\mathcal {B}},\mathbf {P} ^{\mathcal {B}}))} gespielt.

Bei M S O {\displaystyle MSO\exists } -Spielen (Beschränkung auf monadische Prädikate) gilt s i = 1 {\displaystyle s_{i}=1} für alle i {\displaystyle i} .

Ajtai-Fagin-Spiele

Ajtai-Fagin-Spiele sind in dem Sinne äquivalent zu den MSO∃-Spielen, als dass Delilah das Ajtai-Fagin-Spiel auf einer Menge I {\displaystyle I\subset } S T R U K T [ σ ] {\displaystyle {\mathsf {STRUKT}}\left[\sigma \right]} genau dann gewinnt, wenn es für jedes c {\displaystyle c} und jedes n {\displaystyle n} zwei Strukturen A I {\displaystyle {\mathcal {A}}\in I} und B S T R U K T [ σ ] I {\displaystyle {\mathcal {B}}\in {\mathsf {STRUKT}}[\sigma ]\setminus I} gibt, so dass sie das entsprechende M S O {\displaystyle MSO\exists } -Spiel gewinnt. Ajtai-Fagin-Spiele sind jedoch formal leichter handhabbar als M S O {\displaystyle MSO\exists } -Spiele.

Definition

Ein Ajtai-Fagin-Spiel wird auf einer Menge von Strukturen I S T R U K T [ σ ] {\displaystyle I\subset {\mathsf {STRUKT}}\left[\sigma \right]} gespielt:

  • Zuerst wählt Samson zwei Zahlen c , n N {\displaystyle c,n\in \mathbb {N} }
  • Delilah wählt daraufhin eine Struktur A I {\displaystyle {\mathcal {A}}\in I}
  • Samson wählt die monadischen Prädikate P 1 A ,     , P c A {\displaystyle P_{1}^{\mathcal {A}},\ \ldots \ ,P_{c}^{\mathcal {A}}} über | A | {\displaystyle |{\mathcal {A}}|}
  • Delilah wählt nun eine weitere Struktur B S T R U K T [ σ ] I {\displaystyle {\mathcal {B}}\in {\mathsf {STRUKT}}[\sigma ]\setminus I} sowie die monadischen Prädikate P 1 B ,     , P c B {\displaystyle P_{1}^{\mathcal {B}},\ \ldots \ ,P_{c}^{\mathcal {B}}} über | B | {\displaystyle |{\mathcal {B}}|}
  • Nun wird auf den beiden erweiterten Strukturen das Ehrenfeucht-Fraïssé-Spiel G n ( ( A , P A ) , ( B , P B ) ) {\displaystyle G_{n}(({\mathcal {A}},\mathbf {P} ^{\mathcal {A}}),({\mathcal {B}},\mathbf {P} ^{\mathcal {B}}))} gespielt

Satz

Sei I S T R U K T [ σ ] {\displaystyle I\subset {\mathsf {STRUKT}}\left[\sigma \right]} . Dann gewinnt Delilah das Ajtai-Fagin-Spiel auf I {\displaystyle I} genau dann, wenn I {\displaystyle I} nicht durch M S O [ σ ] {\displaystyle MSO\exists \left[\sigma \right]} -Logik definierbar ist.

Siehe auch

Einzelnachweise

  1. Stanford Encyclopedia of Philosophy, Logic and Games.
  2. Neil Immerman: Descriptive Complexity. Springer, 1999, ISBN 978-0-387-98600-5.