• Keine Ergebnisse gefunden

(sig, E) be the specification of lists from the lecture

N/A
N/A
Protected

Academic year: 2021

Aktie "(sig, E) be the specification of lists from the lecture"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2011-2012 14.11.2011 Exercises to the Lecture FSVT

Prof. Dr. Klaus Madlener sheet 5

Exercise 1:

1. Prove or disprove correctness of the abstract version of termination detection al- gorithm from slide 156.

2. Answer the question from slide 158, whether the given DASM on the termination detection problem is a refinement of the more abstract DASM. Take the problems resolved into consideration.

Exercise 2:

1. Give models for the specificationsNATandLIST(NAT) from the lecture, where the sets of support consist of ground terms.

2. Give models for the specifications NAT and LIST(NAT), with + not commutative, and app not associative.

Are your sig-algebras term-generated?

Exercise 3:

Let the specification LIST(NAT) = (sig, E) be the specification of lists from the lecture.

1. Show, that for every ground term, there is a E-equal ground term not containing app.

2. Show: app(q1,app(q2, q3)) = app(app(q1, q2), q3)∈ITH(E) Exercise 4:

Prove:

1. Lett, t0, t00∈Term(F, V), u∈O(t), vO(t0). Then holds:

t[ut0]/uv≡t0/v (embedding) t[ut0][uv ←t00]≡t[ut0[v←t00]] (associativity) or in alternative syntax:

t[t0]u|uvt0 |v (embedding) t[t0]u[t00]uvt[t0[t00]v]u (associativity)

(2)

2. Lett, t0, t00∈Term(F, V), u, v ∈O(t), u|v (u, v are disjunct positions, i.e. neither u is prefix ofv norv prefix ofu). Then holds:

t[ut0]/v ≡t/v (persistence)

t[ut0][v←t00]≡t[vt00][u←t0] (commutativity) 3. Lett, t0, t00∈Term(F, V), u, v, w ∈O(t), u=vw. Then holds:

t[ut0]/v≡(t/v)[w←t0] distributivity t[ut0][v←t00]≡t[vt00] (dominance)

Delivery: until 20.11.2011,

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

Referenzen

ÄHNLICHE DOKUMENTE

Die Analyse gibt Aufschluss darüber, welche Faktoren relevant sind, wenn eine obli- gatorische Kommaposition als solche wahrgenommen, also ‚bedient‘ wird oder nicht.. Innovativ

Shi Yinhong, director of the Center for American Studies at Renmin University, warns in the Financial Times: “When Hu Jintao took over [in 2002] China didn’t need to look to Russia

производством, в органах муниципального и государственного управления связан с невысоким качеством менеджмента во всех звеньях, как на уровне

The banking system in the Republic of Macedonia at the end of 2011 is comprised of seventeen banks and eight saving house (National Bank of The Republic of Macedonia, Report, 2011,

He deserves to be praised by a grateful present and posterity as the man who first liberated mankind from immaturity (as far as government is concerned), and who left all men free

It is important to address the following questions: “How well does the adoption of the Euro explain the impact on Portuguese trade?” and “Is this impact

Auf Basis dessen, dass der Beruf konstitutiv für den Alltag und die Biographie ist, handelt es sich bei einer vorzeitigen Vertragslösung nicht nur um eine Identitätskrise,

And of the 3,200 immigrant physicians and surgeons in the same year, 1,700 or 53.1 percent came from the same source (National Science Foundation, 1972: 3).1 Among Asian countries,