• Keine Ergebnisse gefunden

SS 2013 June 26th, 2013 Exercises to the lecture Logics Sheet 6 Jun.-Prof. Dr. Roland Meyer Due July 5th, 2013, 12:00pm

N/A
N/A
Protected

Academic year: 2021

Aktie "SS 2013 June 26th, 2013 Exercises to the lecture Logics Sheet 6 Jun.-Prof. Dr. Roland Meyer Due July 5th, 2013, 12:00pm"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2013 June 26th, 2013 Exercises to the lecture Logics

Sheet 6

Jun.-Prof. Dr. Roland Meyer Due July 5th, 2013, 12:00pm

Exercise 6.1 [Non-standard models]

Let S “ p F, P q be the signature with function symbols F “ t 0 { 0, 1 { 0, `{ 2, ˚{ 2 u and predicate symbols P “ tď{2u. Furthermore, let N “ p N , I

N

q be the S-structure, in which the domain consists of the natural numbers and the symbole 0, 1, `, ď, and ˚ are interpreted as usual. Finally, let T

N

be the set of all closed formulae that are satisfied by N .

a) Consider the set

T

N1

“ T

N

Y t1 ` ¨ ¨ ¨ ` 1 looooomooooon

n

ď x | n ě 1u,

in which x is a variable. Show that T

N1

is satisfiable. Hint: Employ the Compactness Theorem.

b) Let M and M

1

be structures over the same signature S

1

. The structures M and M

1

are called elementarily equivalent if for every closed formula A in predicate logic over S, we have: M |ù A if and only if M

1

A. Show that every structure M that satisfies T

N1

is elementarily equivalent to N .

c) If M “ pD, Iq and M

1

“ pD

1

, I

1

q are structures over the same signature, we call M and M

1

isomorphic if there is a bijection ϕ : D Ñ D

1

with

p

M

pd

1

, . . . , d

k

q “ p

M1

pϕpd

1

q, . . . , ϕpd

k

qq for all d

1

, . . . , d

k

P D and ϕpf

M

pd

1

, . . . , d

`

qq “ f

M1

pϕpd

1

q, . . . , ϕpd

`

qq for all d

1

, . . . , d

`

P D

for every k-ary predicate symbol p and every `-ary function symbol f. Conclude from a) and b) that there is a structure that die elementarily equivalent but not isomorphic to N .

Exercise 6.2 [Satisfiability and deducibility]

Show that the following problems are semi-decidable but not decidable:

a) Given a formula A in predicate logic, decide whether A is satisfiable.

b) Given two formulae A and B in predicate logic, decide whether A () B . Exercise 6.3 [Undecidability]

A context-free grammar is called linear if in each rule, the right-hand side contains

at most one occurrence of a nonterminal symbol. Show that the following problem is

undecidable: Given linear context-free grammars G

1

and G

2

, is the set LpG

1

q X LpG

2

q

empty?

(2)

Exercise 6.4 [Reductions]

Let C be a class of problems. A problem A is called C-hard if every problem in C is many-one-reducible to A. Prove: If A is C-hard and A many-one-reducible to a problem B, then B is C -hard as well.

Delivery: until July 5th, 2013, 12:00pm into the box next to room 34/401.4

Referenzen

ÄHNLICHE DOKUMENTE

Jun.-Prof. Roland Meyer Abgabe bis 5. Schlie- ßen Sie aus a) und b), dass es eine Struktur gibt, die elementar äquivalent, aber nicht isomorph ist zu N .. Aufgabe 6.2 [Erfüllbarkeit

Hinweis: Sie haben also gezeigt, dass Vollständigkeit einer Theorie bedeutet, dass sich diese nicht auf sich widersprechende Weisen konsistent

Note: Hence, you have shown that completeness means that the theory cannot be extended consistently in two ways that contradict

b) In Exercise 1.3 you saw that it is possible to construct an equivalent formula in DNF for any given formula. Explain why the following is not an efficient algorithm for

A set M is called recursively enumerable, if there is an algorithm that outputs a (possibly infinite) sequence in which each element occurs if and only if it is contained in M.

Mai 2012 In-class Exercises to the Lecture Logics.

[r]

Smullyan’s ball game is played by one player according to the following rules: There is a container that has capacity for an unlimited number of balls.. Furthermore, there is