• Keine Ergebnisse gefunden

Ausgabe: “True”, falls R konfluent ist und “False” sonst

N/A
N/A
Protected

Academic year: 2021

Aktie "Ausgabe: “True”, falls R konfluent ist und “False” sonst"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

f(x, f(y, z)) → f(f(x, y), z) (G1)

f(x, e) → x (G2)

f(x, i(x)) → e (G3)

Kritische Paare:

f(x,f(y,e))

(G1) (G2)

f(f(x, y),e)

(G2)

f(x, y) f(x, y)

f(x, f(y,i(y)))

(G1) (G3)

f(f(x, y),i(y)) f(x, e)

(G2)

x

f(x0,f(x, f(y, z)))

(G1) (G1)

f(f(x0, x),f(y, z))

(G1)

f(x0,f(f(x, y), z))

(G1)

f(f(f(x0, x), y), z) f(f(f(x0, x), y), z)

(2)

Algorithmus CONFLUENCE(R)

Eingabe: Ein terminierendes TES R.

Ausgabe: “True”, falls R konfluent ist und “False” sonst.

1. Berechne alle kritischen Paare CP(R) von R.

2. Falls CP(R) = ∅, dann gib “True” aus und breche ab.

3. W¨ahle hs, ti ∈ CP(R).

4. Reduziere s und t so lange wie m¨oglich.

Auf diese Weise entstehen die Normalformen s0 und t0. 5. Falls s0 6= t0, dann gib “False” aus und breche ab.

6. Setze CP(R) = CP(R) \ {hs, ti}. 7. Gehe zu Schritt 2.

Referenzen

ÄHNLICHE DOKUMENTE

Trotzdem geht es voran: Nachdem sich 2001 der Bundesrat für POLYCOM entschied, haben die Kantone Glarus, Aargau, Thurgau und Neuenburg sowie das Partnerland Liechtenstein

Mit kleinem Schmunzeln nehmen wir noch zur Kenntnis, daß die uneingestandene Mißgunst, die unverhohlene Kritik seitens der Hofkammer, unter der der erste Hofbaumeister Pietro

• in the pure consumption economy, real shares of output are determined by the distributed profit ratio and the spending behavior of the receivers of wage income and

Die Instruktion check i überprüft, ob die (ungebundene) Variable oben auf dem Keller innerhalb des Term vorkommt, an den die Variable i gebunden ist.. Ist dies der Fall,

My bathroom is a mess, he ruined my makeover photos and he plays the violin – badlyB. Read Bridget's complaints

3. Ziggy steals Bridget's phone and sends text messages... 4. Bridget is pleased when her old

My bathroom is a mess, he ruined my makeover photos and he plays the violin – badly. Read Bridget's complaints

1. Nick goes to a shop with no clothes on. Ziggy gets upset by Bridget's impersonation of her. Ziggy steals Bridget's phone and sends text messages. Bridget is pleased when her