• Keine Ergebnisse gefunden

Exercise 1 (a) Show that any two disjoint co-recursively enumerable languages A and B are recursively separable, i.e

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise 1 (a) Show that any two disjoint co-recursively enumerable languages A and B are recursively separable, i.e"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Lehr- und Forschungsgebiet

Mathematische Grundlagen der Informatik RWTH Aachen

Prof. Dr. E. Grädel, D. Berwanger, T. Ganzow

SS 2008

Algorithmic Model Theory — Assignment 1

Due: Tuesday, 22 April, 12:00

Note: – You may work on the exercises in groups of up to three students.

– Hand in your solutions at the end of the lecture or put them into the box at the institute.

Exercise 1

(a) Show that any two disjoint co-recursively enumerable languages A and B are recursively separable, i.e. there exists a recursive set C such thatA⊆C andB∩C=∅.

(b) Given a recursively enumerable languageL, letcode(L) ={ρ(M) : L(M) =L}. Show that ifL1andL2 are recursively enumerable languages andL1 (L2, thencode(L1)is recursively inseparable fromcode(L2).

Hint: Use a reduction from a suitable pair of recursively inseparable sets and recall the proof of Rice’s theorem.

Exercise 2

Let X be the set of relational FO-sentences of the form ∃x1. . .∃xr∀y1. . .∀ysϕwhere r, s∈N and ϕis quantifier-free. Show that Sat(X)is decidable.

Hint: Show that each satisfiable sentence inX has a model with at most r elements.

Exercise 3

Ak-register machine resembles a Turing machine, but instead of a tape it useskregisters each of which stores a natural number. In each step, the next state is determined by the current state and the set of registers currently holding a zero, and the machine can increment or decrement the contents of the registers (if they are not already zero). Formally, the transition function δ can be described as follows:

δ:Q× {0,+}k→Q× {−1,0,+1}k

such that δ(q,0++0) = (q0,+1−1 0−1)means that if the (4-)register machine M is currently in stateq, register 1 and 4 contain a zero and register 2 and 3 both contain a positive number, thenM changes to state q0, increments the first register, and decrements the second and fourth register (however, the fourth register still holds a zero afterwards).

It is well known that the halting problem for 2-register machines is undecidable. Reduce this halting problem to a validity problem for FO-formulae as in the proof of Trakhtenbrot’s theorem.

Hint: The configurations of 2-register machines can be represented as tuples in Q×N×N. Consider an appropriate structure that contains a binary relation Cq for each state q of the register machine such that Cq={(m, n)∈N×N : (q0,0,0)`M (q, m, n)}.

http://www-mgi.informatik.rwth-aachen.de/Teaching/AMT-SS08/

Referenzen

ÄHNLICHE DOKUMENTE

It finds that criminalisation has, during the past two decades, intensified significantly across the European Union in diverse manifestations: whether via public perceptions

Together, these two conditions – the advance of technology due to international anarchy and the Hegelian struggle towards symmetrical recognition – make a world state

Існуюча в 1923 -24 році податкова напруга посилювалась також діяльністю так званих напів-податків, які мали примусовий характер: добродійні марки, жетони,

evidence, retains a hegemonic influence in political economy discourse. It will be suggested that a number of reasons account for this, not least, the nature and subject of the

A major factor in the development of each country is an appropriate legal and institutional system that protects investors (Corporate Governance.) The possibility of raising capital

The State and Future of the British Pub Listen to a talk on British pubs.. While listening, complete the

Further show that it is sufficient to know the wave function within an interval of length a

In this situation rebellion against the Turkish government is not only allowed, but obligatory for all Moslems, in order to replace it by a just government that acts. upon