• Keine Ergebnisse gefunden

true eq(x,y

N/A
N/A
Protected

Academic year: 2021

Aktie "true eq(x,y"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2011-2012 28.11.2011 Exercises to the Lecture FSVT

Prof. Dr. Klaus Madlener sheet 7

Exercise 1:

Let specifications ELEMENT and NAT be given as:

spec ELEMENT

uses BOOL sorts E

opns eq : E,E→Bool vars x,y,z :→E eqns eq(x,x) = true

eq(x,y) = eq(y,x)

eq(x,y) = true and eq(y,z) = true implies eq(x,z) = true spec NAT

uses BOOL sorts N opns 0 :→N

s : N→N

equal : N,N→Bool vars n,m :→N

eqns equal(0,0) = true equal(0,s(n) = false equal(s(n),0) = false

equal(s(n),s(m)) = equal(n,m)

Give a parametrized specification for sets over ELEMENT with the operations INSERT and REMOVE and prove:

1. The signature morphism σ : ELEMENT→ NAT given by σ(E) = N and σ(eq = equal) is no specification morphism.

2. (TNAT)|σ is a model of ELEMENT, i.e. it is a correct parameter assignment.

3. Does your specification satisfy (TVALUE)|NAT∼=TNAT, i.e. is VALUE an extension of NAT? Is it an enrichment?

Exercise 2:

Consider themu-calculus with the following rules for arbitrary X, Y ∈ {m, i, u}: { Xi

Xiu, mY

mY Y,XiiiY

XuY ,XuuY XY }

(2)

1. Is the reduction system it is based on terminating?

2. Domimu,mumi resp. hold? Prove your claim.

Exercise 3:

Prove the properties of the muiltiset ordering following definition 8.22 on slide 284.

Exercise 4:

Prove that the proof ordering from slide 285 is noetherian.

Delivery: until 04.12.2011,

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

Referenzen

ÄHNLICHE DOKUMENTE

[r]

Mathematische Grundlagen der Informatik RWTH

Mathematische Grundlagen der Informatik RWTH

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

Deduce from Remark 35.12 of the Lecture Notes that column orthogonality relations for the Brauer characters take the form Π tr Φ =

Prove the properties of the muiltiset ordering following definition 8.22 on slide 284..

There are many general forms and content of minority rights which include a growing list of authoritative texts, including but not excluding Article 27 of the

[r]