• Keine Ergebnisse gefunden

For every critical pair (t1, t2)∈CP(R, G) holdst1 ↓∼t2

N/A
N/A
Protected

Academic year: 2021

Aktie "For every critical pair (t1, t2)∈CP(R, G) holdst1 ↓∼t2"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2009 2009/06/24 Exercises to the Lecture FSVT

Prof. Dr. Klaus Madlener sheet 9

Exercise 31: [Example confluence and critical pairs]

Consider the rule systemR:h(x, f(x))→c, h(x, x)→b, k(x)→x, g(a)→f(g(k(a)).

1. Prove: There are no critical pairs of R.

2. Prove:R is not confluent.

3. Why is there no contradiction?

Exercise 32: [Local coherence and critical pairs]

Prove: Let CP(R, G) be defined as the set of critical pairs regarding R and the set of equationsGoriented in both ways. IfR is left-linear, then the following statements are equivalent.

1. R is locally coherent modulo∼.

2. For every critical pair (t1, t2)CP(R, G) holdst1 t2. Exercise 33: [Termination]

Prove the following theorem:

Let A be a set, > a total well-founded ordering on A and I a function mapping every k-ary function symbol f to a mapping I(f) : Ak A, strictly monotonously increa- sing in every argument (i.e. for all a1, . . . , ak A, i ∈ {1, . . . , k}, and ai > a holds:

I(f)(a1, . . . , ai, . . . , ak)> I(f)(a1, . . . , ai1, a, ai+1, . . . , ak).

LetI(β) : Term(F, V)→A be defined as:

I(β)(t) =β(t), ift∈V

I(β)(f(t1, . . . , tn)) =I(f)(I(β)(t1), . . . , I(β)(tn)).

Let G be a term-rewriting system and let I(β)(l) > I(β)(r) for every rule l r G and for every variable assigmentβ :V →A. ThenGis terminating.

Exercise 34: [Example for termination]

Consider the rule systemR:f(x)→h(s(x)), h(0)→h(s(0)) with x∈V. Prove:

1. The theorem of exercise 33 is not applicable toR forA=N. 2. R is confluent.

3. R is terminating.

Delivery: until 2009/06/01 Fr:G07 Mo:G05, by EMail to madlener@informatik.uni-kl.de

Referenzen

ÄHNLICHE DOKUMENTE

(ii) Als Begr¨ undung f¨ ur eine Funktion reicht es leider nicht, die Niveaumenge zu einem Wert hinzuschreiben.. Abbildung 1 zeigt Niveaulininen der

[r]

Both crystal structures differ mainly in the positions of the monovalent cations in the free threads of the helical i[BP20g 3 ~] ribbons and in the positions of water

Prove: Let CP(R, G) be defined as the set of critical pairs regarding R and the set of equations G oriented in both ways?. If R is left-linear, then the following statements

Mathematische Grundlagen der Informatik RWTH

Mathematische Grundlagen der Informatik RWTH

Throughout, R denotes a ring, and, unless otherwise stated, all rings are assumed to be associative rings with 1, and modules are assumed to be left

Furthermore, all KG- modules considered are assumed to be left modules and free of finite rank over K.. Proceed in the