Lines 183 - 186 |
Lines 183 - 309 |
|
|
+++ Erfüllungsrelation |
+++ Erfüllungsrelation |
|
|
|
|[ P(t1, ..., tn ) ]| _ { I, alpha } = true gdw. |
|
( |[t_1]|_{ I, alpha } .... |[ t_n ]| _ { I, alpha } ) (- P_I |
|
|
|
|[ FORALL x F ]| _ { I, alpha } = true gdw |[ F ]| _ {I, alpha}_{ x / alpha } = true für jedes alpha (- U |
|
|
|
|[ EXISTS x F ]| _ { I, alpha } = true gdw |[ F ]| _ {I, alpha}_{x / alpha } = true für mindestens ein alpha (- U |
|
|
|
Terminiert bei unentscheidlicher Domain möglicherweise nicht! (Unentscheidbarkeit der Prädikatenlogik). |
|
|
|
|
|
+++ Semantische Äquivalenzen |
|
|
|
++++ "!DeMorgan für Quantoren" |
|
|
|
1.1 NOT FORALL x F equiv EXISTS x NOT F |
|
1.2 NOT EXISTS x F equiv FORALL x NOT F |
|
|
|
|
|
2.1 ( FORALL x F) AND ( FORALL x G ) equiv FORALL x ( F AND G ) |
|
2.2 ( EXISTS x F) OR ( EXISTS x G ) equiv EXISTS x ( F OR G) |
|
|
|
|
|
++++ Vertauschen gleicher Quantoren |
|
|
|
3.1 FORALL x FORALL y F equiv FORALL y FORALL x F |
|
3.2 EXISTS x EXISTS y F equiv EXISTS y EXISTS x F |
|
|
|
|
|
+++ Semantische Nicht-Äquivalenzen |
|
|
|
(hier war Prof. Egly zu schnell für mich...) |
|
|
|
+++ Delphin im Karpfenteich |
|
|
|
Delphin / Fisch / Teichbaden, usw. Dieses Beispiel haben wir ausgelassen. |
|
|
|
+++ Inferenz Beispiele |
|
|
|
Hasen haben lange Ohren |
|
Max ist ein Hase |
|
_________________ |
|
? Max hat lange Ohren |
|
|
|
|
|
FORALL x Hase(x) => hat_lange_Ohren(x) |
|
Hase (Max) |
|
_________________ |
|
: ? |
|
_________________ |
|
hat_lange_Ohren(Max) |
|
|
|
|
|
+++ Inferenzregeln |
|
|
|
++++ Modus ponems / tollens |
|
|
|
Siehe Aussagenlogik |
|
|
|
++++ AND Einführung |
|
|
|
F, G |
|
____ |
|
F AND G |
|
|
|
|
|
++++ AND Elimination |
|
|
|
F AND G |
|
______ |
|
F |
|
|
|
|
|
++++ FORALL Instantiierung |
|
|
|
**wichtig!** |
|
|
|
FORALL x F |
|
________ |
|
F [ x / t ] |
|
|
|
|
|
++++ EXISTS Instantiierung |
|
|
|
EXISTS x F (für min. ein x bewiesen) |
|
_______ |
|
F [ x / C neu ] |
|
|
|
|
|
(C neu muss neu rein!, siehe Sequentialkalkül: Eigenvariable. Sollte eigentlich Eigenkonstante heißen, jedoch bezeichnet selbst die englische Fachliteratur das Ding als Eigenvariable.) |
|
|
|
+++ Beispiele |
|
|
|
++++ FORALL Instantiierung |
|
|
|
FORALL x grandfrather(father_of(mother_of(x)), x) |
|
________________________ |
|
grandfather(((father_of(mother_of(John)), John) |
|
|
|
|
|
++++ EXISTS Instantiierung |
|
|
|
(zu schnell!) |
|
|
|
+++ Kalkül |
|
|
|
Ein Kalkül k: |
|
* ist eine Menge von Axiomen und Inferenzregeln F1, ..., Fn |- G |
|
* liefert syntaktisches Gegenstück zur semantischen Folgerungsrelation |= |
|
* ist korrekt gdw F |- G impliziert F |= G |
|
* ist vollständig gdw F |= G impliziert F |- G |
|
|
|
Korrekt und Vollständig (unser Ziel): |
|
** |= equiv |- |
|
|
|
Axiome sequentielles Kalkül: Aus Formel folgt Formel |
|
|
|
Alles semantisch Beweisbare müßte auch syntaktisch beweisbar sein (und umgekehrt) |
|
|
|
++++ Normalformeln |
|
|
|
Sollten wir mal gehört haben (184/2), sind aber nicht Teil des Stoffs. Umkehrfunktion / Resolution. |
|
|
|
|
|
++ DescriptionLogics |