• Keine Ergebnisse gefunden

SS 2013 May 22, 2013 In-class Exercises to the Lecture Logics Sheet 3 Jun.-Prof. Dr. Roland Meyer Discussion on May 23 and 24, 2013

N/A
N/A
Protected

Academic year: 2021

Aktie "SS 2013 May 22, 2013 In-class Exercises to the Lecture Logics Sheet 3 Jun.-Prof. Dr. Roland Meyer Discussion on May 23 and 24, 2013"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2013 May 22, 2013 In-class Exercises to the Lecture Logics

Sheet 3

Jun.-Prof. Dr. Roland Meyer Discussion on May 23 and 24, 2013 Exercise 3.1 [König’s Lemma I]

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 an unlimited supply of balls, each of which is labeled with a natural number. Initially, there is one ball in the container. In each step, the player can remove a ball from the container and put in an arbitrary (finite) number of balls, provided that each of the new balls has a label smaller than the removed ball. The game is over when no further step is possible, i.e. when the container is empty.

Show that each game is over after a finite number of steps.

Exercise 3.2 [König’s Lemma II]

Let Σ be a finite set of symbols. A word over Σ is a finite sequence of symbols from Σ. An infinite word over Σ is an infinite sequence of symbols from Σ. Let L be a prefix-closed set of words over Σ, i.e.: If a word is contained in L, then each of its prefixes is as well. Prove: If L is infinite, then there is an infinite word over Σ each of whose (finite) prefixes is contained in L.

Exercise 3.3 [The subsumption rule for the Davis-Putnam method]

Let F t K

1

, . . . , K

n

u be a formula in KNF in set notation. Moreover, let K

i

„ K

j

. Show that F () F

1

, in which F

1

F zt K

j

u .

Exercise 3.4 [Davis Putnam Method]

Using the Davis Putnam Method, determine whether the following formula is satisfi- able:

p ^ p t _ q _ p q ^ p s _ q q ^ p s _ q _ t q

Referenzen

ÄHNLICHE DOKUMENTE

Suppose A 1 is formula in predicate logic that is obtained from a formula A in proposi- tional logic by replacing each variable with an atomic formula in predicate logic. Here,

A context-free grammar is called linear if in each rule, the right-hand side contains at most one occurrence of a nonterminal symbol.. Exercise

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

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

[r]