• Keine Ergebnisse gefunden

If there is an infinite chain, then there is a rule (l, r

N/A
N/A
Protected

Academic year: 2021

Aktie "If there is an infinite chain, then there is a rule (l, r"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2011-2012 05.12.2011 Exercises to the Lecture FSVT

Prof. Dr. Klaus Madlener sheet 8

Exercise 1: [Confluence and termination of rule sets over ground terms]

LetR={(lk, rk)|k= 1, . . . , n)}be a finite rule set over ground terms. Prove:

1. If there is an infinite chain, then there is a rule (l, r) ∈ R with an infinite chain from r.

2. If there is an infinite chain, then there is aj with 1≤jnand a ground term t, such thatlj +

tand lj is a subterm of t.

3. Termination of R is decidable. (Termination is often denounced as ’Kettenbedin- gung’ in german literature.)

4. Develop sufficient conditions for local confluence.

Exercise 2: [Knuth-Bendix-ordering]

Letϕ:FV →Nbe a weight function with

ϕ(x) =α >0 for all xV (1)

ϕ(f)≥α iff 0-ary (2)

ϕ(f)>0 iff 1-ary (3)

ϕ(f)≥0 else (4)

Extendϕtoϕ: Term(F, V)→Nby

ϕ(f(t1, . . . , tn)) =ϕ(f) + X

i=1,...,n

ϕ(ti)

Define s > t iff. ϕ(s) > ϕ(t) and |s|x ≥ |t|x for all xV. Then > is called a Knuth- Bendix-ordering. Prove for any Knuth-Bendix-ordering >:

1. >is strict part of a wellfounded partial ordering 2. >is compatible with substitution

3. >is compatible with term replacement Exercise 3:

Let

R1={F(0,1, x)→F(x, x, x)}

R2={G(x, y)→x, G(x, y)y}.

(2)

1. Prove: R1 andR2 are terminating.

2. Prove or disprove: The rule set R1R2 is terminating.

Exercise 4: [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 ofR.

2. Prove: R is not confluent.

3. Why is there no contradiction?

Exercise 5: [Local coherence and critical pairs]

Prove: Let CP(R, G) be defined as the set of critical pairs regarding R and the set of equationsG oriented 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) holdst1t2. Delivery: until 11.12.2011,

by E-Mail to huechting@informatik.uni-kl.de

Referenzen

ÄHNLICHE DOKUMENTE

Cases of companies that digress from the ethical standards by manipulating accounting information (Enron, Parmalat, WorldCom) have generated negative effects

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

60 participants have been selected for the experiment, and each participant is supposed to test and rate every packaging of exactly one toothpaste type on a 1-5 scale. Which type

[r]

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

Fachbereich Mathematik und

The proof of the corollary illustrates one of the main ways core model theory is applied: if there is a pre-saturated ideal on ù 1 , then there cannot be a K as in the conclusion

We use Erd¨ os’ probabilistic method: if one wants to prove that a structure with certain desired properties exists, one defines an appropriate probability space of structures and