• Keine Ergebnisse gefunden

anc(Z,a) mO(Z,a) {Z/s} mO(Z, Y ),anc(Y,a) {Z/r,Y /s} {Z/s, Y /a

N/A
N/A
Protected

Academic year: 2021

Aktie "anc(Z,a) mO(Z,a) {Z/s} mO(Z, Y ),anc(Y,a) {Z/r,Y /s} {Z/s, Y /a"

Copied!
4
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

motherOf(renate, susanne).

motherOf(susanne, aline).

ancestor(V,X) :- motherOf(V,X).

ancestor(V,X) :- motherOf(V,Y), ancestor(Y,X).

anc(Z,a)

mO(Z,a)

{Z/s}

mO(Z, Y ),anc(Y,a)

{Z/r,Y /s}

{Z/s, Y /a}

anc(s,a) . . . . . . mO(Z, Y ),mO(Y, Y1),anc(Y1,a)

mO(s,a) . . . . . . mO(Z, Y ),mO(Y, Y1),mO(Y1, Y2),anc(Y2,a)

...

26

(2)

motherOf(renate, susanne).

motherOf(susanne, aline).

ancestor(V,X) :- motherOf(V,X).

ancestor(V,X) :- motherOf(V,Y), ancestor(Y,X).

anc(Z, a)

mO(Z, a)

{Z/s}

mO(Z, Y ),anc(Y, a)

{Z/r,Y /s} {Z/s,Y /a}

✷ anc(s,a) anc(a,a)

mO(s,a) mO(s, Y1),anc(Y1,a)

{Y1/a}

mO(a,a) mO(a, Y3),anc(Y3,a)

✷ anc(a,a)

mO(a,a) mO(a, Y4),anc(Y4,a)

27

(3)

motherOf(renate, susanne).

motherOf(susanne, aline).

ancestor(V,X) :- motherOf(V,X).

ancestor(V,X) :- ancestor(Y,X), motherOf(V,Y).

anc(Z, a)

mO(Z,a)

{Z/s}

anc(Y,a),mO(Z, Y )

✷ mO(Y,a),mO(Z, Y )

{Y /s}

anc(Y1,a),mO(Y, Y1),mO(Z, Y )

mO(Z,s)

{Z/r}

... ...

28

(4)

motherOf(renate, susanne).

motherOf(susanne, aline).

ancestor(V,X) :- ancestor(Y,X), motherOf(V,Y).

ancestor(V,X) :- motherOf(V,X).

anc(Z, a)

anc(Y,a),mO(Z, Y ) mO(Z, a)

{Z/s}

anc(Y1,a),mO(Y, Y1),mO(Z, Y ) mO(Y,a),mO(Z, Y )

{Y /s}

... ... mO(Z,s)

{Z/r}

29

Referenzen

ÄHNLICHE DOKUMENTE

F¨ ur welche Wahl der Schrittweite h geht die numerische L¨ osung des expliziten bzw.. impliziten Euler-Verfahrens

Grundlagen der Analysis, Topologie und Geometrie Ubungsblatt 7 ¨.. Abgabe bis Fr, 3.6.,

Sei G eine Gruppe mit einer Topologie, bez¨ uglich derer die Abbildungen (x, y) 7→ xy und x 7→ x −1 stetig sind. (Hinweis: Betrachten

[r]

Ein Dominosystem D besteht aus einer endlichen Menge D von quadratischen Dominosteinen gleicher Gr¨ oße, deren vier Kanten (oben, unten, links, rechts) gef¨

Mathematische Grundlagen der Informatik RWTH

Gruppen¨ubung, Mathematische Logik, SS 2008.

[r]